!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(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 n=function(e){return e&&e.Math==Math&&e},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")(),o=function(e){try{return!!e()}catch(e){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,c={f:u&&!a.call({1:2},1)?function(e){var t=u(this,e);return!!t&&t.enumerable}:a},s=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},l={}.toString,f=function(e){return l.call(e).slice(8,-1)},d="".split,p=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==f(e)?d.call(e,""):Object(e)}:Object,h=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},v=function(e){return p(h(e))},g=function(e){return"object"==typeof e?null!==e:"function"==typeof e},y=function(e,t){if(!g(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!g(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!g(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!g(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},m={}.hasOwnProperty,w=function(e,t){return m.call(e,t)},_=r.document,b=g(_)&&g(_.createElement),x=function(e){return b?_.createElement(e):{}},E=!i&&!o((function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a})),S=Object.getOwnPropertyDescriptor,A={f:i?S:function(e,t){if(e=v(e),t=y(t,!0),E)try{return S(e,t)}catch(e){}if(w(e,t))return s(!c.f.call(e,t),e[t])}},L=function(e){if(!g(e))throw TypeError(String(e)+" is not an object");return e},T=Object.defineProperty,O={f:i?T:function(e,t,n){if(L(e),t=y(t,!0),L(n),E)try{return T(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}},R=i?function(e,t,n){return O.f(e,t,s(1,n))}:function(e,t,n){return e[t]=n,e},k=function(e,t){try{R(r,e,t)}catch(n){r[e]=t}return t},U="__core-js_shared__",j=r[U]||k(U,{}),P=Function.toString;"function"!=typeof j.inspectSource&&(j.inspectSource=function(e){return P.call(e)});var I,C,B,M=j.inspectSource,D=r.WeakMap,F="function"==typeof D&&/native code/.test(M(D)),q=t((function(e){(e.exports=function(e,t){return j[e]||(j[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),N=0,z=Math.random(),W=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++N+z).toString(36)},V=q("keys"),G=function(e){return V[e]||(V[e]=W(e))},H={},$=r.WeakMap;if(F){var Y=new $,J=Y.get,Z=Y.has,K=Y.set;I=function(e,t){return K.call(Y,e,t),t},C=function(e){return J.call(Y,e)||{}},B=function(e){return Z.call(Y,e)}}else{var X=G("state");H[X]=!0,I=function(e,t){return R(e,X,t),t},C=function(e){return w(e,X)?e[X]:{}},B=function(e){return w(e,X)}}var Q,ee={set:I,get:C,has:B,enforce:function(e){return B(e)?C(e):I(e,{})},getterFor:function(e){return function(t){var n;if(!g(t)||(n=C(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},te=t((function(e){var t=ee.get,n=ee.enforce,o=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||w(i,"name")||R(i,"name",t),n(i).source=o.join("string"==typeof t?t:"")),e!==r?(u?!s&&e[t]&&(c=!0):delete e[t],c?e[t]=i:R(e,t,i)):c?e[t]=i:k(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||M(this)}))})),ne=r,re=function(e){return"function"==typeof e?e:void 0},oe=function(e,t){return arguments.length<2?re(ne[e])||re(r[e]):ne[e]&&ne[e][t]||r[e]&&r[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=v(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=v(e),o=0,i=[];for(n in r)!w(H,n)&&w(r,n)&&i.push(n);for(;t.length>o;)w(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(L(e)),n=_e.f;return n?t.concat(n(e)):t},xe=function(e,t){for(var n=be(t),r=O.f,o=A.f,i=0;i<n.length;i++){var a=n[i];w(e,a)||r(e,a,o(t,a))}},Ee=/#|\.prototype\./,Se=function(e,t){var n=Le[Ae(e)];return n==Oe||n!=Te&&("function"==typeof t?o(t):!!t)},Ae=Se.normalize=function(e){return String(e).replace(Ee,".").toLowerCase()},Le=Se.data={},Te=Se.NATIVE="N",Oe=Se.POLYFILL="P",Re=Se,ke=A.f,Ue=function(e,t){var n,o,i,a,u,c=e.target,s=e.global,l=e.stat;if(n=s?r:l?r[c]||k(c,{}):(r[c]||{}).prototype)for(o in t){if(a=t[o],i=e.noTargetGet?(u=ke(n,o))&&u.value:n[o],!Re(s?o:c+(l?".":"#")+o,e.forced)&&void 0!==i){if(typeof a==typeof i)continue;xe(a,i)}(e.sham||i&&i.sham)&&R(a,"sham",!0),te(n,o,a,e)}},je=function(e){return Object(h(e))},Pe=function(e){for(var t=je(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},Ie=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),Ce=Ie&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Be=q("wks"),Me=r.Symbol,De=Ce?Me:Me&&Me.withoutSetter||W,Fe=function(e){return w(Be,e)||(Ie&&w(Me,e)?Be[e]=Me[e]:Be[e]=De("Symbol."+e)),Be[e]},qe=Object.keys||function(e){return ge(e,ye)},Ne=i?Object.defineProperties:function(e,t){L(e);for(var n,r=qe(t),o=r.length,i=0;o>i;)O.f(e,n=r[i++],t[n]);return e},ze=oe("document","documentElement"),We=G("IE_PROTO"),Ve=function(){},Ge=function(e){return"<script>"+e+"</"+"script>"},He=function(){try{Q=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;He=Q?function(e){e.write(Ge("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Q):((t=x("iframe")).style.display="none",ze.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Ge("document.F=Object")),e.close(),e.F);for(var n=ye.length;n--;)delete He.prototype[ye[n]];return He()};H[We]=!0;var $e=Object.create||function(e,t){var n;return null!==e?(Ve.prototype=L(e),n=new Ve,Ve.prototype=null,n[We]=e):n=He(),void 0===t?n:Ne(n,t)},Ye=Fe("unscopables"),Je=Array.prototype;null==Je[Ye]&&O.f(Je,Ye,{configurable:!0,value:$e(null)});var Ze=function(e){Je[Ye][e]=!0};Ue({target:"Array",proto:!0},{fill:Pe}),Ze("fill");var Ke,Xe,Qe=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},et=function(e,t,n){if(Qe(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)}},tt=Function.call;Ke="fill",et(tt,r["Array"].prototype[Ke],Xe);!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(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:e),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!==e?e:"undefined"!=typeof window?window:e),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})}))}();var nt=O.f,rt=Function.prototype,ot=rt.toString,it=/^\s*function ([^ (]*)/,at="name";i&&!(at in rt)&&nt(rt,at,{configurable:!0,get:function(){try{return ot.call(this).match(it)[1]}catch(e){return""}}});var ut=Object.assign,ct=Object.defineProperty,st=!ut||o((function(){if(i&&1!==ut({b:1},ut(ct({},"a",{enumerable:!0,get:function(){ct(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!=ut({},e)[n]||qe(ut({},t)).join("")!=r}))?function(e,t){for(var n=je(e),r=arguments.length,o=1,a=_e.f,u=c.f;r>o;)for(var s,l=p(arguments[o++]),f=a?qe(l).concat(a(l)):qe(l),d=f.length,h=0;d>h;)s=f[h++],i&&!u.call(l,s)||(n[s]=l[s]);return n}:ut;Ue({target:"Object",stat:!0,forced:Object.assign!==st},{assign:st});var lt=!o((function(){return Object.isExtensible(Object.preventExtensions({}))})),ft=t((function(e){var t=O.f,n=W("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(!g(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!w(e,n)){if(!o(e))return"F";if(!t)return"E";i(e)}return e[n].objectID},getWeakData:function(e,t){if(!w(e,n)){if(!o(e))return!0;if(!t)return!1;i(e)}return e[n].weakData},onFreeze:function(e){return lt&&a.REQUIRED&&o(e)&&!w(e,n)&&i(e),e}};H[n]=!0})).onFreeze,dt=Object.freeze,pt=o((function(){dt(1)}));Ue({target:"Object",stat:!0,forced:pt,sham:!lt},{freeze:function(e){return dt&&g(e)?dt(ft(e)):e}});var ht,vt,gt=Array.isArray||function(e){return"Array"==f(e)},yt=function(e,t,n){var r=y(t);r in e?O.f(e,r,s(0,n)):e[r]=n},mt=Fe("species"),wt=function(e,t){var n;return gt(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!gt(n.prototype)?g(n)&&null===(n=n[mt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},_t=oe("navigator","userAgent")||"",bt=r.process,xt=bt&&bt.versions,Et=xt&&xt.v8;Et?vt=(ht=Et.split("."))[0]+ht[1]:_t&&(!(ht=_t.match(/Edge\/(\d+)/))||ht[1]>=74)&&(ht=_t.match(/Chrome\/(\d+)/))&&(vt=ht[1]);var St=vt&&+vt,At=Fe("species"),Lt=function(e){return St>=51||!o((function(){var t=[];return(t.constructor={})[At]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Tt=Fe("isConcatSpreadable"),Ot=9007199254740991,Rt="Maximum allowed index exceeded",kt=St>=51||!o((function(){var e=[];return e[Tt]=!1,e.concat()[0]!==e})),Ut=Lt("concat"),jt=function(e){if(!g(e))return!1;var t=e[Tt];return void 0!==t?!!t:gt(e)};Ue({target:"Array",proto:!0,forced:!kt||!Ut},{concat:function(e){var t,n,r,o,i,a=je(this),u=wt(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(jt(i=-1===t?a:arguments[t])){if(c+(o=se(i.length))>Ot)throw TypeError(Rt);for(n=0;n<o;n++,c++)n in i&&yt(u,c,i[n])}else{if(c>=Ot)throw TypeError(Rt);yt(u,c++,i)}return u.length=c,u}});var Pt=t((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()})),It={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)}}},Ct=["%c 1L Widget ","background: #2019f5; color: #fff"],Bt="olw_loglvl",Mt=new function(){var e,t=this;this.level=(e=Pt.get(Bt))&&e in It?e:"info",this.setLevel=function(e){if(!e||!(e in It))return t.error("Incorrect log level.");t.level=e,Pt.set(Bt,e),t.info('Log level changed to "'+e+'".')},this.log=function(e){if(It[e].priority>=It[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=It[e]).method.apply(n,Ct.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))}},Dt=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})}))},Ft=void 0,qt={COOKIE:{clear:function(e){Pt.remove(e,{domain:Ft,secure:!0,sameSite:"none"})},load:function(e){return Pt.get(e)},save:function(e,t){Pt.set(e,t,{domain:Ft,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 Nt=function(e,t){return t||(t=e.slice(0)),e.raw=t,e},zt=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))},Wt=[].join,Vt=p!=Object,Gt=zt("join",",");Ue({target:"Array",proto:!0,forced:Vt||!Gt},{join:function(e){return Wt.call(v(this),void 0===e?",":e)}});var Ht=[].push,$t=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,h=je(u),v=p(h),g=et(c,s,3),y=se(v.length),m=0,w=l||wt,_=t?w(u,y):n?w(u,0):void 0;y>m;m++)if((a||m in v)&&(d=g(f=v[m],m,h),e))if(t)_[m]=d;else if(d)switch(e){case 3:return!0;case 5:return f;case 6:return m;case 2:Ht.call(_,f)}else if(o)return!1;return i?-1:r||o?o:_}},Yt={forEach:$t(0),map:$t(1),filter:$t(2),some:$t(3),every:$t(4),find:$t(5),findIndex:$t(6)},Jt=Object.defineProperty,Zt={},Kt=function(e){throw e},Xt=function(e,t){if(w(Zt,e))return Zt[e];t||(t={});var n=[][e],r=!!w(t,"ACCESSORS")&&t.ACCESSORS,a=w(t,0)?t[0]:Kt,u=w(t,1)?t[1]:void 0;return Zt[e]=!!n&&!o((function(){if(r&&!i)return!0;var e={length:-1};r?Jt(e,1,{enumerable:!0,get:Kt}):e[1]=1,n.call(e,a,u)}))},Qt=Yt.map,en=Lt("map"),tn=Xt("map");Ue({target:"Array",proto:!0,forced:!en||!tn},{map:function(e){return Qt(this,e,arguments.length>1?arguments[1]:void 0)}});var nn=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 rn(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 on="styles-module_Button__1bJy1",an="styles-module_Icon__1t6X6";function un(){var e=Nt(['<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 un=function(){return e},e}rn(".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 cn=Yt.forEach,sn=zt("forEach"),ln=Xt("forEach"),fn=sn&&ln?[].forEach:function(e){return cn(this,e,arguments.length>1?arguments[1]:void 0)};Ue({target:"Array",proto:!0,forced:[].forEach!=fn},{forEach:fn});var dn=function(e,t,n,r){try{return r?t(L(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&L(o.call(e)),t}},pn={},hn=Fe("iterator"),vn=Array.prototype,gn=function(e){return void 0!==e&&(pn.Array===e||vn[hn]===e)},yn={};yn[Fe("toStringTag")]="z";var mn="[object z]"===String(yn),wn=Fe("toStringTag"),_n="Arguments"==f(function(){return arguments}()),bn=mn?f: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),wn))?n:_n?f(t):"Object"==(r=f(t))&&"function"==typeof t.callee?"Arguments":r},xn=Fe("iterator"),En=function(e){if(null!=e)return e[xn]||e["@@iterator"]||pn[bn(e)]},Sn=function(e){var t,n,r,o,i,a,u=je(e),c="function"==typeof this?this:Array,s=arguments.length,l=s>1?arguments[1]:void 0,f=void 0!==l,d=En(u),p=0;if(f&&(l=et(l,s>2?arguments[2]:void 0,2)),null==d||c==Array&&gn(d))for(n=new c(t=se(u.length));t>p;p++)a=f?l(u[p],p):u[p],yt(n,p,a);else for(i=(o=d.call(u)).next,n=new c;!(r=i.call(o)).done;p++)a=f?dn(o,l,[r.value,p],!0):r.value,yt(n,p,a);return n.length=p,n},An=Fe("iterator"),Ln=!1;try{var Tn=0,On={next:function(){return{done:!!Tn++}},return:function(){Ln=!0}};On[An]=function(){return this},Array.from(On,(function(){throw 2}))}catch(e){}var Rn=function(e,t){if(!t&&!Ln)return!1;var n=!1;try{var r={};r[An]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},kn=!Rn((function(e){Array.from(e)}));Ue({target:"Array",stat:!0,forced:kn},{from:Sn});var Un,jn,Pn,In=function(e){return function(t,n){var r,o,i=String(h(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}},Cn={codeAt:In(!1),charAt:In(!0)},Bn=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Mn=G("IE_PROTO"),Dn=Object.prototype,Fn=Bn?Object.getPrototypeOf:function(e){return e=je(e),w(e,Mn)?e[Mn]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Dn:null},qn=Fe("iterator"),Nn=!1;[].keys&&("next"in(Pn=[].keys())?(jn=Fn(Fn(Pn)))!==Object.prototype&&(Un=jn):Nn=!0),null==Un&&(Un={}),w(Un,qn)||R(Un,qn,(function(){return this}));var zn={IteratorPrototype:Un,BUGGY_SAFARI_ITERATORS:Nn},Wn=O.f,Vn=Fe("toStringTag"),Gn=function(e,t,n){e&&!w(e=n?e:e.prototype,Vn)&&Wn(e,Vn,{configurable:!0,value:t})},Hn=zn.IteratorPrototype,$n=function(){return this},Yn=function(e,t,n){var r=t+" Iterator";return e.prototype=$e(Hn,{next:s(1,n)}),Gn(e,r,!1),pn[r]=$n,e},Jn=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 L(n),function(e){if(!g(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),Zn=zn.IteratorPrototype,Kn=zn.BUGGY_SAFARI_ITERATORS,Xn=Fe("iterator"),Qn="keys",er="values",tr="entries",nr=function(){return this},rr=function(e,t,n,r,o,i,a){Yn(n,t,r);var u,c,s,l=function(e){if(e===o&&v)return v;if(!Kn&&e in p)return p[e];switch(e){case Qn:case er:case tr:return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[Xn]||p["@@iterator"]||o&&p[o],v=!Kn&&h||l(o),g="Array"==t&&p.entries||h;if(g&&(u=Fn(g.call(new e)),Zn!==Object.prototype&&u.next&&(Fn(u)!==Zn&&(Jn?Jn(u,Zn):"function"!=typeof u[Xn]&&R(u,Xn,nr)),Gn(u,f,!0))),o==er&&h&&h.name!==er&&(d=!0,v=function(){return h.call(this)}),p[Xn]!==v&&R(p,Xn,v),pn[t]=v,o)if(c={values:l(er),keys:i?v:l(Qn),entries:l(tr)},a)for(s in c)(Kn||d||!(s in p))&&te(p,s,c[s]);else Ue({target:t,proto:!0,forced:Kn||d},c);return c},or=Cn.charAt,ir="String Iterator",ar=ee.set,ur=ee.getterFor(ir);rr(String,"String",(function(e){ar(this,{type:ir,string:String(e),index:0})}),(function(){var e,t=ur(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=or(n,r),t.index+=e.length,{value:e,done:!1})}));var cr={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};for(var sr in cr){var lr=r[sr],fr=lr&&lr.prototype;if(fr&&fr.forEach!==fn)try{R(fr,"forEach",fn)}catch(e){fr.forEach=fn}}var dr=function(){var e=L(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 pr(e,t){return RegExp(e,t)}var hr,vr,gr={UNSUPPORTED_Y:o((function(){var e=pr("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:o((function(){var e=pr("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},yr=RegExp.prototype.exec,mr=String.prototype.replace,wr=yr,_r=(hr=/a/,vr=/b*/g,yr.call(hr,"a"),yr.call(vr,"a"),0!==hr.lastIndex||0!==vr.lastIndex),br=gr.UNSUPPORTED_Y||gr.BROKEN_CARET,xr=void 0!==/()??/.exec("")[1];(_r||xr||br)&&(wr=function(e){var t,n,r,o,i=this,a=br&&i.sticky,u=dr.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)),xr&&(n=new RegExp("^"+c+"$(?!\\s)",u)),_r&&(t=i.lastIndex),r=yr.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:_r&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),xr&&r&&r.length>1&&mr.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r});var Er=wr;Ue({target:"RegExp",proto:!0,forced:/./.exec!==Er},{exec:Er});var Sr=Fe("species"),Ar=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Lr="$0"==="a".replace(/./,"$0"),Tr=Fe("replace"),Or=!!/./[Tr]&&""===/./[Tr]("a","$0"),Rr=!o((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]})),kr=function(e,t,n,r){var i=Fe(e),a=!o((function(){var t={};return t[i]=function(){return 7},7!=""[e](t)})),u=a&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Sr]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return t=!0,null},n[i](""),!t}));if(!a||!u||"replace"===e&&(!Ar||!Lr||Or)||"split"===e&&!Rr){var c=/./[i],s=n(i,""[e],(function(e,t,n,r,o){return t.exec===Er?a&&!o?{done:!0,value:c.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Lr,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Or}),l=s[0],f=s[1];te(String.prototype,e,l),te(RegExp.prototype,i,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)})}r&&R(RegExp.prototype[i],"sham",!0)},Ur=Cn.charAt,jr=function(e,t,n){return t+(n?Ur(e,t).length:1)},Pr=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"!==f(e))throw TypeError("RegExp#exec called on incompatible receiver");return Er.call(e,t)},Ir=Math.max,Cr=Math.min,Br=Math.floor,Mr=/\$([$&'`]|\d\d?|<[^>]*>)/g,Dr=/\$([$&'`]|\d\d?)/g;kr("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=h(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=L(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=Pr(s,l);if(null===v)break;if(h.push(v),!d)break;""===String(v[0])&&(s.lastIndex=jr(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=Ir(Cr(ue(v.index),l.length),0),x=[],E=1;E<v.length;E++)x.push(void 0===(g=v[E])?g:String(g));var S=v.groups;if(f){var A=[_].concat(x,b,l);void 0!==S&&A.push(S);var T=String(r.apply(void 0,A))}else T=u(_,l,b,x,S,r);b>=m&&(y+=l.slice(m,b)+T,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=Dr;return void 0!==i&&(i=je(i),s=Mr),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=Br(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 Fr="styles-module_Text__2N4ci",qr="styles-module_Overlay__aUjWP",Nr="styles-module_Bold__27ljj",zr="styles-module_Button__3Bq4n",Wr="styles-module_TextWrapper__3szJT";function Vr(){var e=Nt(['<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 Vr=function(){return e},e}rn(".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 Gr=function(e,t,n,r){void 0===r&&(r=!0);var o=t.length<=10?t:t.substring(0,10).replace(/...$/,"...");return nn(Vr(),e,r?"":"--login",zr,n,Wr,Fr,qr,o,Fr,Nr,o)},Hr="styles-module_Wrapper__28I5v",$r="styles-module_Link__7LnyB",Yr="styles-module_Icon__2j5nC";rn(".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 Jr=function(){return"true"===Pt.get("mobileApp")};function Zr(){var e=Nt(['<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 Zr=function(){return e},e}var Kr,Xr=Fe("match"),Qr=function(e){var t;return g(e)&&(void 0!==(t=e[Xr])?!!t:"RegExp"==f(e))},eo=function(e){if(Qr(e))throw TypeError("The method doesn't accept regular expressions");return e},to=Fe("match"),no=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[to]=!1,"/./"[e](t)}catch(e){}}return!1},ro=A.f,oo="".startsWith,io=Math.min,ao=no("startsWith"),uo=!(ao||(Kr=ro(String.prototype,"startsWith"),!Kr||Kr.writable));Ue({target:"String",proto:!0,forced:!uo&&!ao},{startsWith:function(e){var t=String(h(this));eo(e);var n=se(io(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return oo?oo.call(t,r,n):t.slice(n,n+r.length)===r}});var co="https://1login.wp.pl",so="OLWIDGET_BRANCH",lo="https://onelogin.wpcdn.pl/onelogin/static",fo="styles-module_Wrapper__2g7OW",po="styles-module_AvatarWrapper__pJPgY",ho="styles-module_Avatar__2n7RQ",vo="styles-module_OneLoginLogo__2RFnu",go="styles-module_PersonalData__p1q4n",yo="styles-module_Email__3ZhPR",mo="styles-module_Link__1nZwl",wo="styles-module_DisplayNone__1dBmu";function _o(){var e=Nt(['<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 _o=function(){return e},e}rn(".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 bo=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 nn(_o(),i,r,r)};function xo(){var e=Nt(['<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 xo=function(){return e},e}var Eo="styles-module_Wrapper__3Ue2n",So="styles-module_Dropdown__22z2G",Ao="styles-module_Open__qza-y",Lo="styles-module_Closed__12SQg",To="styles-module_Backdrop__3E_yg",Oo="styles-module_Visible__3WocK",Ro="styles-module_Content__2QMnt",ko="styles-module_CloseButton__OZ9N-",Uo="styles-module_Placeholder__GOJhG",jo="styles-module_AvatarWrapper__2IFqp";function Po(){var e=Nt(['<div class="olw__button__avatar ','"><img src="','" alt="avatar"></div>']);return Po=function(){return e},e}function Io(){var e=Nt(['<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 Io=function(){return e},e}rn(".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 Co=function(e,t){var n=e.flow.getUserData(),r=n.first_name,o=n.avatar_url;t.innerHTML=nn(Io(),To,Eo,Gr("olw-db-button",r,o?nn(Po(),jo,o):bo()),So,Lo,Ro,Uo,ko);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=nn(xo(),fo,po,r?'<img class="'+ho+'" src="'+r+'" alt="avatar" />':bo({class:ho}),vo,go,o,i,yo,a,mo,Jr()||window.location.href.startsWith(co)?wo:"",co,mo);var u=t.querySelector("#olw-link-login");if(!u)throw new Error("User link login element not found");var c=function(){Jr()?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=nn(Zr(),Hr,$r,Yr);var n=t.querySelector("#olw-actions-logout");if(!n)throw new Error("Actions logout link element not found");var r=function(){Jr()?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(Ao),a.classList.remove(Oo),"none"===getComputedStyle(a).display&&document.body.removeAttribute("style"),setTimeout((function(){return i.classList.add(Lo)}),250)};document.addEventListener("ol-close-dropdown",h);var v=function(){i.classList.contains(Lo)?(i.classList.remove(Lo),window.requestAnimationFrame((function(){window.requestAnimationFrame((function(){"none"!==getComputedStyle(a).display&&(document.body.style.overflow="hidden"),i.classList.add(Ao)}))})),a.classList.add(Oo)):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 Bo(){var e=Nt(['<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 Bo=function(){return e},e}function Mo(){var e=Nt(["",""]);return Mo=function(){return e},e}var Do=function(e,t){var n=[],r=function(){n.push(Co(e,t))},o=function(){n.push(function(e,t){t.innerHTML=nn(Mo(),Gr("ol-widget-login-button","Zaloguj",nn(Bo()),!1));var n=document.querySelector("#ol-widget-login-button"),r=function(){Dt("service_header","click"),e.flow.login()};if(!n)throw new Error("Login button not exists");return Dt("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}},Fo=function(){document.dispatchEvent(new CustomEvent("ol-close-dropdown"))},qo=[].reverse,No=[1,2];Ue({target:"Array",proto:!0,forced:String(No)===String(No.reverse())},{reverse:function(){return gt(this)&&(this.length=this.length),qo.call(this)}});var zo="styles-module_Tooltip__1L5Q1",Wo="styles-module_Hide__10Suq",Vo="styles-module_BarContainer__j9Z8W",Go="styles-module_Arrow__1yXvB",Ho="styles-module_BarTitle__Rv5Oq",$o="styles-module_BarButton__2hLeU",Yo="styles-module_CloseBar__3xhMz";rn('.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 Jo="oneLoginCapping",Zo=function(){Pt.set(Jo,"1",{expires:14})},Ko=function(){return Pt.get(Jo)},Xo=function(){return"undefined"!=typeof navigator?/bot|googlebot|crawler|spider|robot|crawling/i.test(navigator.userAgent):void 0},Qo=function(e){try{e.flow.getUserData()}catch(e){return!1}return!0};function ei(){var e=Nt(['<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" rel="noreferrer noopener" alt="" coords="197,200,326,221" shape="rect"><area target="_blank" href="https://1login.wp.pl" rel="noreferrer noopener" alt="" coords="31,190,181,229" shape="rect"></map>']);return ei=function(){return e},e}var ti=function(e,t){var n;if(Xo())return Mt.info("Crawler detected, promo bar stopped"),function(){};var r=function(){null==n||n(),Ko()||(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="olw__promo_tooltip "+Wo+" "+zo,document.body.appendChild(r),r.innerHTML=nn(ei(),lo);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(Wo)},u=function(){o=setTimeout((function(){r.classList.add(Wo)}),300),t.push((function(){return o&&clearTimeout(o)}))};return i.addEventListener("click",(function(){Zo(),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),Qo(e)?o():r(),function(){null==n||n(),document.removeEventListener("ol-not-logged",r),document.removeEventListener("ol-login",o)}};function ni(){var e=Nt(['<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="','" rel="noreferrer noopener"><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 ni=function(){return e},e}var ri=function(e,t,n){var r;if(Xo())return Mt.info("Crawler detected, promo bar stopped"),function(){};var o=function(){null==r||r(),Ko()||(r=function(e,t){var n;e.innerHTML=nn(ni(),Vo,Ho,lo,$o,lo,Yo,lo,Go);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(){Zo(),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),Qo(e)?i():o(),function(){null==r||r(),document.removeEventListener("ol-not-logged",o),document.removeEventListener("ol-login",i)}},oi=function(e){return{renderDropdown:function(t){return Do(e,t)},renderButton:function(t,n){return function(e,t,n){var r=function(){e.flow.login(n)};return t.innerHTML=nn(un(),on,an),t.addEventListener("click",r),function(){t.removeEventListener("click",r)}}(e,t,n)},renderPromoTooltip:function(t){return ti(e,t)},renderPromoBar:function(t,n){return ri(e,t,n)},closeDropdown:Fo}},ii=mn?{}.toString:function(){return"[object "+bn(this)+"]"};mn||te(Object.prototype,"toString",ii,{unsafe:!0});var ai,ui,ci,si=r.Promise,li=function(e,t,n){for(var r in t)te(e,r,t[r],n);return e},fi=Fe("species"),di=function(e){var t=oe(e),n=O.f;i&&t&&!t[fi]&&n(t,fi,{configurable:!0,get:function(){return this}})},pi=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},hi=t((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=et(n,r,o?2:1);if(i)a=e;else{if("function"!=typeof(u=En(e)))throw TypeError("Target is not iterable");if(gn(u)){for(c=0,s=se(e.length);s>c;c++)if((l=o?p(L(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=dn(a,p,d.value,o))&&l&&l instanceof t)return l;return new t(!1)}).stop=function(e){return new t(!0,e)}})),vi=Fe("species"),gi=function(e,t){var n,r=L(e).constructor;return void 0===r||null==(n=L(r)[vi])?t:Qe(n)},yi=/(iphone|ipod|ipad).*applewebkit/i.test(_t),mi=r.location,wi=r.setImmediate,_i=r.clearImmediate,bi=r.process,xi=r.MessageChannel,Ei=r.Dispatch,Si=0,Ai={},Li="onreadystatechange",Ti=function(e){if(Ai.hasOwnProperty(e)){var t=Ai[e];delete Ai[e],t()}},Oi=function(e){return function(){Ti(e)}},Ri=function(e){Ti(e.data)},ki=function(e){r.postMessage(e+"",mi.protocol+"//"+mi.host)};wi&&_i||(wi=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return Ai[++Si]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},ai(Si),Si},_i=function(e){delete Ai[e]},"process"==f(bi)?ai=function(e){bi.nextTick(Oi(e))}:Ei&&Ei.now?ai=function(e){Ei.now(Oi(e))}:xi&&!yi?(ci=(ui=new xi).port2,ui.port1.onmessage=Ri,ai=et(ci.postMessage,ci,1)):!r.addEventListener||"function"!=typeof postMessage||r.importScripts||o(ki)||"file:"===mi.protocol?ai=Li in x("script")?function(e){ze.appendChild(x("script")).onreadystatechange=function(){ze.removeChild(this),Ti(e)}}:function(e){setTimeout(Oi(e),0)}:(ai=ki,r.addEventListener("message",Ri,!1)));var Ui,ji,Pi,Ii,Ci,Bi,Mi,Di,Fi={set:wi,clear:_i},qi=A.f,Ni=Fi.set,zi=r.MutationObserver||r.WebKitMutationObserver,Wi=r.process,Vi=r.Promise,Gi="process"==f(Wi),Hi=qi(r,"queueMicrotask"),$i=Hi&&Hi.value;$i||(Ui=function(){var e,t;for(Gi&&(e=Wi.domain)&&e.exit();ji;){t=ji.fn,ji=ji.next;try{t()}catch(e){throw ji?Ii():Pi=void 0,e}}Pi=void 0,e&&e.enter()},Gi?Ii=function(){Wi.nextTick(Ui)}:zi&&!yi?(Ci=!0,Bi=document.createTextNode(""),new zi(Ui).observe(Bi,{characterData:!0}),Ii=function(){Bi.data=Ci=!Ci}):Vi&&Vi.resolve?(Mi=Vi.resolve(void 0),Di=Mi.then,Ii=function(){Di.call(Mi,Ui)}):Ii=function(){Ni.call(r,Ui)});var Yi,Ji,Zi,Ki,Xi=$i||function(e){var t={fn:e,next:void 0};Pi&&(Pi.next=t),ji||(ji=t,Ii()),Pi=t},Qi=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=Qe(t),this.reject=Qe(n)},ea={f:function(e){return new Qi(e)}},ta=function(e,t){if(L(e),g(t)&&t.constructor===e)return t;var n=ea.f(e);return(0,n.resolve)(t),n.promise},na=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},ra=Fi.set,oa=Fe("species"),ia="Promise",aa=ee.get,ua=ee.set,ca=ee.getterFor(ia),sa=si,la=r.TypeError,fa=r.document,da=r.process,pa=oe("fetch"),ha=ea.f,va=ha,ga="process"==f(da),ya=!!(fa&&fa.createEvent&&r.dispatchEvent),ma="unhandledrejection",wa=Re(ia,(function(){if(!(M(sa)!==String(sa))){if(66===St)return!0;if(!ga&&"function"!=typeof PromiseRejectionEvent)return!0}if(St>=51&&/native code/.test(sa))return!1;var e=sa.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[oa]=t,!(e.then((function(){}))instanceof t)})),_a=wa||!Rn((function(e){sa.all(e).catch((function(){}))})),ba=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},xa=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;Xi((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&&La(e,t),t.rejection=1),!0===f?u=o:(h&&h.enter(),u=f(o),h&&(h.exit(),s=!0)),u===l.promise?p(la("Promise-chain cycle")):(c=ba(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&&Sa(e,t)}))}},Ea=function(e,t,n){var o,i;ya?((o=fa.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),r.dispatchEvent(o)):o={promise:t,reason:n},(i=r["on"+e])?i(o):e===ma&&function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},Sa=function(e,t){ra.call(r,(function(){var n,r=t.value;if(Aa(t)&&(n=na((function(){ga?da.emit("unhandledRejection",r,e):Ea(ma,e,r)})),t.rejection=ga||Aa(t)?2:1,n.error))throw n.value}))},Aa=function(e){return 1!==e.rejection&&!e.parent},La=function(e,t){ra.call(r,(function(){ga?da.emit("rejectionHandled",e):Ea("rejectionhandled",e,t.value)}))},Ta=function(e,t,n,r){return function(o){e(t,n,o,r)}},Oa=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,xa(e,t,!0))},Ra=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw la("Promise can't be resolved itself");var o=ba(n);o?Xi((function(){var r={done:!1};try{o.call(n,Ta(Ra,e,r,t),Ta(Oa,e,r,t))}catch(n){Oa(e,r,n,t)}})):(t.value=n,t.state=1,xa(e,t,!1))}catch(n){Oa(e,{done:!1},n,t)}}};wa&&(sa=function(e){pi(this,sa,ia),Qe(e),Yi.call(this);var t=aa(this);try{e(Ta(Ra,this,t),Ta(Oa,this,t))}catch(e){Oa(this,t,e)}},(Yi=function(e){ua(this,{type:ia,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=li(sa.prototype,{then:function(e,t){var n=ca(this),r=ha(gi(this,sa));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=ga?da.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&xa(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),Ji=function(){var e=new Yi,t=aa(e);this.promise=e,this.resolve=Ta(Ra,e,t),this.reject=Ta(Oa,e,t)},ea.f=ha=function(e){return e===sa||e===Zi?new Ji(e):va(e)},"function"==typeof si&&(Ki=si.prototype.then,te(si.prototype,"then",(function(e,t){var n=this;return new sa((function(e,t){Ki.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof pa&&Ue({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return ta(sa,pa.apply(r,arguments))}}))),Ue({global:!0,wrap:!0,forced:wa},{Promise:sa}),Gn(sa,ia,!1),di(ia),Zi=oe(ia),Ue({target:ia,stat:!0,forced:wa},{reject:function(e){var t=ha(this);return t.reject.call(void 0,e),t.promise}}),Ue({target:ia,stat:!0,forced:wa},{resolve:function(e){return ta(this,e)}}),Ue({target:ia,stat:!0,forced:_a},{all:function(e){var t=this,n=ha(t),r=n.resolve,o=n.reject,i=na((function(){var n=Qe(t.resolve),i=[],a=0,u=1;hi(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=ha(t),r=n.reject,o=na((function(){var o=Qe(t.resolve);hi(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var ka=function(e){return Pt.set(so,e)},Ua=he.includes,ja=Xt("indexOf",{ACCESSORS:!0,1:0});Ue({target:"Array",proto:!0,forced:!ja},{includes:function(e){return Ua(this,e,arguments.length>1?arguments[1]:void 0)}}),Ze("includes");var Pa="Array Iterator",Ia=ee.set,Ca=ee.getterFor(Pa),Ba=rr(Array,"Array",(function(e,t){Ia(this,{type:Pa,target:v(e),index:0,kind:t})}),(function(){var e=Ca(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");pn.Arguments=pn.Array,Ze("keys"),Ze("values"),Ze("entries");var Ma="toString",Da=RegExp.prototype,Fa=Da.toString,qa=o((function(){return"/a/b"!=Fa.call({source:"a",flags:"b"})})),Na=Fa.name!=Ma;(qa||Na)&&te(RegExp.prototype,Ma,(function(){var e=L(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in Da)?dr.call(e):n)}),{unsafe:!0}),Ue({target:"String",proto:!0,forced:!no("includes")},{includes:function(e){return!!~String(h(this)).indexOf(eo(e),arguments.length>1?arguments[1]:void 0)}});var za=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};kr("search",1,(function(e,t,n){return[function(t){var n=h(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=L(e),i=String(this),a=o.lastIndex;za(a,0)||(o.lastIndex=0);var u=Pr(o,i);return za(o.lastIndex,a)||(o.lastIndex=a),null===u?-1:u.index}]}));var Wa=/"/g;Ue({target:"String",proto:!0,forced:function(e){return o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}("sub")},{sub:function(){return e="sub",t="",n="",r=String(h(this)),o="<"+e,""!==t&&(o+=" "+t+'="'+String(n).replace(Wa,"&quot;")+'"'),o+">"+r+"</"+e+">";var e,t,n,r,o}});var Va=Fe("iterator"),Ga=Fe("toStringTag"),Ha=Ba.values;for(var $a in cr){var Ya=r[$a],Ja=Ya&&Ya.prototype;if(Ja){if(Ja[Va]!==Ha)try{R(Ja,Va,Ha)}catch(e){Ja[Va]=Ha}if(Ja[Ga]||R(Ja,Ga,$a),cr[$a])for(var Za in Ba)if(Ja[Za]!==Ba[Za])try{R(Ja,Za,Ba[Za])}catch(e){Ja[Za]=Ba[Za]}}}var Ka=Fe("iterator"),Xa=!o((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[Ka]||"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})),Qa=2147483647,eu=/[^\0-\u007E]/,tu=/[.\u3002\uFF0E\uFF61]/g,nu="Overflow: input needs wider integers to process",ru=Math.floor,ou=String.fromCharCode,iu=function(e){return e+22+75*(e<26)},au=function(e,t,n){var r=0;for(e=n?ru(e/700):e>>1,e+=ru(e/t);e>455;r+=36)e=ru(e/35);return ru(r+36*e/(e+38))},uu=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(ou(n));var c=r.length,s=c;for(c&&r.push("-");s<o;){var l=Qa;for(t=0;t<e.length;t++)(n=e[t])>=i&&n<l&&(l=n);var f=s+1;if(l-i>ru((Qa-a)/f))throw RangeError(nu);for(a+=(l-i)*f,i=l,t=0;t<e.length;t++){if((n=e[t])<i&&++a>Qa)throw RangeError(nu);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(ou(iu(h+v%g))),d=ru(v/g)}r.push(ou(iu(d))),u=au(a,f,s==c),a=0,++s}}++a,++i}return r.join("")},cu=function(e){var t=En(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return L(t.call(e))},su=oe("fetch"),lu=oe("Headers"),fu=Fe("iterator"),du="URLSearchParams",pu="URLSearchParamsIterator",hu=ee.set,vu=ee.getterFor(du),gu=ee.getterFor(pu),yu=/\+/g,mu=Array(4),wu=function(e){return mu[e-1]||(mu[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},_u=function(e){try{return decodeURIComponent(e)}catch(t){return e}},bu=function(e){var t=e.replace(yu," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(wu(n--),_u);return t}},xu=/[!'()~]|%20/g,Eu={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Su=function(e){return Eu[e]},Au=function(e){return encodeURIComponent(e).replace(xu,Su)},Lu=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:bu(r.shift()),value:bu(r.join("="))}))},Tu=function(e){this.entries.length=0,Lu(this.entries,e)},Ou=function(e,t){if(e<t)throw TypeError("Not enough arguments")},Ru=Yn((function(e,t){hu(this,{type:pu,iterator:cu(vu(e).entries),kind:t})}),"Iterator",(function(){var e=gu(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})),ku=function(){pi(this,ku,du);var e,t,n,r,o,i,a,u,c,s=arguments.length>0?arguments[0]:void 0,l=this,f=[];if(hu(l,{type:du,entries:f,updateURL:function(){},updateSearchParams:Tu}),void 0!==s)if(g(s))if("function"==typeof(e=En(s)))for(n=(t=e.call(s)).next;!(r=n.call(t)).done;){if((a=(i=(o=cu(L(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)w(s,c)&&f.push({key:c,value:s[c]+""});else Lu(f,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},Uu=ku.prototype;li(Uu,{append:function(e,t){Ou(arguments.length,2);var n=vu(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){Ou(arguments.length,1);for(var t=vu(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){Ou(arguments.length,1);for(var t=vu(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){Ou(arguments.length,1);for(var t=vu(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){Ou(arguments.length,1);for(var t=vu(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){Ou(arguments.length,1);for(var n,r=vu(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=vu(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=vu(this).entries,r=et(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 Ru(this,"keys")},values:function(){return new Ru(this,"values")},entries:function(){return new Ru(this,"entries")}},{enumerable:!0}),te(Uu,fu,Uu.entries),te(Uu,"toString",(function(){for(var e,t=vu(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(Au(e.key)+"="+Au(e.value));return n.join("&")}),{enumerable:!0}),Gn(ku,du),Ue({global:!0,forced:!Xa},{URLSearchParams:ku}),Xa||"function"!=typeof su||"function"!=typeof lu||Ue({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(g(t=arguments[1])&&(n=t.body,bn(n)===du&&((r=t.headers?new lu(t.headers):new lu).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=$e(t,{body:s(0,String(n)),headers:s(0,r)}))),o.push(t)),su.apply(this,o)}});var ju,Pu={URLSearchParams:ku,getState:vu},Iu=Cn.codeAt,Cu=r.URL,Bu=Pu.URLSearchParams,Mu=Pu.getState,Du=ee.set,Fu=ee.getterFor("URL"),qu=Math.floor,Nu=Math.pow,zu="Invalid scheme",Wu="Invalid host",Vu="Invalid port",Gu=/[A-Za-z]/,Hu=/[\d+-.A-Za-z]/,$u=/\d/,Yu=/^(0x|0X)/,Ju=/^[0-7]+$/,Zu=/^\d+$/,Ku=/^[\dA-Fa-f]+$/,Xu=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,Qu=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,ec=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,tc=/[\u0009\u000A\u000D]/g,nc=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return Wu;if(!(n=oc(t.slice(1,-1))))return Wu;e.host=n}else if(dc(e)){if(t=function(e){var t,n,r=[],o=e.toLowerCase().replace(tu,".").split(".");for(t=0;t<o.length;t++)n=o[t],r.push(eu.test(n)?"xn--"+uu(n):n);return r.join(".")}(t),Xu.test(t))return Wu;if(null===(n=rc(t)))return Wu;e.host=n}else{if(Qu.test(t))return Wu;for(n="",r=Sn(t),o=0;o<r.length;o++)n+=lc(r[o],ac);e.host=n}},rc=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=Yu.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?Zu:8==i?Ju:Ku).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>=Nu(256,5-t))return null}else if(a>255)return null;for(u=n.pop(),r=0;r<n.length;r++)u+=n[r]*Nu(256,3-r);return u},oc=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&&Ku.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(!$u.test(d()))return;for(;$u.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},ic=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=qu(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},ac={},uc=st({},ac,{" ":1,'"':1,"<":1,">":1,"`":1}),cc=st({},uc,{"#":1,"?":1,"{":1,"}":1}),sc=st({},cc,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),lc=function(e,t){var n=Iu(e,0);return n>32&&n<127&&!w(t,e)?e:encodeURIComponent(e)},fc={ftp:21,file:null,http:80,https:443,ws:80,wss:443},dc=function(e){return w(fc,e.scheme)},pc=function(e){return""!=e.username||""!=e.password},hc=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},vc=function(e,t){var n;return 2==e.length&&Gu.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},gc=function(e){var t;return e.length>1&&vc(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},yc=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&vc(t[0],!0)||t.pop()},mc=function(e){return"."===e||"%2e"===e.toLowerCase()},wc={},_c={},bc={},xc={},Ec={},Sc={},Ac={},Lc={},Tc={},Oc={},Rc={},kc={},Uc={},jc={},Pc={},Ic={},Cc={},Bc={},Mc={},Dc={},Fc={},qc=function(e,t,n,r){var o,i,a,u,c,s=n||wc,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(ec,"")),t=t.replace(tc,""),o=Sn(t);l<=o.length;){switch(i=o[l],s){case wc:if(!i||!Gu.test(i)){if(n)return zu;s=bc;continue}f+=i.toLowerCase(),s=_c;break;case _c:if(i&&(Hu.test(i)||"+"==i||"-"==i||"."==i))f+=i.toLowerCase();else{if(":"!=i){if(n)return zu;f="",s=bc,l=0;continue}if(n&&(dc(e)!=w(fc,f)||"file"==f&&(pc(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,n)return void(dc(e)&&fc[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?s=jc:dc(e)&&r&&r.scheme==e.scheme?s=xc:dc(e)?s=Lc:"/"==o[l+1]?(s=Ec,l++):(e.cannotBeABaseURL=!0,e.path.push(""),s=Mc)}break;case bc:if(!r||r.cannotBeABaseURL&&"#"!=i)return zu;if(r.cannotBeABaseURL&&"#"==i){e.scheme=r.scheme,e.path=r.path.slice(),e.query=r.query,e.fragment="",e.cannotBeABaseURL=!0,s=Fc;break}s="file"==r.scheme?jc:Sc;continue;case xc:if("/"!=i||"/"!=o[l+1]){s=Sc;continue}s=Tc,l++;break;case Ec:if("/"==i){s=Oc;break}s=Bc;continue;case Sc:if(e.scheme=r.scheme,i==ju)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&&dc(e))s=Ac;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=Dc;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=Bc;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=Fc}break;case Ac:if(!dc(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,s=Bc;continue}s=Oc}else s=Tc;break;case Lc:if(s=Tc,"/"!=i||"/"!=f.charAt(l+1))continue;l++;break;case Tc:if("/"!=i&&"\\"!=i){s=Oc;continue}break;case Oc:if("@"==i){d&&(f="%40"+f),d=!0,a=Sn(f);for(var v=0;v<a.length;v++){var g=a[v];if(":"!=g||h){var y=lc(g,sc);h?e.password+=y:e.username+=y}else h=!0}f=""}else if(i==ju||"/"==i||"?"==i||"#"==i||"\\"==i&&dc(e)){if(d&&""==f)return"Invalid authority";l-=Sn(f).length+1,f="",s=Rc}else f+=i;break;case Rc:case kc:if(n&&"file"==e.scheme){s=Ic;continue}if(":"!=i||p){if(i==ju||"/"==i||"?"==i||"#"==i||"\\"==i&&dc(e)){if(dc(e)&&""==f)return Wu;if(n&&""==f&&(pc(e)||null!==e.port))return;if(u=nc(e,f))return u;if(f="",s=Cc,n)return;continue}"["==i?p=!0:"]"==i&&(p=!1),f+=i}else{if(""==f)return Wu;if(u=nc(e,f))return u;if(f="",s=Uc,n==kc)return}break;case Uc:if(!$u.test(i)){if(i==ju||"/"==i||"?"==i||"#"==i||"\\"==i&&dc(e)||n){if(""!=f){var m=parseInt(f,10);if(m>65535)return Vu;e.port=dc(e)&&m===fc[e.scheme]?null:m,f=""}if(n)return;s=Cc;continue}return Vu}f+=i;break;case jc:if(e.scheme="file","/"==i||"\\"==i)s=Pc;else{if(!r||"file"!=r.scheme){s=Bc;continue}if(i==ju)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=Dc;else{if("#"!=i){gc(o.slice(l).join(""))||(e.host=r.host,e.path=r.path.slice(),yc(e)),s=Bc;continue}e.host=r.host,e.path=r.path.slice(),e.query=r.query,e.fragment="",s=Fc}}break;case Pc:if("/"==i||"\\"==i){s=Ic;break}r&&"file"==r.scheme&&!gc(o.slice(l).join(""))&&(vc(r.path[0],!0)?e.path.push(r.path[0]):e.host=r.host),s=Bc;continue;case Ic:if(i==ju||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&vc(f))s=Bc;else if(""==f){if(e.host="",n)return;s=Cc}else{if(u=nc(e,f))return u;if("localhost"==e.host&&(e.host=""),n)return;f="",s=Cc}continue}f+=i;break;case Cc:if(dc(e)){if(s=Bc,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=ju&&(s=Bc,"/"!=i))continue}else e.fragment="",s=Fc;else e.query="",s=Dc;break;case Bc:if(i==ju||"/"==i||"\\"==i&&dc(e)||!n&&("?"==i||"#"==i)){if(".."===(c=(c=f).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(yc(e),"/"==i||"\\"==i&&dc(e)||e.path.push("")):mc(f)?"/"==i||"\\"==i&&dc(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&vc(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(i==ju||"?"==i||"#"==i))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==i?(e.query="",s=Dc):"#"==i&&(e.fragment="",s=Fc)}else f+=lc(i,cc);break;case Mc:"?"==i?(e.query="",s=Dc):"#"==i?(e.fragment="",s=Fc):i!=ju&&(e.path[0]+=lc(i,ac));break;case Dc:n||"#"!=i?i!=ju&&("'"==i&&dc(e)?e.query+="%27":e.query+="#"==i?"%23":lc(i,ac)):(e.fragment="",s=Fc);break;case Fc:i!=ju&&(e.fragment+=lc(i,uc))}l++}},Nc=function(e){var t,n,r=pi(this,Nc,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),u=Du(r,{type:"URL"});if(void 0!==o)if(o instanceof Nc)t=Fu(o);else if(n=qc(t={},String(o)))throw TypeError(n);if(n=qc(u,a,null,t))throw TypeError(n);var c=u.searchParams=new Bu,s=Mu(c);s.updateSearchParams(u.query),s.updateURL=function(){u.query=String(c)||null},i||(r.href=Wc.call(r),r.origin=Vc.call(r),r.protocol=Gc.call(r),r.username=Hc.call(r),r.password=$c.call(r),r.host=Yc.call(r),r.hostname=Jc.call(r),r.port=Zc.call(r),r.pathname=Kc.call(r),r.search=Xc.call(r),r.searchParams=Qc.call(r),r.hash=es.call(r))},zc=Nc.prototype,Wc=function(){var e=Fu(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+="//",pc(e)&&(s+=n+(r?":"+r:"")+"@"),s+=ic(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},Vc=function(){var e=Fu(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&&dc(e)?t+"://"+ic(e.host)+(null!==n?":"+n:""):"null"},Gc=function(){return Fu(this).scheme+":"},Hc=function(){return Fu(this).username},$c=function(){return Fu(this).password},Yc=function(){var e=Fu(this),t=e.host,n=e.port;return null===t?"":null===n?ic(t):ic(t)+":"+n},Jc=function(){var e=Fu(this).host;return null===e?"":ic(e)},Zc=function(){var e=Fu(this).port;return null===e?"":String(e)},Kc=function(){var e=Fu(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Xc=function(){var e=Fu(this).query;return e?"?"+e:""},Qc=function(){return Fu(this).searchParams},es=function(){var e=Fu(this).fragment;return e?"#"+e:""},ts=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&Ne(zc,{href:ts(Wc,(function(e){var t=Fu(this),n=String(e),r=qc(t,n);if(r)throw TypeError(r);Mu(t.searchParams).updateSearchParams(t.query)})),origin:ts(Vc),protocol:ts(Gc,(function(e){var t=Fu(this);qc(t,String(e)+":",wc)})),username:ts(Hc,(function(e){var t=Fu(this),n=Sn(String(e));if(!hc(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=lc(n[r],sc)}})),password:ts($c,(function(e){var t=Fu(this),n=Sn(String(e));if(!hc(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=lc(n[r],sc)}})),host:ts(Yc,(function(e){var t=Fu(this);t.cannotBeABaseURL||qc(t,String(e),Rc)})),hostname:ts(Jc,(function(e){var t=Fu(this);t.cannotBeABaseURL||qc(t,String(e),kc)})),port:ts(Zc,(function(e){var t=Fu(this);hc(t)||(""==(e=String(e))?t.port=null:qc(t,e,Uc))})),pathname:ts(Kc,(function(e){var t=Fu(this);t.cannotBeABaseURL||(t.path=[],qc(t,e+"",Cc))})),search:ts(Xc,(function(e){var t=Fu(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",qc(t,e,Dc)),Mu(t.searchParams).updateSearchParams(t.query)})),searchParams:ts(Qc),hash:ts(es,(function(e){var t=Fu(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",qc(t,e,Fc)):t.fragment=null}))}),te(zc,"toJSON",(function(){return Wc.call(this)}),{enumerable:!0}),te(zc,"toString",(function(){return Wc.call(this)}),{enumerable:!0}),Cu){var ns=Cu.createObjectURL,rs=Cu.revokeObjectURL;ns&&te(Nc,"createObjectURL",(function(e){return ns.apply(Cu,arguments)})),rs&&te(Nc,"revokeObjectURL",(function(e){return rs.apply(Cu,arguments)}))}Gn(Nc,"URL"),Ue({global:!0,forced:!Xa,sham:!i},{URL:Nc});var os=1024,is=Lt("slice"),as=Xt("slice",{ACCESSORS:!0,0:0,1:2}),us=Fe("species"),cs=[].slice,ss=Math.max;Ue({target:"Array",proto:!0,forced:!is||!as},{slice:function(e,t){var n,r,o,i=v(this),a=se(i.length),u=de(e,a),c=de(void 0===t?a:t,a);if(gt(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!gt(n.prototype)?g(n)&&null===(n=n[us])&&(n=void 0):n=void 0,n===Array||void 0===n))return cs.call(i,u,c);for(r=new(void 0===n?Array:n)(ss(c-u,0)),o=0;u<c;u++,o++)u in i&&yt(r,o,i[u]);return r.length=o,r}});var ls="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,fs=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},ds=1/0,ps=Math.abs,hs=Math.pow,vs=Math.floor,gs=Math.log,ys=Math.LN2,ms=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?hs(2,-24)-hs(2,-77):0,f=e<0||0===e&&1/e<0?1:0,d=0;for((e=ps(e))!=e||e===ds?(o=e!=e?1:0,r=c):(r=vs(gs(e)/ys),e*(i=hs(2,-r))<1&&(r--,i*=2),(e+=r+s>=1?l/i:l*hs(2,1-s))*i>=2&&(r++,i/=2),r+s>=c?(o=0,r=c):r+s>=1?(o=(e*i-1)*hs(2,t),r+=s):(o=e*hs(2,s-1)*hs(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},ws=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:ds;n+=hs(2,t),l-=a}return(s?-1:1)*n*hs(2,l-t)},_s=we.f,bs=O.f,xs=ee.get,Es=ee.set,Ss="ArrayBuffer",As="DataView",Ls="Wrong index",Ts=r.ArrayBuffer,Os=Ts,Rs=r.DataView,ks=Rs&&Rs.prototype,Us=Object.prototype,js=r.RangeError,Ps=ms,Is=ws,Cs=function(e){return[255&e]},Bs=function(e){return[255&e,e>>8&255]},Ms=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Ds=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},Fs=function(e){return Ps(e,23,4)},qs=function(e){return Ps(e,52,8)},Ns=function(e,t){bs(e.prototype,t,{get:function(){return xs(this)[t]}})},zs=function(e,t,n,r){var o=fs(n),i=xs(e);if(o+t>i.byteLength)throw js(Ls);var a=xs(i.buffer).bytes,u=o+i.byteOffset,c=a.slice(u,u+t);return r?c:c.reverse()},Ws=function(e,t,n,r,o,i){var a=fs(n),u=xs(e);if(a+t>u.byteLength)throw js(Ls);for(var c=xs(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(ls){if(!o((function(){Ts(1)}))||!o((function(){new Ts(-1)}))||o((function(){return new Ts,new Ts(1.5),new Ts(NaN),Ts.name!=Ss}))){for(var Vs,Gs=(Os=function(e){return pi(this,Os),new Ts(fs(e))}).prototype=Ts.prototype,Hs=_s(Ts),$s=0;Hs.length>$s;)(Vs=Hs[$s++])in Os||R(Os,Vs,Ts[Vs]);Gs.constructor=Os}Jn&&Fn(ks)!==Us&&Jn(ks,Us);var Ys=new Rs(new Os(2)),Js=ks.setInt8;Ys.setInt8(0,2147483648),Ys.setInt8(1,2147483649),!Ys.getInt8(0)&&Ys.getInt8(1)||li(ks,{setInt8:function(e,t){Js.call(this,e,t<<24>>24)},setUint8:function(e,t){Js.call(this,e,t<<24>>24)}},{unsafe:!0})}else Os=function(e){pi(this,Os,Ss);var t=fs(e);Es(this,{bytes:Pe.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},Rs=function(e,t,n){pi(this,Rs,As),pi(e,Os,As);var r=xs(e).byteLength,o=ue(t);if(o<0||o>r)throw js("Wrong offset");if(o+(n=void 0===n?r-o:se(n))>r)throw js("Wrong length");Es(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},i&&(Ns(Os,"byteLength"),Ns(Rs,"buffer"),Ns(Rs,"byteLength"),Ns(Rs,"byteOffset")),li(Rs.prototype,{getInt8:function(e){return zs(this,1,e)[0]<<24>>24},getUint8:function(e){return zs(this,1,e)[0]},getInt16:function(e){var t=zs(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=zs(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return Ds(zs(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return Ds(zs(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return Is(zs(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return Is(zs(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){Ws(this,1,e,Cs,t)},setUint8:function(e,t){Ws(this,1,e,Cs,t)},setInt16:function(e,t){Ws(this,2,e,Bs,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){Ws(this,2,e,Bs,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){Ws(this,4,e,Ms,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){Ws(this,4,e,Ms,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){Ws(this,4,e,Fs,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){Ws(this,8,e,qs,t,arguments.length>2?arguments[2]:void 0)}});Gn(Os,Ss),Gn(Rs,As);var Zs={ArrayBuffer:Os,DataView:Rs},Ks=Zs.ArrayBuffer,Xs=Zs.DataView,Qs=Ks.prototype.slice,el=o((function(){return!new Ks(2).slice(1,void 0).byteLength}));Ue({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:el},{slice:function(e,t){if(void 0!==Qs&&void 0===t)return Qs.call(L(this),e);for(var n=L(this).byteLength,r=de(e,n),o=de(void 0===t?n:t,n),i=new(gi(this,Ks))(se(o-r)),a=new Xs(this),u=new Xs(i),c=0;r<o;)u.setUint8(c++,a.getUint8(r++));return i}});var tl=[].push,nl=Math.min,rl=4294967295,ol=!o((function(){return!RegExp(rl,"y")}));kr("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(h(this)),o=void 0===n?rl:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!Qr(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=Er.call(f,r))&&!((a=f.lastIndex)>l&&(c.push(r.slice(l,i.index)),i.length>1&&i.index<r.length&&tl.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=h(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=L(e),u=String(this),c=gi(a,RegExp),s=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(ol?"y":"g"),f=new c(ol?a:"^(?:"+a.source+")",l),d=void 0===o?rl:o>>>0;if(0===d)return[];if(0===u.length)return null===Pr(f,u)?[u]:[];for(var p=0,h=0,v=[];h<u.length;){f.lastIndex=ol?h:0;var g,y=Pr(f,ol?u:u.slice(h));if(null===y||(g=nl(se(f.lastIndex+(ol?0:h)),u.length))===p)h=jr(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}]}),!ol);var il,al=O.f,ul=r.Int8Array,cl=ul&&ul.prototype,sl=r.Uint8ClampedArray,ll=sl&&sl.prototype,fl=ul&&Fn(ul),dl=cl&&Fn(cl),pl=Object.prototype,hl=pl.isPrototypeOf,vl=Fe("toStringTag"),gl=W("TYPED_ARRAY_TAG"),yl=ls&&!!Jn&&"Opera"!==bn(r.opera),ml=!1,wl={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},_l=function(e){return g(e)&&w(wl,bn(e))};for(il in wl)r[il]||(yl=!1);if((!yl||"function"!=typeof fl||fl===Function.prototype)&&(fl=function(){throw TypeError("Incorrect invocation")},yl))for(il in wl)r[il]&&Jn(r[il],fl);if((!yl||!dl||dl===pl)&&(dl=fl.prototype,yl))for(il in wl)r[il]&&Jn(r[il].prototype,dl);if(yl&&Fn(ll)!==dl&&Jn(ll,dl),i&&!w(dl,vl))for(il in ml=!0,al(dl,vl,{get:function(){return g(this)?this[gl]:void 0}}),wl)r[il]&&R(r[il],gl,il);var bl={NATIVE_ARRAY_BUFFER_VIEWS:yl,TYPED_ARRAY_TAG:ml&&gl,aTypedArray:function(e){if(_l(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(Jn){if(hl.call(fl,e))return e}else for(var t in wl)if(w(wl,il)){var n=r[t];if(n&&(e===n||hl.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(i){if(n)for(var o in wl){var a=r[o];a&&w(a.prototype,e)&&delete a.prototype[e]}dl[e]&&!n||te(dl,e,n?t:yl&&cl[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var o,a;if(i){if(Jn){if(n)for(o in wl)(a=r[o])&&w(a,e)&&delete a[e];if(fl[e]&&!n)return;try{return te(fl,e,n?t:yl&&ul[e]||t)}catch(e){}}for(o in wl)!(a=r[o])||a[e]&&!n||te(a,e,t)}},isView:function(e){var t=bn(e);return"DataView"===t||w(wl,t)},isTypedArray:_l,TypedArray:fl,TypedArrayPrototype:dl},xl=bl.NATIVE_ARRAY_BUFFER_VIEWS,El=r.ArrayBuffer,Sl=r.Int8Array,Al=!xl||!o((function(){Sl(1)}))||!o((function(){new Sl(-1)}))||!Rn((function(e){new Sl,new Sl(null),new Sl(1.5),new Sl(e)}),!0)||o((function(){return 1!==new Sl(new El(2),1,void 0).length})),Ll=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},Tl=bl.aTypedArrayConstructor,Ol=function(e){var t,n,r,o,i,a,u=je(e),c=arguments.length,s=c>1?arguments[1]:void 0,l=void 0!==s,f=En(u);if(null!=f&&!gn(f))for(a=(i=f.call(u)).next,u=[];!(o=a.call(i)).done;)u.push(o.value);for(l&&c>2&&(s=et(s,arguments[2],2)),n=se(u.length),r=new(Tl(this))(n),t=0;n>t;t++)r[t]=l?s(u[t],t):u[t];return r},Rl=t((function(e){var t=we.f,n=Yt.forEach,o=ee.get,a=ee.set,u=O.f,c=A.f,l=Math.round,f=r.RangeError,d=Zs.ArrayBuffer,p=Zs.DataView,h=bl.NATIVE_ARRAY_BUFFER_VIEWS,v=bl.TYPED_ARRAY_TAG,m=bl.TypedArray,_=bl.TypedArrayPrototype,b=bl.aTypedArrayConstructor,x=bl.isTypedArray,E="BYTES_PER_ELEMENT",S="Wrong length",L=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 o(this)[t]}})},k=function(e){var t;return e instanceof d||"ArrayBuffer"==(t=bn(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=y(t,!0))?s(2,e[t]):c(e,t)},P=function(e,t,n){return!(U(e,t=y(t,!0))&&g(n)&&w(n,"value"))||w(n,"get")||w(n,"set")||n.configurable||w(n,"writable")&&!n.writable||w(n,"enumerable")&&!n.enumerable?u(e,t,n):(e[t]=n.value,e)};i?(h||(A.f=j,O.f=P,T(_,"buffer"),T(_,"byteOffset"),T(_,"byteLength"),T(_,"length")),Ue({target:"Object",stat:!0,forced:!h},{getOwnPropertyDescriptor:j,defineProperty:P}),e.exports=function(e,i,c){var s=e.match(/\d+$/)[0]/8,y=e+(c?"Clamped":"")+"Array",w="get"+e,b="set"+e,A=r[y],T=A,O=T&&T.prototype,U={},j=function(e,t){u(e,t,{get:function(){return function(e,t){var n=o(e);return n.view[w](t*s+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var r=o(e);c&&(n=(n=l(n))<0?0:n>255?255:255&n),r.view[b](t*s+r.byteOffset,n,!0)}(this,t,e)},enumerable:!0})};h?Al&&(T=i((function(e,t,n,r){return pi(e,T,y),function(e,t,n){var r,o;return Jn&&"function"==typeof(r=t.constructor)&&r!==n&&g(o=r.prototype)&&o!==n.prototype&&Jn(e,o),e}(g(t)?k(t)?void 0!==r?new A(t,Ll(n,s),r):void 0!==n?new A(t,Ll(n,s)):new A(t):x(t)?L(T,t):Ol.call(T,t):new A(fs(t)),e,T)})),Jn&&Jn(T,m),n(t(A),(function(e){e in T||R(T,e,A[e])})),T.prototype=O):(T=i((function(e,t,n,r){pi(e,T,y);var o,i,u,c=0,l=0;if(g(t)){if(!k(t))return x(t)?L(T,t):Ol.call(T,t);o=t,l=Ll(n,s);var h=t.byteLength;if(void 0===r){if(h%s)throw f(S);if((i=h-l)<0)throw f(S)}else if((i=se(r)*s)+l>h)throw f(S);u=i/s}else u=fs(t),o=new d(i=u*s);for(a(e,{buffer:o,byteOffset:l,byteLength:i,length:u,view:new p(o)});c<u;)j(e,c++)})),Jn&&Jn(T,m),O=T.prototype=$e(_)),O.constructor!==T&&R(O,"constructor",T),v&&R(O,v,y),U[y]=T,Ue({global:!0,forced:T!=A,sham:!h},U),E in T||R(T,E,s),E in O||R(O,E,s),di(y)}):e.exports=function(){}}));Rl("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}})),Rl("Uint32",(function(e){return function(t,n,r){return e(this,t,n,r)}}));var kl=Math.min,Ul=[].copyWithin||function(e,t){var n=je(this),r=se(n.length),o=de(e,r),i=de(t,r),a=arguments.length>2?arguments[2]:void 0,u=kl((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},jl=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("copyWithin",(function(e,t){return Ul.call(jl(this),e,t,arguments.length>2?arguments[2]:void 0)}));var Pl=Yt.every,Il=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("every",(function(e){return Pl(Il(this),e,arguments.length>1?arguments[1]:void 0)}));var Cl=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("fill",(function(e){return Pe.apply(Cl(this),arguments)}));var Bl=Yt.filter,Ml=bl.aTypedArray,Dl=bl.aTypedArrayConstructor;(0,bl.exportTypedArrayMethod)("filter",(function(e){for(var t=Bl(Ml(this),e,arguments.length>1?arguments[1]:void 0),n=gi(this,this.constructor),r=0,o=t.length,i=new(Dl(n))(o);o>r;)i[r]=t[r++];return i}));var Fl=Yt.find,ql=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("find",(function(e){return Fl(ql(this),e,arguments.length>1?arguments[1]:void 0)}));var Nl=Yt.findIndex,zl=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("findIndex",(function(e){return Nl(zl(this),e,arguments.length>1?arguments[1]:void 0)}));var Wl=Yt.forEach,Vl=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("forEach",(function(e){Wl(Vl(this),e,arguments.length>1?arguments[1]:void 0)}));var Gl=he.includes,Hl=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("includes",(function(e){return Gl(Hl(this),e,arguments.length>1?arguments[1]:void 0)}));var $l=he.indexOf,Yl=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("indexOf",(function(e){return $l(Yl(this),e,arguments.length>1?arguments[1]:void 0)}));var Jl=Fe("iterator"),Zl=r.Uint8Array,Kl=Ba.values,Xl=Ba.keys,Ql=Ba.entries,ef=bl.aTypedArray,tf=bl.exportTypedArrayMethod,nf=Zl&&Zl.prototype[Jl],rf=!!nf&&("values"==nf.name||null==nf.name),of=function(){return Kl.call(ef(this))};tf("entries",(function(){return Ql.call(ef(this))})),tf("keys",(function(){return Xl.call(ef(this))})),tf("values",of,!rf),tf(Jl,of,!rf);var af=bl.aTypedArray,uf=[].join;(0,bl.exportTypedArrayMethod)("join",(function(e){return uf.apply(af(this),arguments)}));var cf=Math.min,sf=[].lastIndexOf,lf=!!sf&&1/[1].lastIndexOf(1,-0)<0,ff=zt("lastIndexOf"),df=Xt("indexOf",{ACCESSORS:!0,1:0}),pf=lf||!ff||!df?function(e){if(lf)return sf.apply(this,arguments)||0;var t=v(this),n=se(t.length),r=n-1;for(arguments.length>1&&(r=cf(r,ue(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}:sf,hf=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("lastIndexOf",(function(e){return pf.apply(hf(this),arguments)}));var vf=Yt.map,gf=bl.aTypedArray,yf=bl.aTypedArrayConstructor;(0,bl.exportTypedArrayMethod)("map",(function(e){return vf(gf(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(yf(gi(e,e.constructor)))(t)}))}));var mf=function(e){return function(t,n,r,o){Qe(n);var i=je(t),a=p(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}},wf={left:mf(!1),right:mf(!0)},_f=wf.left,bf=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("reduce",(function(e){return _f(bf(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}));var xf=wf.right,Ef=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("reduceRight",(function(e){return xf(Ef(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}));var Sf=bl.aTypedArray,Af=bl.exportTypedArrayMethod,Lf=Math.floor;Af("reverse",(function(){for(var e,t=this,n=Sf(t).length,r=Lf(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t}));var Tf=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("set",(function(e){Tf(this);var t=Ll(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=je(e),o=se(r.length),i=0;if(o+t>n)throw RangeError("Wrong length");for(;i<o;)this[t+i]=r[i++]}),o((function(){new Int8Array(1).set({})})));var Of=bl.aTypedArray,Rf=bl.aTypedArrayConstructor,kf=[].slice;(0,bl.exportTypedArrayMethod)("slice",(function(e,t){for(var n=kf.call(Of(this),e,t),r=gi(this,this.constructor),o=0,i=n.length,a=new(Rf(r))(i);i>o;)a[o]=n[o++];return a}),o((function(){new Int8Array(1).slice()})));var Uf=Yt.some,jf=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("some",(function(e){return Uf(jf(this),e,arguments.length>1?arguments[1]:void 0)}));var Pf=bl.aTypedArray,If=[].sort;(0,bl.exportTypedArrayMethod)("sort",(function(e){return If.call(Pf(this),e)}));var Cf=bl.aTypedArray;(0,bl.exportTypedArrayMethod)("subarray",(function(e,t){var n=Cf(this),r=n.length,o=de(e,r);return new(gi(n,n.constructor))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,se((void 0===t?r:de(t,r))-o))}));var Bf=r.Int8Array,Mf=bl.aTypedArray,Df=bl.exportTypedArrayMethod,Ff=[].toLocaleString,qf=[].slice,Nf=!!Bf&&o((function(){Ff.call(new Bf(1))}));Df("toLocaleString",(function(){return Ff.apply(Nf?qf.call(Mf(this)):Mf(this),arguments)}),o((function(){return[1,2].toLocaleString()!=new Bf([1,2]).toLocaleString()}))||!o((function(){Bf.prototype.toLocaleString.call([1,2])})));var zf=bl.exportTypedArrayMethod,Wf=r.Uint8Array,Vf=Wf&&Wf.prototype||{},Gf=[].toString,Hf=[].join;o((function(){Gf.call({})}))&&(Gf=function(){return Hf.call(this)});var $f=Vf.toString!=Gf;zf("toString",Gf,$f);var Yf,Jf=window.crypto||window.msCrypto,Zf=function(e){return JSON.parse(decodeURIComponent(escape(atob(e.split(".")[1]))))},Kf=function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";return Array(e).fill(null).map((function(){return t.charAt(Math.floor(Jf.getRandomValues(new Uint32Array(1))[0]/Math.pow(2,32)*t.length))})).join("")},Xf=function(e){return String.fromCharCode.apply(null,new Uint8Array(e))},Qf=function(e){var t=(new TextEncoder).encode(e),n=Jf.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())}}))},ed=function(e){return window.btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},td=function(e){return e.split("/").slice(0,3).join("/")},nd=function(){return Pt.get("OL_ID")},rd="ONELOGIN_ID_TOKEN",od="ONELOGIN_PKCE_STATE",id="ONELOGIN_PKCE_CODE_VERIFIER",ad="ONELOGIN_ACCESS_TOKEN",ud="ONELOGIN_REFRESH_TOKEN",cd=function e(t,n){var r=Kf(111),o=Kf(111);return Qf(o).then((function(i){var a=ed(Xf(i));return 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<=os&&a.set("continue_url",window.location.href);var u=nd();return fetch(Yf.authProviderUrl+"/auth/silent?"+a.toString(),{credentials:"include",headers:u?{"ol-id":u}:void 0})}(Object.assign({},n,{olId:t,state:r,codeChallenge:a})).then((function(i){if(401===i.status){var a=nd();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}}))}))}))},sd=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(){Mt.debug("clearing storage"),t.clear(rd),t.clear(ad),t.clear(ud),document.dispatchEvent(new CustomEvent("ol-not-logged"))},f=function(){var e=t.load(rd);if(!e)throw l(),new Error("No token in storage");return Zf(e)},d=function(){var e=t.load(ud);return e?function(e){var t=e.clientId,n=e.refreshToken;return fetch(Yf.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?(Mt.debug("current session is invalid"),l(),!1):e.json().then((function(e){return t.save(ad,e.access_token),t.save(ud,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(Yf.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=Zf(e.id_token);if(!n.aud.includes(o))throw new Error("Aud differs from clientId!");if(n.iss!==td(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);Mt.debug("setting OL_ID with: ",{adId:e,domain:t,expires:n}),Pt.set("OL_ID",e,{domain:t,expires:n})}(n.ad_id,s),t.save(ad,e.access_token),t.save(ud,e.refresh_token),p(e.expires_in),function(e){Mt.debug("setting user token"),t.save(rd,e),document.dispatchEvent(new CustomEvent("ol-login"))}(e.id_token),u&&window.location.assign(decodeURIComponent(u))}))},v=function(){var e=t.load(ad);return e?function(e){return fetch(Yf.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():(Mt.error("invalid response during introspect"),l(),!1)})):Promise.resolve(!1)};return function(){!function(e){var t=td(e.authUrl);Yf=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(od),c=t.load(id);if(t.clear(od),t.clear(id),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?(Mt.debug("user logged in"),document.dispatchEvent(new CustomEvent("ol-login"))):(Mt.debug("no active session found"),function(e){var t=e.storage,n=e.callback,r=e.config;if(t.load(ad))Mt.debug("Token in storage - autologin denied");else{var o=nd();o?(Mt.debug("autologin - data found; initializing..."),cd(o,r).then((function(e){e?(Mt.debug("autologin - accepted; token granted"),n(e)):Mt.debug("autologin - denied; session no longer active")}))):Mt.debug("autologin - no data found")}}({config:e,storage:t,callback:h}),document.dispatchEvent(new CustomEvent("ol-not-logged")))}))}(),{login:function(e){var n=Kf(111);t.save(od,n);var u=Kf(111);return t.save(id,u),Qf(u).then((function(t){var u=ed(Xf(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<=os&&s.set("continue_url",window.location.href),window.location.assign(r+"?"+s.toString())}))},logout:function(){Mt.debug("logout initiated");try{var e=f().l_hint;l(),Mt.debug("removing autologin cookie"),Pt.remove("OL_ID"),window.location.assign(td(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}}}};!function(e){var t=e.createFlow,n=e.name;Mt.debug("script v1.28.1 ES5 "+n+" loaded");var r,o=Pt.get(so);if(o&&(!(r=document.head.querySelector("script[data-olwbranch]"))||(Mt.debug("branch script element already loaded",r),0)))return Mt.debug('branch cookie "'+o+'" spotted, reinitializing...'),void function(e){var t=document.createElement("script");return new Promise((function(n,r){t.addEventListener("load",(function(){return n()})),t.addEventListener("error",(function(){return r()})),t.src="https://onelogin.wpcdn.pl/onelogin/"+e+"/olwidget.js",t.async=!0,t.defer=!0,t.dataset.olwbranch=e,t.crossOrigin="anonymous",document.head.append(t)}))}(o).then((function(){Mt.debug("widget's branch version \""+o+'" script loaded')})).catch((function(){Mt.error("error loading widget's branch version \""+o+'" script')}));var i=!1,a={createWidget:function(e){if(i)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)}}(),i=!0,Mt.info("widget v1.28.1 initialized");var n=function(e){e.domain&&(Ft=e.domain);var t=e.stateStorage||"LOCAL_STORAGE";return Mt.debug("storage "+t+" initialized"),qt[t]}(e),r=t(e,n),o=oi({flow:r});return Object.assign({},r,o)},setLogLevel:Mt.setLevel,setBranch:ka};Object.defineProperty(window,"OneLogin",{value:Object.freeze(a),writable:!1,enumerable:!0}),null==window.olwAsync||window.olwAsync()}({createFlow:function(e,t){return"PKCE"===e.flow?sd(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<=os&&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},name:"FULL"})}));
//# sourceMappingURL=olwidget.js.map
