!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).OneLogin={})}(this,(function(e){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var r=function(e){return e&&e.Math==Math&&e},o=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")(),i=function(e){try{return!!e()}catch(e){return!0}},a=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,s={f:c&&!u.call({1:2},1)?function(e){var t=c(this,e);return!!t&&t.enumerable}:u},l=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},f={}.toString,d=function(e){return f.call(e).slice(8,-1)},p="".split,h=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==d(e)?p.call(e,""):Object(e)}:Object,v=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},g=function(e){return h(v(e))},y=function(e){return"object"==typeof e?null!==e:"function"==typeof e},m=function(e,t){if(!y(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!y(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!y(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},w={}.hasOwnProperty,_=function(e,t){return w.call(e,t)},b=o.document,x=y(b)&&y(b.createElement),E=function(e){return x?b.createElement(e):{}},A=!a&&!i((function(){return 7!=Object.defineProperty(E("div"),"a",{get:function(){return 7}}).a})),S=Object.getOwnPropertyDescriptor,L={f:a?S:function(e,t){if(e=g(e),t=m(t,!0),A)try{return S(e,t)}catch(e){}if(_(e,t))return l(!s.f.call(e,t),e[t])}},T=function(e){if(!y(e))throw TypeError(String(e)+" is not an object");return e},O=Object.defineProperty,R={f:a?O:function(e,t,n){if(T(e),t=m(t,!0),T(n),A)try{return O(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},k=a?function(e,t,n){return R.f(e,t,l(1,n))}:function(e,t,n){return e[t]=n,e},U=function(e,t){try{k(o,e,t)}catch(n){o[e]=t}return t},j="__core-js_shared__",P=o[j]||U(j,{}),I=Function.toString;"function"!=typeof P.inspectSource&&(P.inspectSource=function(e){return I.call(e)});var C,B,M,D=P.inspectSource,F=o.WeakMap,q="function"==typeof F&&/native code/.test(D(F)),N=n((function(e){(e.exports=function(e,t){return P[e]||(P[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),z=0,W=Math.random(),V=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++z+W).toString(36)},G=N("keys"),H=function(e){return G[e]||(G[e]=V(e))},$={},Y=o.WeakMap;if(q){var J=new Y,Z=J.get,K=J.has,X=J.set;C=function(e,t){return X.call(J,e,t),t},B=function(e){return Z.call(J,e)||{}},M=function(e){return K.call(J,e)}}else{var Q=H("state");$[Q]=!0,C=function(e,t){return k(e,Q,t),t},B=function(e){return _(e,Q)?e[Q]:{}},M=function(e){return _(e,Q)}}var ee={set:C,get:B,has:M,enforce:function(e){return M(e)?B(e):C(e,{})},getterFor:function(e){return function(t){var n;if(!y(t)||(n=B(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},te=n((function(e){var t=ee.get,n=ee.enforce,r=String(String).split("String");(e.exports=function(e,t,i,a){var u=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,s=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||_(i,"name")||k(i,"name",t),n(i).source=r.join("string"==typeof t?t:"")),e!==o?(u?!s&&e[t]&&(c=!0):delete e[t],c?e[t]=i:k(e,t,i)):c?e[t]=i:U(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||D(this)}))})),ne=o,re=function(e){return"function"==typeof e?e:void 0},oe=function(e,t){return arguments.length<2?re(ne[e])||re(o[e]):ne[e]&&ne[e][t]||o[e]&&o[e][t]},ie=Math.ceil,ae=Math.floor,ue=function(e){return isNaN(e=+e)?0:(e>0?ae:ie)(e)},ce=Math.min,se=function(e){return e>0?ce(ue(e),9007199254740991):0},le=Math.max,fe=Math.min,de=function(e,t){var n=ue(e);return n<0?le(n+t,0):fe(n,t)},pe=function(e){return function(t,n,r){var o,i=g(t),a=se(i.length),u=de(r,a);if(e&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((e||u in i)&&i[u]===n)return e||u||0;return!e&&-1}},he={includes:pe(!0),indexOf:pe(!1)},ve=he.indexOf,ge=function(e,t){var n,r=g(e),o=0,i=[];for(n in r)!_($,n)&&_(r,n)&&i.push(n);for(;t.length>o;)_(r,n=t[o++])&&(~ve(i,n)||i.push(n));return i},ye=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],me=ye.concat("length","prototype"),we={f:Object.getOwnPropertyNames||function(e){return ge(e,me)}},_e={f:Object.getOwnPropertySymbols},be=oe("Reflect","ownKeys")||function(e){var t=we.f(T(e)),n=_e.f;return n?t.concat(n(e)):t},xe=function(e,t){for(var n=be(t),r=R.f,o=L.f,i=0;i<n.length;i++){var a=n[i];_(e,a)||r(e,a,o(t,a))}},Ee=/#|\.prototype\./,Ae=function(e,t){var n=Le[Se(e)];return n==Oe||n!=Te&&("function"==typeof t?i(t):!!t)},Se=Ae.normalize=function(e){return String(e).replace(Ee,".").toLowerCase()},Le=Ae.data={},Te=Ae.NATIVE="N",Oe=Ae.POLYFILL="P",Re=Ae,ke=L.f,Ue=function(e,t){var n,r,i,a,u,c=e.target,s=e.global,l=e.stat;if(n=s?o:l?o[c]||U(c,{}):(o[c]||{}).prototype)for(r in t){if(a=t[r],i=e.noTargetGet?(u=ke(n,r))&&u.value:n[r],!Re(s?r:c+(l?".":"#")+r,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;xe(a,i)}(e.sham||i&&i.sham)&&k(a,"sham",!0),te(n,r,a,e)}},je=Object.keys||function(e){return ge(e,ye)},Pe=function(e){return Object(v(e))},Ie=Object.assign,Ce=Object.defineProperty,Be=!Ie||i((function(){if(a&&1!==Ie({b:1},Ie(Ce({},"a",{enumerable:!0,get:function(){Ce(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=Ie({},e)[n]||je(Ie({},t)).join("")!=r}))?function(e,t){for(var n=Pe(e),r=arguments.length,o=1,i=_e.f,u=s.f;r>o;)for(var c,l=h(arguments[o++]),f=i?je(l).concat(i(l)):je(l),d=f.length,p=0;d>p;)c=f[p++],a&&!u.call(l,c)||(n[c]=l[c]);return n}:Ie;Ue({target:"Object",stat:!0,forced:Object.assign!==Be},{assign:Be});var Me,De=function(e){for(var t=Pe(this),n=se(t.length),r=arguments.length,o=de(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:de(i,n);a>o;)t[o++]=e;return t},Fe=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),qe=Fe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ne=N("wks"),ze=o.Symbol,We=qe?ze:ze&&ze.withoutSetter||V,Ve=function(e){return _(Ne,e)||(Fe&&_(ze,e)?Ne[e]=ze[e]:Ne[e]=We("Symbol."+e)),Ne[e]},Ge=a?Object.defineProperties:function(e,t){T(e);for(var n,r=je(t),o=r.length,i=0;o>i;)R.f(e,n=r[i++],t[n]);return e},He=oe("document","documentElement"),$e=H("IE_PROTO"),Ye=function(){},Je=function(e){return"<script>"+e+"</"+"script>"},Ze=function(){try{Me=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Ze=Me?function(e){e.write(Je("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Me):((t=E("iframe")).style.display="none",He.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Je("document.F=Object")),e.close(),e.F);for(var n=ye.length;n--;)delete Ze.prototype[ye[n]];return Ze()};$[$e]=!0;var Ke=Object.create||function(e,t){var n;return null!==e?(Ye.prototype=T(e),n=new Ye,Ye.prototype=null,n[$e]=e):n=Ze(),void 0===t?n:Ge(n,t)},Xe=Ve("unscopables"),Qe=Array.prototype;null==Qe[Xe]&&R.f(Qe,Xe,{configurable:!0,value:Ke(null)});var et=function(e){Qe[Xe][e]=!0};Ue({target:"Array",proto:!0},{fill:De}),et("fill");var tt,nt,rt=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},ot=function(e,t,n){if(rt(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},it=Function.call;tt="fill",ot(it,o["Array"].prototype[tt],nt);!function(){if("undefined"!=typeof window)try{var e=new window.CustomEvent("test",{cancelable:!0});if(e.preventDefault(),!0!==e.defaultPrevented)throw new Error("Could not prevent default")}catch(e){var t=function(e,t){var n,r;return(t=t||{}).bubbles=!!t.bubbles,t.cancelable=!!t.cancelable,(n=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r=n.preventDefault,n.preventDefault=function(){r.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(e){this.defaultPrevented=!0}},n};t.prototype=window.Event.prototype,window.CustomEvent=t}}(),self.fetch||(self.fetch=function(e,t){return t=t||{},new Promise((function(n,r){var o=new XMLHttpRequest,i=[],a=[],u={},c=function(){return{ok:2==(o.status/100|0),statusText:o.statusText,status:o.status,url:o.responseURL,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(JSON.parse(o.responseText))},blob:function(){return Promise.resolve(new Blob([o.response]))},clone:c,headers:{keys:function(){return i},entries:function(){return a},get:function(e){return u[e.toLowerCase()]},has:function(e){return e.toLowerCase()in u}}}};for(var s in o.open(t.method||"get",e,!0),o.onload=function(){o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){i.push(t=t.toLowerCase()),a.push([t,n]),u[t]=u[t]?u[t]+","+n:n})),n(c())},o.onerror=r,o.withCredentials="include"==t.credentials,t.headers)o.setRequestHeader(s,t.headers[s]);o.send(t.body||null)}))}),function(){function e(){null!==this.parentNode&&this.parentNode.removeChild(this)}[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:e})}))}(),function(e){function t(){}function n(e,t){if(e=void 0===e?"utf-8":e,t=void 0===t?{fatal:!1}:t,-1===o.indexOf(e.toLowerCase()))throw new RangeError("Failed to construct 'TextDecoder': The encoding label provided ('"+e+"') is invalid.");if(t.fatal)throw Error("Failed to construct 'TextDecoder': the 'fatal' option is unsupported.")}function r(e){for(var t=0,n=Math.min(65536,e.length+1),r=new Uint16Array(n),o=[],i=0;;){var a=t<e.length;if(!a||i>=n-1){if(o.push(String.fromCharCode.apply(null,r.subarray(0,i))),!a)return o.join("");e=e.subarray(t),i=t=0}if(0==(128&(a=e[t++])))r[i++]=a;else if(192==(224&a)){var u=63&e[t++];r[i++]=(31&a)<<6|u}else if(224==(240&a)){u=63&e[t++];var c=63&e[t++];r[i++]=(31&a)<<12|u<<6|c}else if(240==(248&a)){65535<(a=(7&a)<<18|(u=63&e[t++])<<12|(c=63&e[t++])<<6|63&e[t++])&&(a-=65536,r[i++]=a>>>10&1023|55296,a=56320|1023&a),r[i++]=a}}}if(e.TextEncoder&&e.TextDecoder)return!1;var o=["utf-8","utf8","unicode-1-1-utf-8"];Object.defineProperty(t.prototype,"encoding",{value:"utf-8"}),t.prototype.encode=function(e,t){if((t=void 0===t?{stream:!1}:t).stream)throw Error("Failed to encode: the 'stream' option is unsupported.");t=0;for(var n=e.length,r=0,o=Math.max(32,n+(n>>>1)+7),i=new Uint8Array(o>>>3<<3);t<n;){var a=e.charCodeAt(t++);if(55296<=a&&56319>=a){if(t<n){var u=e.charCodeAt(t);56320==(64512&u)&&(++t,a=((1023&a)<<10)+(1023&u)+65536)}if(55296<=a&&56319>=a)continue}if(r+4>i.length&&(o+=8,o=(o*=1+t/e.length*2)>>>3<<3,(u=new Uint8Array(o)).set(i),i=u),0==(4294967168&a))i[r++]=a;else{if(0==(4294965248&a))i[r++]=a>>>6&31|192;else if(0==(4294901760&a))i[r++]=a>>>12&15|224,i[r++]=a>>>6&63|128;else{if(0!=(4292870144&a))continue;i[r++]=a>>>18&7|240,i[r++]=a>>>12&63|128,i[r++]=a>>>6&63|128}i[r++]=63&a|128}}return i.slice?i.slice(0,r):i.subarray(0,r)},Object.defineProperty(n.prototype,"encoding",{value:"utf-8"}),Object.defineProperty(n.prototype,"fatal",{value:!1}),Object.defineProperty(n.prototype,"ignoreBOM",{value:!1});var i=r;"function"==typeof Buffer&&Buffer.from?i=function(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf-8")}:"function"==typeof Blob&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&(i=function(e){var t=URL.createObjectURL(new Blob([e],{type:"text/plain;charset=UTF-8"}));try{var n=new XMLHttpRequest;return n.open("GET",t,!1),n.send(),n.responseText}catch(t){return r(e)}finally{URL.revokeObjectURL(t)}}),n.prototype.decode=function(e,t){if((t=void 0===t?{stream:!1}:t).stream)throw Error("Failed to decode: the 'stream' option is unsupported.");return e=e instanceof Uint8Array?e:e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer):new Uint8Array(e),i(e)},e.TextEncoder=t,e.TextDecoder=n}("undefined"!=typeof window?window:t),function(e){var t,n=function(){try{if(e.URLSearchParams&&"bar"===new e.URLSearchParams("foo=bar").get("foo"))return e.URLSearchParams}catch(e){}return null}(),r=n&&"a=1"===new n({a:1}).toString(),o=n&&"+"===new n("s=%2B").get("s"),i=!n||((t=new n).append("s"," &"),"s=+%26"===t.toString()),a=l.prototype,u=!(!e.Symbol||!e.Symbol.iterator);if(!(n&&r&&o&&i)){a.append=function(e,t){v(this.__URLSearchParams__,e,t)},a.delete=function(e){delete this.__URLSearchParams__[e]},a.get=function(e){var t=this.__URLSearchParams__;return this.has(e)?t[e][0]:null},a.getAll=function(e){var t=this.__URLSearchParams__;return this.has(e)?t[e].slice(0):[]},a.has=function(e){return y(this.__URLSearchParams__,e)},a.set=function(e,t){this.__URLSearchParams__[e]=[""+t]},a.toString=function(){var e,t,n,r,o=this.__URLSearchParams__,i=[];for(t in o)for(n=f(t),e=0,r=o[t];e<r.length;e++)i.push(n+"="+f(r[e]));return i.join("&")};var c=!!o&&n&&!r&&e.Proxy;Object.defineProperty(e,"URLSearchParams",{value:c?new Proxy(n,{construct:function(e,t){return new e(new l(t[0]).toString())}}):l});var s=e.URLSearchParams.prototype;s.polyfill=!0,s.forEach=s.forEach||function(e,t){var n=h(this.toString());Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){e.call(t,n,r,this)}),this)}),this)},s.sort=s.sort||function(){var e,t,n,r=h(this.toString()),o=[];for(e in r)o.push(e);for(o.sort(),t=0;t<o.length;t++)this.delete(o[t]);for(t=0;t<o.length;t++){var i=o[t],a=r[i];for(n=0;n<a.length;n++)this.append(i,a[n])}},s.keys=s.keys||function(){var e=[];return this.forEach((function(t,n){e.push(n)})),p(e)},s.values=s.values||function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},s.entries=s.entries||function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),p(e)},u&&(s[e.Symbol.iterator]=s[e.Symbol.iterator]||s.entries)}function l(e){((e=e||"")instanceof URLSearchParams||e instanceof l)&&(e=e.toString()),this.__URLSearchParams__=h(e)}function f(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,(function(e){return t[e]}))}function d(e){return e.replace(/[ +]/g,"%20").replace(/(%[a-f0-9]{2})+/gi,(function(e){return decodeURIComponent(e)}))}function p(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return u&&(n[e.Symbol.iterator]=function(){return n}),n}function h(e){var t={};if("object"==typeof e)if(g(e))for(var n=0;n<e.length;n++){var r=e[n];if(!g(r)||2!==r.length)throw new TypeError("Failed to construct 'URLSearchParams': Sequence initializer must only contain pair elements");v(t,r[0],r[1])}else for(var o in e)e.hasOwnProperty(o)&&v(t,o,e[o]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var i=e.split("&"),a=0;a<i.length;a++){var u=i[a],c=u.indexOf("=");-1<c?v(t,d(u.slice(0,c)),d(u.slice(c+1))):u&&v(t,d(u),"")}}return t}function v(e,t,n){var r="string"==typeof n?n:null!=n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);y(e,t)?e[t].push(r):e[t]=[r]}function g(e){return!!e&&"[object Array]"===Object.prototype.toString.call(e)}function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(void 0!==t?t:"undefined"!=typeof window?window:t);var at,ut,ct=function(e,t){var n;null==(n=window.WP)||n.push((function(){var n;null==(n=window.WP)||n.stat.wave("onelogin",{mode:e,event:t})}))},st=Array.isArray||function(e){return"Array"==d(e)},lt=function(e,t,n){var r=m(t);r in e?R.f(e,r,l(0,n)):e[r]=n},ft=Ve("species"),dt=function(e,t){var n;return st(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!st(n.prototype)?y(n)&&null===(n=n[ft])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},pt=oe("navigator","userAgent")||"",ht=o.process,vt=ht&&ht.versions,gt=vt&&vt.v8;gt?ut=(at=gt.split("."))[0]+at[1]:pt&&(!(at=pt.match(/Edge\/(\d+)/))||at[1]>=74)&&(at=pt.match(/Chrome\/(\d+)/))&&(ut=at[1]);var yt=ut&&+ut,mt=Ve("species"),wt=function(e){return yt>=51||!i((function(){var t=[];return(t.constructor={})[mt]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},_t=Ve("isConcatSpreadable"),bt=9007199254740991,xt="Maximum allowed index exceeded",Et=yt>=51||!i((function(){var e=[];return e[_t]=!1,e.concat()[0]!==e})),At=wt("concat"),St=function(e){if(!y(e))return!1;var t=e[_t];return void 0!==t?!!t:st(e)};Ue({target:"Array",proto:!0,forced:!Et||!At},{concat:function(e){var t,n,r,o,i,a=Pe(this),u=dt(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(St(i=-1===t?a:arguments[t])){if(c+(o=se(i.length))>bt)throw TypeError(xt);for(n=0;n<o;n++,c++)n in i&&lt(u,c,i[n])}else{if(c>=bt)throw TypeError(xt);lt(u,c++,i)}return u.length=c,u}});var Lt=n((function(e,t){var n;n=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function i(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var u="";for(var c in i)i[c]&&(u+="; "+c,!0!==i[c]&&(u+="="+i[c].split(";")[0]));return document.cookie=t+"="+n+u}}function a(e,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var u=i[a].split("="),c=u.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var s=t(u[0]);if(c=(r.read||r)(c,s)||t(c),n)try{c=JSON.parse(c)}catch(e){}if(o[s]=c,e===s)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,n){i(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))},e.exports=n()})),Tt={error:{priority:3,method:function(){var e;return(e=console).error.apply(e,arguments)}},warn:{priority:2,method:function(){var e;return(e=console).warn.apply(e,arguments)}},info:{priority:1,method:function(){var e;return(e=console).info.apply(e,arguments)}},debug:{priority:0,method:function(){var e;return(e=console).debug.apply(e,arguments)}}},Ot=["%c 1L Widget ","background: #2019f5; color: #fff"],Rt="olw_loglvl",kt=new function(){var e,t=this;this.level=(e=Lt.get(Rt))&&e in Tt?e:"info",this.setLevel=function(e){if(!e||!(e in Tt))return t.error("Incorrect log level.");t.level=e,Lt.set(Rt,e),t.info('Log level changed to "'+e+'".')},this.log=function(e){if(Tt[e].priority>=Tt[t.level].priority){for(var n,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return(n=Tt[e]).method.apply(n,Ot.concat(["["+e.toUpperCase()+"] "],o))}},this.error=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.log.apply(t,["error"].concat(n))},this.warn=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.log.apply(t,["warn"].concat(n))},this.info=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.log.apply(t,["info"].concat(n))},this.debug=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.log.apply(t,["debug"].concat(n))}},Ut=Object.defineProperty,jt={},Pt=function(e){throw e},It=function(e,t){if(_(jt,e))return jt[e];t||(t={});var n=[][e],r=!!_(t,"ACCESSORS")&&t.ACCESSORS,o=_(t,0)?t[0]:Pt,u=_(t,1)?t[1]:void 0;return jt[e]=!!n&&!i((function(){if(r&&!a)return!0;var e={length:-1};r?Ut(e,1,{enumerable:!0,get:Pt}):e[1]=1,n.call(e,o,u)}))},Ct=he.includes,Bt=It("indexOf",{ACCESSORS:!0,1:0});Ue({target:"Array",proto:!0,forced:!Bt},{includes:function(e){return Ct(this,e,arguments.length>1?arguments[1]:void 0)}}),et("includes");var Mt,Dt,Ft,qt={},Nt=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),zt=H("IE_PROTO"),Wt=Object.prototype,Vt=Nt?Object.getPrototypeOf:function(e){return e=Pe(e),_(e,zt)?e[zt]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Wt:null},Gt=Ve("iterator"),Ht=!1;[].keys&&("next"in(Ft=[].keys())?(Dt=Vt(Vt(Ft)))!==Object.prototype&&(Mt=Dt):Ht=!0),null==Mt&&(Mt={}),_(Mt,Gt)||k(Mt,Gt,(function(){return this}));var $t={IteratorPrototype:Mt,BUGGY_SAFARI_ITERATORS:Ht},Yt=R.f,Jt=Ve("toStringTag"),Zt=function(e,t,n){e&&!_(e=n?e:e.prototype,Jt)&&Yt(e,Jt,{configurable:!0,value:t})},Kt=$t.IteratorPrototype,Xt=function(){return this},Qt=function(e,t,n){var r=t+" Iterator";return e.prototype=Ke(Kt,{next:l(1,n)}),Zt(e,r,!1),qt[r]=Xt,e},en=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return T(n),function(e){if(!y(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),tn=$t.IteratorPrototype,nn=$t.BUGGY_SAFARI_ITERATORS,rn=Ve("iterator"),on="keys",an="values",un="entries",cn=function(){return this},sn=function(e,t,n,r,o,i,a){Qt(n,t,r);var u,c,s,l=function(e){if(e===o&&v)return v;if(!nn&&e in p)return p[e];switch(e){case on:case an:case un:return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[rn]||p["@@iterator"]||o&&p[o],v=!nn&&h||l(o),g="Array"==t&&p.entries||h;if(g&&(u=Vt(g.call(new e)),tn!==Object.prototype&&u.next&&(Vt(u)!==tn&&(en?en(u,tn):"function"!=typeof u[rn]&&k(u,rn,cn)),Zt(u,f,!0))),o==an&&h&&h.name!==an&&(d=!0,v=function(){return h.call(this)}),p[rn]!==v&&k(p,rn,v),qt[t]=v,o)if(c={values:l(an),keys:i?v:l(on),entries:l(un)},a)for(s in c)(nn||d||!(s in p))&&te(p,s,c[s]);else Ue({target:t,proto:!0,forced:nn||d},c);return c},ln="Array Iterator",fn=ee.set,dn=ee.getterFor(ln),pn=sn(Array,"Array",(function(e,t){fn(this,{type:ln,target:g(e),index:0,kind:t})}),(function(){var e=dn(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");qt.Arguments=qt.Array,et("keys"),et("values"),et("entries");var hn={};hn[Ve("toStringTag")]="z";var vn="[object z]"===String(hn),gn=Ve("toStringTag"),yn="Arguments"==d(function(){return arguments}()),mn=vn?d:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),gn))?n:yn?d(t):"Object"==(r=d(t))&&"function"==typeof t.callee?"Arguments":r},wn=vn?{}.toString:function(){return"[object "+mn(this)+"]"};vn||te(Object.prototype,"toString",wn,{unsafe:!0});var _n=o.Promise,bn=function(e,t,n){for(var r in t)te(e,r,t[r],n);return e},xn=Ve("species"),En=function(e){var t=oe(e),n=R.f;a&&t&&!t[xn]&&n(t,xn,{configurable:!0,get:function(){return this}})},An=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},Sn=Ve("iterator"),Ln=Array.prototype,Tn=function(e){return void 0!==e&&(qt.Array===e||Ln[Sn]===e)},On=Ve("iterator"),Rn=function(e){if(null!=e)return e[On]||e["@@iterator"]||qt[mn(e)]},kn=function(e,t,n,r){try{return r?t(T(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&T(o.call(e)),t}},Un=n((function(e){var t=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,n,r,o,i){var a,u,c,s,l,f,d,p=ot(n,r,o?2:1);if(i)a=e;else{if("function"!=typeof(u=Rn(e)))throw TypeError("Target is not iterable");if(Tn(u)){for(c=0,s=se(e.length);s>c;c++)if((l=o?p(T(d=e[c])[0],d[1]):p(e[c]))&&l instanceof t)return l;return new t(!1)}a=u.call(e)}for(f=a.next;!(d=f.call(a)).done;)if("object"==typeof(l=kn(a,p,d.value,o))&&l&&l instanceof t)return l;return new t(!1)}).stop=function(e){return new t(!0,e)}})),jn=Ve("iterator"),Pn=!1;try{var In=0,Cn={next:function(){return{done:!!In++}},return:function(){Pn=!0}};Cn[jn]=function(){return this},Array.from(Cn,(function(){throw 2}))}catch(e){}var Bn,Mn,Dn,Fn=function(e,t){if(!t&&!Pn)return!1;var n=!1;try{var r={};r[jn]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},qn=Ve("species"),Nn=function(e,t){var n,r=T(e).constructor;return void 0===r||null==(n=T(r)[qn])?t:rt(n)},zn=/(iphone|ipod|ipad).*applewebkit/i.test(pt),Wn=o.location,Vn=o.setImmediate,Gn=o.clearImmediate,Hn=o.process,$n=o.MessageChannel,Yn=o.Dispatch,Jn=0,Zn={},Kn="onreadystatechange",Xn=function(e){if(Zn.hasOwnProperty(e)){var t=Zn[e];delete Zn[e],t()}},Qn=function(e){return function(){Xn(e)}},er=function(e){Xn(e.data)},tr=function(e){o.postMessage(e+"",Wn.protocol+"//"+Wn.host)};Vn&&Gn||(Vn=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return Zn[++Jn]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},Bn(Jn),Jn},Gn=function(e){delete Zn[e]},"process"==d(Hn)?Bn=function(e){Hn.nextTick(Qn(e))}:Yn&&Yn.now?Bn=function(e){Yn.now(Qn(e))}:$n&&!zn?(Dn=(Mn=new $n).port2,Mn.port1.onmessage=er,Bn=ot(Dn.postMessage,Dn,1)):!o.addEventListener||"function"!=typeof postMessage||o.importScripts||i(tr)||"file:"===Wn.protocol?Bn=Kn in E("script")?function(e){He.appendChild(E("script")).onreadystatechange=function(){He.removeChild(this),Xn(e)}}:function(e){setTimeout(Qn(e),0)}:(Bn=tr,o.addEventListener("message",er,!1)));var nr,rr,or,ir,ar,ur,cr,sr,lr={set:Vn,clear:Gn},fr=L.f,dr=lr.set,pr=o.MutationObserver||o.WebKitMutationObserver,hr=o.process,vr=o.Promise,gr="process"==d(hr),yr=fr(o,"queueMicrotask"),mr=yr&&yr.value;mr||(nr=function(){var e,t;for(gr&&(e=hr.domain)&&e.exit();rr;){t=rr.fn,rr=rr.next;try{t()}catch(e){throw rr?ir():or=void 0,e}}or=void 0,e&&e.enter()},gr?ir=function(){hr.nextTick(nr)}:pr&&!zn?(ar=!0,ur=document.createTextNode(""),new pr(nr).observe(ur,{characterData:!0}),ir=function(){ur.data=ar=!ar}):vr&&vr.resolve?(cr=vr.resolve(void 0),sr=cr.then,ir=function(){sr.call(cr,nr)}):ir=function(){dr.call(o,nr)});var wr,_r,br,xr,Er=mr||function(e){var t={fn:e,next:void 0};or&&(or.next=t),rr||(rr=t,ir()),or=t},Ar=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=rt(t),this.reject=rt(n)},Sr={f:function(e){return new Ar(e)}},Lr=function(e,t){if(T(e),y(t)&&t.constructor===e)return t;var n=Sr.f(e);return(0,n.resolve)(t),n.promise},Tr=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Or=lr.set,Rr=Ve("species"),kr="Promise",Ur=ee.get,jr=ee.set,Pr=ee.getterFor(kr),Ir=_n,Cr=o.TypeError,Br=o.document,Mr=o.process,Dr=oe("fetch"),Fr=Sr.f,qr=Fr,Nr="process"==d(Mr),zr=!!(Br&&Br.createEvent&&o.dispatchEvent),Wr="unhandledrejection",Vr=Re(kr,(function(){if(!(D(Ir)!==String(Ir))){if(66===yt)return!0;if(!Nr&&"function"!=typeof PromiseRejectionEvent)return!0}if(yt>=51&&/native code/.test(Ir))return!1;var e=Ir.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[Rr]=t,!(e.then((function(){}))instanceof t)})),Gr=Vr||!Fn((function(e){Ir.all(e).catch((function(){}))})),Hr=function(e){var t;return!(!y(e)||"function"!=typeof(t=e.then))&&t},$r=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;Er((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var u,c,s,l=r[a++],f=i?l.ok:l.fail,d=l.resolve,p=l.reject,h=l.domain;try{f?(i||(2===t.rejection&&Kr(e,t),t.rejection=1),!0===f?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),s=!0)),u===l.promise?p(Cr("Promise-chain cycle")):(c=Hr(u))?c.call(u,d,p):d(u)):p(o)}catch(e){h&&!s&&h.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Jr(e,t)}))}},Yr=function(e,t,n){var r,i;zr?((r=Br.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),o.dispatchEvent(r)):r={promise:t,reason:n},(i=o["on"+e])?i(r):e===Wr&&function(e,t){var n=o.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},Jr=function(e,t){Or.call(o,(function(){var n,r=t.value;if(Zr(t)&&(n=Tr((function(){Nr?Mr.emit("unhandledRejection",r,e):Yr(Wr,e,r)})),t.rejection=Nr||Zr(t)?2:1,n.error))throw n.value}))},Zr=function(e){return 1!==e.rejection&&!e.parent},Kr=function(e,t){Or.call(o,(function(){Nr?Mr.emit("rejectionHandled",e):Yr("rejectionhandled",e,t.value)}))},Xr=function(e,t,n,r){return function(o){e(t,n,o,r)}},Qr=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,$r(e,t,!0))},eo=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw Cr("Promise can't be resolved itself");var o=Hr(n);o?Er((function(){var r={done:!1};try{o.call(n,Xr(eo,e,r,t),Xr(Qr,e,r,t))}catch(n){Qr(e,r,n,t)}})):(t.value=n,t.state=1,$r(e,t,!1))}catch(n){Qr(e,{done:!1},n,t)}}};Vr&&(Ir=function(e){An(this,Ir,kr),rt(e),wr.call(this);var t=Ur(this);try{e(Xr(eo,this,t),Xr(Qr,this,t))}catch(e){Qr(this,t,e)}},(wr=function(e){jr(this,{type:kr,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=bn(Ir.prototype,{then:function(e,t){var n=Pr(this),r=Fr(Nn(this,Ir));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Nr?Mr.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&$r(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),_r=function(){var e=new wr,t=Ur(e);this.promise=e,this.resolve=Xr(eo,e,t),this.reject=Xr(Qr,e,t)},Sr.f=Fr=function(e){return e===Ir||e===br?new _r(e):qr(e)},"function"==typeof _n&&(xr=_n.prototype.then,te(_n.prototype,"then",(function(e,t){var n=this;return new Ir((function(e,t){xr.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Dr&&Ue({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return Lr(Ir,Dr.apply(o,arguments))}}))),Ue({global:!0,wrap:!0,forced:Vr},{Promise:Ir}),Zt(Ir,kr,!1),En(kr),br=oe(kr),Ue({target:kr,stat:!0,forced:Vr},{reject:function(e){var t=Fr(this);return t.reject.call(void 0,e),t.promise}}),Ue({target:kr,stat:!0,forced:Vr},{resolve:function(e){return Lr(this,e)}}),Ue({target:kr,stat:!0,forced:Gr},{all:function(e){var t=this,n=Fr(t),r=n.resolve,o=n.reject,i=Tr((function(){var n=rt(t.resolve),i=[],a=0,u=1;Un(e,(function(e){var c=a++,s=!1;i.push(void 0),u++,n.call(t,e).then((function(e){s||(s=!0,i[c]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=Fr(t),r=n.reject,o=Tr((function(){var o=rt(t.resolve);Un(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var to=function(){var e=T(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function no(e,t){return RegExp(e,t)}var ro,oo,io={UNSUPPORTED_Y:i((function(){var e=no("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:i((function(){var e=no("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},ao=RegExp.prototype.exec,uo=String.prototype.replace,co=ao,so=(ro=/a/,oo=/b*/g,ao.call(ro,"a"),ao.call(oo,"a"),0!==ro.lastIndex||0!==oo.lastIndex),lo=io.UNSUPPORTED_Y||io.BROKEN_CARET,fo=void 0!==/()??/.exec("")[1];(so||fo||lo)&&(co=function(e){var t,n,r,o,i=this,a=lo&&i.sticky,u=to.call(i),c=i.source,s=0,l=e;return a&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),l=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(c="(?: "+c+")",l=" "+l,s++),n=new RegExp("^(?:"+c+")",u)),fo&&(n=new RegExp("^"+c+"$(?!\\s)",u)),so&&(t=i.lastIndex),r=ao.call(a?n:i,l),a?r?(r.input=r.input.slice(s),r[0]=r[0].slice(s),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:so&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),fo&&r&&r.length>1&&uo.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var po=co;Ue({target:"RegExp",proto:!0,forced:/./.exec!==po},{exec:po});var ho="toString",vo=RegExp.prototype,go=vo.toString,yo=i((function(){return"/a/b"!=go.call({source:"a",flags:"b"})})),mo=go.name!=ho;(yo||mo)&&te(RegExp.prototype,ho,(function(){var e=T(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in vo)?to.call(e):n)}),{unsafe:!0});var wo=Ve("match"),_o=function(e){var t;return y(e)&&(void 0!==(t=e[wo])?!!t:"RegExp"==d(e))},bo=function(e){if(_o(e))throw TypeError("The method doesn't accept regular expressions");return e},xo=Ve("match"),Eo=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[xo]=!1,"/./"[e](t)}catch(e){}}return!1};Ue({target:"String",proto:!0,forced:!Eo("includes")},{includes:function(e){return!!~String(v(this)).indexOf(bo(e),arguments.length>1?arguments[1]:void 0)}});var Ao=function(e){return function(t,n){var r,o,i=String(v(t)),a=ue(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):r:e?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},So={codeAt:Ao(!1),charAt:Ao(!0)},Lo=So.charAt,To="String Iterator",Oo=ee.set,Ro=ee.getterFor(To);sn(String,"String",(function(e){Oo(this,{type:To,string:String(e),index:0})}),(function(){var e,t=Ro(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Lo(n,r),t.index+=e.length,{value:e,done:!1})}));var ko=Ve("species"),Uo=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),jo="$0"==="a".replace(/./,"$0"),Po=Ve("replace"),Io=!!/./[Po]&&""===/./[Po]("a","$0"),Co=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Bo=function(e,t,n,r){var o=Ve(e),a=!i((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),u=a&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[ko]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!a||!u||"replace"===e&&(!Uo||!jo||Io)||"split"===e&&!Co){var c=/./[o],s=n(o,""[e],(function(e,t,n,r,o){return t.exec===po?a&&!o?{done:!0,value:c.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:jo,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Io}),l=s[0],f=s[1];te(String.prototype,e,l),te(RegExp.prototype,o,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)})}r&&k(RegExp.prototype[o],"sham",!0)},Mo=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Do=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==d(e))throw TypeError("RegExp#exec called on incompatible receiver");return po.call(e,t)};Bo("search",1,(function(e,t,n){return[function(t){var n=v(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var o=T(e),i=String(this),a=o.lastIndex;Mo(a,0)||(o.lastIndex=0);var u=Do(o,i);return Mo(o.lastIndex,a)||(o.lastIndex=a),null===u?-1:u.index}]}));var Fo,qo=L.f,No="".startsWith,zo=Math.min,Wo=Eo("startsWith"),Vo=!(Wo||(Fo=qo(String.prototype,"startsWith"),!Fo||Fo.writable));Ue({target:"String",proto:!0,forced:!Vo&&!Wo},{startsWith:function(e){var t=String(v(this));bo(e);var n=se(zo(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return No?No.call(t,r,n):t.slice(n,n+r.length)===r}});var Go=/"/g;Ue({target:"String",proto:!0,forced:function(e){return i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}("sub")},{sub:function(){return e="sub",t="",n="",r=String(v(this)),o="<"+e,""!==t&&(o+=" "+t+'="'+String(n).replace(Go,"&quot;")+'"'),o+">"+r+"</"+e+">";var e,t,n,r,o}});var Ho={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},$o=Ve("iterator"),Yo=Ve("toStringTag"),Jo=pn.values;for(var Zo in Ho){var Ko=o[Zo],Xo=Ko&&Ko.prototype;if(Xo){if(Xo[$o]!==Jo)try{k(Xo,$o,Jo)}catch(e){Xo[$o]=Jo}if(Xo[Yo]||k(Xo,Yo,Zo),Ho[Zo])for(var Qo in pn)if(Xo[Qo]!==pn[Qo])try{k(Xo,Qo,pn[Qo])}catch(e){Xo[Qo]=pn[Qo]}}}var ei=Ve("iterator"),ti=!i((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[ei]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),ni=function(e){var t,n,r,o,i,a,u=Pe(e),c="function"==typeof this?this:Array,s=arguments.length,l=s>1?arguments[1]:void 0,f=void 0!==l,d=Rn(u),p=0;if(f&&(l=ot(l,s>2?arguments[2]:void 0,2)),null==d||c==Array&&Tn(d))for(n=new c(t=se(u.length));t>p;p++)a=f?l(u[p],p):u[p],lt(n,p,a);else for(i=(o=d.call(u)).next,n=new c;!(r=i.call(o)).done;p++)a=f?kn(o,l,[r.value,p],!0):r.value,lt(n,p,a);return n.length=p,n},ri=2147483647,oi=/[^\0-\u007E]/,ii=/[.\u3002\uFF0E\uFF61]/g,ai="Overflow: input needs wider integers to process",ui=Math.floor,ci=String.fromCharCode,si=function(e){return e+22+75*(e<26)},li=function(e,t,n){var r=0;for(e=n?ui(e/700):e>>1,e+=ui(e/t);e>455;r+=36)e=ui(e/35);return ui(r+36*e/(e+38))},fi=function(e){var t,n,r=[],o=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,i=128,a=0,u=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(ci(n));var c=r.length,s=c;for(c&&r.push("-");s<o;){var l=ri;for(t=0;t<e.length;t++)(n=e[t])>=i&&n<l&&(l=n);var f=s+1;if(l-i>ui((ri-a)/f))throw RangeError(ai);for(a+=(l-i)*f,i=l,t=0;t<e.length;t++){if((n=e[t])<i&&++a>ri)throw RangeError(ai);if(n==i){for(var d=a,p=36;;p+=36){var h=p<=u?1:p>=u+26?26:p-u;if(d<h)break;var v=d-h,g=36-h;r.push(ci(si(h+v%g))),d=ui(v/g)}r.push(ci(si(d))),u=li(a,f,s==c),a=0,++s}}++a,++i}return r.join("")},di=function(e){var t=Rn(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return T(t.call(e))},pi=oe("fetch"),hi=oe("Headers"),vi=Ve("iterator"),gi="URLSearchParams",yi="URLSearchParamsIterator",mi=ee.set,wi=ee.getterFor(gi),_i=ee.getterFor(yi),bi=/\+/g,xi=Array(4),Ei=function(e){return xi[e-1]||(xi[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},Ai=function(e){try{return decodeURIComponent(e)}catch(t){return e}},Si=function(e){var t=e.replace(bi," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(Ei(n--),Ai);return t}},Li=/[!'()~]|%20/g,Ti={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Oi=function(e){return Ti[e]},Ri=function(e){return encodeURIComponent(e).replace(Li,Oi)},ki=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:Si(r.shift()),value:Si(r.join("="))}))},Ui=function(e){this.entries.length=0,ki(this.entries,e)},ji=function(e,t){if(e<t)throw TypeError("Not enough arguments")},Pi=Qt((function(e,t){mi(this,{type:yi,iterator:di(wi(e).entries),kind:t})}),"Iterator",(function(){var e=_i(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),Ii=function(){An(this,Ii,gi);var e,t,n,r,o,i,a,u,c,s=arguments.length>0?arguments[0]:void 0,l=this,f=[];if(mi(l,{type:gi,entries:f,updateURL:function(){},updateSearchParams:Ui}),void 0!==s)if(y(s))if("function"==typeof(e=Rn(s)))for(n=(t=e.call(s)).next;!(r=n.call(t)).done;){if((a=(i=(o=di(T(r.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");f.push({key:a.value+"",value:u.value+""})}else for(c in s)_(s,c)&&f.push({key:c,value:s[c]+""});else ki(f,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},Ci=Ii.prototype;bn(Ci,{append:function(e,t){ji(arguments.length,2);var n=wi(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){ji(arguments.length,1);for(var t=wi(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){ji(arguments.length,1);for(var t=wi(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){ji(arguments.length,1);for(var t=wi(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){ji(arguments.length,1);for(var t=wi(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){ji(arguments.length,1);for(var n,r=wi(this),o=r.entries,i=!1,a=e+"",u=t+"",c=0;c<o.length;c++)(n=o[c]).key===a&&(i?o.splice(c--,1):(i=!0,n.value=u));i||o.push({key:a,value:u}),r.updateURL()},sort:function(){var e,t,n,r=wi(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=wi(this).entries,r=ot(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new Pi(this,"keys")},values:function(){return new Pi(this,"values")},entries:function(){return new Pi(this,"entries")}},{enumerable:!0}),te(Ci,vi,Ci.entries),te(Ci,"toString",(function(){for(var e,t=wi(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(Ri(e.key)+"="+Ri(e.value));return n.join("&")}),{enumerable:!0}),Zt(Ii,gi),Ue({global:!0,forced:!ti},{URLSearchParams:Ii}),ti||"function"!=typeof pi||"function"!=typeof hi||Ue({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(y(t=arguments[1])&&(n=t.body,mn(n)===gi&&((r=t.headers?new hi(t.headers):new hi).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=Ke(t,{body:l(0,String(n)),headers:l(0,r)}))),o.push(t)),pi.apply(this,o)}});var Bi,Mi={URLSearchParams:Ii,getState:wi},Di=So.codeAt,Fi=o.URL,qi=Mi.URLSearchParams,Ni=Mi.getState,zi=ee.set,Wi=ee.getterFor("URL"),Vi=Math.floor,Gi=Math.pow,Hi="Invalid scheme",$i="Invalid host",Yi="Invalid port",Ji=/[A-Za-z]/,Zi=/[\d+-.A-Za-z]/,Ki=/\d/,Xi=/^(0x|0X)/,Qi=/^[0-7]+$/,ea=/^\d+$/,ta=/^[\dA-Fa-f]+$/,na=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,ra=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,oa=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,ia=/[\u0009\u000A\u000D]/g,aa=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return $i;if(!(n=ca(t.slice(1,-1))))return $i;e.host=n}else if(ga(e)){if(t=function(e){var t,n,r=[],o=e.toLowerCase().replace(ii,".").split(".");for(t=0;t<o.length;t++)n=o[t],r.push(oi.test(n)?"xn--"+fi(n):n);return r.join(".")}(t),na.test(t))return $i;if(null===(n=ua(t)))return $i;e.host=n}else{if(ra.test(t))return $i;for(n="",r=ni(t),o=0;o<r.length;o++)n+=ha(r[o],la);e.host=n}},ua=function(e){var t,n,r,o,i,a,u,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=c[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=Xi.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?ea:8==i?Qi:ta).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=Gi(256,5-t))return null}else if(a>255)return null;for(u=n.pop(),r=0;r<n.length;r++)u+=n[r]*Gi(256,3-r);return u},ca=function(e){var t,n,r,o,i,a,u,c=[0,0,0,0,0,0,0,0],s=0,l=null,f=0,d=function(){return e.charAt(f)};if(":"==d()){if(":"!=e.charAt(1))return;f+=2,l=++s}for(;d();){if(8==s)return;if(":"!=d()){for(t=n=0;n<4&&ta.test(d());)t=16*t+parseInt(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,s>6)return;for(r=0;d();){if(o=null,r>0){if(!("."==d()&&r<4))return;f++}if(!Ki.test(d()))return;for(;Ki.test(d());){if(i=parseInt(d(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}c[s]=256*c[s]+o,2!=++r&&4!=r||s++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;c[s++]=t}else{if(null!==l)return;f++,l=++s}}if(null!==l)for(a=s-l,s=7;0!=s&&a>0;)u=c[s],c[s--]=c[l+a-1],c[l+--a]=u;else if(8!=s)return;return c},sa=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=Vi(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},la={},fa=Be({},la,{" ":1,'"':1,"<":1,">":1,"`":1}),da=Be({},fa,{"#":1,"?":1,"{":1,"}":1}),pa=Be({},da,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ha=function(e,t){var n=Di(e,0);return n>32&&n<127&&!_(t,e)?e:encodeURIComponent(e)},va={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ga=function(e){return _(va,e.scheme)},ya=function(e){return""!=e.username||""!=e.password},ma=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},wa=function(e,t){var n;return 2==e.length&&Ji.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},_a=function(e){var t;return e.length>1&&wa(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ba=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&wa(t[0],!0)||t.pop()},xa=function(e){return"."===e||"%2e"===e.toLowerCase()},Ea={},Aa={},Sa={},La={},Ta={},Oa={},Ra={},ka={},Ua={},ja={},Pa={},Ia={},Ca={},Ba={},Ma={},Da={},Fa={},qa={},Na={},za={},Wa={},Va=function(e,t,n,r){var o,i,a,u,c,s=n||Ea,l=0,f="",d=!1,p=!1,h=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(oa,"")),t=t.replace(ia,""),o=ni(t);l<=o.length;){switch(i=o[l],s){case Ea:if(!i||!Ji.test(i)){if(n)return Hi;s=Sa;continue}f+=i.toLowerCase(),s=Aa;break;case Aa:if(i&&(Zi.test(i)||"+"==i||"-"==i||"."==i))f+=i.toLowerCase();else{if(":"!=i){if(n)return Hi;f="",s=Sa,l=0;continue}if(n&&(ga(e)!=_(va,f)||"file"==f&&(ya(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,n)return void(ga(e)&&va[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?s=Ba:ga(e)&&r&&r.scheme==e.scheme?s=La:ga(e)?s=ka:"/"==o[l+1]?(s=Ta,l++):(e.cannotBeABaseURL=!0,e.path.push(""),s=Na)}break;case Sa:if(!r||r.cannotBeABaseURL&&"#"!=i)return Hi;if(r.cannotBeABaseURL&&"#"==i){e.scheme=r.scheme,e.path=r.path.slice(),e.query=r.query,e.fragment="",e.cannotBeABaseURL=!0,s=Wa;break}s="file"==r.scheme?Ba:Oa;continue;case La:if("/"!=i||"/"!=o[l+1]){s=Oa;continue}s=Ua,l++;break;case Ta:if("/"==i){s=ja;break}s=qa;continue;case Oa:if(e.scheme=r.scheme,i==Bi)e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.query=r.query;else if("/"==i||"\\"==i&&ga(e))s=Ra;else if("?"==i)e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.query="",s=za;else{if("#"!=i){e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.path.pop(),s=qa;continue}e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.query=r.query,e.fragment="",s=Wa}break;case Ra:if(!ga(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,s=qa;continue}s=ja}else s=Ua;break;case ka:if(s=Ua,"/"!=i||"/"!=f.charAt(l+1))continue;l++;break;case Ua:if("/"!=i&&"\\"!=i){s=ja;continue}break;case ja:if("@"==i){d&&(f="%40"+f),d=!0,a=ni(f);for(var v=0;v<a.length;v++){var g=a[v];if(":"!=g||h){var y=ha(g,pa);h?e.password+=y:e.username+=y}else h=!0}f=""}else if(i==Bi||"/"==i||"?"==i||"#"==i||"\\"==i&&ga(e)){if(d&&""==f)return"Invalid authority";l-=ni(f).length+1,f="",s=Pa}else f+=i;break;case Pa:case Ia:if(n&&"file"==e.scheme){s=Da;continue}if(":"!=i||p){if(i==Bi||"/"==i||"?"==i||"#"==i||"\\"==i&&ga(e)){if(ga(e)&&""==f)return $i;if(n&&""==f&&(ya(e)||null!==e.port))return;if(u=aa(e,f))return u;if(f="",s=Fa,n)return;continue}"["==i?p=!0:"]"==i&&(p=!1),f+=i}else{if(""==f)return $i;if(u=aa(e,f))return u;if(f="",s=Ca,n==Ia)return}break;case Ca:if(!Ki.test(i)){if(i==Bi||"/"==i||"?"==i||"#"==i||"\\"==i&&ga(e)||n){if(""!=f){var m=parseInt(f,10);if(m>65535)return Yi;e.port=ga(e)&&m===va[e.scheme]?null:m,f=""}if(n)return;s=Fa;continue}return Yi}f+=i;break;case Ba:if(e.scheme="file","/"==i||"\\"==i)s=Ma;else{if(!r||"file"!=r.scheme){s=qa;continue}if(i==Bi)e.host=r.host,e.path=r.path.slice(),e.query=r.query;else if("?"==i)e.host=r.host,e.path=r.path.slice(),e.query="",s=za;else{if("#"!=i){_a(o.slice(l).join(""))||(e.host=r.host,e.path=r.path.slice(),ba(e)),s=qa;continue}e.host=r.host,e.path=r.path.slice(),e.query=r.query,e.fragment="",s=Wa}}break;case Ma:if("/"==i||"\\"==i){s=Da;break}r&&"file"==r.scheme&&!_a(o.slice(l).join(""))&&(wa(r.path[0],!0)?e.path.push(r.path[0]):e.host=r.host),s=qa;continue;case Da:if(i==Bi||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&wa(f))s=qa;else if(""==f){if(e.host="",n)return;s=Fa}else{if(u=aa(e,f))return u;if("localhost"==e.host&&(e.host=""),n)return;f="",s=Fa}continue}f+=i;break;case Fa:if(ga(e)){if(s=qa,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=Bi&&(s=qa,"/"!=i))continue}else e.fragment="",s=Wa;else e.query="",s=za;break;case qa:if(i==Bi||"/"==i||"\\"==i&&ga(e)||!n&&("?"==i||"#"==i)){if(".."===(c=(c=f).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(ba(e),"/"==i||"\\"==i&&ga(e)||e.path.push("")):xa(f)?"/"==i||"\\"==i&&ga(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&wa(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(i==Bi||"?"==i||"#"==i))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==i?(e.query="",s=za):"#"==i&&(e.fragment="",s=Wa)}else f+=ha(i,da);break;case Na:"?"==i?(e.query="",s=za):"#"==i?(e.fragment="",s=Wa):i!=Bi&&(e.path[0]+=ha(i,la));break;case za:n||"#"!=i?i!=Bi&&("'"==i&&ga(e)?e.query+="%27":e.query+="#"==i?"%23":ha(i,la)):(e.fragment="",s=Wa);break;case Wa:i!=Bi&&(e.fragment+=ha(i,fa))}l++}},Ga=function(e){var t,n,r=An(this,Ga,"URL"),o=arguments.length>1?arguments[1]:void 0,i=String(e),u=zi(r,{type:"URL"});if(void 0!==o)if(o instanceof Ga)t=Wi(o);else if(n=Va(t={},String(o)))throw TypeError(n);if(n=Va(u,i,null,t))throw TypeError(n);var c=u.searchParams=new qi,s=Ni(c);s.updateSearchParams(u.query),s.updateURL=function(){u.query=String(c)||null},a||(r.href=$a.call(r),r.origin=Ya.call(r),r.protocol=Ja.call(r),r.username=Za.call(r),r.password=Ka.call(r),r.host=Xa.call(r),r.hostname=Qa.call(r),r.port=eu.call(r),r.pathname=tu.call(r),r.search=nu.call(r),r.searchParams=ru.call(r),r.hash=ou.call(r))},Ha=Ga.prototype,$a=function(){var e=Wi(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,u=e.query,c=e.fragment,s=t+":";return null!==o?(s+="//",ya(e)&&(s+=n+(r?":"+r:"")+"@"),s+=sa(o),null!==i&&(s+=":"+i)):"file"==t&&(s+="//"),s+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(s+="?"+u),null!==c&&(s+="#"+c),s},Ya=function(){var e=Wi(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&ga(e)?t+"://"+sa(e.host)+(null!==n?":"+n:""):"null"},Ja=function(){return Wi(this).scheme+":"},Za=function(){return Wi(this).username},Ka=function(){return Wi(this).password},Xa=function(){var e=Wi(this),t=e.host,n=e.port;return null===t?"":null===n?sa(t):sa(t)+":"+n},Qa=function(){var e=Wi(this).host;return null===e?"":sa(e)},eu=function(){var e=Wi(this).port;return null===e?"":String(e)},tu=function(){var e=Wi(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},nu=function(){var e=Wi(this).query;return e?"?"+e:""},ru=function(){return Wi(this).searchParams},ou=function(){var e=Wi(this).fragment;return e?"#"+e:""},iu=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(a&&Ge(Ha,{href:iu($a,(function(e){var t=Wi(this),n=String(e),r=Va(t,n);if(r)throw TypeError(r);Ni(t.searchParams).updateSearchParams(t.query)})),origin:iu(Ya),protocol:iu(Ja,(function(e){var t=Wi(this);Va(t,String(e)+":",Ea)})),username:iu(Za,(function(e){var t=Wi(this),n=ni(String(e));if(!ma(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=ha(n[r],pa)}})),password:iu(Ka,(function(e){var t=Wi(this),n=ni(String(e));if(!ma(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=ha(n[r],pa)}})),host:iu(Xa,(function(e){var t=Wi(this);t.cannotBeABaseURL||Va(t,String(e),Pa)})),hostname:iu(Qa,(function(e){var t=Wi(this);t.cannotBeABaseURL||Va(t,String(e),Ia)})),port:iu(eu,(function(e){var t=Wi(this);ma(t)||(""==(e=String(e))?t.port=null:Va(t,e,Ca))})),pathname:iu(tu,(function(e){var t=Wi(this);t.cannotBeABaseURL||(t.path=[],Va(t,e+"",Fa))})),search:iu(nu,(function(e){var t=Wi(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Va(t,e,za)),Ni(t.searchParams).updateSearchParams(t.query)})),searchParams:iu(ru),hash:iu(ou,(function(e){var t=Wi(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Va(t,e,Wa)):t.fragment=null}))}),te(Ha,"toJSON",(function(){return $a.call(this)}),{enumerable:!0}),te(Ha,"toString",(function(){return $a.call(this)}),{enumerable:!0}),Fi){var au=Fi.createObjectURL,uu=Fi.revokeObjectURL;au&&te(Ga,"createObjectURL",(function(e){return au.apply(Fi,arguments)})),uu&&te(Ga,"revokeObjectURL",(function(e){return uu.apply(Fi,arguments)}))}Zt(Ga,"URL"),Ue({global:!0,forced:!ti,sham:!a},{URL:Ga});var cu=!i((function(){return Object.isExtensible(Object.preventExtensions({}))})),su=n((function(e){var t=R.f,n=V("meta"),r=0,o=Object.isExtensible||function(){return!0},i=function(e){t(e,n,{value:{objectID:"O"+ ++r,weakData:{}}})},a=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!y(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!_(e,n)){if(!o(e))return"F";if(!t)return"E";i(e)}return e[n].objectID},getWeakData:function(e,t){if(!_(e,n)){if(!o(e))return!0;if(!t)return!1;i(e)}return e[n].weakData},onFreeze:function(e){return cu&&a.REQUIRED&&o(e)&&!_(e,n)&&i(e),e}};$[n]=!0})).onFreeze,lu=Object.freeze,fu=i((function(){lu(1)}));Ue({target:"Object",stat:!0,forced:fu,sham:!cu},{freeze:function(e){return lu&&y(e)?lu(su(e)):e}});var du=1024,pu=function(e,t){var n=[][e];return!!n&&i((function(){n.call(null,t||function(){throw 1},1)}))},hu=[].join,vu=h!=Object,gu=pu("join",",");Ue({target:"Array",proto:!0,forced:vu||!gu},{join:function(e){return hu.call(g(this),void 0===e?",":e)}});var yu=[].push,mu=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=5==e||i;return function(u,c,s,l){for(var f,d,p=Pe(u),v=h(p),g=ot(c,s,3),y=se(v.length),m=0,w=l||dt,_=t?w(u,y):n?w(u,0):void 0;y>m;m++)if((a||m in v)&&(d=g(f=v[m],m,p),e))if(t)_[m]=d;else if(d)switch(e){case 3:return!0;case 5:return f;case 6:return m;case 2:yu.call(_,f)}else if(o)return!1;return i?-1:r||o?o:_}},wu={forEach:mu(0),map:mu(1),filter:mu(2),some:mu(3),every:mu(4),find:mu(5),findIndex:mu(6)},_u=wu.map,bu=wt("map"),xu=It("map");Ue({target:"Array",proto:!0,forced:!bu||!xu},{map:function(e){return _u(this,e,arguments.length>1?arguments[1]:void 0)}});var Eu=wt("slice"),Au=It("slice",{ACCESSORS:!0,0:0,1:2}),Su=Ve("species"),Lu=[].slice,Tu=Math.max;Ue({target:"Array",proto:!0,forced:!Eu||!Au},{slice:function(e,t){var n,r,o,i=g(this),a=se(i.length),u=de(e,a),c=de(void 0===t?a:t,a);if(st(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!st(n.prototype)?y(n)&&null===(n=n[Su])&&(n=void 0):n=void 0,n===Array||void 0===n))return Lu.call(i,u,c);for(r=new(void 0===n?Array:n)(Tu(c-u,0)),o=0;u<c;u++,o++)u in i&&lt(r,o,i[u]);return r.length=o,r}});var Ou="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,Ru=function(e){if(void 0===e)return 0;var t=ue(e),n=se(t);if(t!==n)throw RangeError("Wrong length or index");return n},ku=1/0,Uu=Math.abs,ju=Math.pow,Pu=Math.floor,Iu=Math.log,Cu=Math.LN2,Bu=function(e,t,n){var r,o,i,a=new Array(n),u=8*n-t-1,c=(1<<u)-1,s=c>>1,l=23===t?ju(2,-24)-ju(2,-77):0,f=e<0||0===e&&1/e<0?1:0,d=0;for((e=Uu(e))!=e||e===ku?(o=e!=e?1:0,r=c):(r=Pu(Iu(e)/Cu),e*(i=ju(2,-r))<1&&(r--,i*=2),(e+=r+s>=1?l/i:l*ju(2,1-s))*i>=2&&(r++,i/=2),r+s>=c?(o=0,r=c):r+s>=1?(o=(e*i-1)*ju(2,t),r+=s):(o=e*ju(2,s-1)*ju(2,t),r=0));t>=8;a[d++]=255&o,o/=256,t-=8);for(r=r<<t|o,u+=t;u>0;a[d++]=255&r,r/=256,u-=8);return a[--d]|=128*f,a},Mu=function(e,t){var n,r=e.length,o=8*r-t-1,i=(1<<o)-1,a=i>>1,u=o-7,c=r-1,s=e[c--],l=127&s;for(s>>=7;u>0;l=256*l+e[c],c--,u-=8);for(n=l&(1<<-u)-1,l>>=-u,u+=t;u>0;n=256*n+e[c],c--,u-=8);if(0===l)l=1-a;else{if(l===i)return n?NaN:s?-1/0:ku;n+=ju(2,t),l-=a}return(s?-1:1)*n*ju(2,l-t)},Du=we.f,Fu=R.f,qu=ee.get,Nu=ee.set,zu="ArrayBuffer",Wu="DataView",Vu="Wrong index",Gu=o.ArrayBuffer,Hu=Gu,$u=o.DataView,Yu=$u&&$u.prototype,Ju=Object.prototype,Zu=o.RangeError,Ku=Bu,Xu=Mu,Qu=function(e){return[255&e]},ec=function(e){return[255&e,e>>8&255]},tc=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},nc=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},rc=function(e){return Ku(e,23,4)},oc=function(e){return Ku(e,52,8)},ic=function(e,t){Fu(e.prototype,t,{get:function(){return qu(this)[t]}})},ac=function(e,t,n,r){var o=Ru(n),i=qu(e);if(o+t>i.byteLength)throw Zu(Vu);var a=qu(i.buffer).bytes,u=o+i.byteOffset,c=a.slice(u,u+t);return r?c:c.reverse()},uc=function(e,t,n,r,o,i){var a=Ru(n),u=qu(e);if(a+t>u.byteLength)throw Zu(Vu);for(var c=qu(u.buffer).bytes,s=a+u.byteOffset,l=r(+o),f=0;f<t;f++)c[s+f]=l[i?f:t-f-1]};if(Ou){if(!i((function(){Gu(1)}))||!i((function(){new Gu(-1)}))||i((function(){return new Gu,new Gu(1.5),new Gu(NaN),Gu.name!=zu}))){for(var cc,sc=(Hu=function(e){return An(this,Hu),new Gu(Ru(e))}).prototype=Gu.prototype,lc=Du(Gu),fc=0;lc.length>fc;)(cc=lc[fc++])in Hu||k(Hu,cc,Gu[cc]);sc.constructor=Hu}en&&Vt(Yu)!==Ju&&en(Yu,Ju);var dc=new $u(new Hu(2)),pc=Yu.setInt8;dc.setInt8(0,2147483648),dc.setInt8(1,2147483649),!dc.getInt8(0)&&dc.getInt8(1)||bn(Yu,{setInt8:function(e,t){pc.call(this,e,t<<24>>24)},setUint8:function(e,t){pc.call(this,e,t<<24>>24)}},{unsafe:!0})}else Hu=function(e){An(this,Hu,zu);var t=Ru(e);Nu(this,{bytes:De.call(new Array(t),0),byteLength:t}),a||(this.byteLength=t)},$u=function(e,t,n){An(this,$u,Wu),An(e,Hu,Wu);var r=qu(e).byteLength,o=ue(t);if(o<0||o>r)throw Zu("Wrong offset");if(o+(n=void 0===n?r-o:se(n))>r)throw Zu("Wrong length");Nu(this,{buffer:e,byteLength:n,byteOffset:o}),a||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},a&&(ic(Hu,"byteLength"),ic($u,"buffer"),ic($u,"byteLength"),ic($u,"byteOffset")),bn($u.prototype,{getInt8:function(e){return ac(this,1,e)[0]<<24>>24},getUint8:function(e){return ac(this,1,e)[0]},getInt16:function(e){var t=ac(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=ac(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return nc(ac(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return nc(ac(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return Xu(ac(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return Xu(ac(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){uc(this,1,e,Qu,t)},setUint8:function(e,t){uc(this,1,e,Qu,t)},setInt16:function(e,t){uc(this,2,e,ec,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){uc(this,2,e,ec,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){uc(this,4,e,tc,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){uc(this,4,e,tc,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){uc(this,4,e,rc,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){uc(this,8,e,oc,t,arguments.length>2?arguments[2]:void 0)}});Zt(Hu,zu),Zt($u,Wu);var hc={ArrayBuffer:Hu,DataView:$u},vc=hc.ArrayBuffer,gc=hc.DataView,yc=vc.prototype.slice,mc=i((function(){return!new vc(2).slice(1,void 0).byteLength}));Ue({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:mc},{slice:function(e,t){if(void 0!==yc&&void 0===t)return yc.call(T(this),e);for(var n=T(this).byteLength,r=de(e,n),o=de(void 0===t?n:t,n),i=new(Nn(this,vc))(se(o-r)),a=new gc(this),u=new gc(i),c=0;r<o;)u.setUint8(c++,a.getUint8(r++));return i}});var wc=So.charAt,_c=function(e,t,n){return t+(n?wc(e,t).length:1)},bc=Math.max,xc=Math.min,Ec=Math.floor,Ac=/\$([$&'`]|\d\d?|<[^>]*>)/g,Sc=/\$([$&'`]|\d\d?)/g;Bo("replace",2,(function(e,t,n,r){var o=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function(n,r){var o=v(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!o&&i||"string"==typeof r&&-1===r.indexOf(a)){var c=n(t,e,this,r);if(c.done)return c.value}var s=T(e),l=String(this),f="function"==typeof r;f||(r=String(r));var d=s.global;if(d){var p=s.unicode;s.lastIndex=0}for(var h=[];;){var v=Do(s,l);if(null===v)break;if(h.push(v),!d)break;""===String(v[0])&&(s.lastIndex=_c(l,se(s.lastIndex),p))}for(var g,y="",m=0,w=0;w<h.length;w++){v=h[w];for(var _=String(v[0]),b=bc(xc(ue(v.index),l.length),0),x=[],E=1;E<v.length;E++)x.push(void 0===(g=v[E])?g:String(g));var A=v.groups;if(f){var S=[_].concat(x,b,l);void 0!==A&&S.push(A);var L=String(r.apply(void 0,S))}else L=u(_,l,b,x,A,r);b>=m&&(y+=l.slice(m,b)+L,m=b+_.length)}return y+l.slice(m)}];function u(e,n,r,o,i,a){var u=r+e.length,c=o.length,s=Sc;return void 0!==i&&(i=Pe(i),s=Ac),t.call(a,s,(function(t,a){var s;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=i[a.slice(1,-1)];break;default:var l=+a;if(0===l)return t;if(l>c){var f=Ec(l/10);return 0===f?t:f<=c?void 0===o[f-1]?a.charAt(1):o[f-1]+a.charAt(1):t}s=o[l-1]}return void 0===s?"":s}))}}));var Lc=[].push,Tc=Math.min,Oc=4294967295,Rc=!i((function(){return!RegExp(Oc,"y")}));Bo("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(v(this)),o=void 0===n?Oc:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!_o(e))return t.call(r,e,o);for(var i,a,u,c=[],s=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,f=new RegExp(e.source,s+"g");(i=po.call(f,r))&&!((a=f.lastIndex)>l&&(c.push(r.slice(l,i.index)),i.length>1&&i.index<r.length&&Lc.apply(c,i.slice(1)),u=i[0].length,l=a,c.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return l===r.length?!u&&f.test("")||c.push(""):c.push(r.slice(l)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=v(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var i=n(r,e,this,o,r!==t);if(i.done)return i.value;var a=T(e),u=String(this),c=Nn(a,RegExp),s=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Rc?"y":"g"),f=new c(Rc?a:"^(?:"+a.source+")",l),d=void 0===o?Oc:o>>>0;if(0===d)return[];if(0===u.length)return null===Do(f,u)?[u]:[];for(var p=0,h=0,v=[];h<u.length;){f.lastIndex=Rc?h:0;var g,y=Do(f,Rc?u:u.slice(h));if(null===y||(g=Tc(se(f.lastIndex+(Rc?0:h)),u.length))===p)h=_c(u,h,s);else{if(v.push(u.slice(p,h)),v.length===d)return v;for(var m=1;m<=y.length-1;m++)if(v.push(y[m]),v.length===d)return v;h=p=g}}return v.push(u.slice(p)),v}]}),!Rc);var kc,Uc=R.f,jc=o.Int8Array,Pc=jc&&jc.prototype,Ic=o.Uint8ClampedArray,Cc=Ic&&Ic.prototype,Bc=jc&&Vt(jc),Mc=Pc&&Vt(Pc),Dc=Object.prototype,Fc=Dc.isPrototypeOf,qc=Ve("toStringTag"),Nc=V("TYPED_ARRAY_TAG"),zc=Ou&&!!en&&"Opera"!==mn(o.opera),Wc=!1,Vc={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Gc=function(e){return y(e)&&_(Vc,mn(e))};for(kc in Vc)o[kc]||(zc=!1);if((!zc||"function"!=typeof Bc||Bc===Function.prototype)&&(Bc=function(){throw TypeError("Incorrect invocation")},zc))for(kc in Vc)o[kc]&&en(o[kc],Bc);if((!zc||!Mc||Mc===Dc)&&(Mc=Bc.prototype,zc))for(kc in Vc)o[kc]&&en(o[kc].prototype,Mc);if(zc&&Vt(Cc)!==Mc&&en(Cc,Mc),a&&!_(Mc,qc))for(kc in Wc=!0,Uc(Mc,qc,{get:function(){return y(this)?this[Nc]:void 0}}),Vc)o[kc]&&k(o[kc],Nc,kc);var Hc={NATIVE_ARRAY_BUFFER_VIEWS:zc,TYPED_ARRAY_TAG:Wc&&Nc,aTypedArray:function(e){if(Gc(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(en){if(Fc.call(Bc,e))return e}else for(var t in Vc)if(_(Vc,kc)){var n=o[t];if(n&&(e===n||Fc.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(a){if(n)for(var r in Vc){var i=o[r];i&&_(i.prototype,e)&&delete i.prototype[e]}Mc[e]&&!n||te(Mc,e,n?t:zc&&Pc[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(a){if(en){if(n)for(r in Vc)(i=o[r])&&_(i,e)&&delete i[e];if(Bc[e]&&!n)return;try{return te(Bc,e,n?t:zc&&jc[e]||t)}catch(e){}}for(r in Vc)!(i=o[r])||i[e]&&!n||te(i,e,t)}},isView:function(e){var t=mn(e);return"DataView"===t||_(Vc,t)},isTypedArray:Gc,TypedArray:Bc,TypedArrayPrototype:Mc},$c=Hc.NATIVE_ARRAY_BUFFER_VIEWS,Yc=o.ArrayBuffer,Jc=o.Int8Array,Zc=!$c||!i((function(){Jc(1)}))||!i((function(){new Jc(-1)}))||!Fn((function(e){new Jc,new Jc(null),new Jc(1.5),new Jc(e)}),!0)||i((function(){return 1!==new Jc(new Yc(2),1,void 0).length})),Kc=function(e,t){var n=function(e){var t=ue(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}(e);if(n%t)throw RangeError("Wrong offset");return n},Xc=Hc.aTypedArrayConstructor,Qc=function(e){var t,n,r,o,i,a,u=Pe(e),c=arguments.length,s=c>1?arguments[1]:void 0,l=void 0!==s,f=Rn(u);if(null!=f&&!Tn(f))for(a=(i=f.call(u)).next,u=[];!(o=a.call(i)).done;)u.push(o.value);for(l&&c>2&&(s=ot(s,arguments[2],2)),n=se(u.length),r=new(Xc(this))(n),t=0;n>t;t++)r[t]=l?s(u[t],t):u[t];return r},es=n((function(e){var t=we.f,n=wu.forEach,r=ee.get,i=ee.set,u=R.f,c=L.f,s=Math.round,f=o.RangeError,d=hc.ArrayBuffer,p=hc.DataView,h=Hc.NATIVE_ARRAY_BUFFER_VIEWS,v=Hc.TYPED_ARRAY_TAG,g=Hc.TypedArray,w=Hc.TypedArrayPrototype,b=Hc.aTypedArrayConstructor,x=Hc.isTypedArray,E="BYTES_PER_ELEMENT",A="Wrong length",S=function(e,t){for(var n=0,r=t.length,o=new(b(e))(r);r>n;)o[n]=t[n++];return o},T=function(e,t){u(e,t,{get:function(){return r(this)[t]}})},O=function(e){var t;return e instanceof d||"ArrayBuffer"==(t=mn(e))||"SharedArrayBuffer"==t},U=function(e,t){return x(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},j=function(e,t){return U(e,t=m(t,!0))?l(2,e[t]):c(e,t)},P=function(e,t,n){return!(U(e,t=m(t,!0))&&y(n)&&_(n,"value"))||_(n,"get")||_(n,"set")||n.configurable||_(n,"writable")&&!n.writable||_(n,"enumerable")&&!n.enumerable?u(e,t,n):(e[t]=n.value,e)};a?(h||(L.f=j,R.f=P,T(w,"buffer"),T(w,"byteOffset"),T(w,"byteLength"),T(w,"length")),Ue({target:"Object",stat:!0,forced:!h},{getOwnPropertyDescriptor:j,defineProperty:P}),e.exports=function(e,a,c){var l=e.match(/\d+$/)[0]/8,m=e+(c?"Clamped":"")+"Array",_="get"+e,b="set"+e,L=o[m],T=L,R=T&&T.prototype,U={},j=function(e,t){u(e,t,{get:function(){return function(e,t){var n=r(e);return n.view[_](t*l+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var o=r(e);c&&(n=(n=s(n))<0?0:n>255?255:255&n),o.view[b](t*l+o.byteOffset,n,!0)}(this,t,e)},enumerable:!0})};h?Zc&&(T=a((function(e,t,n,r){return An(e,T,m),function(e,t,n){var r,o;return en&&"function"==typeof(r=t.constructor)&&r!==n&&y(o=r.prototype)&&o!==n.prototype&&en(e,o),e}(y(t)?O(t)?void 0!==r?new L(t,Kc(n,l),r):void 0!==n?new L(t,Kc(n,l)):new L(t):x(t)?S(T,t):Qc.call(T,t):new L(Ru(t)),e,T)})),en&&en(T,g),n(t(L),(function(e){e in T||k(T,e,L[e])})),T.prototype=R):(T=a((function(e,t,n,r){An(e,T,m);var o,a,u,c=0,s=0;if(y(t)){if(!O(t))return x(t)?S(T,t):Qc.call(T,t);o=t,s=Kc(n,l);var h=t.byteLength;if(void 0===r){if(h%l)throw f(A);if((a=h-s)<0)throw f(A)}else if((a=se(r)*l)+s>h)throw f(A);u=a/l}else u=Ru(t),o=new d(a=u*l);for(i(e,{buffer:o,byteOffset:s,byteLength:a,length:u,view:new p(o)});c<u;)j(e,c++)})),en&&en(T,g),R=T.prototype=Ke(w)),R.constructor!==T&&k(R,"constructor",T),v&&k(R,v,m),U[m]=T,Ue({global:!0,forced:T!=L,sham:!h},U),E in T||k(T,E,l),E in R||k(R,E,l),En(m)}):e.exports=function(){}}));es("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}})),es("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}));var ts=Math.min,ns=[].copyWithin||function(e,t){var n=Pe(this),r=se(n.length),o=de(e,r),i=de(t,r),a=arguments.length>2?arguments[2]:void 0,u=ts((void 0===a?r:de(a,r))-i,r-o),c=1;for(i<o&&o<i+u&&(c=-1,i+=u-1,o+=u-1);u-- >0;)i in n?n[o]=n[i]:delete n[o],o+=c,i+=c;return n},rs=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("copyWithin",(function(e,t){return ns.call(rs(this),e,t,arguments.length>2?arguments[2]:void 0)}));var os=wu.every,is=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("every",(function(e){return os(is(this),e,arguments.length>1?arguments[1]:void 0)}));var as=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("fill",(function(e){return De.apply(as(this),arguments)}));var us=wu.filter,cs=Hc.aTypedArray,ss=Hc.aTypedArrayConstructor;(0,Hc.exportTypedArrayMethod)("filter",(function(e){for(var t=us(cs(this),e,arguments.length>1?arguments[1]:void 0),n=Nn(this,this.constructor),r=0,o=t.length,i=new(ss(n))(o);o>r;)i[r]=t[r++];return i}));var ls=wu.find,fs=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("find",(function(e){return ls(fs(this),e,arguments.length>1?arguments[1]:void 0)}));var ds=wu.findIndex,ps=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("findIndex",(function(e){return ds(ps(this),e,arguments.length>1?arguments[1]:void 0)}));var hs=wu.forEach,vs=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("forEach",(function(e){hs(vs(this),e,arguments.length>1?arguments[1]:void 0)}));var gs=he.includes,ys=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("includes",(function(e){return gs(ys(this),e,arguments.length>1?arguments[1]:void 0)}));var ms=he.indexOf,ws=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("indexOf",(function(e){return ms(ws(this),e,arguments.length>1?arguments[1]:void 0)}));var _s=Ve("iterator"),bs=o.Uint8Array,xs=pn.values,Es=pn.keys,As=pn.entries,Ss=Hc.aTypedArray,Ls=Hc.exportTypedArrayMethod,Ts=bs&&bs.prototype[_s],Os=!!Ts&&("values"==Ts.name||null==Ts.name),Rs=function(){return xs.call(Ss(this))};Ls("entries",(function(){return As.call(Ss(this))})),Ls("keys",(function(){return Es.call(Ss(this))})),Ls("values",Rs,!Os),Ls(_s,Rs,!Os);var ks=Hc.aTypedArray,Us=[].join;(0,Hc.exportTypedArrayMethod)("join",(function(e){return Us.apply(ks(this),arguments)}));var js=Math.min,Ps=[].lastIndexOf,Is=!!Ps&&1/[1].lastIndexOf(1,-0)<0,Cs=pu("lastIndexOf"),Bs=It("indexOf",{ACCESSORS:!0,1:0}),Ms=Is||!Cs||!Bs?function(e){if(Is)return Ps.apply(this,arguments)||0;var t=g(this),n=se(t.length),r=n-1;for(arguments.length>1&&(r=js(r,ue(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}:Ps,Ds=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("lastIndexOf",(function(e){return Ms.apply(Ds(this),arguments)}));var Fs=wu.map,qs=Hc.aTypedArray,Ns=Hc.aTypedArrayConstructor;(0,Hc.exportTypedArrayMethod)("map",(function(e){return Fs(qs(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(Ns(Nn(e,e.constructor)))(t)}))}));var zs=function(e){return function(t,n,r,o){rt(n);var i=Pe(t),a=h(i),u=se(i.length),c=e?u-1:0,s=e?-1:1;if(r<2)for(;;){if(c in a){o=a[c],c+=s;break}if(c+=s,e?c<0:u<=c)throw TypeError("Reduce of empty array with no initial value")}for(;e?c>=0:u>c;c+=s)c in a&&(o=n(o,a[c],c,i));return o}},Ws={left:zs(!1),right:zs(!0)},Vs=Ws.left,Gs=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("reduce",(function(e){return Vs(Gs(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}));var Hs=Ws.right,$s=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("reduceRight",(function(e){return Hs($s(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}));var Ys=Hc.aTypedArray,Js=Hc.exportTypedArrayMethod,Zs=Math.floor;Js("reverse",(function(){for(var e,t=this,n=Ys(t).length,r=Zs(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t}));var Ks=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("set",(function(e){Ks(this);var t=Kc(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=Pe(e),o=se(r.length),i=0;if(o+t>n)throw RangeError("Wrong length");for(;i<o;)this[t+i]=r[i++]}),i((function(){new Int8Array(1).set({})})));var Xs=Hc.aTypedArray,Qs=Hc.aTypedArrayConstructor,el=[].slice;(0,Hc.exportTypedArrayMethod)("slice",(function(e,t){for(var n=el.call(Xs(this),e,t),r=Nn(this,this.constructor),o=0,i=n.length,a=new(Qs(r))(i);i>o;)a[o]=n[o++];return a}),i((function(){new Int8Array(1).slice()})));var tl=wu.some,nl=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("some",(function(e){return tl(nl(this),e,arguments.length>1?arguments[1]:void 0)}));var rl=Hc.aTypedArray,ol=[].sort;(0,Hc.exportTypedArrayMethod)("sort",(function(e){return ol.call(rl(this),e)}));var il=Hc.aTypedArray;(0,Hc.exportTypedArrayMethod)("subarray",(function(e,t){var n=il(this),r=n.length,o=de(e,r);return new(Nn(n,n.constructor))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,se((void 0===t?r:de(t,r))-o))}));var al=o.Int8Array,ul=Hc.aTypedArray,cl=Hc.exportTypedArrayMethod,sl=[].toLocaleString,ll=[].slice,fl=!!al&&i((function(){sl.call(new al(1))}));cl("toLocaleString",(function(){return sl.apply(fl?ll.call(ul(this)):ul(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new al([1,2]).toLocaleString()}))||!i((function(){al.prototype.toLocaleString.call([1,2])})));var dl=Hc.exportTypedArrayMethod,pl=o.Uint8Array,hl=pl&&pl.prototype||{},vl=[].toString,gl=[].join;i((function(){vl.call({})}))&&(vl=function(){return gl.call(this)});var yl=hl.toString!=vl;dl("toString",vl,yl);var ml,wl=window.crypto||window.msCrypto,_l=function(e){return JSON.parse(decodeURIComponent(escape(atob(e.split(".")[1]))))},bl=function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";return Array(e).fill(null).map((function(){return t.charAt(Math.floor(wl.getRandomValues(new Uint32Array(1))[0]/Math.pow(2,32)*t.length))})).join("")},xl=function(e){return String.fromCharCode.apply(null,new Uint8Array(e))},El=function(e){var t=(new TextEncoder).encode(e),n=wl.subtle.digest("SHA-256",t);return n instanceof Promise?n:new Promise((function(e,t){var r=n;r.oncomplete=function(t){return e(t.target.result)},r.onerror=function(e){return t(e.toString())}}))},Al=function(e){return window.btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},Sl=function(e){return e.split("/").slice(0,3).join("/")},Ll="ONELOGIN_ID_TOKEN",Tl="ONELOGIN_PKCE_STATE",Ol="ONELOGIN_PKCE_CODE_VERIFIER",Rl="ONELOGIN_ACCESS_TOKEN",kl="ONELOGIN_REFRESH_TOKEN",Ul="https://1login.wp.pl",jl="https://onelogin.wpcdn.pl/onelogin/static",Pl=function(){return Lt.get("OL_ID")},Il=function e(t,n){var r=bl(111),o=bl(111);return El(o).then((function(i){var a=Al(xl(i));return Bl(Object.assign({},n,{olId:t,state:r,codeChallenge:a})).then((function(i){if(401===i.status){var a=Pl();return!(t===a||!a)&&e(a,n)}return 200===i.status&&i.json().then((function(e){var t=e.data.redirectUrl.split("?")[1],n=new URLSearchParams(t),i=n.get("code"),a=n.get("state");return!(!i||r!=a)&&{code:i,codeVerifier:o}}))}))}))},Cl=function(e){var t=e.storage,n=e.callback,r=e.config;if(t.load(Rl))kt.debug("Token in storage - autologin denied");else{var o=Pl();o?(kt.debug("autologin - data found; initializing..."),Il(o,r).then((function(e){e?(kt.debug("autologin - accepted; token granted"),n(e)):kt.debug("autologin - denied; session no longer active")}))):kt.debug("autologin - no data found")}},Bl=function(e){var t=e.clientId,n=e.redirectUrl,r=e.scope,o=e.state,i=e.codeChallenge,a=new URLSearchParams("");a.set("response_type","code"),a.set("client_id",t),a.set("redirect_uri",n),a.set("scope",r),a.set("state",o),a.set("code_challenge",i),a.set("code_challenge_method","S256"),window.location.href.length<=du&&a.set("continue_url",window.location.href);var u=Pl();return fetch(ml.authProviderUrl+"/auth/silent?"+a.toString(),{credentials:"include",headers:u?{"ol-id":u}:void 0})},Ml=function(e,t){var n,r=e.authUrl,o=e.clientId,i=e.redirectUrl,a=e.scope,u=e.postLogoutRedirectUrl,c=e.passContinueUrl,s=e.autologinDomain,l=function(){kt.debug("clearing storage"),t.clear(Ll),t.clear(Rl),t.clear(kl),document.dispatchEvent(new CustomEvent("ol-not-logged"))},f=function(){var e=t.load(Ll);if(!e)throw l(),new Error("No token in storage");return _l(e)},d=function(){var e=t.load(kl);return e?function(e){var t=e.clientId,n=e.refreshToken;return fetch(ml.authProviderUrl+"/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"grant_type=refresh_token&client_id="+t+"&refresh_token="+n})}({clientId:o,refreshToken:e}).then((function(e){return 200!==e.status?(kt.debug("current session is invalid"),l(),!1):e.json().then((function(e){return t.save(Rl,e.access_token),t.save(kl,e.refresh_token),!0}))})):Promise.resolve(!1)},p=function(e){clearTimeout(n),n=setTimeout(d,1e3*(e-30))},h=function(e){var n=e.code,a=e.codeVerifier,u=e.continueUrl;return function(e){var t=e.clientId,n=e.redirectUrl,r=e.code,o=e.codeVerifier;return fetch(ml.authProviderUrl+"/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"grant_type=authorization_code&client_id="+t+"&redirect_uri="+n+"&code="+r+"&code_verifier="+o})}({clientId:o,code:n,codeVerifier:a,redirectUrl:i}).then((function(e){return e.json()})).then((function(e){if(!e.id_token)throw new Error("No token from response");var n=_l(e.id_token);if(!n.aud.includes(o))throw new Error("Aud differs from clientId!");if(n.iss!==Sl(r)+"/api/v1/public/ol-authprovider")throw new Error("Wrong ISS");!function(e,t){void 0===t&&(t=".wp.pl");var n=new Date(Date.now()+12096e5);kt.debug("setting OL_ID with: ",{adId:e,domain:t,expires:n}),Lt.set("OL_ID",e,{domain:t,expires:n})}(n.ad_id,s),t.save(Rl,e.access_token),t.save(kl,e.refresh_token),p(e.expires_in),function(e){kt.debug("setting user token"),t.save(Ll,e),document.dispatchEvent(new CustomEvent("ol-login"))}(e.id_token),u&&window.location.assign(decodeURIComponent(u))}))},v=function(){var e=t.load(Rl);return e?function(e){return fetch(ml.authProviderUrl+"/introspect",{headers:{Authorization:"Bearer "+e},method:"POST"})}(e).then((function(e){return 200===e.status?e.json().then((function(e){var t=Math.floor(Date.now()/1e3),n=e.exp-t;return p(n),!0})):e.status.toString().startsWith("4")?d():(kt.error("invalid response during introspect"),l(),!1)})):Promise.resolve(!1)};return function(){!function(e){var t=Sl(e.authUrl);ml=Object.freeze({origin:t,authProviderUrl:t+"/api/v1/public/ol-authprovider"})}(e),setInterval(v,6e4);var n=window.location.href;n.startsWith(decodeURI(i))&&n.includes("code=")?function(){var e=new URLSearchParams(window.location.search),n=e.get("state"),r=e.get("code"),o=e.get("error"),a=e.get("continue_url");if(!r)throw new Error("No code from response");if(o)throw new Error(o);history.replaceState({},"Logowanie 1L",i);var u=t.load(Tl),c=t.load(Ol);if(t.clear(Tl),t.clear(Ol),n!==u)throw console.error({state:n,storageState:u}),new Error("State differs from storage");if(!c)throw new Error("There is no `code_verifier` in storage");if(!u)throw new Error("There is no `state` in storage");h({code:r,codeVerifier:c,continueUrl:a})}():v().then((function(n){n?(kt.debug("user logged in"),document.dispatchEvent(new CustomEvent("ol-login"))):(kt.debug("no active session found"),Cl({config:e,storage:t,callback:h}),document.dispatchEvent(new CustomEvent("ol-not-logged")))}))}(),{login:function(e){var n=bl(111);t.save(Tl,n);var u=bl(111);return t.save(Ol,u),El(u).then((function(t){var u=Al(xl(t)),s=new URLSearchParams("");e&&s.set("flow","select_account"),s.set("response_type","code"),s.set("client_id",o),s.set("redirect_uri",i),s.set("scope",a),s.set("state",n),s.set("code_challenge",u),s.set("code_challenge_method","S256"),c&&window.location.href.length<=du&&s.set("continue_url",window.location.href),window.location.assign(r+"?"+s.toString())}))},logout:function(){kt.debug("logout initiated");try{var e=f().l_hint;l(),kt.debug("removing autologin cookie"),Lt.remove("OL_ID"),window.location.assign(Sl(r)+"/api/v1/public/ol-authprovider/logout?l_hint="+e+"&post_logout_redirect_uri="+u)}catch(e){console.error(e)}},getUserData:function(){var e=f();return{first_name:e.first_name,last_name:e.last_name,email:e.sub,avatar_url:e.avatar_url}}}},Dl=function(e,t){return"PKCE"===e.flow?Ml(e,t):(r=(n=e).passContinueUrl,o=n.logout,i=o.url,a=o.method,u=void 0===a?"GET":a,c=n.authUrl,s=void 0,{login:function(e){var t=new URLSearchParams("");e&&t.set("flow","select_account"),r&&window.location.href.length<=du&&t.set("continue_url",window.location.href);var n=t.toString();window.location.assign(c+(n?"?"+n:""))},logout:function(){var e=document.createElement("form");e.setAttribute("method",u),e.setAttribute("action",i),document.body.appendChild(e),e.submit()},getUserData:function(){if(!s)throw new Error("No UserData in storage");return s},setUserData:function(e){s=e,document.dispatchEvent(new CustomEvent("ol-login"))}});var n,r,o,i,a,u,c,s},Fl=void 0,ql={COOKIE:{clear:function(e){Lt.remove(e,{domain:Fl,secure:!0,sameSite:"none"})},load:function(e){return Lt.get(e)},save:function(e,t){Lt.set(e,t,{domain:Fl,secure:!0,sameSite:"none"})}},LOCAL_STORAGE:{clear:function(e){return localStorage.removeItem(e)},load:function(e){return localStorage.getItem(e)},save:function(e,t){localStorage.setItem(e,t)}}};var Nl=function(e,t){return t||(t=e.slice(0)),e.raw=t,e},zl=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.map((function(e,t){return""+e+(n[t]||"")})).join("")};function Wl(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var Vl="styles-module_Button__1bJy1",Gl="styles-module_Icon__1t6X6";function Hl(){var e=Nl(['<button type="button" class="','"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="20" viewBox="0 0 18 20" class="','"><g fill="#FFF" fill-rule="evenodd"><path d="M15.891 2.026c-.375 0-.723.117-1.012.315-.111.064-.217.137-.315.227l-5.21 5.376c-.724.66-.773 1.789-.11 2.508.664.72 1.797.77 2.52.11l2.331-2.31v9c0 .982.808 1.787 1.796 1.787.99 0 1.798-.805 1.798-1.787V3.815c0-.983-.808-1.789-1.798-1.789"/><path d="M7.09 12.784c-.8-.635-1.316-1.385-1.551-2.341-.212-.862-.124-1.58.164-2.448.04-.102.045-.114.01-.035l.075-.166c.04-.082.081-.162.125-.242.116-.211.247-.417.393-.609-.09.118.073-.082.085-.095.08-.092.163-.18.249-.265.086-.086.175-.167.267-.247.022-.019.221-.175.099-.084.196-.147.406-.277.622-.392.234-.124.282-.144.463-.208.488-.173.885-.242 1.344-.258.496-.015.917-.407.917-.911 0-.484-.42-.93-.917-.913-1.92.061-3.644.977-4.767 2.525-1.076 1.482-1.366 3.515-.778 5.243.364 1.07 1.014 2.033 1.902 2.737.388.308.92.376 1.298 0 .32-.318.39-.981 0-1.291M11.003 13.313c-.693.24-1.38.31-2.108.225-.493-.058-.918.46-.918.913 0 .541.423.854.918.913.87.102 1.77-.005 2.596-.29.468-.162.777-.625.64-1.123-.124-.452-.657-.8-1.128-.638"/><path d="M1.91 10.621c-.14-1.073-.093-2.02.14-2.955.06-.238.13-.473.21-.707.04-.115.082-.23.127-.343.022-.058.044-.115.068-.17-.062.145.055-.116.056-.117.205-.44.45-.863.727-1.262.069-.099.14-.198.214-.295-.07.092.103-.125.141-.17.177-.207.363-.409.56-.599.399-.391.65-.594 1.058-.865.9-.6 1.654-.918 2.708-1.149 1.394-.306 2.884-.187 4.267.294.469.162 1.005-.186 1.129-.638.14-.503-.171-.96-.64-1.123-2.639-.916-5.641-.615-8.04.817C2.63 2.539 1.116 4.47.42 6.693c-.395 1.261-.513 2.62-.344 3.928.063.49.376.913.917.913.447 0 .98-.42.917-.913M10.902 17.035c-1.612.292-3.35.042-4.768-.668-1.499-.75-2.63-1.857-3.42-3.316-.236-.434-.838-.57-1.255-.327-.441.257-.565.813-.33 1.25.93 1.715 2.404 3.156 4.168 4.014 1.908.927 4.009 1.185 6.092.808.488-.089.764-.678.641-1.123-.14-.511-.639-.727-1.128-.638"/></g></svg> <span>Zaloguj z 1login od WP</span></button>']);return Hl=function(){return e},e}Wl(".styles-module_Button__1bJy1{display:flex;align-items:center;justify-content:center;border:none;border-radius:4px;background-color:#2019f5;color:#fff;font-size:14px;outline:none;padding:10px 12px 10px 30px;max-width:270px;width:100%;position:relative;cursor:pointer}.styles-module_Button__1bJy1 span{position:relative}.styles-module_Button__1bJy1:hover{background-color:#333cf6}.styles-module_Icon__1t6X6{position:absolute;top:50%;left:12px;transform:translateY(-50%)}");var $l=wu.forEach,Yl=pu("forEach"),Jl=It("forEach"),Zl=Yl&&Jl?[].forEach:function(e){return $l(this,e,arguments.length>1?arguments[1]:void 0)};Ue({target:"Array",proto:!0,forced:[].forEach!=Zl},{forEach:Zl});var Kl=!Fn((function(e){Array.from(e)}));for(var Xl in Ue({target:"Array",stat:!0,forced:Kl},{from:ni}),Ho){var Ql=o[Xl],ef=Ql&&Ql.prototype;if(ef&&ef.forEach!==Zl)try{k(ef,"forEach",Zl)}catch(e){ef.forEach=Zl}}var tf="styles-module_Text__2N4ci",nf="styles-module_Overlay__aUjWP",rf="styles-module_Bold__27ljj",of="styles-module_Button__3Bq4n",af="styles-module_TextWrapper__3szJT";function uf(){var e=Nl(['<button type="button" id="','" class="olw__button'," ",'">','<div class="olw__button__text ','"><span class="olw__button__text--overlay '," ",'">','</span> <span class="olw__button__text--bold '," ",'">',"</span></div></button>"]);return uf=function(){return e},e}Wl(".styles-module_Text__2N4ci{display:block;max-width:95px}.styles-module_Text__2N4ci.styles-module_Overlay__aUjWP{position:absolute;left:50%;transform:translateX(-50%)}.styles-module_Text__2N4ci.styles-module_Bold__27ljj{font-weight:600;visibility:hidden}.styles-module_Button__3Bq4n{display:flex;justify-content:center;align-items:center;flex-direction:column;background:none;border:0;font-size:12px;font-weight:500;cursor:pointer;outline:0;text-transform:uppercase}.styles-module_Button__3Bq4n>*{position:relative}.styles-module_Button__3Bq4n:hover .styles-module_Overlay__aUjWP{visibility:hidden}.styles-module_Button__3Bq4n:hover .styles-module_Bold__27ljj{visibility:visible}.styles-module_Button__3Bq4n .styles-module_TextWrapper__3szJT{margin-top:8px}@media (max-width:768px){.styles-module_Button__3Bq4n .styles-module_TextWrapper__3szJT{display:none}}");var cf=function(e,t,n,r){void 0===r&&(r=!0);var o=t.length<=10?t:t.substring(0,10).replace(/...$/,"...");return zl(uf(),e,r?"":"--login",of,n,af,tf,nf,o,tf,rf,o)},sf="styles-module_Wrapper__28I5v",lf="styles-module_Link__7LnyB",ff="styles-module_Icon__2j5nC";Wl(".styles-module_Wrapper__28I5v{display:flex;flex-direction:column;padding:0 20px 16px;border-top:1px solid rgba(0,0,0,.1)}.styles-module_Link__7LnyB{display:flex;align-items:center;margin-top:16px;font-size:14px;cursor:pointer;color:#1a1a1a}.styles-module_Link__7LnyB:hover{text-decoration:underline}.styles-module_Icon__2j5nC{display:flex;align-items:center;justify-content:center;width:20px;margin-right:15px}");var df=function(){return"true"===Lt.get("mobileApp")};function pf(){var e=Nl(['<div class="olw__action--logout ','"><a class="olw__action--link ','" id="olw-actions-logout"><span class="olw__action--icon ','"><svg xmlns="http://www.w3.org/2000/svg" width="17" height="19" viewBox="0 0 17 19"><path fill="#2019F5" stroke="#2019F5" d="M7 1c4.791 0 8.675 3.884 8.675 8.675S11.791 18.35 7 18.35c-.373 0-.675-.302-.675-.675 0-.373.302-.675.675-.675 4.045 0 7.325-3.28 7.325-7.325S11.045 2.35 7 2.35c-.373 0-.675-.302-.675-.675C6.325 1.302 6.627 1 7 1zM4.632 5.873l.084-.071.092-.056c.252-.126.568-.084.779.127h0l.071.083c.19.264.166.634-.071.871h0L3.305 9.11h6.412l.1.008c.325.048.575.329.575.668 0 .372-.302.675-.675.675h0l-6.412-.001 2.282 2.283.071.084c.19.263.166.633-.071.87-.264.264-.691.264-.955 0h0l-3.448-3.448-.057-.07-.053-.085-.04-.095-.026-.11L1 9.784c0-.07.01-.137.03-.2h0l.038-.096.052-.088h0l.026-.036.044-.05 3.442-3.442z"/></svg> </span>Wyloguj</a></div>']);return pf=function(){return e},e}var hf="styles-module_Wrapper__2g7OW",vf="styles-module_AvatarWrapper__pJPgY",gf="styles-module_Avatar__2n7RQ",yf="styles-module_OneLoginLogo__2RFnu",mf="styles-module_PersonalData__p1q4n",wf="styles-module_Email__3ZhPR",_f="styles-module_Link__1nZwl",bf="styles-module_DisplayNone__1dBmu";function xf(){var e=Nl(['<svg xmlns="http://www.w3.org/2000/svg" class="','" width="','" height="','" viewBox="0 0 41 40"><g fill="none" fill-rule="evenodd" transform="translate(5.24 5)"><circle cx="15" cy="15" r="17.4" fill="#E3E8FE" stroke="#E3E8FE" stroke-width="4.8"/><path fill="#2019F5" fill-rule="nonzero" d="M20.487 22.274v-1.796c0-2.115-1.687-3.38-3.309-4.615-.224-.17-.509-.493-.509-.986s.257-.974.51-1.18c1.577-1.286 3.308-2.5 3.308-4.615V7.726h1.273V6h-14v1.726h1.273v1.356c0 2.116 1.73 3.329 3.309 4.615.252.206.509.687.509 1.18 0 .493-.285.816-.51.986-1.62 1.234-3.308 2.5-3.308 4.615v1.796H7.76V24h14v-1.726h-1.273zm-8.941-11.59c-.47-.513-.731-1.009-.731-1.602V7.726h7.89v1.356c0 .593-.262 1.089-.73 1.603h-6.43zm7.16 11.109l-2.997-1.133c-.522-.197-1.376-.197-1.897 0l-2.997 1.133v-1.315c0-1.197.982-2.005 2.584-3.225l.043-.032c.608-.462 1.003-1.106 1.137-1.815.12.026.243.026.362 0 .134.71.529 1.353 1.136 1.814l.044.033c1.602 1.22 2.584 2.028 2.584 3.225v1.315z"/></g></svg>']);return xf=function(){return e},e}Wl(".styles-module_Wrapper__2g7OW{display:flex;flex-direction:column;width:100%;align-items:center;padding:20px 20px 0;box-sizing:border-box}.styles-module_AvatarWrapper__pJPgY{position:relative}.styles-module_Avatar__2n7RQ{height:60px;width:60px;border-radius:50%}@media (max-width:768px){.styles-module_Avatar__2n7RQ{height:43px;width:43px}}.styles-module_OneLoginLogo__2RFnu{position:absolute;bottom:0;left:-10px}.styles-module_PersonalData__p1q4n{margin-top:10px;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.styles-module_Email__3ZhPR{font-size:12px;color:#656565;margin-bottom:10px}.styles-module_Link__1nZwl{font-size:14px;font-weight:600;color:#2019f5;margin-bottom:15px;cursor:pointer;text-decoration:none}.styles-module_Link__1nZwl:hover{text-decoration:underline}.styles-module_Link__1nZwl:last-child{margin-bottom:10px}.styles-module_DisplayNone__1dBmu{display:none}");var Ef=function(e){var t=void 0===e?{}:e,n=t.size,r=void 0===n?30:n,o=t.class,i=void 0===o?"":o;return zl(xf(),i,r,r)};function Af(){var e=Nl(['<div class="','"><div class="olw__avatarwrapper ','">',' <svg xmlns="http://www.w3.org/2000/svg" width="24" height="23" viewBox="0 0 24 23" class="','"><g fill="none" fill-rule="evenodd" transform="translate(.754)"><ellipse cx="11.475" cy="11.4" fill="#FFF" rx="11.475" ry="11.4"/><g fill="#2019F5"><path d="M14.765 1.87c-.348 0-.672.108-.94.291-.104.059-.202.127-.294.21l-4.84 4.962c-.672.609-.718 1.651-.102 2.315.616.665 1.67.71 2.342.1l2.165-2.13v8.307c0 .907.751 1.65 1.67 1.65.918 0 1.669-.743 1.669-1.65V3.52c0-.907-.75-1.65-1.67-1.65" transform="translate(2.416 2.4)"/><path d="M6.587 11.8c-.743-.586-1.222-1.278-1.441-2.16-.196-.796-.115-1.46.153-2.26.038-.094.042-.105.01-.032.022-.052.046-.103.07-.154.036-.075.074-.15.115-.223.108-.195.229-.385.365-.562-.084.109.068-.076.08-.088.073-.085.15-.165.23-.244.08-.08.163-.155.248-.228.021-.018.206-.162.092-.078.183-.136.377-.256.578-.361.217-.116.263-.133.43-.193.454-.16.823-.223 1.25-.238.46-.014.852-.376.852-.841 0-.446-.39-.859-.853-.843-1.784.057-3.385.902-4.429 2.331-1 1.368-1.27 3.245-.723 4.84.339.987.943 1.876 1.768 2.526.36.285.854.348 1.205 0 .297-.293.362-.905 0-1.192M10.223 12.288c-.644.222-1.281.288-1.959.209-.457-.054-.852.425-.852.842 0 .5.393.789.852.843.808.095 1.645-.005 2.412-.268.435-.15.723-.577.596-1.036-.116-.418-.612-.74-1.049-.59" transform="translate(2.416 2.4)"/><path d="M1.774 9.804c-.129-.99-.085-1.865.132-2.728.055-.22.12-.437.194-.652.037-.106.076-.212.118-.317.02-.053.04-.106.063-.157-.058.134.051-.107.052-.108.19-.406.418-.796.676-1.165.064-.09.13-.183.198-.272-.064.084.096-.115.132-.156.164-.192.337-.378.52-.554.37-.361.603-.548.983-.799.836-.553 1.536-.847 2.515-1.06 1.296-.282 2.68-.173 3.966.271.435.15.933-.171 1.048-.589.13-.464-.158-.886-.594-1.036-2.452-.846-5.242-.568-7.47.754C2.443 2.343 1.035 4.126.39 6.178.023 7.343-.087 8.596.069 9.804c.059.452.35.843.853.843.415 0 .91-.387.852-.843M10.129 15.724c-1.498.27-3.112.04-4.43-.616-1.392-.692-2.444-1.715-3.177-3.06-.22-.401-.78-.527-1.166-.303-.41.237-.526.75-.307 1.153.864 1.584 2.234 2.915 3.872 3.706 1.774.856 3.725 1.095 5.66.746.455-.082.71-.626.597-1.037-.131-.472-.594-.67-1.049-.589" transform="translate(2.416 2.4)"/></g></g></svg></div><div class="olw__personaldata ','">'," ",'</div><div class="olw__email ','">','</div><a class="olw__link '," ",'" href="','" target="_blank" rel="noreferrer noopener">Zarządzaj kontem </a><a class="olw__link ','" id="olw-link-login">Przełącz konto</a></div>']);return Af=function(){return e},e}var Sf="styles-module_Wrapper__3Ue2n",Lf="styles-module_Dropdown__22z2G",Tf="styles-module_Open__qza-y",Of="styles-module_Closed__12SQg",Rf="styles-module_Backdrop__3E_yg",kf="styles-module_Visible__3WocK",Uf="styles-module_Content__2QMnt",jf="styles-module_CloseButton__OZ9N-",Pf="styles-module_Placeholder__GOJhG",If="styles-module_AvatarWrapper__2IFqp";function Cf(){var e=Nl(['<div class="olw__button__avatar ','"><img src="','" alt="avatar"></div>']);return Cf=function(){return e},e}function Bf(){var e=Nl(['<div id="olw-db-backdrop" class="','"></div><div class="','">','<div id="olw-db-dropdown" class="olw__dropdown '," ",'"><div class="','"><div id="olw-db-user">a</div><div class="','" id="olw-db-user-actions-placeholder"></div><div id="olw-db-actions">b</div><button type="button" id="olw-db-x-button" class="','"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="#A1A1A1" fill-rule="evenodd" d="M11.414 10l4.293-4.293c.391-.391.391-1.023 0-1.414-.39-.391-1.023-.391-1.414 0L10 8.586 5.707 4.293c-.39-.391-1.023-.391-1.414 0-.39.391-.39 1.023 0 1.414L8.586 10l-4.293 4.293c-.39.391-.39 1.023 0 1.414.195.195.451.293.707.293.256 0 .512-.098.707-.293L10 11.414l4.293 4.293c.195.195.451.293.707.293.256 0 .512-.098.707-.293.391-.391.391-1.023 0-1.414L11.414 10z"/></svg></button></div></div></div>']);return Bf=function(){return e},e}Wl(".styles-module_Wrapper__3Ue2n{color:#1a1a1a;position:relative}.styles-module_Dropdown__22z2G{position:absolute;width:350px;right:0;background-color:#fff;border-radius:5px;box-shadow:0 0 10px 0 rgba(0,0,0,.2);z-index:999;top:-5px;opacity:0;transform:scale(.2);transform-origin:top right;transition:transform .2s ease-in-out,opacity .2s ease-in-out,top .2s ease-in-out}.styles-module_Dropdown__22z2G.styles-module_Open__qza-y{top:100%;opacity:1;transform:scale(1)}.styles-module_Dropdown__22z2G.styles-module_Closed__12SQg{display:none}@media (max-width:768px){.styles-module_Dropdown__22z2G{position:fixed;width:300px;transform-origin:top center;transform:scale(.2) translateX(-50%);top:10px;left:50%}.styles-module_Dropdown__22z2G.styles-module_Open__qza-y{top:10px;transform:scale(1) translateX(-50%)}}.styles-module_Backdrop__3E_yg{display:none;position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(88,88,88,.83);z-index:998}@media (max-width:768px){.styles-module_Backdrop__3E_yg.styles-module_Visible__3WocK{display:block}}.styles-module_Content__2QMnt{position:relative}.styles-module_CloseButton__OZ9N-{display:none;position:absolute;background:none;border:none;padding:0;margin:0;top:20px;right:20px;outline:none}@media (max-width:768px){.styles-module_CloseButton__OZ9N-{display:block}}.styles-module_Placeholder__GOJhG:not(:empty){border-top:1px solid rgba(0,0,0,.1)}.styles-module_AvatarWrapper__2IFqp{display:flex;align-items:center;justify-content:center;width:30px;height:30px;background-color:#e0e0e0;border-radius:50%}.styles-module_AvatarWrapper__2IFqp img{height:24px;width:24px;border-radius:50%}");var Mf=function(e,t){var n=e.flow.getUserData(),r=n.first_name,o=n.avatar_url;t.innerHTML=zl(Bf(),Rf,Sf,cf("olw-db-button",r,o?zl(Cf(),If,o):Ef()),Lf,Of,Uf,Pf,jf);var i=document.getElementById("olw-db-dropdown"),a=document.getElementById("olw-db-backdrop"),u=document.getElementById("olw-db-button"),c=document.getElementById("olw-db-x-button"),s=Array.from(t.querySelectorAll("a")),l=t.querySelector("#olw-db-user"),f=t.querySelector("#olw-db-actions");if(!(i&&a&&l&&f))throw new Error("Missing element during dropdown-button render");var d=function(e,t,n){var r=n.avatar_url,o=n.first_name,i=n.last_name,a=n.email;t.innerHTML=zl(Af(),hf,vf,r?'<img class="'+gf+'" src="'+r+'" alt="avatar" />':Ef({class:gf}),yf,mf,o,i,wf,a,_f,df()||window.location.href.startsWith(Ul)?bf:"",Ul,_f);var u=t.querySelector("#olw-link-login");if(!u)throw new Error("User link login element not found");var c=function(){df()?window.location.assign("onelogin://profile/choose"):e.flow.login(!0)};return u.addEventListener("click",c),function(){u.removeEventListener("click",c)}}(e,l,n),p=function(e,t){t.innerHTML=zl(pf(),sf,lf,ff);var n=t.querySelector("#olw-actions-logout");if(!n)throw new Error("Actions logout link element not found");var r=function(){df()?window.location.assign("onelogin://profile/logout"):e.flow.logout()};return n.addEventListener("click",r),function(){n.removeEventListener("click",r)}}(e,f),h=function(){i.classList.remove(Tf),a.classList.remove(kf),"none"===getComputedStyle(a).display&&document.body.removeAttribute("style"),setTimeout((function(){return i.classList.add(Of)}),250)};document.addEventListener("ol-close-dropdown",h);var v=function(){i.classList.contains(Of)?(i.classList.remove(Of),window.requestAnimationFrame((function(){window.requestAnimationFrame((function(){"none"!==getComputedStyle(a).display&&(document.body.style.overflow="hidden"),i.classList.add(Tf)}))})),a.classList.add(kf)):h()},g=function(e){"Escape"===e.code&&h()},y=function(e){i&&u&&e.target&&(i.contains(e.target)||u.contains(e.target)||h())};return null==u||u.addEventListener("click",v),null==c||c.addEventListener("click",h),document.addEventListener("keyup",g),document.addEventListener("click",y),s.forEach((function(e){return e.addEventListener("click",v)})),function(){d(),p(),null==u||u.removeEventListener("click",v),null==c||c.addEventListener("click",h),document.removeEventListener("keyup",g),document.removeEventListener("click",y),s.forEach((function(e){return e.removeEventListener("click",v)})),document.removeEventListener("ol-close-dropdown",h),t.innerHTML=""}};function Df(){var e=Nl(['<svg xmlns="http://www.w3.org/2000/svg" width="32" height="28" viewBox="0 0 32 28"><path class="olw__button--icon" d="M12.698 3.048c1.806 0 3.523.376 5.078 1.055-.168.484-.297.985-.383 1.5-1.426-.662-3.017-1.032-4.695-1.032-6.171 0-11.174 5.003-11.174 11.175 0 6.172 5.003 11.175 11.174 11.175 6.122 0 11.094-4.922 11.174-11.025.49.142.997.243 1.517.301-.237 6.804-5.828 12.247-12.69 12.247C5.684 28.444 0 22.76 0 15.746 0 8.733 5.685 3.048 12.698 3.048zm2.477 14.349c2.279 0 4.127 1.848 4.127 4.127 0 .456-.37.825-.826.825-.423 0-.772-.318-.82-.729l-.01-.242c-.072-1.251-1.074-2.254-2.326-2.326l-.145-.004h-4.953c-1.367 0-2.476 1.108-2.476 2.476 0 .456-.37.825-.825.825-.456 0-.826-.37-.826-.825 0-2.22 1.752-4.03 3.948-4.123l.18-.004h4.952zm-2.477-8.254c2.28 0 4.127 1.848 4.127 4.127 0 2.28-1.847 4.127-4.127 4.127-2.279 0-4.127-1.848-4.127-4.127 0-2.28 1.848-4.127 4.127-4.127zm0 1.65c-1.367 0-2.476 1.11-2.476 2.477 0 1.367 1.109 2.476 2.476 2.476 1.368 0 2.477-1.109 2.477-2.476 0-1.368-1.109-2.476-2.477-2.476z"/><path class="olw__button--logo" d="M31.166 1.514c.739 0 1.342.601 1.342 1.336v10.037c0 .734-.603 1.335-1.342 1.335-.737 0-1.34-.601-1.34-1.335V6.164L28.084 7.89c-.54.493-1.386.456-1.882-.081-.495-.538-.458-1.381.082-1.874l3.89-4.016c.073-.067.152-.122.235-.169.216-.148.476-.235.756-.235zm-10.775 7.99c.31-.18.76-.079.937.245.59 1.09 1.434 1.917 2.553 2.477 1.059.53 2.356.717 3.56.499.365-.066.737.094.842.476.092.333-.114.773-.478.84-1.556.281-3.124.088-4.549-.604-1.317-.64-2.417-1.717-3.111-3-.176-.325-.083-.74.246-.932zm7.126.44c.35-.12.749.14.842.477.102.372-.129.718-.478.839-.617.213-1.29.293-1.939.216-.369-.043-.684-.277-.684-.681 0-.338.317-.726.684-.682.545.064 1.057.01 1.575-.169zm-1.171-7.278c.371-.012.685.321.685.682 0 .377-.315.67-.685.681-.343.013-.64.064-1.004.193-.135.048-.171.062-.345.156-.162.085-.318.182-.465.292l.028-.02c.005-.004-.002 0-.028.02l.027-.019-.036.03-.05.04-.015.012c-.068.06-.135.12-.2.184-.063.064-.125.13-.185.198l-.07.083-.01.012.008-.012-.01.013c-.002.004-.002.004 0 .002l-.087.12c-.067.1-.13.203-.188.308l-.093.18-.039.087c.002-.003-.006.019-.024.064-.215.648-.281 1.185-.123 1.829.176.714.56 1.274 1.158 1.748.29.232.239.727 0 .965-.282.281-.68.23-.969 0-.663-.526-1.148-1.246-1.42-2.044-.44-1.291-.223-2.81.58-3.917.84-1.157 2.126-1.84 3.56-1.887zM22.763 1c1.79-1.07 4.032-1.294 6.002-.61.35.121.582.463.478.839-.093.337-.493.597-.843.476-1.033-.359-2.145-.448-3.186-.22-.787.173-1.35.411-2.022.859-.305.203-.492.354-.79.646-.147.142-.286.293-.418.448-.028.033-.157.195-.105.127l-.01.01-.071.1-.079.11c-.207.298-.39.614-.543.943l-.045.098-.01.018-.012.034-.026.064c-.033.085-.064.17-.094.256-.06.175-.112.35-.156.528-.175.698-.21 1.406-.106 2.208.047.368-.351.682-.685.682-.404 0-.638-.317-.685-.682-.126-.978-.037-1.992.257-2.934.52-1.661 1.65-3.104 3.149-4z"/></svg>']);return Df=function(){return e},e}function Ff(){var e=Nl(["",""]);return Ff=function(){return e},e}var qf=function(e,t){var n=[],r=function(){n.push(Mf(e,t))},o=function(){n.push(function(e,t){t.innerHTML=zl(Ff(),cf("ol-widget-login-button","Zaloguj",zl(Df()),!1));var n=document.querySelector("#ol-widget-login-button"),r=function(){ct("service_header","click"),e.flow.login()};if(!n)throw new Error("Login button not exists");return ct("service_header","view"),n.addEventListener("click",r),function(){n.removeEventListener("click",r)}}(e,t))};try{r()}catch(e){o()}return document.addEventListener("ol-login",r),document.addEventListener("ol-not-logged",o),function(){document.removeEventListener("ol-login",r),document.removeEventListener("ol-not-logged",o),n.forEach((function(e){return e()})),n.length=0}},Nf=function(){document.dispatchEvent(new CustomEvent("ol-close-dropdown"))},zf=[].reverse,Wf=[1,2];Ue({target:"Array",proto:!0,forced:String(Wf)===String(Wf.reverse())},{reverse:function(){return st(this)&&(this.length=this.length),zf.call(this)}});var Vf="styles-module_Tooltip__1L5Q1",Gf="styles-module_Hide__10Suq",Hf="styles-module_BarContainer__j9Z8W",$f="styles-module_Arrow__1yXvB",Yf="styles-module_BarTitle__Rv5Oq",Jf="styles-module_BarButton__2hLeU",Zf="styles-module_CloseBar__3xhMz";Wl('.styles-module_Tooltip__1L5Q1{opacity:1;position:absolute;transition:opacity .2s ease-in-out,visibility 0s linear;visibility:visible;z-index:10;width:410px;height:258px}@media (max-width:768px){.styles-module_Tooltip__1L5Q1{display:none}}.styles-module_Hide__10Suq{opacity:0;visibility:hidden;transition:opacity .2s ease-in-out,visibility 0s linear .2s}.styles-module_BarContainer__j9Z8W{background-color:#3665f6;padding:4px;display:flex;width:100%;align-items:center;justify-content:space-around;position:relative}.styles-module_Arrow__1yXvB{display:none;bottom:100%;content:"";height:0;width:0;position:absolute;pointer-events:none;border:8px solid rgba(136,183,213,0);border-bottom-color:#3665f6;margin-right:-8px}.styles-module_BarTitle__Rv5Oq{flex:1;display:flex;justify-content:flex-end;padding:0 16px;min-width:0}.styles-module_BarTitle__Rv5Oq>img{min-width:0}.styles-module_BarButton__2hLeU{flex:1;cursor:pointer;display:flex;min-width:0}.styles-module_BarButton__2hLeU>img{min-width:0}.styles-module_CloseBar__3xhMz{flex:0 0 34px;display:flex;cursor:pointer;width:34px;justify-content:center}');var Kf="oneLoginCapping",Xf=function(){Lt.set(Kf,"1",{expires:14})},Qf=function(){return Lt.get(Kf)},ed=function(){return"undefined"!=typeof navigator?/bot|googlebot|crawler|spider|robot|crawling/i.test(navigator.userAgent):void 0},td=function(e){try{e.flow.getUserData()}catch(e){return!1}return!0};function nd(){var e=Nl(['<div class="olw__promo_tooltip"><img src="','/promo-tooltip.png" usemap="#olw-pt-map" alt=""><map name="olw-pt-map"><area id="olw-close-promo" target="" alt="" href="" coords="387,53,365,33" shape="rect"><area target="_blank" href="https://1login.wp.pl/informacje" alt="" coords="197,200,326,221" shape="rect"><area target="_blank" href="https://1login.wp.pl" alt="" coords="31,190,181,229" shape="rect"></map></div>']);return nd=function(){return e},e}var rd=function(e,t){var n;if(ed())return kt.info("Crawler detected, promo bar stopped"),function(){};var r=function(){null==n||n(),Qf()||(n=function(e){var t=[],n=function(){t.reverse().forEach((function(e){return e()})),t.length=0},r=document.createElement("div");t.push((function(){return r.remove()})),r.className=Gf+" "+Vf,document.body.appendChild(r),r.innerHTML=zl(nd(),jl);var o,i=document.querySelector("#olw-close-promo"),a=function(){o&&clearTimeout(o);var t=e.getBoundingClientRect(),n=t.left,i=t.top;r.style.top=i+40+"px",r.style.left=n+-328+"px",r.classList.remove(Gf)},u=function(){o=setTimeout((function(){r.classList.add(Gf)}),300),t.push((function(){return o&&clearTimeout(o)}))};return i.addEventListener("click",(function(){Xf(),n()})),e.addEventListener("mouseenter",a),e.addEventListener("mouseleave",u),t.push((function(){e.removeEventListener("mouseenter",a),e.removeEventListener("mouseleave",u)})),r.addEventListener("mouseenter",a),r.addEventListener("mouseleave",u),n}(t))},o=function(){null==n||n()};return document.addEventListener("ol-not-logged",r),document.addEventListener("ol-login",o),td(e)?o():r(),function(){null==n||n(),document.removeEventListener("ol-not-logged",r),document.removeEventListener("ol-login",o)}};function od(){var e=Nl(['<div class="olw__promo_bar ','"><div class="','"><img src="','/promo-bar-tekst.svg" alt=""></div><a target="_blank" href="https://1login.wp.pl/informacje" class="','"><img src="','/promo-bar-button.svg" alt=""></a><div id="olw-promo-bar-close" class="','"><img src="','/promo-bar-x.svg" alt=""></div><div id="olw-promo-bar-arrow" class="','"></div>']);return od=function(){return e},e}var id=function(e,t,n){var r;if(ed())return kt.info("Crawler detected, promo bar stopped"),function(){};var o=function(){null==r||r(),Qf()||(r=function(e,t){var n;e.innerHTML=zl(od(),Hf,Yf,jl,Jf,jl,Zf,jl,$f);var r=e.querySelector("#olw-promo-bar-arrow"),o=e.querySelector("#olw-promo-bar-close"),i=function(){if(t){var n=t.getBoundingClientRect(),o=n.right,i=n.width,a=o-e.getBoundingClientRect().right+i/2;r.style.right=a+"px",r.style.display="inherit"}},a=function(){Xf(),n()};return n=function(){o.removeEventListener("click",a),e.innerHTML="",window.removeEventListener("resize",i),window.removeEventListener("load",i)},o.addEventListener("click",a),window.addEventListener("resize",i),window.addEventListener("load",i),i(),n}(t,n))},i=function(){null==r||r()};return document.addEventListener("ol-not-logged",o),document.addEventListener("ol-login",i),td(e)?i():o(),function(){null==r||r(),document.removeEventListener("ol-not-logged",o),document.removeEventListener("ol-login",i)}},ad=function(e){return{renderDropdown:function(t){return qf(e,t)},renderButton:function(t,n){return function(e,t,n){var r=function(){e.flow.login(n)};return t.innerHTML=zl(Hl(),Vl,Gl),t.addEventListener("click",r),function(){t.removeEventListener("click",r)}}(e,t,n)},renderPromoTooltip:function(t){return rd(e,t)},renderPromoBar:function(t,n){return id(e,t,n)},closeDropdown:Nf}},ud=!1,cd=kt.setLevel;setTimeout((function(){return null==window.olwAsync?void 0:window.olwAsync()}),0),e.createWidget=function(e){if(ud)throw new Error("Creating multiple widgets not allowed");!function(){if(!window.WP&&!document.querySelector("#wpjslib")){void 0===window.wp_sn&&(window.wp_sn="onelogin_widget");var e=document.createElement("script");e.setAttribute("id","wpjslib"),e.setAttribute("async",""),e.setAttribute("defer",""),e.setAttribute("crossorigin",""),e.setAttribute("src","https://std.wpcdn.pl/wpjslib/wpjslib-lite.js"),document.head.appendChild(e)}}(),ud=!0,kt.debug("widget v1.27.1 initialized");var t=function(e){e.domain&&(Fl=e.domain);var t=e.stateStorage||"LOCAL_STORAGE";return kt.debug("storage "+t+" initialized"),ql[t]}(e),n=Dl(e,t),r=ad({flow:n});return Object.assign({},n,r)},e.setLogLevel=cd,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=olwidget.js.map
