HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/linde/wp-content/plugins/better-wp-security/dist/vendors/routing.js
(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[9427],{7e3:(t,n,e)=>{"use strict";e.d(n,{xn:()=>r.xn,HX:()=>R,fr:()=>r.fr,pE:()=>E,IQ:()=>r.IQ});var r=e(55152),o=e(51609),i=e(86663),a=Object.prototype.hasOwnProperty;function c(t,n){return t===n?0!==t||0!==n||1/t==1/n:t!=t&&n!=n}function u(t,n,e){var r,o;if(c(t,n))return!0;if("object"!=typeof t||null===t||"object"!=typeof n||null===n)return!1;var i=Object.keys(t),u=Object.keys(n);if(i.length!==u.length)return!1;for(var s=0;s<i.length;s++){var l=null!==(o=null===(r=null==e?void 0:e[i[s]])||void 0===r?void 0:r.equals)&&void 0!==o?o:c;if(!a.call(n,i[s])||!l(t[i[s]],n[i[s]]))return!1}return!0}function s(t,n,e){void 0===e&&(e=u);var r=(null==t.current||null==n)&&t.current===n||!e(t.current,n);o.useEffect((function(){r&&(t.current=n)}),[t,n,r])}function l(t){return"object"==typeof t?"undefined"!=typeof window?t.search:(0,i.extract)(""+t.pathname+(t.search?t.search:"")):""}var p=o.createContext({location:{},getLocation:function(){return{}},setLocation:function(){}});function f(t){var n=t.history,e=t.location,i=t.children,a=t.stringifyOptions,c=o.useRef(e);o.useEffect((function(){c.current=e}),[e]);var u=o.useCallback((function(){return c.current}),[c]),s=o.useCallback((function(t,e){c.current=function(t,n,e,o){switch(void 0===e&&(e="pushIn"),e){case"replace":case"push":return(0,r.Nt)(t,n,o);default:return(0,r.st)(t,n,o)}}(t,null==n||null==n.location?c.current:n.location,e,a),n&&function(t,n,e){switch(void 0===e&&(e="pushIn"),e){case"pushIn":case"push":t.push(n);break;default:t.replace(n)}}(n,c.current,e)}),[n,a]);return o.createElement(p.Provider,{value:{location:e,getLocation:u,setLocation:s}},i)}var h,v,d=(h=undefined,v=(0,i.parse)(h||""),function(t){return h!==t&&(h=t,v=(0,i.parse)(h)),v});function m(t,n,e,r,o,i){var a,c=!u(r.current,e),s=null!==(a=e.equals)&&void 0!==a?a:u,p=d(l(t)),f=!u(o.current,p[n]),h=f?p[n]:o.current;if(!f&&!c&&void 0!==i.current)return i.current;var v=e.decode(h);return(null!=i.current&&null!=v||i.current!==v)&&s(i.current,v)?i.current:v}var y,g,x,C,E=function(t,n){void 0===n&&(n=r.fr);var e=o.useContext(p),i=e.location,a=e.getLocation,c=e.setLocation,u=d(l(i)),f=o.useRef(),h=o.useRef(n),v=o.useRef(),y=m(i,t,n,h,f,v);s(f,u[t]),s(h,n),s(v,y,n.equals);var g={paramConfig:n,name:t,setLocation:c,getLocation:a},x=o.useRef(g);x.current=g;var C=o.useCallback((function(t,n){var e,r,o=x.current;if("function"==typeof t){var i=m(o.getLocation(),o.name,o.paramConfig,h,f,v);v.current=i,r=o.paramConfig.encode(t(i))}else r=o.paramConfig.encode(t);o.setLocation(((e={})[o.name]=r,e),n)}),[]);return[y,C]},w=function(){return w=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},w.apply(this,arguments)};function A(t){if(t===x&&null!=C)return C;var n={replace:function(n){t.navigate(n.protocol+"//"+n.host+n.pathname+n.search,{replace:!0})},push:function(n){t.navigate(n.protocol+"//"+n.host+n.pathname+n.search,{replace:!1})},get location(){return t.location}};return x=t,C=n,n}function b(t){var n=void 0===t?{}:t,e=n.history,r=n.location;if("undefined"!=typeof window&&(e||(e=function(t){if(t===y&&null!=g)return g;var n={replace:function(n){t.replaceState(n.state,"",n.protocol+"//"+n.host+n.pathname+n.search)},push:function(n){t.pushState(n.state,"",n.protocol+"//"+n.host+n.pathname+n.search)},get location(){return window.location}};return y=t,g=n,n}(window.history)),r||(r=window.location)),!r)throw new Error("\n        Could not read the location. Is the router wired up correctly?\n      ");return{history:e,location:r}}function R(t){var n=t.children,e=t.ReactRouterRoute,r=t.reachHistory,i=t.history,a=t.location,c=t.stringifyOptions,s=o.useRef(c),l=u(s.current,c)?s.current:c;return o.useEffect((function(){s.current=l}),[l]),e?o.createElement(e,null,(function(t){return o.createElement(f,w({stringifyOptions:l},b(t)),n)})):r?o.createElement(f,w({stringifyOptions:l},b({history:A(r),location:a})),n):o.createElement(f,w({stringifyOptions:l},b({history:i,location:a})),n)}},8505:(t,n,e)=>{var r=e(9375);t.exports=function t(n,e,o){return r(e)||(o=e||o,e=[]),o=o||{},n instanceof RegExp?function(t,n){var e=t.source.match(/\((?!\?)/g);if(e)for(var r=0;r<e.length;r++)n.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return p(t,n)}(n,e):r(n)?function(n,e,r){for(var o=[],i=0;i<n.length;i++)o.push(t(n[i],e,r).source);return p(new RegExp("(?:"+o.join("|")+")",f(r)),e)}(n,e,o):function(t,n,e){return h(i(t,e),n,e)}(n,e,o)},t.exports.parse=i,t.exports.compile=function(t,n){return u(i(t,n),n)},t.exports.tokensToFunction=u,t.exports.tokensToRegExp=h;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(t,n){for(var e,r=[],i=0,c=0,u="",s=n&&n.delimiter||"/";null!=(e=o.exec(t));){var p=e[0],f=e[1],h=e.index;if(u+=t.slice(c,h),c=h+p.length,f)u+=f[1];else{var v=t[c],d=e[2],m=e[3],y=e[4],g=e[5],x=e[6],C=e[7];u&&(r.push(u),u="");var E=null!=d&&null!=v&&v!==d,w="+"===x||"*"===x,A="?"===x||"*"===x,b=d||s,R=y||g,k=d||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:m||i++,prefix:d||"",delimiter:b,optional:A,repeat:w,partial:E,asterisk:!!C,pattern:R?l(R):C?".*":a(b,k)})}}return c<t.length&&(u+=t.substr(c)),u&&r.push(u),r}function a(t,n){return!n||n.indexOf(t)>-1?"[^"+s(t)+"]+?":s(n)+"|(?:(?!"+s(n)+")[^"+s(t)+"])+?"}function c(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function u(t,n){for(var e=new Array(t.length),o=0;o<t.length;o++)"object"==typeof t[o]&&(e[o]=new RegExp("^(?:"+t[o].pattern+")$",f(n)));return function(n,o){for(var i="",a=n||{},u=(o||{}).pretty?c:encodeURIComponent,s=0;s<t.length;s++){var l=t[s];if("string"!=typeof l){var p,f=a[l.name];if(null==f){if(l.optional){l.partial&&(i+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(f)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var h=0;h<f.length;h++){if(p=u(f[h]),!e[s].test(p))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(p)+"`");i+=(0===h?l.prefix:l.delimiter)+p}}else{if(p=l.asterisk?encodeURI(f).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):u(f),!e[s].test(p))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+p+'"');i+=l.prefix+p}}else i+=l}return i}}function s(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function p(t,n){return t.keys=n,t}function f(t){return t&&t.sensitive?"":"i"}function h(t,n,e){r(n)||(e=n||e,n=[]);for(var o=(e=e||{}).strict,i=!1!==e.end,a="",c=0;c<t.length;c++){var u=t[c];if("string"==typeof u)a+=s(u);else{var l=s(u.prefix),h="(?:"+u.pattern+")";n.push(u),u.repeat&&(h+="(?:"+l+h+")*"),a+=h=u.optional?u.partial?l+"("+h+")?":"(?:"+l+"("+h+"))?":l+"("+h+")"}}var v=s(e.delimiter||"/"),d=a.slice(-v.length)===v;return o||(a=(d?a.slice(0,-v.length):a)+"(?:"+v+"(?=$))?"),a+=i?"$":o&&d?"":"(?="+v+"|$)",p(new RegExp("^"+a,f(e)),n)}},9375:t=>{t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},54625:(t,n,e)=>{"use strict";e.d(n,{N_:()=>d,k2:()=>g});var r=e(56347),o=(e(77387),e(51609)),i=e.n(o),a=e(17929),c=e(58168),u=e(98587),s=e(11561);i().Component,i().Component;var l=function(t,n){return"function"==typeof t?t(n):t},p=function(t,n){return"string"==typeof t?(0,a.yJ)(t,null,null,n):t},f=function(t){return t},h=i().forwardRef;void 0===h&&(h=f);var v=h((function(t,n){var e=t.innerRef,r=t.navigate,o=t.onClick,a=(0,u.A)(t,["innerRef","navigate","onClick"]),s=a.target,l=(0,c.A)({},a,{onClick:function(t){try{o&&o(t)}catch(n){throw t.preventDefault(),n}t.defaultPrevented||0!==t.button||s&&"_self"!==s||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)||(t.preventDefault(),r())}});return l.ref=f!==h&&n||e,i().createElement("a",l)})),d=h((function(t,n){var e=t.component,o=void 0===e?v:e,d=t.replace,m=t.to,y=t.innerRef,g=(0,u.A)(t,["component","replace","to","innerRef"]);return i().createElement(r.XZ.Consumer,null,(function(t){t||(0,s.A)(!1);var e=t.history,r=p(l(m,t.location),t.location),u=r?e.createHref(r):"",v=(0,c.A)({},g,{href:u,navigate:function(){var n=l(m,t.location),r=(0,a.AO)(t.location)===(0,a.AO)(p(n));(d||r?e.replace:e.push)(n)}});return f!==h?v.ref=n||y:v.innerRef=y,i().createElement(o,v)}))})),m=function(t){return t},y=i().forwardRef;void 0===y&&(y=m);var g=y((function(t,n){var e=t["aria-current"],o=void 0===e?"page":e,a=t.activeClassName,f=void 0===a?"active":a,h=t.activeStyle,v=t.className,g=t.exact,x=t.isActive,C=t.location,E=t.sensitive,w=t.strict,A=t.style,b=t.to,R=t.innerRef,k=(0,u.A)(t,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i().createElement(r.XZ.Consumer,null,(function(t){t||(0,s.A)(!1);var e=C||t.location,a=p(l(b,e),e),u=a.pathname,_=u&&u.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),O=_?(0,r.B6)(e.pathname,{path:_,exact:g,sensitive:E,strict:w}):null,U=!!(x?x(O,e):O),j="function"==typeof v?v(U):v,M="function"==typeof A?A(U):A;U&&(j=function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return n.filter((function(t){return t})).join(" ")}(j,f),M=(0,c.A)({},M,h));var L=(0,c.A)({"aria-current":U&&o||null,className:j,style:M,to:a},k);return m!==y?L.ref=n||R:L.innerRef=R,i().createElement(d,L)}))}))},56347:(t,n,e)=>{"use strict";e.d(n,{B6:()=>U,Ix:()=>x,W5:()=>I,W6:()=>T,XZ:()=>g,dO:()=>M,g:()=>S,qh:()=>j,rd:()=>R,zy:()=>P});var r=e(77387),o=e(51609),i=e.n(o),a=e(5556),c=e.n(a),u=e(17929),s=e(11561),l=e(58168),p=e(8505),f=e.n(p),h=(e(44363),e(98587),e(4146),1073741823),v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e.g?e.g:{},d=i().createContext||function(t,n){var e,o,a,u="__create-react-context-"+((v[a="__global_unique_id__"]=(v[a]||0)+1)+"__"),s=function(t){function e(){for(var n,e,r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(n=t.call.apply(t,[this].concat(i))||this).emitter=(e=n.props.value,r=[],{on:function(t){r.push(t)},off:function(t){r=r.filter((function(n){return n!==t}))},get:function(){return e},set:function(t,n){e=t,r.forEach((function(t){return t(e,n)}))}}),n}(0,r.A)(e,t);var o=e.prototype;return o.getChildContext=function(){var t;return(t={})[u]=this.emitter,t},o.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var e,r=this.props.value,o=t.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?e=0:(e="function"==typeof n?n(r,o):h,0!=(e|=0)&&this.emitter.set(t.value,e))}var i,a},o.render=function(){return this.props.children},e}(i().Component);s.childContextTypes=((e={})[u]=c().object.isRequired,e);var l=function(n){function e(){for(var t,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(t=n.call.apply(n,[this].concat(r))||this).observedBits=void 0,t.state={value:t.getValue()},t.onUpdate=function(n,e){t.observedBits&e&&t.setState({value:t.getValue()})},t}(0,r.A)(e,n);var o=e.prototype;return o.componentWillReceiveProps=function(t){var n=t.observedBits;this.observedBits=null==n?h:n},o.componentDidMount=function(){this.context[u]&&this.context[u].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=null==t?h:t},o.componentWillUnmount=function(){this.context[u]&&this.context[u].off(this.onUpdate)},o.getValue=function(){return this.context[u]?this.context[u].get():t},o.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},e}(i().Component);return l.contextTypes=((o={})[u]=c().object,o),{Provider:s,Consumer:l}},m=function(t){var n=d();return n.displayName=t,n},y=m("Router-History"),g=m("Router"),x=function(t){function n(n){var e;return(e=t.call(this,n)||this).state={location:n.history.location},e._isMounted=!1,e._pendingLocation=null,n.staticContext||(e.unlisten=n.history.listen((function(t){e._pendingLocation=t}))),e}(0,r.A)(n,t),n.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var e=n.prototype;return e.componentDidMount=function(){var t=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(n){t._isMounted&&t.setState({location:n})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},e.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},e.render=function(){return i().createElement(g.Provider,{value:{history:this.props.history,location:this.state.location,match:n.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i().createElement(y.Provider,{children:this.props.children||null,value:this.props.history}))},n}(i().Component);i().Component;var C=function(t){function n(){return t.apply(this,arguments)||this}(0,r.A)(n,t);var e=n.prototype;return e.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},e.componentDidUpdate=function(t){this.props.onUpdate&&this.props.onUpdate.call(this,this,t)},e.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},e.render=function(){return null},n}(i().Component),E={},w=1e4,A=0;function b(t,n){return void 0===t&&(t="/"),void 0===n&&(n={}),"/"===t?t:function(t){if(E[t])return E[t];var n=f().compile(t);return A<w&&(E[t]=n,A++),n}(t)(n,{pretty:!0})}function R(t){var n=t.computedMatch,e=t.to,r=t.push,o=void 0!==r&&r;return i().createElement(g.Consumer,null,(function(t){t||(0,s.A)(!1);var r=t.history,a=t.staticContext,c=o?r.push:r.replace,p=(0,u.yJ)(n?"string"==typeof e?b(e,n.params):(0,l.A)({},e,{pathname:b(e.pathname,n.params)}):e);return a?(c(p),null):i().createElement(C,{onMount:function(){c(p)},onUpdate:function(t,n){var e=(0,u.yJ)(n.to);(0,u.Fu)(e,(0,l.A)({},p,{key:e.key}))||c(p)},to:e})}))}var k={},_=1e4,O=0;function U(t,n){void 0===n&&(n={}),("string"==typeof n||Array.isArray(n))&&(n={path:n});var e=n,r=e.path,o=e.exact,i=void 0!==o&&o,a=e.strict,c=void 0!==a&&a,u=e.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(n,e){if(!e&&""!==e)return null;if(n)return n;var r=function(t,n){var e=""+n.end+n.strict+n.sensitive,r=k[e]||(k[e]={});if(r[t])return r[t];var o=[],i={regexp:f()(t,o,n),keys:o};return O<_&&(r[t]=i,O++),i}(e,{end:i,strict:c,sensitive:s}),o=r.regexp,a=r.keys,u=o.exec(t);if(!u)return null;var l=u[0],p=u.slice(1),h=t===l;return i&&!h?null:{path:e,url:"/"===e&&""===l?"/":l,isExact:h,params:a.reduce((function(t,n,e){return t[n.name]=p[e],t}),{})}}),null)}var j=function(t){function n(){return t.apply(this,arguments)||this}return(0,r.A)(n,t),n.prototype.render=function(){var t=this;return i().createElement(g.Consumer,null,(function(n){n||(0,s.A)(!1);var e=t.props.location||n.location,r=t.props.computedMatch?t.props.computedMatch:t.props.path?U(e.pathname,t.props):n.match,o=(0,l.A)({},n,{location:e,match:r}),a=t.props,c=a.children,u=a.component,p=a.render;return Array.isArray(c)&&function(t){return 0===i().Children.count(t)}(c)&&(c=null),i().createElement(g.Provider,{value:o},o.match?c?"function"==typeof c?c(o):c:u?i().createElement(u,o):p?p(o):null:"function"==typeof c?c(o):null)}))},n}(i().Component);i().Component;var M=function(t){function n(){return t.apply(this,arguments)||this}return(0,r.A)(n,t),n.prototype.render=function(){var t=this;return i().createElement(g.Consumer,null,(function(n){n||(0,s.A)(!1);var e,r,o=t.props.location||n.location;return i().Children.forEach(t.props.children,(function(t){if(null==r&&i().isValidElement(t)){e=t;var a=t.props.path||t.props.from;r=a?U(o.pathname,(0,l.A)({},t.props,{path:a})):n.match}})),r?i().cloneElement(e,{location:o,computedMatch:r}):null}))},n}(i().Component),L=i().useContext;function T(){return L(y)}function P(){return L(g).location}function S(){var t=L(g).match;return t?t.params:{}}function I(t){var n=P(),e=L(g).match;return t?U(n.pathname,t):e}}}]);