@formo/analytics 1.13.4-alpha.9 → 1.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/FormoAnalytics.d.ts +2 -2
- package/dist/cjs/src/FormoAnalytics.d.ts.map +1 -1
- package/dist/cjs/src/FormoAnalytics.js +63 -76
- package/dist/cjs/src/FormoAnalytics.js.map +1 -1
- package/dist/cjs/src/FormoAnalyticsEventQueue.d.ts +35 -0
- package/dist/cjs/src/FormoAnalyticsEventQueue.d.ts.map +1 -0
- package/dist/cjs/src/FormoAnalyticsEventQueue.js +272 -0
- package/dist/cjs/src/FormoAnalyticsEventQueue.js.map +1 -0
- package/dist/cjs/src/FormoAnalyticsProvider.d.ts.map +1 -1
- package/dist/cjs/src/FormoAnalyticsProvider.js +4 -12
- package/dist/cjs/src/FormoAnalyticsProvider.js.map +1 -1
- package/dist/cjs/src/constants/index.d.ts +1 -0
- package/dist/cjs/src/constants/index.d.ts.map +1 -1
- package/dist/cjs/src/constants/index.js +1 -0
- package/dist/cjs/src/constants/index.js.map +1 -1
- package/dist/cjs/src/constants/regex.d.ts +4 -0
- package/dist/cjs/src/constants/regex.d.ts.map +1 -0
- package/dist/cjs/src/constants/regex.js +7 -0
- package/dist/cjs/src/constants/regex.js.map +1 -0
- package/dist/cjs/src/lib/index.d.ts +1 -1
- package/dist/cjs/src/lib/index.d.ts.map +1 -1
- package/dist/cjs/src/lib/index.js +2 -2
- package/dist/cjs/src/lib/index.js.map +1 -1
- package/dist/cjs/src/lib/session-storage.d.ts +3 -3
- package/dist/cjs/src/lib/session-storage.d.ts.map +1 -1
- package/dist/cjs/src/lib/session-storage.js +4 -4
- package/dist/cjs/src/lib/session-storage.js.map +1 -1
- package/dist/cjs/src/lib/utils.d.ts +1 -0
- package/dist/cjs/src/lib/utils.d.ts.map +1 -1
- package/dist/cjs/src/lib/utils.js +4 -1
- package/dist/cjs/src/lib/utils.js.map +1 -1
- package/dist/cjs/src/types/base.d.ts +4 -0
- package/dist/cjs/src/types/base.d.ts.map +1 -1
- package/dist/cjs/src/types/events.d.ts +7 -0
- package/dist/cjs/src/types/events.d.ts.map +1 -1
- package/dist/cjs/src/types/events.js.map +1 -1
- package/dist/cjs/test/lib.spec.js +8 -0
- package/dist/cjs/test/lib.spec.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/src/FormoAnalytics.d.ts +2 -2
- package/dist/esm/src/FormoAnalytics.d.ts.map +1 -1
- package/dist/esm/src/FormoAnalytics.js +64 -74
- package/dist/esm/src/FormoAnalytics.js.map +1 -1
- package/dist/esm/src/FormoAnalyticsEventQueue.d.ts +35 -0
- package/dist/esm/src/FormoAnalyticsEventQueue.d.ts.map +1 -0
- package/dist/esm/src/FormoAnalyticsEventQueue.js +266 -0
- package/dist/esm/src/FormoAnalyticsEventQueue.js.map +1 -0
- package/dist/esm/src/FormoAnalyticsProvider.d.ts.map +1 -1
- package/dist/esm/src/FormoAnalyticsProvider.js +4 -12
- package/dist/esm/src/FormoAnalyticsProvider.js.map +1 -1
- package/dist/esm/src/constants/index.d.ts +1 -0
- package/dist/esm/src/constants/index.d.ts.map +1 -1
- package/dist/esm/src/constants/index.js +1 -0
- package/dist/esm/src/constants/index.js.map +1 -1
- package/dist/esm/src/constants/regex.d.ts +4 -0
- package/dist/esm/src/constants/regex.d.ts.map +1 -0
- package/dist/esm/src/constants/regex.js +4 -0
- package/dist/esm/src/constants/regex.js.map +1 -0
- package/dist/esm/src/lib/index.d.ts +1 -1
- package/dist/esm/src/lib/index.d.ts.map +1 -1
- package/dist/esm/src/lib/index.js +1 -1
- package/dist/esm/src/lib/index.js.map +1 -1
- package/dist/esm/src/lib/session-storage.d.ts +3 -3
- package/dist/esm/src/lib/session-storage.d.ts.map +1 -1
- package/dist/esm/src/lib/session-storage.js +4 -4
- package/dist/esm/src/lib/session-storage.js.map +1 -1
- package/dist/esm/src/lib/utils.d.ts +1 -0
- package/dist/esm/src/lib/utils.d.ts.map +1 -1
- package/dist/esm/src/lib/utils.js +2 -0
- package/dist/esm/src/lib/utils.js.map +1 -1
- package/dist/esm/src/types/base.d.ts +4 -0
- package/dist/esm/src/types/base.d.ts.map +1 -1
- package/dist/esm/src/types/events.d.ts +7 -0
- package/dist/esm/src/types/events.d.ts.map +1 -1
- package/dist/esm/src/types/events.js.map +1 -1
- package/dist/esm/test/lib.spec.js +9 -1
- package/dist/esm/test/lib.spec.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +4 -2
- package/src/FormoAnalytics.ts +63 -61
- package/src/FormoAnalyticsEventQueue.ts +282 -0
- package/src/FormoAnalyticsProvider.tsx +0 -8
- package/src/constants/index.ts +1 -0
- package/src/constants/regex.ts +3 -0
- package/src/lib/index.ts +1 -1
- package/src/lib/session-storage.ts +4 -4
- package/src/lib/utils.ts +4 -0
- package/src/types/base.ts +5 -0
- package/src/types/events.ts +15 -7
- package/test/lib.spec.ts +13 -1
package/dist/index.umd.min.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see index.umd.min.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("FormoAnalytics",[],t):"object"==typeof exports?exports.FormoAnalytics=t():e.FormoAnalytics=t()}(self,(()=>(()=>{"use strict";var e={20:(e,t,r)=>{var n=r(540),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,a={},u=null,l=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)o.call(t,n)&&!c.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:l,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},287:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,m={};function y(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||p}function g(){}function v(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||p}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=y.prototype;var E=v.prototype=new g;E.constructor=v,A(E,y.prototype),E.isPureReactComponent=!0;var b=Array.isArray,S=Object.prototype.hasOwnProperty,w={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,n){var i,a={},o=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)S.call(t,i)&&!C.hasOwnProperty(i)&&(a[i]=t[i]);var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];a.children=u}if(e&&e.defaultProps)for(i in c=e.defaultProps)void 0===a[i]&&(a[i]=c[i]);return{$$typeof:r,type:e,key:o,ref:s,props:a,_owner:w.current}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var R=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,i,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var c=!1;if(null===e)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case r:case n:c=!0}}if(c)return o=o(c=e),e=""===a?"."+P(c,0):a,b(o)?(i="",null!=e&&(i=e.replace(R,"$&/")+"/"),O(o,t,i,"",(function(e){return e}))):null!=o&&(T(o)&&(o=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,i+(!o.key||c&&c.key===o.key?"":(""+o.key).replace(R,"$&/")+"/")+e)),t.push(o)),1;if(c=0,a=""===a?".":a+":",b(e))for(var u=0;u<e.length;u++){var l=a+P(s=e[u],u);c+=O(s,t,i,l,o)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof l)for(e=l.call(e),u=0;!(s=e.next()).done;)c+=O(s=s.value,t,i,l=a+P(s,u++),o);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function M(e,t,r){if(null==e)return e;var n=[],i=0;return O(e,n,"","",(function(e){return t.call(r,e,i++)})),n}function U(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},I={transition:null},k={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:I,ReactCurrentOwner:w};function j(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:M,forEach:function(e,t,r){M(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return M(e,(function(){t++})),t},toArray:function(e){return M(e,(function(e){return e}))||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=i,t.Profiler=o,t.PureComponent=v,t.StrictMode=a,t.Suspense=l,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=k,t.act=j,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=A({},e.props),a=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)S.call(t,u)&&!C.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){c=Array(u);for(var l=0;l<u;l++)c[l]=arguments[l+2];i.children=c}return{$$typeof:r,type:e.type,key:a,ref:o,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=T,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:U}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},t.unstable_act=j,t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,r){return N.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,r){return N.current.useReducer(e,t,r)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return N.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return N.current.useTransition()},t.version="18.3.1"},540:(e,t,r)=>{e.exports=r(287)},848:(e,t,r)=>{e.exports=r(20)},879:function(e,t,r){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}},o=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FormoAnalytics=void 0;var c=s(r(425)),u=r(228),l=r(450),d=r(574),f=r(568),h=r(450),p=function(){function e(e,t){var r;void 0===t&&(t={}),this.apiKey=e,this.options=t,this._providerListeners={},this.sessionIdentified=!1,this.config={apiKey:e,trackLocalhost:t.trackLocalhost},this.sessionIdentified=null!==(r=f.formoSessionStorage.getItem(h.SESSION_IDENTIFIED_KEY))&&void 0!==r&&r;var n=t.provider||(null===window||void 0===window?void 0:window.ethereum);n&&this.trackProvider(n),this.trackFirstPageHit(),this.trackPageHits()}return e.init=function(t,r){return i(this,void 0,void 0,(function(){var n,i;return a(this,(function(a){switch(a.label){case 0:return[4,(n=new e(t,r)).getProviders()];case 1:return i=a.sent(),[4,n.identifyAll(i)];case 2:return a.sent(),[2,n]}}))}))},e.prototype.page=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.trackPageHit()];case 1:return e.sent(),[2]}}))}))},e.prototype.connect=function(e){return i(this,arguments,void 0,(function(e){var t=e.chainId,r=e.address;return a(this,(function(e){switch(e.label){case 0:if(!t)throw new Error("FormoAnalytics::connect: chain ID cannot be empty");if(!r)throw new Error("FormoAnalytics::connect: address cannot be empty");return this.currentChainId=t,this.currentConnectedAddress=r,[4,this.trackEvent(l.Event.CONNECT,{chainId:t,address:r})];case 1:return e.sent(),[2]}}))}))},e.prototype.disconnect=function(e){return i(this,void 0,void 0,(function(){var t,r;return a(this,(function(n){switch(n.label){case 0:return t=(null==e?void 0:e.address)||this.currentConnectedAddress,r=(null==e?void 0:e.chainId)||this.currentChainId,[4,this.handleDisconnect(r,t)];case 1:return n.sent(),[2]}}))}))},e.prototype.chain=function(e){return i(this,arguments,void 0,(function(e){var t=e.chainId,r=e.address;return a(this,(function(e){switch(e.label){case 0:if(!t||0===Number(t))throw new Error("FormoAnalytics::chain: chainId cannot be empty or 0");if(isNaN(Number(t)))throw new Error("FormoAnalytics::chain: chainId must be a valid decimal number");if(!r&&!this.currentConnectedAddress)throw new Error("FormoAnalytics::chain: address was empty and no previous address has been recorded");return this.currentChainId=t,[4,this.trackEvent(l.Event.CHAIN_CHANGED,{chainId:t,address:r||this.currentConnectedAddress})];case 1:return e.sent(),[2]}}))}))},e.prototype.signature=function(e){return i(this,arguments,void 0,(function(e){var t=e.status,r=e.chainId,i=e.address,o=e.message,s=e.signatureHash;return a(this,(function(e){switch(e.label){case 0:return[4,this.trackEvent(l.Event.SIGNATURE,n({status:t,chainId:r,address:i,message:o},s&&{signatureHash:s}))];case 1:return e.sent(),[2]}}))}))},e.prototype.transaction=function(e){return i(this,arguments,void 0,(function(e){var t=e.status,r=e.chainId,i=e.address,o=e.data,s=e.to,c=e.value,u=e.transactionHash;return a(this,(function(e){switch(e.label){case 0:return[4,this.trackEvent(l.Event.TRANSACTION,n({status:t,chainId:r,address:i,data:o,to:s,value:c},u&&{transactionHash:u}))];case 1:return e.sent(),[2]}}))}))},e.prototype.identify=function(e){return i(this,arguments,void 0,(function(e){var t=e.address,r=e.providerName,n=e.rdns;return a(this,(function(e){switch(e.label){case 0:return!1!==this.sessionIdentified?[3,2]:(this.sessionIdentified=!0,f.formoSessionStorage.setItem(h.SESSION_IDENTIFIED_KEY,!0),[4,this.trackEvent(l.Event.IDENTIFY,{address:t,providerName:r,rdns:n})]);case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},e.prototype.track=function(e,t){return i(this,void 0,void 0,(function(){return a(this,(function(r){switch(r.label){case 0:return[4,this.trackEvent(e,t)];case 1:return r.sent(),[2]}}))}))},e.prototype.trackProvider=function(e){if(e!==this._provider){if(this.currentChainId=void 0,this.currentConnectedAddress=void 0,this._provider)for(var t=0,r=Object.keys(this._providerListeners);t<r.length;t++){var n=r[t];this._provider.removeListener(n,this._providerListeners[n]),delete this._providerListeners[n]}this._provider=e,this.registerAddressChangedListener(),this.registerChainChangedListener(),this.registerSignatureListener(),this.registerTransactionListener()}else console.log("Provider already tracked.")},e.prototype.registerAddressChangedListener=function(){var e,t,r=this,n=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.onAddressChanged(e[0])};null===(e=this._provider)||void 0===e||e.on("accountsChanged",n),this._providerListeners.accountsChanged=n;var i=this.onAddressDisconnected.bind(this);null===(t=this._provider)||void 0===t||t.on("disconnect",i),this._providerListeners.disconnect=i},e.prototype.registerChainChangedListener=function(){var e,t=this,r=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.onChainChanged(e[0])};null===(e=this.provider)||void 0===e||e.on("chainChanged",r),this._providerListeners.chainChanged=r},e.prototype.registerSignatureListener=function(){var e,t=this;if(this.provider)if(!1!==(null===(e=Object.getOwnPropertyDescriptor(this.provider,"request"))||void 0===e?void 0:e.writable)){var r=this.provider.request.bind(this.provider);this.provider.request=function(e){return i(t,[e],void 0,(function(e){var t,i,o,s=e.method,c=e.params;return a(this,(function(e){switch(e.label){case 0:if(!Array.isArray(c)||!["eth_signTypedData_v4","personal_sign"].includes(s))return[3,4];this.signature(n({status:d.SignatureStatus.REQUESTED},this.buildSignatureEventPayload(s,c))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r({method:s,params:c})];case 2:return(t=e.sent())&&this.signature(n({status:d.SignatureStatus.CONFIRMED},this.buildSignatureEventPayload(s,c,t))),[2,t];case 3:throw i=e.sent(),(o=i)&&4001===(null==o?void 0:o.code)&&this.signature(n({status:d.SignatureStatus.REJECTED},this.buildSignatureEventPayload(s,c))),i;case 4:return[2,r({method:s,params:c})]}}))}))}}else console.warn("_trackSigning: provider.request is not writable");else console.error("_trackSigning: provider not found")},e.prototype.registerTransactionListener=function(){var e,t=this;if(this.provider)if(!1!==(null===(e=Object.getOwnPropertyDescriptor(this.provider,"request"))||void 0===e?void 0:e.writable)){var r=this.provider.request.bind(this.provider);this.provider.request=function(e){return i(t,[e],void 0,(function(e){var t,i,o,s,c=e.method,u=e.params;return a(this,(function(e){switch(e.label){case 0:return Array.isArray(u)&&"eth_sendTransaction"===c&&u[0]?[4,this.buildTransactionEventPayload(u)]:[3,5];case 1:t=e.sent(),this.transaction(n({status:d.TransactionStatus.STARTED},t)),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,r({method:c,params:u})];case 3:return i=e.sent(),this.transaction(n(n({status:d.TransactionStatus.BROADCASTED},t),{transactionHash:i})),[2];case 4:throw o=e.sent(),console.log("transaction listener catch"),console.log(o),(s=o)&&4001===(null==s?void 0:s.code)&&this.transaction(n({status:d.TransactionStatus.REJECTED},t)),o;case 5:return[2,r({method:c,params:u})]}}))}))}}else console.warn("_trackTransactions: provider.request is not writable");else console.error("_trackTransactions: provider not found")},e.prototype.onAddressChanged=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return e.length>0?this.onAddressConnected(e[0]):this.onAddressDisconnected(),[2]}))}))},e.prototype.onAddressConnected=function(e){return i(this,void 0,void 0,(function(){var t;return a(this,(function(r){switch(r.label){case 0:return e===this.currentConnectedAddress?[2]:(this.currentConnectedAddress=e,t=this,[4,this.getCurrentChainId()]);case 1:return t.currentChainId=r.sent(),this.connect({chainId:this.currentChainId,address:e}),[2]}}))}))},e.prototype.handleDisconnect=function(e,t){return i(this,void 0,void 0,(function(){var r;return a(this,(function(n){switch(n.label){case 0:return r={chain_id:e||this.currentChainId,address:t||this.currentConnectedAddress},this.currentChainId=void 0,this.currentConnectedAddress=void 0,[4,this.trackEvent(l.Event.DISCONNECT,r)];case 1:return n.sent(),[2]}}))}))},e.prototype.onAddressDisconnected=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.handleDisconnect(this.currentChainId,this.currentConnectedAddress)];case 1:return e.sent(),[2]}}))}))},e.prototype.onChainChanged=function(e){return i(this,void 0,void 0,(function(){var t;return a(this,(function(r){switch(r.label){case 0:return this.currentChainId=parseInt(e),this.currentConnectedAddress?[3,2]:this.provider?[4,this.getAddress()]:(console.log("FormoAnalytics::onChainChanged: provider not found. CHAIN_CHANGED not reported"),[2,Promise.resolve()]);case 1:if(!(t=r.sent()))return console.log("FormoAnalytics::onChainChanged: Unable to fetch or store connected address"),[2,Promise.resolve()];this.currentConnectedAddress=t,r.label=2;case 2:return this.currentConnectedAddress?[2,this.chain({chainId:this.currentChainId,address:this.currentConnectedAddress})]:(console.log("FormoAnalytics::onChainChanged: currentConnectedAddress is null despite fetch attempt"),[2])}}))}))},e.prototype.trackFirstPageHit=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){return null===f.formoSessionStorage.getItem(l.CURRENT_URL_KEY)&&f.formoSessionStorage.setItem(l.CURRENT_URL_KEY,window.location.href),[2,this.trackPageHit()]}))}))},e.prototype.trackPageHits=function(){return i(this,void 0,void 0,(function(){var e,t,r=this;return a(this,(function(n){return e=history.pushState,history.pushState=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=e.apply(this,t);return window.dispatchEvent(new window.Event("locationchange")),n},t=history.replaceState,history.replaceState=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e);return window.dispatchEvent(new window.Event("locationchange")),n},window.addEventListener("popstate",(function(){return r.onLocationChange()})),window.addEventListener("locationchange",(function(){return r.onLocationChange()})),[2]}))}))},e.prototype.onLocationChange=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){return f.formoSessionStorage.getItem(l.CURRENT_URL_KEY)!==window.location.href&&(f.formoSessionStorage.setItem(l.CURRENT_URL_KEY,window.location.href),this.trackPageHit()),[2]}))}))},e.prototype.trackPageHit=function(){var e=this,t=window.location.pathname,r=window.location.href,n=window.location.hash;if(!this.config.trackLocalhost&&(0,f.isLocalhost)())return console.warn("[Formo] Ignoring event because website is running locally");setTimeout((function(){return i(e,void 0,void 0,(function(){return a(this,(function(e){return this.trackEvent(l.Event.PAGE,{pathname:t,href:r,hash:n}),[2]}))}))}),300)},e.prototype.trackEvent=function(e,t){return i(this,void 0,void 0,(function(){var r,n,i,o,s;return a(this,(function(a){switch(a.label){case 0:return[4,this.getAddress()];case 1:return r=a.sent(),s={address:r,timestamp:(new Date).toISOString(),action:e,version:"1"},[4,this.buildEventPayload((0,f.toSnakeCase)(t))];case 2:s.payload=a.sent(),n=s,a.label=3;case 3:return a.trys.push([3,5,,6]),[4,c.default.post(l.EVENTS_API_URL,JSON.stringify(n),{headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(this.config.apiKey)}})];case 4:if(!((i=a.sent()).status>=200&&i.status<300))throw new Error("Failed with status: ".concat(i.status));return console.log("Event sent successfully: ".concat(this.getActionDescriptor(e,t))),[3,6];case 5:return o=a.sent(),console.error('Event "'.concat(e,'" failed. Error: ').concat(o)),[3,6];case 6:return[2]}}))}))},e.prototype.getProviders=function(){return i(this,void 0,void 0,(function(){var e,t;return a(this,(function(r){return e=(0,u.createStore)(),0===(t=o([],e.getProviders(),!0)).length?[2,[null===window||void 0===window?void 0:window.ethereum]]:[2,t]}))}))},e.prototype.identifyAll=function(e){return i(this,void 0,void 0,(function(){var t,r,n,i,o,s,c,u,l,d;return a(this,(function(a){switch(a.label){case 0:t=0,r=e,a.label=1;case 1:if(!(t<r.length))return[3,13];n=r[t],i=n.provider,o=n.info,a.label=2;case 2:return a.trys.push([2,11,,12]),[4,this.getAccounts(i)];case 3:if(!((s=a.sent())&&s.length>0))return[3,8];c=0,u=s,a.label=4;case 4:return c<u.length?(l=u[c],[4,this.identify({address:l,providerName:o.name,rdns:o.rdns})]):[3,7];case 5:a.sent(),a.label=6;case 6:return c++,[3,4];case 7:return[3,10];case 8:return[4,this.identify({address:null,providerName:o.name,rdns:o.rdns})];case 9:a.sent(),a.label=10;case 10:return[3,12];case 11:return d=a.sent(),console.log("identifying all => err",d),[3,12];case 12:return t++,[3,1];case 13:return[2]}}))}))},Object.defineProperty(e.prototype,"provider",{get:function(){return this._provider},enumerable:!1,configurable:!0}),e.prototype.getAddress=function(){return i(this,void 0,void 0,(function(){var e,t;return a(this,(function(r){switch(r.label){case 0:if(this.currentConnectedAddress)return[2,this.currentConnectedAddress];if(!this.provider)return console.log("FormoAnalytics::getAddress: the provider is not set"),[2,null];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.getAccounts()];case 2:return(e=r.sent())&&e.length>0?[2,e[0]]:[3,4];case 3:return t=r.sent(),console.log("Failed to fetch accounts from provider:",t),[2,null];case 4:return[2,null]}}))}))},e.prototype.getAccounts=function(e){return i(this,void 0,void 0,(function(){var t,r,n;return a(this,(function(i){switch(i.label){case 0:t=e||this.provider,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,null==t?void 0:t.request({method:"eth_accounts"})];case 2:return(r=i.sent())&&0!==r.length?[2,r]:[2,null];case 3:return 4001!==(n=i.sent()).code&&console.log("FormoAnalytics::getAccounts: eth_accounts threw an error",n),[2,null];case 4:return[2]}}))}))},e.prototype.getCurrentChainId=function(){return i(this,void 0,void 0,(function(){var e,t,r;return a(this,(function(n){switch(n.label){case 0:this.provider||console.error("FormoAnalytics::getCurrentChainId: provider not set"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,null===(r=this.provider)||void 0===r?void 0:r.request({method:"eth_chainId"})];case 2:return(e=n.sent())?[2,parseInt(e,16)]:(console.log("FormoAnalytics::fetchChainId: chain id not found"),[2,0]);case 3:return t=n.sent(),console.log("FormoAnalytics::fetchChainId: eth_chainId threw an error",t),[2,0];case 4:return[2]}}))}))},e.prototype.getLocation=function(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;return e in l.COUNTRY_LIST?l.COUNTRY_LIST[e]:e}catch(e){return console.error("Error resolving timezone:",e),""}},e.prototype.getLanguage=function(){try{return(navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language)||"en"}catch(e){return console.error("Error resolving language:",e),"en"}},e.prototype.buildEventPayload=function(){return i(this,arguments,void 0,(function(e){var t,r,i,o;return void 0===e&&(e={}),a(this,(function(a){return t=new URL(window.location.href),r=new URLSearchParams(t.search),i=this.getLocation(),o=this.getLanguage(),[2,n({"user-agent":window.navigator.userAgent,origin:t.origin,locale:o,location:i,referrer:document.referrer,utm_source:r.get("utm_source"),utm_medium:r.get("utm_medium"),utm_campaign:r.get("utm_campaign"),ref:r.get("ref")},e)]}))}))},e.prototype.buildSignatureEventPayload=function(e,t,r){var i={chainId:this.currentChainId,address:"personal_sign"===e?t[1]:t[0]};if("personal_sign"===e){var a=Buffer.from(t[0].slice(2),"hex").toString("utf8");return n(n(n({},i),{message:a}),r?{signatureHash:r}:{})}return n(n(n({},i),{message:t[1]}),r?{signatureHash:r}:{})},e.prototype.buildTransactionEventPayload=function(e){return i(this,void 0,void 0,(function(){var t,r,n,i,o,s,c;return a(this,(function(a){switch(a.label){case 0:return t=e[0],r=t.data,n=t.from,i=t.to,o=t.value,c={},(s=this.currentChainId)?[3,2]:[4,this.getCurrentChainId()];case 1:s=a.sent(),a.label=2;case 2:return[2,(c.chainId=s,c.data=r,c.address=n,c.to=i,c.value=o,c)]}}))}))},e.prototype.getActionDescriptor=function(e,t){return"".concat(e).concat(t.status?" ".concat(t.status):"")},e}();t.FormoAnalytics=p},190:function(e,t,r){var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(e){a(e)}}function s(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.useFormoAnalytics=t.FormoAnalyticsProvider=t.FormoAnalyticsContext=void 0;var o=r(848),s=r(540),c=r(879);t.FormoAnalyticsContext=(0,s.createContext)(void 0),t.FormoAnalyticsProvider=function(e){var t=e.apiKey,r=e.disabled,i=e.children;return t?r?(console.warn("FormoAnalytics is disabled"),i):(0,o.jsx)(u,n({},e)):(console.error("FormoAnalyticsProvider: No API key provided"),i)};var u=function(e){var r=e.apiKey,n=e.options,u=e.children,l=(0,s.useState)(),d=l[0],f=l[1],h=(0,s.useState)(!1),p=h[0],A=h[1],m=(0,s.useRef)(!1),y=function(e,t){return i(void 0,void 0,void 0,(function(){var r,n;return a(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,3,4]),[4,c.FormoAnalytics.init(e,t)];case 1:return r=i.sent(),f(r),console.log("FormoAnalytics SDK initialized successfully"),[3,4];case 2:return n=i.sent(),console.error("Failed to initialize FormoAnalytics SDK",n),[3,4];case 3:return A(!0),[7];case 4:return[2]}}))}))};return(0,s.useEffect)((function(){i(void 0,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return m.current?[2]:(m.current=!0,[4,y(r,n)]);case 1:return e.sent(),[2]}}))}))}),[r,n]),p?(0,o.jsx)(t.FormoAnalyticsContext.Provider,{value:d,children:u}):(0,o.jsx)("div",{children:"Loading analytics..."})};t.useFormoAnalytics=function(){var e=(0,s.useContext)(t.FormoAnalyticsContext);return e||console.warn("useFormoAnalytics called without a valid context"),e}},921:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_IDENTIFIED_KEY=t.SESSION_PREFIX=void 0,t.SESSION_PREFIX="f0-",t.SESSION_IDENTIFIED_KEY=t.SESSION_PREFIX+"session_identified"},358:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.COUNTRY_LIST=t.CURRENT_URL_KEY=t.EVENTS_API_URL=void 0,t.EVENTS_API_URL="https://events.formo.so/events",t.CURRENT_URL_KEY="formo-analytics-current-url",t.COUNTRY_LIST={"Africa/Abidjan":"CI","Africa/Accra":"GH","Africa/Addis_Ababa":"ET","Africa/Algiers":"DZ","Africa/Asmara":"ER","Africa/Asmera":"ER","Africa/Bamako":"ML","Africa/Bangui":"CF","Africa/Banjul":"GM","Africa/Bissau":"GW","Africa/Blantyre":"MW","Africa/Brazzaville":"CG","Africa/Bujumbura":"BI","Africa/Cairo":"EG","Africa/Casablanca":"MA","Africa/Ceuta":"ES","Africa/Conakry":"GN","Africa/Dakar":"SN","Africa/Dar_es_Salaam":"TZ","Africa/Djibouti":"DJ","Africa/Douala":"CM","Africa/El_Aaiun":"EH","Africa/Freetown":"SL","Africa/Gaborone":"BW","Africa/Harare":"ZW","Africa/Johannesburg":"ZA","Africa/Juba":"SS","Africa/Kampala":"UG","Africa/Khartoum":"SD","Africa/Kigali":"RW","Africa/Kinshasa":"CD","Africa/Lagos":"NG","Africa/Libreville":"GA","Africa/Lome":"TG","Africa/Luanda":"AO","Africa/Lubumbashi":"CD","Africa/Lusaka":"ZM","Africa/Malabo":"GQ","Africa/Maputo":"MZ","Africa/Maseru":"LS","Africa/Mbabane":"SZ","Africa/Mogadishu":"SO","Africa/Monrovia":"LR","Africa/Nairobi":"KE","Africa/Ndjamena":"TD","Africa/Niamey":"NE","Africa/Nouakchott":"MR","Africa/Ouagadougou":"BF","Africa/Porto-Novo":"BJ","Africa/Sao_Tome":"ST","Africa/Timbuktu":"ML","Africa/Tripoli":"LY","Africa/Tunis":"TN","Africa/Windhoek":"NA","America/Adak":"US","America/Anchorage":"US","America/Anguilla":"AI","America/Antigua":"AG","America/Araguaina":"BR","America/Argentina/Buenos_Aires":"AR","America/Argentina/Catamarca":"AR","America/Argentina/ComodRivadavia":"AR","America/Argentina/Cordoba":"AR","America/Argentina/Jujuy":"AR","America/Argentina/La_Rioja":"AR","America/Argentina/Mendoza":"AR","America/Argentina/Rio_Gallegos":"AR","America/Argentina/Salta":"AR","America/Argentina/San_Juan":"AR","America/Argentina/San_Luis":"AR","America/Argentina/Tucuman":"AR","America/Argentina/Ushuaia":"AR","America/Aruba":"AW","America/Asuncion":"PY","America/Atikokan":"CA","America/Atka":"US","America/Bahia":"BR","America/Bahia_Banderas":"MX","America/Barbados":"BB","America/Belem":"BR","America/Belize":"BZ","America/Blanc-Sablon":"CA","America/Boa_Vista":"BR","America/Bogota":"CO","America/Boise":"US","America/Buenos_Aires":"AR","America/Cambridge_Bay":"CA","America/Campo_Grande":"BR","America/Cancun":"MX","America/Caracas":"VE","America/Catamarca":"AR","America/Cayenne":"GF","America/Cayman":"KY","America/Chicago":"US","America/Chihuahua":"MX","America/Ciudad_Juarez":"MX","America/Coral_Harbour":"CA","America/Cordoba":"AR","America/Costa_Rica":"CR","America/Creston":"CA","America/Cuiaba":"BR","America/Curacao":"CW","America/Danmarkshavn":"GL","America/Dawson":"CA","America/Dawson_Creek":"CA","America/Denver":"US","America/Detroit":"US","America/Dominica":"DM","America/Edmonton":"CA","America/Eirunepe":"BR","America/El_Salvador":"SV","America/Ensenada":"MX","America/Fort_Nelson":"CA","America/Fort_Wayne":"US","America/Fortaleza":"BR","America/Glace_Bay":"CA","America/Godthab":"GL","America/Goose_Bay":"CA","America/Grand_Turk":"TC","America/Grenada":"GD","America/Guadeloupe":"GP","America/Guatemala":"GT","America/Guayaquil":"EC","America/Guyana":"GY","America/Halifax":"CA","America/Havana":"CU","America/Hermosillo":"MX","America/Indiana/Indianapoli":"US","America/Indiana/Knox":"US","America/Indiana/Marengo":"US","America/Indiana/Petersburg":"US","America/Indiana/Tell_City":"US","America/Indiana/Vevay":"US","America/Indiana/Vincennes":"US","America/Indiana/Winamac":"US","America/Indianapoli":"US","America/Inuvik":"CA","America/Iqaluit":"CA","America/Jamaica":"JM","America/Jujuy":"AR","America/Juneau":"US","America/Kentucky/Louisville":"US","America/Kentucky/Monticello":"US","America/Knox_IN":"US","America/Kralendijk":"BQ","America/La_Paz":"BO","America/Lima":"PE","America/Los_Angeles":"US","America/Louisville":"US","America/Lower_Princes":"SX","America/Maceio":"BR","America/Managua":"NI","America/Manaus":"BR","America/Marigot":"MF","America/Martinique":"MQ","America/Matamoros":"MX","America/Mazatlan":"MX","America/Mendoza":"AR","America/Menominee":"US","America/Merida":"MX","America/Metlakatla":"US","America/Mexico_City":"MX","America/Miquelon":"PM","America/Moncton":"CA","America/Monterrey":"MX","America/Montevideo":"UY","America/Montreal":"CA","America/Montserrat":"MS","America/Nassau":"BS","America/New_York":"US","America/Nipigon":"CA","America/Nome":"US","America/Noronha":"BR","America/North_Dakota/Beulah":"US","America/North_Dakota/Center":"US","America/North_Dakota/New_Salem":"US","America/Nuuk":"GL","America/Ojinaga":"MX","America/Panama":"PA","America/Pangnirtung":"CA","America/Paramaribo":"SR","America/Phoenix":"US,CA","America/Port-au-Prince":"HT","America/Port_of_Spain":"TT","America/Porto_Acre":"BR","America/Porto_Velho":"BR","America/Puerto_Rico":"PR","America/Punta_Arenas":"CL","America/Rainy_River":"CA","America/Rankin_Inlet":"CA","America/Recife":"BR","America/Regina":"CA","America/Resolute":"CA","America/Rio_Branco":"BR","America/Rosario":"AR","America/Santa_Isabel":"MX","America/Santarem":"BR","America/Santiago":"CL","America/Santo_Domingo":"DO","America/Sao_Paulo":"BR","America/Scoresbysund":"GL","America/Shiprock":"US","America/Sitka":"US","America/St_Barthelemy":"BL","America/St_Johns":"CA","America/St_Kitts":"KN","America/St_Lucia":"LC","America/St_Thomas":"VI","America/St_Vincent":"VC","America/Swift_Current":"CA","America/Tegucigalpa":"HN","America/Thule":"GL","America/Thunder_Bay":"CA","America/Tijuana":"MX","America/Toronto":"CA","America/Tortola":"VG","America/Vancouver":"CA","America/Virgin":"VI","America/Whitehorse":"CA","America/Winnipeg":"CA","America/Yakutat":"US","America/Yellowknife":"CA","Antarctica/Casey":"AQ","Antarctica/Davis":"AQ","Antarctica/DumontDUrville":"AQ","Antarctica/Macquarie":"AU","Antarctica/Mawson":"AQ","Antarctica/McMurdo":"AQ","Antarctica/Palmer":"AQ","Antarctica/Rothera":"AQ","Antarctica/South_Pole":"AQ","Antarctica/Syowa":"AQ","Antarctica/Troll":"AQ","Antarctica/Vostok":"AQ","Arctic/Longyearbyen":"SJ","Asia/Aden":"YE","Asia/Almaty":"KZ","Asia/Amman":"JO","Asia/Anadyr":"RU","Asia/Aqtau":"KZ","Asia/Aqtobe":"KZ","Asia/Ashgabat":"TM","Asia/Ashkhabad":"TM","Asia/Atyrau":"KZ","Asia/Baghdad":"IQ","Asia/Bahrain":"BH","Asia/Baku":"AZ","Asia/Bangkok":"TH","Asia/Barnaul":"RU","Asia/Beirut":"LB","Asia/Bishkek":"KG","Asia/Brunei":"BN","Asia/Calcutta":"IN","Asia/Chita":"RU","Asia/Choibalsan":"MN","Asia/Chongqing":"CN","Asia/Chungking":"CN","Asia/Colombo":"LK","Asia/Dacca":"BD","Asia/Damascus":"SY","Asia/Dhaka":"BD","Asia/Dili":"TL","Asia/Dubai":"AE","Asia/Dushanbe":"TJ","Asia/Famagusta":"CY","Asia/Gaza":"PS","Asia/Harbin":"CN","Asia/Hebron":"PS","Asia/Ho_Chi_Minh":"VN","Asia/Hong_Kong":"HK","Asia/Hovd":"MN","Asia/Irkutsk":"RU","Asia/Istanbul":"TR","Asia/Jakarta":"ID","Asia/Jayapura":"ID","Asia/Jerusalem":"IL","Asia/Kabul":"AF","Asia/Kamchatka":"RU","Asia/Karachi":"PK","Asia/Kashgar":"CN","Asia/Kathmandu":"NP","Asia/Katmandu":"NP","Asia/Khandyga":"RU","Asia/Kolkata":"IN","Asia/Krasnoyarsk":"RU","Asia/Kuala_Lumpur":"MY","Asia/Kuching":"MY","Asia/Kuwait":"KW","Asia/Macao":"MO","Asia/Macau":"MO","Asia/Magadan":"RU","Asia/Makassar":"ID","Asia/Manila":"PH","Asia/Muscat":"OM","Asia/Nicosia":"CY","Asia/Novokuznetsk":"RU","Asia/Novosibirsk":"RU","Asia/Omsk":"RU","Asia/Oral":"KZ","Asia/Phnom_Penh":"KH","Asia/Pontianak":"ID","Asia/Pyongyang":"KP","Asia/Qatar":"QA","Asia/Qostanay":"KZ","Asia/Qyzylorda":"KZ","Asia/Rangoon":"MM","Asia/Riyadh":"SA","Asia/Saigon":"VN","Asia/Sakhalin":"RU","Asia/Samarkand":"UZ","Asia/Seoul":"KR","Asia/Shanghai":"CN","Asia/Singapore":"SG","Asia/Srednekolymsk":"RU","Asia/Taipei":"TW","Asia/Tashkent":"UZ","Asia/Tbilisi":"GE","Asia/Tehran":"IR","Asia/Tel_Aviv":"IL","Asia/Thimbu":"BT","Asia/Thimphu":"BT","Asia/Tokyo":"JP","Asia/Tomsk":"RU","Asia/Ujung_Pandang":"ID","Asia/Ulaanbaatar":"MN","Asia/Ulan_Bator":"MN","Asia/Urumqi":"CN","Asia/Ust-Nera":"RU","Asia/Vientiane":"LA","Asia/Vladivostok":"RU","Asia/Yakutsk":"RU","Asia/Yangon":"MM","Asia/Yekaterinburg":"RU","Asia/Yerevan":"AM","Atlantic/Azores":"PT","Atlantic/Bermuda":"BM","Atlantic/Canary":"ES","Atlantic/Cape_Verde":"CV","Atlantic/Faeroe":"FO","Atlantic/Faroe":"FO","Atlantic/Jan_Mayen":"SJ","Atlantic/Madeira":"PT","Atlantic/Reykjavik":"IS","Atlantic/South_Georgia":"GS","Atlantic/St_Helena":"SH","Atlantic/Stanley":"FK","Australia/ACT":"AU","Australia/Adelaide":"AU","Australia/Brisbane":"AU","Australia/Broken_Hill":"AU","Australia/Canberra":"AU","Australia/Currie":"AU","Australia/Darwin":"AU","Australia/Eucla":"AU","Australia/Hobart":"AU","Australia/LHI":"AU","Australia/Lindeman":"AU","Australia/Lord_Howe":"AU","Australia/Melbourne":"AU","Australia/North":"AU","Australia/NSW":"AU","Australia/Perth":"AU","Australia/Queensland":"AU","Australia/South":"AU","Australia/Sydney":"AU","Australia/Tasmania":"AU","Australia/Victoria":"AU","Australia/West":"AU","Australia/Yancowinna":"AU","Brazil/Acre":"BR","Brazil/DeNoronha":"BR","Brazil/East":"BR","Brazil/West":"BR","Canada/Atlantic":"CA","Canada/Central":"CA","Canada/Eastern":"CA","Canada/Mountain":"CA","Canada/Newfoundland":"CA","Canada/Pacific":"CA","Canada/Saskatchewan":"CA","Canada/Yukon":"CA",CET:"CET","Chile/Continental":"CL","Chile/EasterIsland":"CL",CST6CDT:"CST6CDT",Cuba:"CU",EET:"EET",Egypt:"EG",Eire:"IE",EST:"EST",EST5EDT:"EST5EDT","Etc/GMT":"Etc/GMT","Etc/GMT+0":"Etc/GMT+0","Etc/GMT+1":"Etc/GMT+1","Etc/GMT+10":"Etc/GMT+10","Etc/GMT+11":"Etc/GMT+11","Etc/GMT+12":"Etc/GMT+12","Etc/GMT+2":"Etc/GMT+2","Etc/GMT+3":"Etc/GMT+3","Etc/GMT+4":"Etc/GMT+4","Etc/GMT+5":"Etc/GMT+5","Etc/GMT+6":"Etc/GMT+6","Etc/GMT+7":"Etc/GMT+7","Etc/GMT+8":"Etc/GMT+8","Etc/GMT+9":"Etc/GMT+9","Etc/GMT-0":"Etc/GMT-0","Etc/GMT-1":"Etc/GMT-1","Etc/GMT-10":"Etc/GMT-10","Etc/GMT-11":"Etc/GMT-11","Etc/GMT-12":"Etc/GMT-12","Etc/GMT-13":"Etc/GMT-13","Etc/GMT-14":"Etc/GMT-14","Etc/GMT-2":"Etc/GMT-2","Etc/GMT-3":"Etc/GMT-3","Etc/GMT-4":"Etc/GMT-4","Etc/GMT-5":"Etc/GMT-5","Etc/GMT-6":"Etc/GMT-6","Etc/GMT-7":"Etc/GMT-7","Etc/GMT-8":"Etc/GMT-8","Etc/GMT-9":"Etc/GMT-9","Etc/GMT0":"Etc/GMT0","Etc/Greenwich":"Etc/Greenwich","Etc/UCT":"Etc/UCT","Etc/UTC":"Etc/UTC","Etc/Universal":"Etc/Universal","Etc/Zulu":"Etc/Zulu","Europe/Amsterdam":"NL","Europe/Andorra":"AD","Europe/Astrakhan":"RU","Europe/Athens":"GR","Europe/Belfast":"GB","Europe/Belgrade":"RS","Europe/Berlin":"DE","Europe/Bratislava":"SK","Europe/Brussels":"BE","Europe/Bucharest":"RO","Europe/Budapest":"HU","Europe/Busingen":"DE","Europe/Chisinau":"MD","Europe/Copenhagen":"DK","Europe/Dublin":"IE","Europe/Gibraltar":"GI","Europe/Guernsey":"GG","Europe/Helsinki":"FI","Europe/Isle_of_Man":"IM","Europe/Istanbul":"TR","Europe/Jersey":"JE","Europe/Kaliningrad":"RU","Europe/Kiev":"UA","Europe/Kirov":"RU","Europe/Kyiv":"UA","Europe/Lisbon":"PT","Europe/Ljubljana":"SI","Europe/London":"GB","Europe/Luxembourg":"LU","Europe/Madrid":"ES","Europe/Malta":"MT","Europe/Mariehamn":"AX","Europe/Minsk":"BY","Europe/Monaco":"MC","Europe/Moscow":"RU","Europe/Nicosia":"CY","Europe/Oslo":"NO","Europe/Paris":"FR","Europe/Podgorica":"ME","Europe/Prague":"CZ","Europe/Riga":"LV","Europe/Rome":"IT","Europe/Samara":"RU","Europe/San_Marino":"SM","Europe/Sarajevo":"BA","Europe/Saratov":"RU","Europe/Simferopol":"RU","Europe/Skopje":"MK","Europe/Sofia":"BG","Europe/Stockholm":"SE","Europe/Tallinn":"EE","Europe/Tirane":"AL","Europe/Tiraspol":"MD","Europe/Ulyanovsk":"RU","Europe/Uzhgorod":"UA","Europe/Vaduz":"LI","Europe/Vatican":"VA","Europe/Vienna":"AT","Europe/Vilnius":"LT","Europe/Volgograd":"RU","Europe/Warsaw":"PL","Europe/Zagreb":"HR","Europe/Zaporozhye":"UA","Europe/Zurich":"CH",Factory:"Factory",GB:"GB","GB-Eire":"GB",GMT:"GMT","GMT+0":"GMT+0","GMT-0":"GMT-0",GMT0:"GMT0",Greenwich:"Greenwich",Hongkong:"HK",HST:"HST",Iceland:"IS","Indian/Antananarivo":"MG","Indian/Chagos":"IO","Indian/Christmas":"CX","Indian/Cocos":"CC","Indian/Comoro":"KM","Indian/Kerguelen":"TF","Indian/Mahe":"SC","Indian/Maldives":"MV","Indian/Mauritius":"MU","Indian/Mayotte":"YT","Indian/Reunion":"RE",Iran:"IR",Israel:"IL",Jamaica:"JM",Japan:"JP",Kwajalein:"MH",Libya:"LY",MET:"MET","Mexico/BajaNorte":"MX","Mexico/BajaSur":"MX","Mexico/General":"MX",MST:"MST",MST7MDT:"MST7MDT",Navajo:"US",NZ:"NZ","NZ-CHAT":"NZ","Pacific/Apia":"WS","Pacific/Auckland":"NZ","Pacific/Bougainville":"PG","Pacific/Chatham":"NZ","Pacific/Chuuk":"FM","Pacific/Easter":"CL","Pacific/Efate":"VU","Pacific/Enderbury":"KI","Pacific/Fakaofo":"TK","Pacific/Fiji":"FJ","Pacific/Funafuti":"TV","Pacific/Galapagos":"EC","Pacific/Gambier":"PF","Pacific/Guadalcanal":"SB","Pacific/Guam":"GU,MP","Pacific/Honolulu":"US","Pacific/Johnston":"UM","Pacific/Kanton":"KI","Pacific/Kiritimati":"KI","Pacific/Kosrae":"FM","Pacific/Kwajalein":"MH","Pacific/Majuro":"MH","Pacific/Marquesas":"PF","Pacific/Midway":"UM","Pacific/Nauru":"NR","Pacific/Niue":"NU","Pacific/Norfolk":"NF","Pacific/Noumea":"NC","Pacific/Pago_Pago":"AS","Pacific/Palau":"PW","Pacific/Pitcairn":"PN","Pacific/Pohnpei":"FM","Pacific/Ponape":"FM","Pacific/Port_Moresby":"PG","Pacific/Rarotonga":"CK","Pacific/Saipan":"MP","Pacific/Samoa":"AS","Pacific/Tahiti":"PF","Pacific/Tarawa":"KI","Pacific/Tongatapu":"TO","Pacific/Truk":"FM","Pacific/Wake":"UM","Pacific/Wallis":"WF","Pacific/Yap":"FM",Poland:"PL",Portugal:"PT",PRC:"CN",PST8PDT:"PST8PDT",ROC:"TW",ROK:"KR",Singapore:"SG",Turkey:"TR",UCT:"UCT",Universal:"Universal","US/Alaska":"US","US/Aleutian":"US","US/Arizona":"US","US/Central":"US","US/East-Indiana":"US","US/Eastern":"US","US/Hawaii":"US","US/Indiana-Starke":"US","US/Michigan":"US","US/Mountain":"US","US/Pacific":"US","US/Samoa":"AS",UTC:"UTC","W-SU":"RU",WET:"WET",Zulu:"Zulu"}},309:(e,t)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Event=void 0,function(e){e.PAGE="page_hit",e.IDENTIFY="identify",e.CONNECT="connect",e.DISCONNECT="disconnect",e.CHAIN_CHANGED="chain_changed",e.SIGNATURE="signature",e.TRANSACTION="transaction"}(r||(t.Event=r={}))},450:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(921),t),i(r(358),t),i(r(309),t)},156:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(190),t),i(r(879),t),i(r(574),t)},568:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.formoSessionStorage=void 0;var o=r(504);Object.defineProperty(t,"formoSessionStorage",{enumerable:!0,get:function(){return a(o).default}}),i(r(973),t)},504:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SessionStorage=void 0;var r=function(){function e(){this.json_prefix="__json="}return e.prototype.setItem=function(e,t){"boolean"==typeof t&&(t=!0===t?"true":"false"),"object"==typeof t&&(t=this.json_prefix+JSON.stringify(t)),sessionStorage.setItem(e,t)},e.prototype.getItem=function(e){var t=sessionStorage.getItem(e);if(!t||"string"!=typeof t)return null;if(["null","undefined"].some((function(e){return e==t})))return null;if(t.startsWith(this.json_prefix))try{return JSON.parse(t.slice(7))}catch(e){return console.error("[FORMO_ERROR] SessionStorage failed to parse JSON",e),null}return["true","false"].some((function(e){return e==t}))?JSON.parse(t):t},e.prototype.removeMatch=function(e){for(var t in sessionStorage)e.test(t)&&this.removeItem(t)},e.prototype.removeItem=function(e){sessionStorage.removeItem(e)},e.prototype.clear=function(){sessionStorage.clear()},e}();t.SessionStorage=r,t.default=new r},973:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isLocalhost=void 0,t.toSnakeCase=function(e,t){void 0===t&&(t=[]);var n=function(e){return Array.isArray(e)?e.map(n):null!==e&&"object"==typeof e?Object.keys(e).reduce((function(i,a){return i[t.includes(a)?a:r(a)]=t.includes(a)?e[a]:n(e[a]),i}),{}):e};return n(e)};var r=function(e){return e.replace(/([a-z])([A-Z])/g,"$1_$2").replace(/[\s-]+/g,"_").toLowerCase()};t.isLocalhost=function(){return/^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*:)*?:?0*1$/.test(window.location.hostname)||"file:"===window.location.protocol}},989:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},465:(e,t)=>{var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionStatus=t.SignatureStatus=void 0,function(e){e.REQUESTED="requested",e.REJECTED="rejected",e.CONFIRMED="confirmed"}(r||(t.SignatureStatus=r={})),function(e){e.STARTED="started",e.REJECTED="rejected",e.BROADCASTED="broadcasted"}(n||(t.TransactionStatus=n={}))},574:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(989),t),i(r(465),t),i(r(521),t)},521:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},425:(e,t,r)=>{function n(e,t){return function(){return e.apply(t,arguments)}}const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,o=(s=Object.create(null),e=>{const t=i.call(e);return s[t]||(s[t]=t.slice(8,-1).toLowerCase())});var s;const c=e=>(e=e.toLowerCase(),t=>o(t)===e),u=e=>t=>typeof t===e,{isArray:l}=Array,d=u("undefined"),f=c("ArrayBuffer"),h=u("string"),p=u("function"),A=u("number"),m=e=>null!==e&&"object"==typeof e,y=e=>{if("object"!==o(e))return!1;const t=a(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},g=c("Date"),v=c("File"),E=c("Blob"),b=c("FileList"),S=c("URLSearchParams"),[w,C,_,T]=["ReadableStream","Request","Response","Headers"].map(c);function R(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,i;if("object"!=typeof e&&(e=[e]),l(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let o;for(n=0;n<a;n++)o=i[n],t.call(null,e[o],o,e)}}function P(e,t){t=t.toLowerCase();const r=Object.keys(e);let n,i=r.length;for(;i-- >0;)if(n=r[i],t===n.toLowerCase())return n;return null}const O="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:r.g,M=e=>!d(e)&&e!==O,U=(N="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>N&&e instanceof N);var N;const I=c("HTMLFormElement"),k=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),j=c("RegExp"),L=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};R(r,((r,i)=>{let a;!1!==(a=t(r,i,e))&&(n[i]=a||r)})),Object.defineProperties(e,n)},B="abcdefghijklmnopqrstuvwxyz",D="0123456789",F={DIGIT:D,ALPHA:B,ALPHA_DIGIT:B+B.toUpperCase()+D},x=c("AsyncFunction"),G=(K="function"==typeof setImmediate,H=p(O.postMessage),K?setImmediate:H?(q=`axios@${Math.random()}`,z=[],O.addEventListener("message",(({source:e,data:t})=>{e===O&&t===q&&z.length&&z.shift()()}),!1),e=>{z.push(e),O.postMessage(q,"*")}):e=>setTimeout(e));var K,H,q,z;const J="undefined"!=typeof queueMicrotask?queueMicrotask.bind(O):"undefined"!=typeof process&&process.nextTick||G;var V={isArray:l,isArrayBuffer:f,isBuffer:function(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&p(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||p(e.append)&&("formdata"===(t=o(e))||"object"===t&&p(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&f(e.buffer),t},isString:h,isNumber:A,isBoolean:e=>!0===e||!1===e,isObject:m,isPlainObject:y,isReadableStream:w,isRequest:C,isResponse:_,isHeaders:T,isUndefined:d,isDate:g,isFile:v,isBlob:E,isRegExp:j,isFunction:p,isStream:e=>m(e)&&p(e.pipe),isURLSearchParams:S,isTypedArray:U,isFileList:b,forEach:R,merge:function e(){const{caseless:t}=M(this)&&this||{},r={},n=(n,i)=>{const a=t&&P(r,i)||i;y(r[a])&&y(n)?r[a]=e(r[a],n):y(n)?r[a]=e({},n):l(n)?r[a]=n.slice():r[a]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&R(arguments[e],n);return r},extend:(e,t,r,{allOwnKeys:i}={})=>(R(t,((t,i)=>{r&&p(t)?e[i]=n(t,r):e[i]=t}),{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,o,s;const c={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],n&&!n(s,e,t)||c[s]||(t[s]=e[s],c[s]=!0);e=!1!==r&&a(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:o,kindOfTest:c,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!A(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:I,hasOwnProperty:k,hasOwnProp:k,reduceDescriptors:L,freezeMethods:e=>{L(e,((t,r)=>{if(p(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=e[r];p(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach((e=>{r[e]=!0}))};return l(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:P,global:O,isContextDefined:M,ALPHABET:F,generateString:(e=16,t=F.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&p(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,n)=>{if(m(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;const i=l(e)?[]:{};return R(e,((e,t)=>{const a=r(e,n+1);!d(a)&&(i[t]=a)})),t[n]=void 0,i}}return e};return r(e,0)},isAsyncFn:x,isThenable:e=>e&&(m(e)||p(e))&&p(e.then)&&p(e.catch),setImmediate:G,asap:J};function W(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}V.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:V.toJSONObject(this.config),code:this.code,status:this.status}}});const Y=W.prototype,$={};function Z(e){return V.isPlainObject(e)||V.isArray(e)}function X(e){return V.endsWith(e,"[]")?e.slice(0,-2):e}function Q(e,t,r){return e?e.concat(t).map((function(e,t){return e=X(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{$[e]={value:e}})),Object.defineProperties(W,$),Object.defineProperty(Y,"isAxiosError",{value:!0}),W.from=(e,t,r,n,i,a)=>{const o=Object.create(Y);return V.toFlatObject(e,o,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),W.call(o,e.message,t,r,n,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const ee=V.toFlatObject(V,{},null,(function(e){return/^is[A-Z]/.test(e)}));function te(e,t,r){if(!V.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=V.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!V.isUndefined(t[e])}))).metaTokens,i=r.visitor||u,a=r.dots,o=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&V.isSpecCompliantForm(t);if(!V.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(V.isDate(e))return e.toISOString();if(!s&&V.isBlob(e))throw new W("Blob is not supported. Use a Buffer instead.");return V.isArrayBuffer(e)||V.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,r,i){let s=e;if(e&&!i&&"object"==typeof e)if(V.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(V.isArray(e)&&function(e){return V.isArray(e)&&!e.some(Z)}(e)||(V.isFileList(e)||V.endsWith(r,"[]"))&&(s=V.toArray(e)))return r=X(r),s.forEach((function(e,n){!V.isUndefined(e)&&null!==e&&t.append(!0===o?Q([r],n,a):null===o?r:r+"[]",c(e))})),!1;return!!Z(e)||(t.append(Q(i,r,a),c(e)),!1)}const l=[],d=Object.assign(ee,{defaultVisitor:u,convertValue:c,isVisitable:Z});if(!V.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!V.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),V.forEach(r,(function(r,a){!0===(!(V.isUndefined(r)||null===r)&&i.call(t,r,V.isString(a)?a.trim():a,n,d))&&e(r,n?n.concat(a):[a])})),l.pop()}}(e),t}function re(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ne(e,t){this._pairs=[],e&&te(e,this,t)}const ie=ne.prototype;function ae(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function oe(e,t,r){if(!t)return e;const n=r&&r.encode||ae,i=r&&r.serialize;let a;if(a=i?i(t,r):V.isURLSearchParams(t)?t.toString():new ne(t,r).toString(n),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}ie.append=function(e,t){this._pairs.push([e,t])},ie.toString=function(e){const t=e?function(t){return e.call(this,t,re)}:re;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var se=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){V.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ce={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ue={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ne,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const le="undefined"!=typeof window&&"undefined"!=typeof document,de="object"==typeof navigator&&navigator||void 0,fe=le&&(!de||["ReactNative","NativeScript","NS"].indexOf(de.product)<0),he="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,pe=le&&window.location.href||"http://localhost";var Ae={...Object.freeze({__proto__:null,hasBrowserEnv:le,hasStandardBrowserWebWorkerEnv:he,hasStandardBrowserEnv:fe,navigator:de,origin:pe}),...ue};function me(e){function t(e,r,n,i){let a=e[i++];if("__proto__"===a)return!0;const o=Number.isFinite(+a),s=i>=e.length;return a=!a&&V.isArray(n)?n.length:a,s?(V.hasOwnProp(n,a)?n[a]=[n[a],r]:n[a]=r,!o):(n[a]&&V.isObject(n[a])||(n[a]=[]),t(e,r,n[a],i)&&V.isArray(n[a])&&(n[a]=function(e){const t={},r=Object.keys(e);let n;const i=r.length;let a;for(n=0;n<i;n++)a=r[n],t[a]=e[a];return t}(n[a])),!o)}if(V.isFormData(e)&&V.isFunction(e.entries)){const r={};return V.forEachEntry(e,((e,n)=>{t(function(e){return V.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),n,r,0)})),r}return null}const ye={transitional:ce,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=V.isObject(e);if(i&&V.isHTMLForm(e)&&(e=new FormData(e)),V.isFormData(e))return n?JSON.stringify(me(e)):e;if(V.isArrayBuffer(e)||V.isBuffer(e)||V.isStream(e)||V.isFile(e)||V.isBlob(e)||V.isReadableStream(e))return e;if(V.isArrayBufferView(e))return e.buffer;if(V.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return te(e,new Ae.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return Ae.isNode&&V.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((a=V.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return te(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||n?(t.setContentType("application/json",!1),function(e){if(V.isString(e))try{return(0,JSON.parse)(e),V.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ye.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(V.isResponse(e)||V.isReadableStream(e))return e;if(e&&V.isString(e)&&(r&&!this.responseType||n)){const r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw W.from(e,W.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ae.classes.FormData,Blob:Ae.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};V.forEach(["delete","get","head","post","put","patch"],(e=>{ye.headers[e]={}}));var ge=ye;const ve=V.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ee=Symbol("internals");function be(e){return e&&String(e).trim().toLowerCase()}function Se(e){return!1===e||null==e?e:V.isArray(e)?e.map(Se):String(e)}function we(e,t,r,n,i){return V.isFunction(n)?n.call(this,t,r):(i&&(t=r),V.isString(t)?V.isString(n)?-1!==t.indexOf(n):V.isRegExp(n)?n.test(t):void 0:void 0)}class Ce{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function i(e,t,r){const i=be(t);if(!i)throw new Error("header name must be a non-empty string");const a=V.findKey(n,i);(!a||void 0===n[a]||!0===r||void 0===r&&!1!==n[a])&&(n[a||t]=Se(e))}const a=(e,t)=>V.forEach(e,((e,r)=>i(e,r,t)));if(V.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(V.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let r,n,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),r=e.substring(0,i).trim().toLowerCase(),n=e.substring(i+1).trim(),!r||t[r]&&ve[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)})),t})(e),t);else if(V.isHeaders(e))for(const[t,n]of e.entries())i(n,t,r);else null!=e&&i(t,e,r);return this}get(e,t){if(e=be(e)){const r=V.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(V.isFunction(t))return t.call(this,e,r);if(V.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=be(e)){const r=V.findKey(this,e);return!(!r||void 0===this[r]||t&&!we(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function i(e){if(e=be(e)){const i=V.findKey(r,e);!i||t&&!we(0,r[i],i,t)||(delete r[i],n=!0)}}return V.isArray(e)?e.forEach(i):i(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const i=t[r];e&&!we(0,this[i],i,e,!0)||(delete this[i],n=!0)}return n}normalize(e){const t=this,r={};return V.forEach(this,((n,i)=>{const a=V.findKey(r,i);if(a)return t[a]=Se(n),void delete t[i];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(i):String(i).trim();o!==i&&delete t[i],t[o]=Se(n),r[o]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return V.forEach(this,((r,n)=>{null!=r&&!1!==r&&(t[n]=e&&V.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach((e=>r.set(e))),r}static accessor(e){const t=(this[Ee]=this[Ee]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=be(e);t[n]||(function(e,t){const r=V.toCamelCase(" "+t);["get","set","has"].forEach((n=>{Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})}))}(r,e),t[n]=!0)}return V.isArray(e)?e.forEach(n):n(e),this}}Ce.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),V.reduceDescriptors(Ce.prototype,(({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}})),V.freezeMethods(Ce);var _e=Ce;function Te(e,t){const r=this||ge,n=t||r,i=_e.from(n.headers);let a=n.data;return V.forEach(e,(function(e){a=e.call(r,a,i.normalize(),t?t.status:void 0)})),i.normalize(),a}function Re(e){return!(!e||!e.__CANCEL__)}function Pe(e,t,r){W.call(this,null==e?"canceled":e,W.ERR_CANCELED,t,r),this.name="CanceledError"}function Oe(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new W("Request failed with status code "+r.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}V.inherits(Pe,W,{__CANCEL__:!0});const Me=(e,t,r=3)=>{let n=0;const i=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i,a=0,o=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),u=n[o];i||(i=c),r[a]=s,n[a]=c;let l=o,d=0;for(;l!==a;)d+=r[l++],l%=e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),c-i<t)return;const f=u&&c-u;return f?Math.round(1e3*d/f):void 0}}(50,250);return function(e,t){let r,n,i=0,a=1e3/t;const o=(t,a=Date.now())=>{i=a,r=null,n&&(clearTimeout(n),n=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=a?o(e,t):(r=e,n||(n=setTimeout((()=>{n=null,o(r)}),a-s)))},()=>r&&o(r)]}((r=>{const a=r.loaded,o=r.lengthComputable?r.total:void 0,s=a-n,c=i(s);n=a,e({loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:c||void 0,estimated:c&&o&&a<=o?(o-a)/c:void 0,event:r,lengthComputable:null!=o,[t?"download":"upload"]:!0})}),r)},Ue=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Ne=e=>(...t)=>V.asap((()=>e(...t)));var Ie=Ae.hasStandardBrowserEnv?function(){const e=Ae.navigator&&/(msie|trident)/i.test(Ae.navigator.userAgent),t=document.createElement("a");let r;function n(r){let n=r;return e&&(t.setAttribute("href",n),n=t.href),t.setAttribute("href",n),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return r=n(window.location.href),function(e){const t=V.isString(e)?n(e):e;return t.protocol===r.protocol&&t.host===r.host}}():function(){return!0},ke=Ae.hasStandardBrowserEnv?{write(e,t,r,n,i,a){const o=[e+"="+encodeURIComponent(t)];V.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),V.isString(n)&&o.push("path="+n),V.isString(i)&&o.push("domain="+i),!0===a&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function je(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Le=e=>e instanceof _e?{...e}:e;function Be(e,t){t=t||{};const r={};function n(e,t,r){return V.isPlainObject(e)&&V.isPlainObject(t)?V.merge.call({caseless:r},e,t):V.isPlainObject(t)?V.merge({},t):V.isArray(t)?t.slice():t}function i(e,t,r){return V.isUndefined(t)?V.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function a(e,t){if(!V.isUndefined(t))return n(void 0,t)}function o(e,t){return V.isUndefined(t)?V.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,i,a){return a in t?n(r,i):a in e?n(void 0,r):void 0}const c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t)=>i(Le(e),Le(t),!0)};return V.forEach(Object.keys(Object.assign({},e,t)),(function(n){const a=c[n]||i,o=a(e[n],t[n],n);V.isUndefined(o)&&a!==s||(r[n]=o)})),r}var De=e=>{const t=Be({},e);let r,{data:n,withXSRFToken:i,xsrfHeaderName:a,xsrfCookieName:o,headers:s,auth:c}=t;if(t.headers=s=_e.from(s),t.url=oe(je(t.baseURL,t.url),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),V.isFormData(n))if(Ae.hasStandardBrowserEnv||Ae.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(r=s.getContentType())){const[e,...t]=r?r.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Ae.hasStandardBrowserEnv&&(i&&V.isFunction(i)&&(i=i(t)),i||!1!==i&&Ie(t.url))){const e=a&&o&&ke.read(o);e&&s.set(a,e)}return t},Fe="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const n=De(e);let i=n.data;const a=_e.from(n.headers).normalize();let o,s,c,u,l,{responseType:d,onUploadProgress:f,onDownloadProgress:h}=n;function p(){u&&u(),l&&l(),n.cancelToken&&n.cancelToken.unsubscribe(o),n.signal&&n.signal.removeEventListener("abort",o)}let A=new XMLHttpRequest;function m(){if(!A)return;const n=_e.from("getAllResponseHeaders"in A&&A.getAllResponseHeaders());Oe((function(e){t(e),p()}),(function(e){r(e),p()}),{data:d&&"text"!==d&&"json"!==d?A.response:A.responseText,status:A.status,statusText:A.statusText,headers:n,config:e,request:A}),A=null}A.open(n.method.toUpperCase(),n.url,!0),A.timeout=n.timeout,"onloadend"in A?A.onloadend=m:A.onreadystatechange=function(){A&&4===A.readyState&&(0!==A.status||A.responseURL&&0===A.responseURL.indexOf("file:"))&&setTimeout(m)},A.onabort=function(){A&&(r(new W("Request aborted",W.ECONNABORTED,e,A)),A=null)},A.onerror=function(){r(new W("Network Error",W.ERR_NETWORK,e,A)),A=null},A.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const i=n.transitional||ce;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new W(t,i.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,A)),A=null},void 0===i&&a.setContentType(null),"setRequestHeader"in A&&V.forEach(a.toJSON(),(function(e,t){A.setRequestHeader(t,e)})),V.isUndefined(n.withCredentials)||(A.withCredentials=!!n.withCredentials),d&&"json"!==d&&(A.responseType=n.responseType),h&&([c,l]=Me(h,!0),A.addEventListener("progress",c)),f&&A.upload&&([s,u]=Me(f),A.upload.addEventListener("progress",s),A.upload.addEventListener("loadend",u)),(n.cancelToken||n.signal)&&(o=t=>{A&&(r(!t||t.type?new Pe(null,e,A):t),A.abort(),A=null)},n.cancelToken&&n.cancelToken.subscribe(o),n.signal&&(n.signal.aborted?o():n.signal.addEventListener("abort",o)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(n.url);y&&-1===Ae.protocols.indexOf(y)?r(new W("Unsupported protocol "+y+":",W.ERR_BAD_REQUEST,e)):A.send(i||null)}))},xe=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController;const i=function(e){if(!r){r=!0,o();const t=e instanceof Error?e:this.reason;n.abort(t instanceof W?t:new Pe(t instanceof Error?t.message:t))}};let a=t&&setTimeout((()=>{a=null,i(new W(`timeout ${t} of ms exceeded`,W.ETIMEDOUT))}),t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:s}=n;return s.unsubscribe=()=>V.asap(o),s}};const Ge=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,i=0;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},Ke=(e,t,r,n)=>{const i=async function*(e,t){for await(const r of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}}(e))yield*Ge(r,t)}(e,t);let a,o=0,s=e=>{a||(a=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await i.next();if(t)return s(),void e.close();let a=n.byteLength;if(r){let e=o+=a;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},He="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,qe=He&&"function"==typeof ReadableStream,ze=He&&("function"==typeof TextEncoder?(Je=new TextEncoder,e=>Je.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Je;const Ve=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},We=qe&&Ve((()=>{let e=!1;const t=new Request(Ae.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Ye=qe&&Ve((()=>V.isReadableStream(new Response("").body))),$e={stream:Ye&&(e=>e.body)};var Ze;He&&(Ze=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!$e[e]&&($e[e]=V.isFunction(Ze[e])?t=>t[e]():(t,r)=>{throw new W(`Response type '${e}' is not supported`,W.ERR_NOT_SUPPORT,r)})})));const Xe={http:null,xhr:Fe,fetch:He&&(async e=>{let{url:t,method:r,data:n,signal:i,cancelToken:a,timeout:o,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:l,withCredentials:d="same-origin",fetchOptions:f}=De(e);u=u?(u+"").toLowerCase():"text";let h,p=xe([i,a&&a.toAbortSignal()],o);const A=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let m;try{if(c&&We&&"get"!==r&&"head"!==r&&0!==(m=await(async(e,t)=>{const r=V.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(V.isBlob(e))return e.size;if(V.isSpecCompliantForm(e)){const t=new Request(Ae.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return V.isArrayBufferView(e)||V.isArrayBuffer(e)?e.byteLength:(V.isURLSearchParams(e)&&(e+=""),V.isString(e)?(await ze(e)).byteLength:void 0)})(t):r})(l,n))){let e,r=new Request(t,{method:"POST",body:n,duplex:"half"});if(V.isFormData(n)&&(e=r.headers.get("content-type"))&&l.setContentType(e),r.body){const[e,t]=Ue(m,Me(Ne(c)));n=Ke(r.body,65536,e,t)}}V.isString(d)||(d=d?"include":"omit");const i="credentials"in Request.prototype;h=new Request(t,{...f,signal:p,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:i?d:void 0});let a=await fetch(h);const o=Ye&&("stream"===u||"response"===u);if(Ye&&(s||o&&A)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=a[t]}));const t=V.toFiniteNumber(a.headers.get("content-length")),[r,n]=s&&Ue(t,Me(Ne(s),!0))||[];a=new Response(Ke(a.body,65536,r,(()=>{n&&n(),A&&A()})),e)}u=u||"text";let y=await $e[V.findKey($e,u)||"text"](a,e);return!o&&A&&A(),await new Promise(((t,r)=>{Oe(t,r,{data:y,headers:_e.from(a.headers),status:a.status,statusText:a.statusText,config:e,request:h})}))}catch(t){if(A&&A(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new W("Network Error",W.ERR_NETWORK,e,h),{cause:t.cause||t});throw W.from(t,t&&t.code,e,h)}})};V.forEach(Xe,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Qe=e=>`- ${e}`,et=e=>V.isFunction(e)||null===e||!1===e;var tt=e=>{e=V.isArray(e)?e:[e];const{length:t}=e;let r,n;const i={};for(let a=0;a<t;a++){let t;if(r=e[a],n=r,!et(r)&&(n=Xe[(t=String(r)).toLowerCase()],void 0===n))throw new W(`Unknown adapter '${t}'`);if(n)break;i[t||"#"+a]=n}if(!n){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new W("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(Qe).join("\n"):" "+Qe(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function rt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pe(null,e)}function nt(e){return rt(e),e.headers=_e.from(e.headers),e.data=Te.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tt(e.adapter||ge.adapter)(e).then((function(t){return rt(e),t.data=Te.call(e,e.transformResponse,t),t.headers=_e.from(t.headers),t}),(function(t){return Re(t)||(rt(e),t&&t.response&&(t.response.data=Te.call(e,e.transformResponse,t.response),t.response.headers=_e.from(t.response.headers))),Promise.reject(t)}))}const it={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{it[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const at={};it.transitional=function(e,t,r){function n(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,a)=>{if(!1===e)throw new W(n(i," has been removed"+(t?" in "+t:"")),W.ERR_DEPRECATED);return t&&!at[i]&&(at[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,a)}};var ot={assertOptions:function(e,t,r){if("object"!=typeof e)throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const a=n[i],o=t[a];if(o){const t=e[a],r=void 0===t||o(t,a,e);if(!0!==r)throw new W("option "+a+" must be "+r,W.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new W("Unknown option "+a,W.ERR_BAD_OPTION)}},validators:it};const st=ot.validators;class ct{constructor(e){this.defaults=e,this.interceptors={request:new se,response:new se}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Be(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:i}=t;void 0!==r&&ot.assertOptions(r,{silentJSONParsing:st.transitional(st.boolean),forcedJSONParsing:st.transitional(st.boolean),clarifyTimeoutError:st.transitional(st.boolean)},!1),null!=n&&(V.isFunction(n)?t.paramsSerializer={serialize:n}:ot.assertOptions(n,{encode:st.function,serialize:st.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&V.merge(i.common,i[t.method]);i&&V.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=_e.concat(a,i);const o=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,d=0;if(!s){const e=[nt.bind(this),void 0];for(e.unshift.apply(e,o),e.push.apply(e,c),l=e.length,u=Promise.resolve(t);d<l;)u=u.then(e[d++],e[d++]);return u}l=o.length;let f=t;for(d=0;d<l;){const e=o[d++],t=o[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{u=nt.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,l=c.length;d<l;)u=u.then(c[d++],c[d++]);return u}getUri(e){return oe(je((e=Be(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}V.forEach(["delete","get","head","options"],(function(e){ct.prototype[e]=function(t,r){return this.request(Be(r||{},{method:e,url:t,data:(r||{}).data}))}})),V.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,i){return this.request(Be(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ct.prototype[e]=t(),ct.prototype[e+"Form"]=t(!0)}));var ut=ct;class lt{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t;const n=new Promise((e=>{r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e,n,i){r.reason||(r.reason=new Pe(e,n,i),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new lt((function(t){e=t})),cancel:e}}}var dt=lt;const ft={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ft).forEach((([e,t])=>{ft[t]=e}));var ht=ft;const pt=function e(t){const r=new ut(t),i=n(ut.prototype.request,r);return V.extend(i,ut.prototype,r,{allOwnKeys:!0}),V.extend(i,r,null,{allOwnKeys:!0}),i.create=function(r){return e(Be(t,r))},i}(ge);pt.Axios=ut,pt.CanceledError=Pe,pt.CancelToken=dt,pt.isCancel=Re,pt.VERSION="1.7.7",pt.toFormData=te,pt.AxiosError=W,pt.Cancel=pt.CanceledError,pt.all=function(e){return Promise.all(e)},pt.spread=function(e){return function(t){return e.apply(null,t)}},pt.isAxiosError=function(e){return V.isObject(e)&&!0===e.isAxiosError},pt.mergeConfig=Be,pt.AxiosHeaders=_e,pt.formToJSON=e=>me(V.isHTMLForm(e)?new FormData(e):e),pt.getAdapter=tt,pt.HttpStatusCode=ht,pt.default=pt,e.exports=pt},228:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.requestProviders=t.announceProvider=t.createStore=void 0;var n=r(349);Object.defineProperty(t,"createStore",{enumerable:!0,get:function(){return n.createStore}});var i=r(317);Object.defineProperty(t,"announceProvider",{enumerable:!0,get:function(){return i.announceProvider}}),Object.defineProperty(t,"requestProviders",{enumerable:!0,get:function(){return i.requestProviders}})},349:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createStore=void 0;const n=r(317);t.createStore=function(){const e=new Set;let t=[];const r=()=>(0,n.requestProviders)((r=>{t.some((({info:e})=>e.uuid===r.info.uuid))||(t=[...t,r],e.forEach((e=>e(t,{added:[r]}))))}));let i=r();return{_listeners:()=>e,clear(){e.forEach((e=>e([],{removed:[...t]}))),t=[]},destroy(){this.clear(),e.clear(),i?.()},findProvider:({rdns:e})=>t.find((t=>t.info.rdns===e)),getProviders:()=>t,reset(){this.clear(),i?.(),i=r()},subscribe:(r,{emitImmediately:n}={})=>(e.add(r),n&&r(t,{added:t}),()=>e.delete(r))}}},317:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.requestProviders=t.announceProvider=void 0,t.announceProvider=function(e){const t=new CustomEvent("eip6963:announceProvider",{detail:Object.freeze(e)});window.dispatchEvent(t);const r=()=>window.dispatchEvent(t);return window.addEventListener("eip6963:requestProvider",r),()=>window.removeEventListener("eip6963:requestProvider",r)},t.requestProviders=function(e){if("undefined"==typeof window)return;const t=t=>e(t.detail);return window.addEventListener("eip6963:announceProvider",t),window.dispatchEvent(new CustomEvent("eip6963:requestProvider")),()=>window.removeEventListener("eip6963:announceProvider",t)}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var a=t[n]={exports:{}};return e[n].call(a.exports,a,a.exports,r),a.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var n=r(156);return n.FormoAnalytics})()));
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("FormoAnalytics",[],t):"object"==typeof exports?exports.FormoAnalytics=t():e.FormoAnalytics=t()}(self,(()=>(()=>{var e={75:(e,t,n)=>{"use strict";n.r(t),n.d(t,{componentsToDebugString:()=>Le,default:()=>je,getFullscreenElement:()=>W,getUnstableAudioFingerprint:()=>Y,getUnstableCanvasFingerprint:()=>$,getUnstableScreenFrame:()=>ae,getUnstableScreenResolution:()=>te,getWebGLContext:()=>Ce,hashComponents:()=>Ge,isAndroid:()=>Z,isChromium:()=>j,isDesktopWebKit:()=>D,isEdgeHTML:()=>O,isGecko:()=>V,isSamsungInternet:()=>H,isTrident:()=>N,isWebKit:()=>F,load:()=>Oe,loadSources:()=>G,murmurX64Hash128:()=>Fe,prepareForSources:()=>Ue,sources:()=>Re,transformSource:()=>U,withIframe:()=>J});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};function i(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{s(r.next(e))}catch(e){a(e)}}function c(e){try{s(r.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,c)}s((r=r.apply(e,t||[])).next())}))}function a(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=c(0),o.throw=c(1),o.return=c(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(c){return function(s){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(6===c[0]&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}}function o(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var c="4.6.0";function s(e,t){return new Promise((function(n){return setTimeout(n,e,t)}))}function u(e){return!!e&&"function"==typeof e.then}function l(e,t){try{var n=e();u(n)?n.then((function(e){return t(!0,e)}),(function(e){return t(!1,e)})):t(!0,n)}catch(e){t(!1,e)}}function d(e,t,n){return void 0===n&&(n=16),i(this,void 0,void 0,(function(){var r,i,o,c;return a(this,(function(a){switch(a.label){case 0:r=Array(e.length),i=Date.now(),o=0,a.label=1;case 1:return o<e.length?(r[o]=t(e[o],o),(c=Date.now())>=i+n?(i=c,[4,new Promise((function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)}))]):[3,3]):[3,4];case 2:a.sent(),a.label=3;case 3:return++o,[3,1];case 4:return[2,r]}}))}))}function f(e){return e.then(void 0,(function(){})),e}function h(e){return parseInt(e)}function p(e){return parseFloat(e)}function m(e,t){return"number"==typeof e&&isNaN(e)?t:e}function v(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function y(e,t){if(void 0===t&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var n=1/t;return Math.round(e*n)/n}function A(e,t){var n=e[0]>>>16,r=65535&e[0],i=e[1]>>>16,a=65535&e[1],o=t[0]>>>16,c=65535&t[0],s=t[1]>>>16,u=0,l=0,d=0,f=0;d+=(f+=a+(65535&t[1]))>>>16,f&=65535,l+=(d+=i+s)>>>16,d&=65535,u+=(l+=r+c)>>>16,l&=65535,u+=n+o,u&=65535,e[0]=u<<16|l,e[1]=d<<16|f}function g(e,t){var n=e[0]>>>16,r=65535&e[0],i=e[1]>>>16,a=65535&e[1],o=t[0]>>>16,c=65535&t[0],s=t[1]>>>16,u=65535&t[1],l=0,d=0,f=0,h=0;f+=(h+=a*u)>>>16,h&=65535,d+=(f+=i*u)>>>16,f&=65535,d+=(f+=a*s)>>>16,f&=65535,l+=(d+=r*u)>>>16,d&=65535,l+=(d+=i*s)>>>16,d&=65535,l+=(d+=a*c)>>>16,d&=65535,l+=n*u+r*s+i*c+a*o,l&=65535,e[0]=l<<16|d,e[1]=f<<16|h}function b(e,t){var n=e[0];32==(t%=64)?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function w(e,t){0!=(t%=64)&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function S(e,t){e[0]^=t[0],e[1]^=t[1]}var E=[4283543511,3981806797],C=[3301882366,444984403];function _(e){var t=[0,e[0]>>>1];S(e,t),g(e,E),t[1]=e[0]>>>1,S(e,t),g(e,C),t[1]=e[0]>>>1,S(e,t)}var M=[2277735313,289559509],P=[1291169091,658871167],T=[0,5],k=[0,1390208809],R=[0,944331445];function I(e,t){var n=function(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r>127)return(new TextEncoder).encode(e);t[n]=r}return t}(e);t=t||0;var r,i=[0,n.length],a=i[1]%16,o=i[1]-a,c=[0,t],s=[0,t],u=[0,0],l=[0,0];for(r=0;r<o;r+=16)u[0]=n[r+4]|n[r+5]<<8|n[r+6]<<16|n[r+7]<<24,u[1]=n[r]|n[r+1]<<8|n[r+2]<<16|n[r+3]<<24,l[0]=n[r+12]|n[r+13]<<8|n[r+14]<<16|n[r+15]<<24,l[1]=n[r+8]|n[r+9]<<8|n[r+10]<<16|n[r+11]<<24,g(u,M),b(u,31),g(u,P),S(c,u),b(c,27),A(c,s),g(c,T),A(c,k),g(l,P),b(l,33),g(l,M),S(s,l),b(s,31),A(s,c),g(s,T),A(s,R);u[0]=0,u[1]=0,l[0]=0,l[1]=0;var d=[0,0];switch(a){case 15:d[1]=n[r+14],w(d,48),S(l,d);case 14:d[1]=n[r+13],w(d,40),S(l,d);case 13:d[1]=n[r+12],w(d,32),S(l,d);case 12:d[1]=n[r+11],w(d,24),S(l,d);case 11:d[1]=n[r+10],w(d,16),S(l,d);case 10:d[1]=n[r+9],w(d,8),S(l,d);case 9:d[1]=n[r+8],S(l,d),g(l,P),b(l,33),g(l,M),S(s,l);case 8:d[1]=n[r+7],w(d,56),S(u,d);case 7:d[1]=n[r+6],w(d,48),S(u,d);case 6:d[1]=n[r+5],w(d,40),S(u,d);case 5:d[1]=n[r+4],w(d,32),S(u,d);case 4:d[1]=n[r+3],w(d,24),S(u,d);case 3:d[1]=n[r+2],w(d,16),S(u,d);case 2:d[1]=n[r+1],w(d,8),S(u,d);case 1:d[1]=n[r],S(u,d),g(u,M),b(u,31),g(u,P),S(c,u)}return S(c,i),S(s,i),A(c,s),A(s,c),_(c),_(s),A(c,s),A(s,c),("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)+("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)}function L(e){return"function"!=typeof e}function G(e,t,n,r){var o=Object.keys(e).filter((function(e){return!function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(n,e)})),c=f(d(o,(function(n){return function(e,t){var n=f(new Promise((function(n){var r=Date.now();l(e.bind(null,t),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=Date.now()-r;if(!e[0])return n((function(){return{error:e[1],duration:i}}));var a=e[1];if(L(a))return n((function(){return{value:a,duration:i}}));n((function(){return new Promise((function(e){var t=Date.now();l(a,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var a=i+Date.now()-t;if(!n[0])return e({error:n[1],duration:a});e({value:n[1],duration:a})}))}))}))}))})));return function(){return n.then((function(e){return e()}))}}(e[n],t)}),r));return function(){return i(this,void 0,void 0,(function(){var e,t,n,i;return a(this,(function(a){switch(a.label){case 0:return[4,c];case 1:return[4,d(a.sent(),(function(e){return f(e())}),r)];case 2:return e=a.sent(),[4,Promise.all(e)];case 3:for(t=a.sent(),n={},i=0;i<o.length;++i)n[o[i]]=t[i];return[2,n]}}))}))}}function U(e,t){var n=function(e){return L(e)?t(e):function(){var n=e();return u(n)?n.then(t):t(n)}};return function(t){var r=e(t);return u(r)?r.then(n):n(r)}}function N(){var e=window,t=navigator;return v(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function O(){var e=window,t=navigator;return v(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!N()}function j(){var e=window,t=navigator;return v(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function F(){var e=window;return v(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===navigator.vendor.indexOf("Apple"),"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function D(){var e=window,t=e.HTMLElement,n=e.Document;return v(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function x(){var e,t=window;return e=t.print,/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))&&"[object WebPageNamespace]"===String(t.browser)}function V(){var e,t,n=window;return v(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function B(){var e=window,t=navigator,n=e.CSS,r=e.HTMLButtonElement;return v([!("getStorageUpdates"in t),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function W(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function Z(){var e=j(),t=V(),n=window,r=navigator,i="connection";return e?v([!("SharedWorker"in n),r[i]&&"ontypechange"in r[i],!("sinkId"in new Audio)])>=2:!!t&&v(["onorientationchange"in n,"orientation"in n,/android/i.test(r.appVersion)])>=2}function H(){var e=navigator,t=window,n=Audio.prototype,r=t.visualViewport;return v(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,r&&"segments"in r,"getTextInformation"in Image.prototype])>=3}function Y(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(F()&&!D()&&!function(){var e=window;return v(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}())return-1;var n=new t(1,5e3,44100),r=n.createOscillator();r.type="triangle",r.frequency.value=1e4;var i=n.createDynamicsCompressor();i.threshold.value=-50,i.knee.value=40,i.ratio.value=12,i.attack.value=0,i.release.value=.25,r.connect(i),i.connect(n.destination),r.start(0);var a=function(e){var t=function(){};return[new Promise((function(n,r){var i=!1,a=0,o=0;e.oncomplete=function(e){return n(e.renderedBuffer)};var c=function(){setTimeout((function(){return r(X("timeout"))}),Math.min(500,o+5e3-Date.now()))},s=function(){try{var t=e.startRendering();switch(u(t)&&f(t),e.state){case"running":o=Date.now(),i&&c();break;case"suspended":document.hidden||a++,i&&a>=3?r(X("suspended")):setTimeout(s,500)}}catch(e){r(e)}};s(),t=function(){i||(i=!0,o>0&&c())}})),t]}(n),o=a[0],c=a[1],s=f(o.then((function(e){return function(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}(e.getChannelData(0).subarray(4500))}),(function(e){if("timeout"===e.name||"suspended"===e.name)return-3;throw e})));return function(){return c(),s}}function X(e){var t=new Error(e);return t.name=e,t}function J(e,t,n){var r,o,c;return void 0===n&&(n=50),i(this,void 0,void 0,(function(){var i,u;return a(this,(function(a){switch(a.label){case 0:i=document,a.label=1;case 1:return i.body?[3,3]:[4,s(n)];case 2:return a.sent(),[3,1];case 3:u=i.createElement("iframe"),a.label=4;case 4:return a.trys.push([4,,10,11]),[4,new Promise((function(e,n){var r=!1,a=function(){r=!0,e()};u.onload=a,u.onerror=function(e){r=!0,n(e)};var o=u.style;o.setProperty("display","block","important"),o.position="absolute",o.top="0",o.left="0",o.visibility="hidden",t&&"srcdoc"in u?u.srcdoc=t:u.src="about:blank",i.body.appendChild(u);var c=function(){var e,t;r||("complete"===(null===(t=null===(e=u.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?a():setTimeout(c,10))};c()}))];case 5:a.sent(),a.label=6;case 6:return(null===(o=null===(r=u.contentWindow)||void 0===r?void 0:r.document)||void 0===o?void 0:o.body)?[3,8]:[4,s(n)];case 7:return a.sent(),[3,6];case 8:return[4,e(u,u.contentWindow)];case 9:return[2,a.sent()];case 10:return null===(c=u.parentNode)||void 0===c||c.removeChild(u),[7];case 11:return[2]}}))}))}function K(e){for(var t=function(e){for(var t,n,r="Unexpected syntax '".concat(e,"'"),i=/^\s*([a-z-]*)(.*)$/i.exec(e),a=i[1]||void 0,o={},c=/([.:#][\w-]+|\[.+?\])/gi,s=function(e,t){o[e]=o[e]||[],o[e].push(t)};;){var u=c.exec(i[2]);if(!u)break;var l=u[0];switch(l[0]){case".":s("class",l.slice(1));break;case"#":s("id",l.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(l);if(!d)throw new Error(r);s(d[1],null!==(n=null!==(t=d[4])&&void 0!==t?t:d[5])&&void 0!==n?n:"");break;default:throw new Error(r)}}return[a,o]}(e),n=t[0],r=t[1],i=document.createElement(null!=n?n:"div"),a=0,o=Object.keys(r);a<o.length;a++){var c=o[a],s=r[c].join(" ");"style"===c?z(i.style,s):i.setAttribute(c,s)}return i}function z(e,t){for(var n=0,r=t.split(";");n<r.length;n++){var i=r[n],a=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(i);if(a){var o=a[1],c=a[2],s=a[4];e.setProperty(o,c,s||"")}}}var Q=["monospace","sans-serif","serif"],q=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function $(e){var t,n,r,i=!1,a=function(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),o=a[0],c=a[1];return function(e,t){return!(!t||!e.toDataURL)}(o,c)?(i=function(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}(c),e?n=r="skipped":(t=function(e,t){!function(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}(e,t);var n=ee(e);return n!==ee(e)?["unstable","unstable"]:(function(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var n=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<r.length;n++){var i=r[n],a=i[0],o=i[1],c=i[2];t.fillStyle=a,t.beginPath(),t.arc(o,c,40,0,2*Math.PI,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd")}(e,t),[ee(e),n])}(o,c),n=t[0],r=t[1])):n=r="unsupported",{winding:i,geometry:n,text:r}}function ee(e){return e.toDataURL()}function te(){var e=screen,t=function(e){return m(h(e),null)},n=[t(e.width),t(e.height)];return n.sort().reverse(),n}var ne,re,ie=2500;function ae(){var e=this;return function(){if(void 0===re){var e=function(){var t=oe();ce(t)?re=setTimeout(e,ie):(ne=t,re=void 0)};e()}}(),function(){return i(e,void 0,void 0,(function(){var e;return a(this,(function(t){switch(t.label){case 0:return ce(e=oe())?ne?[2,o([],ne,!0)]:W()?[4,(n=document,(n.exitFullscreen||n.msExitFullscreen||n.mozCancelFullScreen||n.webkitExitFullscreen).call(n))]:[3,2]:[3,2];case 1:t.sent(),e=oe(),t.label=2;case 2:return ce(e)||(ne=e),[2,e]}var n}))}))}}function oe(){var e=screen;return[m(p(e.availTop),null),m(p(e.width)-p(e.availWidth)-m(p(e.availLeft),0),null),m(p(e.height)-p(e.availHeight)-m(p(e.availTop),0),null),m(p(e.availLeft),null)]}function ce(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function se(e){var t;return i(this,void 0,void 0,(function(){var n,r,i,o,c,u,l;return a(this,(function(a){switch(a.label){case 0:for(n=document,r=n.createElement("div"),i=new Array(e.length),o={},ue(r),l=0;l<e.length;++l)"DIALOG"===(c=K(e[l])).tagName&&c.show(),ue(u=n.createElement("div")),u.appendChild(c),r.appendChild(u),i[l]=c;a.label=1;case 1:return n.body?[3,3]:[4,s(50)];case 2:return a.sent(),[3,1];case 3:n.body.appendChild(r);try{for(l=0;l<e.length;++l)i[l].offsetParent||(o[e[l]]=!0)}finally{null===(t=r.parentNode)||void 0===t||t.removeChild(r)}return[2,o]}}))}))}function ue(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function le(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function de(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}function fe(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function he(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function pe(e){return matchMedia("(prefers-reduced-transparency: ".concat(e,")")).matches}function me(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var ve=Math,ye=function(){return 0},Ae={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},ge=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),be=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),we=["FRAGMENT_SHADER","VERTEX_SHADER"],Se=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],Ee="WEBGL_debug_renderer_info";function Ce(e){if(e.webgl)return e.webgl.context;var t,n=document.createElement("canvas");n.addEventListener("webglCreateContextError",(function(){return t=void 0}));for(var r=0,i=["webgl","experimental-webgl"];r<i.length;r++){var a=i[r];try{t=n.getContext(a)}catch(e){}if(t)break}return e.webgl={context:t},t}function _e(e,t,n){var r=e.getShaderPrecisionFormat(e[t],e[n]);return r?[r.rangeMin,r.rangeMax,r.precision]:[]}function Me(e){return Object.keys(e.__proto__).filter(Pe)}function Pe(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function Te(){return V()}function ke(e){return"function"==typeof e.getParameter}var Re={fonts:function(){var e=this;return J((function(t,n){var r=n.document;return i(e,void 0,void 0,(function(){var e,t,n,i,o,c,s,u,l,d,f;return a(this,(function(a){for((e=r.body).style.fontSize="48px",(t=r.createElement("div")).style.setProperty("visibility","hidden","important"),n={},i={},o=function(e){var n=r.createElement("span"),i=n.style;return i.position="absolute",i.top="0",i.left="0",i.fontFamily=e,n.textContent="mmMwWLliI0O&1",t.appendChild(n),n},c=function(e,t){return o("'".concat(e,"',").concat(t))},s=function(){for(var e={},t=function(t){e[t]=Q.map((function(e){return c(t,e)}))},n=0,r=q;n<r.length;n++)t(r[n]);return e},u=function(e){return Q.some((function(t,r){return e[r].offsetWidth!==n[t]||e[r].offsetHeight!==i[t]}))},l=Q.map(o),d=s(),e.appendChild(t),f=0;f<Q.length;f++)n[Q[f]]=l[f].offsetWidth,i[Q[f]]=l[f].offsetHeight;return[2,q.filter((function(e){return u(d[e])}))]}))}))}))},domBlockers:function(e){var t=(void 0===e?{}:e).debug;return i(this,void 0,void 0,(function(){var e,n,r,i,o;return a(this,(function(a){switch(a.label){case 0:return F()||Z()?(c=atob,e={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',c("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",c("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",c("LnNwb25zb3JpdA=="),".ylamainos",c("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",c("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",c("LmhlYWRlci1ibG9ja2VkLWFk"),c("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",c("I2FkXzMwMFgyNTA="),c("I2Jhbm5lcmZsb2F0MjI="),c("I2NhbXBhaWduLWJhbm5lcg=="),c("I0FkLUNvbnRlbnQ=")],adGuardChinese:[c("LlppX2FkX2FfSA=="),c("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",c("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),c("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",c("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",c("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",c("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),c("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),c("LmFkZ29vZ2xl"),c("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[c("YW1wLWF1dG8tYWRz"),c("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",c("I2FkX2ludmlld19hcmVh")],adGuardRussian:[c("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),c("LnJlY2xhbWE="),'div[id^="smi2adblock"]',c("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[c("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),c("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",c("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),c("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),c("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",c("I3Jla2xhbWk="),c("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),c("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),c("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[c("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",c("LndpZGdldF9wb19hZHNfd2lkZ2V0"),c("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",c("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[c("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),c("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",c("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",c("I3Jla2xhbW5pLWJveA=="),c("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",c("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[c("I2FkdmVydGVudGll"),c("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",c("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",c("LnNwb25zb3JsaW5rZ3J1ZW4="),c("I3dlcmJ1bmdza3k="),c("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),c("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[c("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",c("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[c("LnJla2xhbW9zX3RhcnBhcw=="),c("LnJla2xhbW9zX251b3JvZG9z"),c("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),c("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),c("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[c("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[c("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),c("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",c("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[c("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),c("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),c("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",c("LmFkX19tYWlu"),c("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[c("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[c("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),c("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[c("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),c("I2xpdmVyZUFkV3JhcHBlcg=="),c("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),c("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[c("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",c("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),c("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),c("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[c("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),c("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),c("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",c("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),c("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),c("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),c("ZGl2I3NrYXBpZWNfYWQ=")],ro:[c("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),c("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),c("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[c("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),c("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),c("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",c("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),c("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",c("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},n=Object.keys(e),[4,se((o=[]).concat.apply(o,n.map((function(t){return e[t]}))))]):[2,void 0];case 1:return r=a.sent(),t&&function(e,t){for(var n="DOM blockers debug:\n```",r=0,i=Object.keys(e);r<i.length;r++){var a=i[r];n+="\n".concat(a,":");for(var o=0,c=e[a];o<c.length;o++){var s=c[o];n+="\n ".concat(t[s]?"🚫":"➡️"," ").concat(s)}}console.log("".concat(n,"\n```"))}(e,r),(i=n.filter((function(t){var n=e[t];return v(n.map((function(e){return r[e]})))>.6*n.length}))).sort(),[2,i]}var c}))}))},fontPreferences:function(){return void 0===e&&(e=4e3),J((function(t,n){var r=n.document,i=r.body,a=i.style;a.width="".concat(e,"px"),a.webkitTextSizeAdjust=a.textSizeAdjust="none",j()?i.style.zoom="".concat(1/n.devicePixelRatio):F()&&(i.style.zoom="reset");var c=r.createElement("div");return c.textContent=o([],Array(e/20|0),!0).map((function(){return"word"})).join(" "),i.appendChild(c),function(e,t){for(var n={},r={},i=0,a=Object.keys(Ae);i<a.length;i++){var o=a[i],c=Ae[o],s=c[0],u=void 0===s?{}:s,l=c[1],d=void 0===l?"mmMwWLliI0fiflO&1":l,f=e.createElement("span");f.textContent=d,f.style.whiteSpace="nowrap";for(var h=0,p=Object.keys(u);h<p.length;h++){var m=p[h],v=u[m];void 0!==v&&(f.style[m]=v)}n[o]=f,t.append(e.createElement("br"),f)}for(var y=0,A=Object.keys(Ae);y<A.length;y++)r[o=A[y]]=n[o].getBoundingClientRect().width;return r}(r,i)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');var e},audio:function(){return F()&&B()&&x()||j()&&H()&&(t=(e=window).URLPattern,v(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3)?-4:Y();var e,t},screenFrame:function(){var e=this;if(F()&&B()&&x())return function(){return Promise.resolve(void 0)};var t=ae();return function(){return i(e,void 0,void 0,(function(){var e,n;return a(this,(function(r){switch(r.label){case 0:return[4,t()];case 1:return e=r.sent(),[2,[(n=function(e){return null===e?null:y(e,10)})(e[0]),n(e[1]),n(e[2]),n(e[3])]]}}))}))}},canvas:function(){return $(F()&&B()&&x())},osCpu:function(){return navigator.oscpu},languages:function(){var e,t=navigator,n=[],r=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==r&&n.push([r]),Array.isArray(t.languages))j()&&v([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||n.push(t.languages);else if("string"==typeof t.languages){var i=t.languages;i&&n.push(i.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return m(p(navigator.deviceMemory),void 0)},screenResolution:function(){if(!(F()&&B()&&x()))return te()},hardwareConcurrency:function(){return m(h(navigator.hardwareConcurrency),void 0)},timezone:function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t){var n=(new t).resolvedOptions().timeZone;if(n)return n}var r,i=(r=(new Date).getFullYear(),-Math.max(p(new Date(r,0,1).getTimezoneOffset()),p(new Date(r,6,1).getTimezoneOffset())));return"UTC".concat(i>=0?"+":"").concat(i)},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!N()&&!O())try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var e=navigator.platform;return"MacIntel"===e&&F()&&!D()?function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return v(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone":e},plugins:function(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var r=e[n];if(r){for(var i=[],a=0;a<r.length;++a){var o=r[a];i.push({type:o.type,suffixes:o.suffixes})}t.push({name:r.name,description:r.description,mimeTypes:i})}}return t}},touchSupport:function(){var e,t=navigator,n=0;void 0!==t.maxTouchPoints?n=h(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(n=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return{maxTouchPoints:n,touchEvent:e,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var e=[],t=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<n.length;t++){var r=n[t],i=window[r];i&&"object"==typeof i&&e.push(r)}return e.sort()},cookiesEnabled:function(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(e){return!1}},colorGamut:function(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var n=t[e];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!le("inverted")||!le("none")&&void 0},forcedColors:function(){return!!de("active")||!de("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}},contrast:function(){return fe("no-preference")?0:fe("high")||fe("more")?1:fe("low")||fe("less")?-1:fe("forced")?10:void 0},reducedMotion:function(){return!!he("reduce")||!he("no-preference")&&void 0},reducedTransparency:function(){return!!pe("reduce")||!pe("no-preference")&&void 0},hdr:function(){return!!me("high")||!me("standard")&&void 0},math:function(){var e,t=ve.acos||ye,n=ve.acosh||ye,r=ve.asin||ye,i=ve.asinh||ye,a=ve.atanh||ye,o=ve.atan||ye,c=ve.sin||ye,s=ve.sinh||ye,u=ve.cos||ye,l=ve.cosh||ye,d=ve.tan||ye,f=ve.tanh||ye,h=ve.exp||ye,p=ve.expm1||ye,m=ve.log1p||ye;return{acos:t(.12312423423423424),acosh:n(1e308),acoshPf:(e=1e154,ve.log(e+ve.sqrt(e*e-1))),asin:r(.12312423423423424),asinh:i(1),asinhPf:ve.log(1+ve.sqrt(2)),atanh:a(.5),atanhPf:ve.log(3)/2,atan:o(.5),sin:c(-1e300),sinh:s(1),sinhPf:ve.exp(1)-1/ve.exp(1)/2,cos:u(10.000000000123),cosh:l(1),coshPf:(ve.exp(1)+1/ve.exp(1))/2,tan:d(-1e300),tanh:f(1),tanhPf:(ve.exp(2)-1)/(ve.exp(2)+1),exp:h(1),expm1:p(1),expm1Pf:ve.exp(1)-1,log1p:m(10),log1pPf:ve.log(11),powPI:ve.pow(ve.PI,-100)}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]},applePay:function(){var e=window.ApplePaySession;if("function"!=typeof(null==e?void 0:e.canMakePayments))return-1;if(function(){for(var e=window;;){var t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(e){if(e instanceof Error&&"SecurityError"===e.name)return!0;throw e}e=t}}())return-3;try{return e.canMakePayments()?1:0}catch(e){return function(e){if(e instanceof Error&&"InvalidAccessError"===e.name&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}(e)}},privateClickMeasurement:function(){var e,t=document.createElement("a"),n=null!==(e=t.attributionSourceId)&&void 0!==e?e:t.attributionsourceid;return void 0===n?void 0:String(n)},audioBaseLatency:function(){var e;return Z()||F()?window.AudioContext&&null!==(e=(new AudioContext).baseLatency)&&void 0!==e?e:-1:-2},dateTimeLocale:function(){if(!window.Intl)return-1;var e=window.Intl.DateTimeFormat;if(!e)return-2;var t=e().resolvedOptions().locale;return t||""===t?t:-3},webGlBasics:function(e){var t,n,r,i,a,o,c=Ce(e.cache);if(!c)return-1;if(!ke(c))return-2;var s=Te()?null:c.getExtension(Ee);return{version:(null===(t=c.getParameter(c.VERSION))||void 0===t?void 0:t.toString())||"",vendor:(null===(n=c.getParameter(c.VENDOR))||void 0===n?void 0:n.toString())||"",vendorUnmasked:s?null===(r=c.getParameter(s.UNMASKED_VENDOR_WEBGL))||void 0===r?void 0:r.toString():"",renderer:(null===(i=c.getParameter(c.RENDERER))||void 0===i?void 0:i.toString())||"",rendererUnmasked:s?null===(a=c.getParameter(s.UNMASKED_RENDERER_WEBGL))||void 0===a?void 0:a.toString():"",shadingLanguageVersion:(null===(o=c.getParameter(c.SHADING_LANGUAGE_VERSION))||void 0===o?void 0:o.toString())||""}},webGlExtensions:function(e){var t=Ce(e.cache);if(!t)return-1;if(!ke(t))return-2;var n=t.getSupportedExtensions(),r=t.getContextAttributes(),i=[],a=[],o=[],c=[],s=[];if(r)for(var u=0,l=Object.keys(r);u<l.length;u++){var d=l[u];a.push("".concat(d,"=").concat(r[d]))}for(var f=0,h=Me(t);f<h.length;f++){var p=t[w=h[f]];o.push("".concat(w,"=").concat(p).concat(ge.has(p)?"=".concat(t.getParameter(p)):""))}if(n)for(var m=0,v=n;m<v.length;m++){var y=v[m];if(!(y===Ee&&Te()||"WEBGL_polygon_mode"===y&&(j()||F()))){var A=t.getExtension(y);if(A)for(var g=0,b=Me(A);g<b.length;g++){var w;p=A[w=b[g]],c.push("".concat(w,"=").concat(p).concat(be.has(p)?"=".concat(t.getParameter(p)):""))}else i.push(y)}}for(var S=0,E=we;S<E.length;S++)for(var C=E[S],_=0,M=Se;_<M.length;_++){var P=M[_],T=_e(t,C,P);s.push("".concat(C,".").concat(P,"=").concat(T.join(",")))}return c.sort(),o.sort(),{contextAttributes:a,parameters:o,shaderPrecisions:s,extensions:n,extensionParameters:c,unsupportedExtensions:i}}},Ie="$ if upgrade to Pro: https://fpjs.dev/pro";function Le(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?r({name:(n=t).name,message:n.message,stack:null===(i=n.stack)||void 0===i?void 0:i.split("\n")},n):t;var n,i}),2)}function Ge(e){return I(function(e){for(var t="",n=0,r=Object.keys(e).sort();n<r.length;n++){var i=r[n],a=e[i],o="error"in a?"error":JSON.stringify(a.value);t+="".concat(t?"|":"").concat(i.replace(/([:|\\])/g,"\\$1"),":").concat(o)}return t}(e))}function Ue(e){return void 0===e&&(e=50),function(e,t){void 0===t&&(t=1/0);var n=window.requestIdleCallback;return n?new Promise((function(e){return n.call(window,(function(){return e()}),{timeout:t})})):s(Math.min(e,t))}(e,2*e)}function Ne(e,t){var n=Date.now();return{get:function(r){return i(this,void 0,void 0,(function(){var i,o,s;return a(this,(function(a){switch(a.label){case 0:return i=Date.now(),[4,e()];case 1:return o=a.sent(),s=function(e){var t,n=function(e){var t=function(e){if(Z())return.4;if(F())return!D()||B()&&x()?.3:.5;var t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}(e),n=function(e){return y(.99+.01*e,1e-4)}(t);return{score:t,comment:Ie.replace(/\$/g,"".concat(n))}}(e);return{get visitorId(){return void 0===t&&(t=Ge(this.components)),t},set visitorId(e){t=e},confidence:n,components:e,version:c}}(o),(t||(null==r?void 0:r.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(s.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(i-n,"\nvisitorId: ").concat(s.visitorId,"\ncomponents: ").concat(Le(o),"\n```")),[2,s]}}))}))}}}function Oe(e){var t;return void 0===e&&(e={}),i(this,void 0,void 0,(function(){var n,r,i;return a(this,(function(a){switch(a.label){case 0:return(null===(t=e.monitoring)||void 0===t||t)&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(c,"/npm-monitoring"),!0),e.send()}catch(e){console.error(e)}}(),n=e.delayFallback,r=e.debug,[4,Ue(n)];case 1:return a.sent(),i=function(e){return G(Re,e,[])}({cache:{},debug:r}),[2,Ne(i,r)]}}))}))}var je={load:Oe,hashComponents:Ge,componentsToDebugString:Le},Fe=I},318:function(e){e.exports=function(){"use strict";function e(e){return Number.isInteger(e)&&e>=0}function t(e){this.name="ArgumentError",this.message=e}return function(n,r){if(r=r||{},"function"!=typeof n)throw new t("fetch must be a function");if("object"!=typeof r)throw new t("defaults must be an object");if(void 0!==r.retries&&!e(r.retries))throw new t("retries must be a positive integer");if(void 0!==r.retryDelay&&!e(r.retryDelay)&&"function"!=typeof r.retryDelay)throw new t("retryDelay must be a positive integer or a function returning a positive integer");if(void 0!==r.retryOn&&!Array.isArray(r.retryOn)&&"function"!=typeof r.retryOn)throw new t("retryOn property expects an array or function");return r=Object.assign({retries:3,retryDelay:1e3,retryOn:[]},r),function(i,a){var o=r.retries,c=r.retryDelay,s=r.retryOn;if(a&&void 0!==a.retries){if(!e(a.retries))throw new t("retries must be a positive integer");o=a.retries}if(a&&void 0!==a.retryDelay){if(!e(a.retryDelay)&&"function"!=typeof a.retryDelay)throw new t("retryDelay must be a positive integer or a function returning a positive integer");c=a.retryDelay}if(a&&a.retryOn){if(!Array.isArray(a.retryOn)&&"function"!=typeof a.retryOn)throw new t("retryOn property expects an array or function");s=a.retryOn}return new Promise((function(e,t){var r=function(r){var c="undefined"!=typeof Request&&i instanceof Request?i.clone():i;n(c,a).then((function(n){if(Array.isArray(s)&&-1===s.indexOf(n.status))e(n);else if("function"==typeof s)try{return Promise.resolve(s(r,null,n)).then((function(t){t?u(r,null,n):e(n)})).catch(t)}catch(e){t(e)}else r<o?u(r,null,n):e(n)})).catch((function(e){if("function"==typeof s)try{Promise.resolve(s(r,e,null)).then((function(n){n?u(r,e,null):t(e)})).catch((function(e){t(e)}))}catch(e){t(e)}else r<o?u(r,e,null):t(e)}))};function u(e,t,n){var i="function"==typeof c?c(e,t,n):c;setTimeout((function(){r(++e)}),i)}r(0)}))}}}()},20:(e,t,n)=>{"use strict";var r=n(540),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,a={},u=null,l=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)o.call(t,r)&&!s.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:i,type:e,key:u,ref:l,props:a,_owner:c.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},287:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function y(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||p}function A(){}function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||p}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},A.prototype=y.prototype;var b=g.prototype=new A;b.constructor=g,m(b,y.prototype),b.isPureReactComponent=!0;var w=Array.isArray,S=Object.prototype.hasOwnProperty,E={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,r){var i,a={},o=null,c=null;if(null!=t)for(i in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(o=""+t.key),t)S.call(t,i)&&!C.hasOwnProperty(i)&&(a[i]=t[i]);var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){for(var u=Array(s),l=0;l<s;l++)u[l]=arguments[l+2];a.children=u}if(e&&e.defaultProps)for(i in s=e.defaultProps)void 0===a[i]&&(a[i]=s[i]);return{$$typeof:n,type:e,key:o,ref:c,props:a,_owner:E.current}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function k(e,t,i,a,o){var c=typeof e;"undefined"!==c&&"boolean"!==c||(e=null);var s=!1;if(null===e)s=!0;else switch(c){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case n:case r:s=!0}}if(s)return o=o(s=e),e=""===a?"."+T(s,0):a,w(o)?(i="",null!=e&&(i=e.replace(P,"$&/")+"/"),k(o,t,i,"",(function(e){return e}))):null!=o&&(M(o)&&(o=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,i+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(P,"$&/")+"/")+e)),t.push(o)),1;if(s=0,a=""===a?".":a+":",w(e))for(var u=0;u<e.length;u++){var l=a+T(c=e[u],u);s+=k(c,t,i,l,o)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof l)for(e=l.call(e),u=0;!(c=e.next()).done;)s+=k(c=c.value,t,i,l=a+T(c,u++),o);else if("object"===c)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function R(e,t,n){if(null==e)return e;var r=[],i=0;return k(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function I(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var L={current:null},G={transition:null},U={ReactCurrentDispatcher:L,ReactCurrentBatchConfig:G,ReactCurrentOwner:E};function N(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:R,forEach:function(e,t,n){R(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return R(e,(function(){t++})),t},toArray:function(e){return R(e,(function(e){return e}))||[]},only:function(e){if(!M(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=i,t.Profiler=o,t.PureComponent=g,t.StrictMode=a,t.Suspense=l,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.act=N,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),a=e.key,o=e.ref,c=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,c=E.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)S.call(t,u)&&!C.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){s=Array(u);for(var l=0;l<u;l++)s[l]=arguments[l+2];i.children=s}return{$$typeof:n,type:e.type,key:a,ref:o,props:i,_owner:c}},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=M,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=G.transition;G.transition={};try{e()}finally{G.transition=t}},t.unstable_act=N,t.useCallback=function(e,t){return L.current.useCallback(e,t)},t.useContext=function(e){return L.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return L.current.useDeferredValue(e)},t.useEffect=function(e,t){return L.current.useEffect(e,t)},t.useId=function(){return L.current.useId()},t.useImperativeHandle=function(e,t,n){return L.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return L.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return L.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return L.current.useMemo(e,t)},t.useReducer=function(e,t,n){return L.current.useReducer(e,t,n)},t.useRef=function(e){return L.current.useRef(e)},t.useState=function(e){return L.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return L.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return L.current.useTransition()},t.version="18.3.1"},540:(e,t,n)=>{"use strict";e.exports=n(287)},848:(e,t,n)=>{"use strict";e.exports=n(20)},879:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{s(r.next(e))}catch(e){a(e)}}function c(e){try{s(r.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,c)}s((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=c(0),o.throw=c(1),o.return=c(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(c){return function(s){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(6===c[0]&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}},o=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.FormoAnalytics=void 0;var c=n(228),s=n(450),u=n(574),l=n(568),d=n(450),f=n(412),h=function(){function e(e,t){void 0===t&&(t={}),this.apiKey=e,this.options=t,this._providerListeners={},this.config={apiKey:e,trackLocalhost:t.trackLocalhost||!1},this.session=new p,this.eventQueue=new f.FormoAnalyticsEventQueue(this.config.apiKey,{url:s.EVENTS_API_URL,flushAt:t.flushAt,retryCount:t.retryCount,maxQueueSize:t.maxQueueSize,flushInterval:t.flushInterval});var n=t.provider||(null===window||void 0===window?void 0:window.ethereum);n&&this.trackProvider(n),this.trackFirstPageHit(),this.trackPageHits()}return e.init=function(t,n){return i(this,void 0,void 0,(function(){var r,i;return a(this,(function(a){switch(a.label){case 0:return[4,(r=new e(t,n)).getProviders()];case 1:return i=a.sent(),[4,r.identifyAll(i)];case 2:return a.sent(),[2,r]}}))}))},e.prototype.page=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.trackPageHit()];case 1:return e.sent(),[2]}}))}))},e.prototype.connect=function(e){return i(this,arguments,void 0,(function(e){var t=e.chainId,n=e.address;return a(this,(function(e){switch(e.label){case 0:if(!t)throw new Error("FormoAnalytics::connect: chain ID cannot be empty");if(!n)throw new Error("FormoAnalytics::connect: address cannot be empty");return this.currentChainId=t,this.currentConnectedAddress=n,[4,this.trackEvent(s.Event.CONNECT,{chainId:t,address:n})];case 1:return e.sent(),[2]}}))}))},e.prototype.disconnect=function(e){return i(this,void 0,void 0,(function(){var t,n;return a(this,(function(r){switch(r.label){case 0:return t=(null==e?void 0:e.address)||this.currentConnectedAddress,n=(null==e?void 0:e.chainId)||this.currentChainId,[4,this.handleDisconnect(n,t)];case 1:return r.sent(),[2]}}))}))},e.prototype.chain=function(e){return i(this,arguments,void 0,(function(e){var t=e.chainId,n=e.address;return a(this,(function(e){switch(e.label){case 0:if(!t||0===Number(t))throw new Error("FormoAnalytics::chain: chainId cannot be empty or 0");if(isNaN(Number(t)))throw new Error("FormoAnalytics::chain: chainId must be a valid decimal number");if(!n&&!this.currentConnectedAddress)throw new Error("FormoAnalytics::chain: address was empty and no previous address has been recorded");return this.currentChainId=t,[4,this.trackEvent(s.Event.CHAIN_CHANGED,{chainId:t,address:n||this.currentConnectedAddress})];case 1:return e.sent(),[2]}}))}))},e.prototype.signature=function(e){return i(this,arguments,void 0,(function(e){var t=e.status,n=e.chainId,i=e.address,o=e.message,c=e.signatureHash;return a(this,(function(e){switch(e.label){case 0:return[4,this.trackEvent(s.Event.SIGNATURE,r({status:t,chainId:n,address:i,message:o},c&&{signatureHash:c}))];case 1:return e.sent(),[2]}}))}))},e.prototype.transaction=function(e){return i(this,arguments,void 0,(function(e){var t=e.status,n=e.chainId,i=e.address,o=e.data,c=e.to,u=e.value,l=e.transactionHash;return a(this,(function(e){switch(e.label){case 0:return[4,this.trackEvent(s.Event.TRANSACTION,r({status:t,chainId:n,address:i,data:o,to:c,value:u},l&&{transactionHash:l}))];case 1:return e.sent(),[2]}}))}))},e.prototype.identify=function(e){return i(this,arguments,void 0,(function(e){var t=e.address,n=e.providerName,r=e.rdns;return a(this,(function(e){switch(e.label){case 0:return this.session.isIdentified()?[2,console.warn("FormoAnalytics::identify: Wallet already identified in this session")]:(this.session.identify(),[4,this.trackEvent(s.Event.IDENTIFY,{address:t,providerName:n,rdns:r})]);case 1:return e.sent(),[2]}}))}))},e.prototype.track=function(e,t){return i(this,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,this.trackEvent(e,t)];case 1:return n.sent(),[2]}}))}))},e.prototype.trackProvider=function(e){if(e!==this._provider){if(this.currentChainId=void 0,this.currentConnectedAddress=void 0,this._provider)for(var t=0,n=Object.keys(this._providerListeners);t<n.length;t++){var r=n[t];this._provider.removeListener(r,this._providerListeners[r]),delete this._providerListeners[r]}this._provider=e,this.registerAddressChangedListener(),this.registerChainChangedListener(),this.registerSignatureListener(),this.registerTransactionListener()}else console.warn("FormoAnalytics::trackProvider: Provider already tracked.")},e.prototype.registerAddressChangedListener=function(){var e,t,n=this,r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.onAddressChanged(e[0])};null===(e=this._provider)||void 0===e||e.on("accountsChanged",r),this._providerListeners.accountsChanged=r;var i=this.onAddressDisconnected.bind(this);null===(t=this._provider)||void 0===t||t.on("disconnect",i),this._providerListeners.disconnect=i},e.prototype.registerChainChangedListener=function(){var e,t=this,n=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.onChainChanged(e[0])};null===(e=this.provider)||void 0===e||e.on("chainChanged",n),this._providerListeners.chainChanged=n},e.prototype.registerSignatureListener=function(){var e,t=this;if(this.provider)if(!1!==(null===(e=Object.getOwnPropertyDescriptor(this.provider,"request"))||void 0===e?void 0:e.writable)){var n=this.provider.request.bind(this.provider);this.provider.request=function(e){return i(t,[e],void 0,(function(e){var t,i,o,c=e.method,s=e.params;return a(this,(function(e){switch(e.label){case 0:if(!Array.isArray(s)||!["eth_signTypedData_v4","personal_sign"].includes(c))return[3,4];this.signature(r({status:u.SignatureStatus.REQUESTED},this.buildSignatureEventPayload(c,s))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,n({method:c,params:s})];case 2:return(t=e.sent())&&this.signature(r({status:u.SignatureStatus.CONFIRMED},this.buildSignatureEventPayload(c,s,t))),[2,t];case 3:throw i=e.sent(),(o=i)&&4001===(null==o?void 0:o.code)&&this.signature(r({status:u.SignatureStatus.REJECTED},this.buildSignatureEventPayload(c,s))),i;case 4:return[2,n({method:c,params:s})]}}))}))}}else console.warn("_trackSigning: provider.request is not writable");else console.error("_trackSigning: provider not found")},e.prototype.registerTransactionListener=function(){var e,t=this;if(this.provider)if(!1!==(null===(e=Object.getOwnPropertyDescriptor(this.provider,"request"))||void 0===e?void 0:e.writable)){var n=this.provider.request.bind(this.provider);this.provider.request=function(e){return i(t,[e],void 0,(function(e){var t,i,o,c,s=e.method,l=e.params;return a(this,(function(e){switch(e.label){case 0:return Array.isArray(l)&&"eth_sendTransaction"===s&&l[0]?[4,this.buildTransactionEventPayload(l)]:[3,5];case 1:t=e.sent(),this.transaction(r({status:u.TransactionStatus.STARTED},t)),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,n({method:s,params:l})];case 3:return i=e.sent(),this.transaction(r(r({status:u.TransactionStatus.BROADCASTED},t),{transactionHash:i})),[2];case 4:throw o=e.sent(),console.log("transaction listener catch"),console.log(o),(c=o)&&4001===(null==c?void 0:c.code)&&this.transaction(r({status:u.TransactionStatus.REJECTED},t)),o;case 5:return[2,n({method:s,params:l})]}}))}))}}else console.warn("_trackTransactions: provider.request is not writable");else console.error("_trackTransactions: provider not found")},e.prototype.onAddressChanged=function(e){return i(this,void 0,void 0,(function(){return a(this,(function(t){return e.length>0?this.onAddressConnected(e[0]):this.onAddressDisconnected(),[2]}))}))},e.prototype.onAddressConnected=function(e){return i(this,void 0,void 0,(function(){var t;return a(this,(function(n){switch(n.label){case 0:return e===this.currentConnectedAddress?[2]:(this.currentConnectedAddress=e,t=this,[4,this.getCurrentChainId()]);case 1:return t.currentChainId=n.sent(),this.connect({chainId:this.currentChainId,address:e}),[2]}}))}))},e.prototype.handleDisconnect=function(e,t){return i(this,void 0,void 0,(function(){var n;return a(this,(function(r){switch(r.label){case 0:return n={chain_id:e||this.currentChainId,address:t||this.currentConnectedAddress},this.currentChainId=void 0,this.currentConnectedAddress=void 0,[4,this.trackEvent(s.Event.DISCONNECT,n)];case 1:return r.sent(),[2]}}))}))},e.prototype.onAddressDisconnected=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,this.handleDisconnect(this.currentChainId,this.currentConnectedAddress)];case 1:return e.sent(),[2]}}))}))},e.prototype.onChainChanged=function(e){return i(this,void 0,void 0,(function(){var t;return a(this,(function(n){switch(n.label){case 0:return this.currentChainId=parseInt(e),this.currentConnectedAddress?[3,2]:this.provider?[4,this.getAddress()]:(console.log("FormoAnalytics::onChainChanged: provider not found. CHAIN_CHANGED not reported"),[2,Promise.resolve()]);case 1:if(!(t=n.sent()))return console.log("FormoAnalytics::onChainChanged: Unable to fetch or store connected address"),[2,Promise.resolve()];this.currentConnectedAddress=t,n.label=2;case 2:return this.currentConnectedAddress?[2,this.chain({chainId:this.currentChainId,address:this.currentConnectedAddress})]:(console.log("FormoAnalytics::onChainChanged: currentConnectedAddress is null despite fetch attempt"),[2])}}))}))},e.prototype.trackFirstPageHit=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){return null===l.session.get(s.CURRENT_URL_KEY)&&l.session.set(s.CURRENT_URL_KEY,window.location.href),[2,this.trackPageHit()]}))}))},e.prototype.trackPageHits=function(){return i(this,void 0,void 0,(function(){var e,t,n=this;return a(this,(function(r){return e=history.pushState,history.pushState=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,t);return window.dispatchEvent(new window.Event("locationchange")),r},t=history.replaceState,history.replaceState=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.apply(this,e);return window.dispatchEvent(new window.Event("locationchange")),r},window.addEventListener("popstate",(function(){return n.onLocationChange()})),window.addEventListener("locationchange",(function(){return n.onLocationChange()})),[2]}))}))},e.prototype.onLocationChange=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){return l.session.get(s.CURRENT_URL_KEY)!==window.location.href&&(l.session.set(s.CURRENT_URL_KEY,window.location.href),this.trackPageHit()),[2]}))}))},e.prototype.trackPageHit=function(){var e=this,t=window.location.pathname,n=window.location.hash;if(!this.config.trackLocalhost&&(0,l.isLocalhost)())return console.warn("FormoAnalytics::trackPageHit: Ignoring event because website is running locally");setTimeout((function(){return i(e,void 0,void 0,(function(){return a(this,(function(e){return this.trackEvent(s.Event.PAGE,{pathname:t,hash:n}),[2]}))}))}),300)},e.prototype.trackEvent=function(e,t){return i(this,void 0,void 0,(function(){var n,r,i;return a(this,(function(a){switch(a.label){case 0:return[4,this.getAddress()];case 1:return n=a.sent(),i={address:n,timestamp:(new Date).toISOString(),action:e,version:"1"},[4,this.buildEventPayload((0,l.toSnakeCase)(t))];case 2:return i.payload=a.sent(),r=i,this.eventQueue.enqueue(r,(function(e,t,n){e?console.error(e):console.log("Events sent successfully: ".concat(n.length," events"))})),[2]}}))}))},e.prototype.getProviders=function(){return i(this,void 0,void 0,(function(){var e,t;return a(this,(function(n){return e=(0,c.createStore)(),0===(t=o([],e.getProviders(),!0)).length?[2,[null===window||void 0===window?void 0:window.ethereum]]:[2,t]}))}))},e.prototype.identifyAll=function(e){return i(this,void 0,void 0,(function(){var t,n,r,i,o,c,s,u,l,d;return a(this,(function(a){switch(a.label){case 0:a.trys.push([0,11,,12]),t=0,n=e,a.label=1;case 1:return t<n.length?(r=n[t],i=r.provider,o=r.info,[4,this.getAccounts(i)]):[3,10];case 2:if(!((c=a.sent())&&c.length>0))return[3,7];s=0,u=c,a.label=3;case 3:return s<u.length?(l=u[s],[4,this.identify({address:l,providerName:o.name,rdns:o.rdns})]):[3,6];case 4:a.sent(),a.label=5;case 5:return s++,[3,3];case 6:return[3,9];case 7:return[4,this.identify({address:null,providerName:o.name,rdns:o.rdns})];case 8:a.sent(),a.label=9;case 9:return t++,[3,1];case 10:return[3,12];case 11:return d=a.sent(),console.log("identifying all => err",d),[3,12];case 12:return[2]}}))}))},Object.defineProperty(e.prototype,"provider",{get:function(){return this._provider},enumerable:!1,configurable:!0}),e.prototype.getAddress=function(){return i(this,void 0,void 0,(function(){var e,t;return a(this,(function(n){switch(n.label){case 0:if(this.currentConnectedAddress)return[2,this.currentConnectedAddress];if(!(null==this?void 0:this.provider))return console.log("FormoAnalytics::getAddress: the provider is not set"),[2,null];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.getAccounts()];case 2:return(e=n.sent())&&e.length>0?[2,(0,l.isAddress)(e[0])?e[0]:null]:[3,4];case 3:return t=n.sent(),console.log("Failed to fetch accounts from provider:",t),[2,null];case 4:return[2,null]}}))}))},e.prototype.getAccounts=function(e){return i(this,void 0,void 0,(function(){var t,n,r;return a(this,(function(i){switch(i.label){case 0:t=e||this.provider,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,null==t?void 0:t.request({method:"eth_accounts"})];case 2:return(n=i.sent())&&0!==n.length?[2,n.filter(l.isAddress)]:[2,null];case 3:return 4001!==(r=i.sent()).code&&console.log("FormoAnalytics::getAccounts: eth_accounts threw an error",r),[2,null];case 4:return[2]}}))}))},e.prototype.getCurrentChainId=function(){return i(this,void 0,void 0,(function(){var e,t,n;return a(this,(function(r){switch(r.label){case 0:this.provider||console.error("FormoAnalytics::getCurrentChainId: provider not set"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,null===(n=this.provider)||void 0===n?void 0:n.request({method:"eth_chainId"})];case 2:return(e=r.sent())?[2,parseInt(e,16)]:(console.log("FormoAnalytics::fetchChainId: chain id not found"),[2,0]);case 3:return t=r.sent(),console.log("FormoAnalytics::fetchChainId: eth_chainId threw an error",t),[2,0];case 4:return[2]}}))}))},e.prototype.getLocation=function(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;return e in s.COUNTRY_LIST?s.COUNTRY_LIST[e]:e}catch(e){return console.error("Error resolving timezone:",e),""}},e.prototype.getLanguage=function(){try{return(navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language)||"en"}catch(e){return console.error("Error resolving language:",e),"en"}},e.prototype.buildEventPayload=function(){return i(this,arguments,void 0,(function(e){var t,n,i,o;return void 0===e&&(e={}),a(this,(function(a){return t=new URL(window.location.href),n=new URLSearchParams(t.search),i=this.getLocation(),o=this.getLanguage(),[2,r({"user-agent":window.navigator.userAgent,href:t.href,locale:o,location:i,referrer:document.referrer,utm_source:n.get("utm_source"),utm_medium:n.get("utm_medium"),utm_campaign:n.get("utm_campaign"),utm_content:n.get("utm_content"),utm_term:n.get("utm_term"),ref:n.get("ref")},e)]}))}))},e.prototype.buildSignatureEventPayload=function(e,t,n){var i={chainId:this.currentChainId,address:"personal_sign"===e?t[1]:t[0]};if("personal_sign"===e){var a=Buffer.from(t[0].slice(2),"hex").toString("utf8");return r(r(r({},i),{message:a}),n?{signatureHash:n}:{})}return r(r(r({},i),{message:t[1]}),n?{signatureHash:n}:{})},e.prototype.buildTransactionEventPayload=function(e){return i(this,void 0,void 0,(function(){var t,n,r,i,o,c,s;return a(this,(function(a){switch(a.label){case 0:return t=e[0],n=t.data,r=t.from,i=t.to,o=t.value,s={},(c=this.currentChainId)?[3,2]:[4,this.getCurrentChainId()];case 1:c=a.sent(),a.label=2;case 2:return[2,(s.chainId=c,s.data=n,s.address=r,s.to=i,s.value=o,s)]}}))}))},e}();t.FormoAnalytics=h;var p=function(){function e(){}return e.prototype.isIdentified=function(){return!0===l.session.get(d.SESSION_IDENTIFIED_KEY)},e.prototype.identify=function(){l.session.set(d.SESSION_IDENTIFIED_KEY,!0)},e}()},412:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{s(r.next(e))}catch(e){a(e)}}function c(e){try{s(r.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,c)}s((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=c(0),o.throw=c(1),o.return=c(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(c){return function(s){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(6===c[0]&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FormoAnalyticsEventQueue=void 0;var c=o(n(318)),s=o(n(744)),u=o(n(75)),l=(0,c.default)(n.g.fetch),d=function(){},f=function(){function e(e,t){var n=this;t=t||{},this.queue=[],this.writeKey=e,this.url=t.url,this.retryCount=this.getFormattedNumericParams(t.retryCount||3,5,1),this.flushAt=this.getFormattedNumericParams(t.flushAt||20,20,1),this.maxQueueSize=this.getFormattedNumericParams(t.maxQueueSize||512e3,512e3,200),this.flushInterval=this.getFormattedNumericParams(t.flushInterval||6e4,3e5,1e4),this.flushed=!0,this.errorHandler=t.errorHandler,this.pendingFlush=null,this.timer=null,window.addEventListener("beforeunload",(function(e){return i(n,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return e.stopImmediatePropagation(),[4,this.flush()];case 1:return t.sent(),[2]}}))}))}))}return e.prototype.enqueue=function(e,t){if(t=t||d,this.checkDuplicate(e))console.warn("Event already enqueued, try again after ".concat(this.millisecondsToSecond(this.flushInterval)," seconds."));else{if(this.queue.push({message:e,callback:t}),console.log("Event enqueued: ".concat(this.getActionDescriptor(e.action,e.payload))),!this.flushed)return this.flushed=!0,void this.flush();var n=this.queue.length>=this.flushAt,r=this.queue.reduce((function(e,t){return e+JSON.stringify(t).length}),0)>=this.maxQueueSize;n||r?this.flush():this.flushInterval&&!this.timer&&(this.timer=setTimeout(this.flush.bind(this),this.flushInterval))}},e.prototype.flush=function(e){return i(this,void 0,void 0,(function(){var t,n,i,o,c,s,u,f,h=this;return a(this,(function(a){switch(a.label){case 0:if(e=e||d,this.timer&&(clearTimeout(this.timer),this.timer=null),!this.queue.length)return e(),[2,Promise.resolve()];a.label=1;case 1:return a.trys.push([1,4,,5]),this.pendingFlush?[4,this.pendingFlush]:[3,3];case 2:a.sent(),a.label=3;case 3:return[3,5];case 4:throw t=a.sent(),this.pendingFlush=null,t;case 5:return n=this.queue.splice(0,this.flushAt),i=n.map((function(e){return e.message})),o=function(t){n.forEach((function(e){var n=e.message;return(0,e.callback)(t,n,i)})),e(t,i)},u={},f={"Content-Type":"application/json",Authorization:"Basic ".concat(this.writeKey)},s="X-Visitor-Id",[4,this.getVisitorId()];case 6:return u.headers=(f[s]=a.sent(),f),c=u,[2,this.pendingFlush=l("".concat(this.url),r({method:"POST",body:JSON.stringify(i),retries:this.retryCount,retryDelay:function(e){return 1e3*Math.pow(2,e)},retryOn:function(e,t){return h.isErrorRetryable(t)}},c)).then((function(){return o(),Promise.resolve(i)})).catch((function(e){if("function"==typeof h.errorHandler)return o(e),h.errorHandler(e);if(e.response){var t=new Error(e.response.statusText);throw o(t),t}throw o(e),e}))]}}))}))},e.prototype.getVisitorId=function(){return i(this,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,u.default.load()];case 1:return[4,e.sent().get()];case 2:return[2,e.sent().visitorId]}}))}))},e.prototype.isErrorRetryable=function(e){var t,n,r;return!!(0,s.default)(e)||!!(null==e?void 0:e.response)&&((null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status)>=500&&(null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status)<=599||429===(null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status))},e.prototype.millisecondsToSecond=function(e){return Math.ceil(e/1e3)},e.prototype.toDateHourMinute=function(e){return e.getUTCFullYear()+"-"+("0"+(e.getUTCMonth()+1)).slice(-2)+"-"+("0"+e.getUTCDate()).slice(-2)+" "+("0"+e.getUTCHours()).slice(-2)+":"+("0"+e.getUTCMinutes()).slice(-2)},e.prototype.checkDuplicate=function(e){var t=this,n=this.toDateHourMinute(new Date(e.timestamp)),i=JSON.stringify(r(r({},e),{timestamp:n}));return this.queue.some((function(e){var n=e.message,a=t.toDateHourMinute(new Date(n.timestamp));return JSON.stringify(r(r({},n),{timestamp:a}))===i}))},e.prototype.getActionDescriptor=function(e,t){return"".concat(e).concat((null==t?void 0:t.status)?" ".concat(null==t?void 0:t.status):"")},e.prototype.getFormattedNumericParams=function(e,t,n){return e<n?n:e>t?t:e},e}();t.FormoAnalyticsEventQueue=f},190:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{s(r.next(e))}catch(e){a(e)}}function c(e){try{s(r.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,c)}s((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=c(0),o.throw=c(1),o.return=c(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(c){return function(s){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(6===c[0]&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.useFormoAnalytics=t.FormoAnalyticsProvider=t.FormoAnalyticsContext=void 0;var o=n(848),c=n(540),s=n(879);t.FormoAnalyticsContext=(0,c.createContext)(void 0),t.FormoAnalyticsProvider=function(e){var t=e.apiKey,n=e.disabled,i=e.children;return t?n?(console.warn("FormoAnalytics is disabled"),i):(0,o.jsx)(u,r({},e)):(console.error("FormoAnalyticsProvider: No API key provided"),i)};var u=function(e){var n=e.apiKey,r=e.options,u=e.children,l=(0,c.useState)(),d=l[0],f=l[1],h=(0,c.useRef)(!1),p=function(e,t){return i(void 0,void 0,void 0,(function(){var n,r;return a(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,s.FormoAnalytics.init(e,t)];case 1:return n=i.sent(),f(n),console.log("FormoAnalytics SDK initialized successfully"),[3,3];case 2:return r=i.sent(),console.error("Failed to initialize FormoAnalytics SDK",r),[3,3];case 3:return[2]}}))}))};return(0,c.useEffect)((function(){i(void 0,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return h.current?[2]:(h.current=!0,[4,p(n,r)]);case 1:return e.sent(),[2]}}))}))}),[n,r]),(0,o.jsx)(t.FormoAnalyticsContext.Provider,{value:d,children:u})};t.useFormoAnalytics=function(){var e=(0,c.useContext)(t.FormoAnalyticsContext);return e||console.warn("useFormoAnalytics called without a valid context"),e}},921:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_IDENTIFIED_KEY=t.SESSION_PREFIX=void 0,t.SESSION_PREFIX="f0-",t.SESSION_IDENTIFIED_KEY=t.SESSION_PREFIX+"session_identified"},358:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COUNTRY_LIST=t.CURRENT_URL_KEY=t.EVENTS_API_URL=void 0,t.EVENTS_API_URL="https://events.formo.so/events",t.CURRENT_URL_KEY="formo-analytics-current-url",t.COUNTRY_LIST={"Africa/Abidjan":"CI","Africa/Accra":"GH","Africa/Addis_Ababa":"ET","Africa/Algiers":"DZ","Africa/Asmara":"ER","Africa/Asmera":"ER","Africa/Bamako":"ML","Africa/Bangui":"CF","Africa/Banjul":"GM","Africa/Bissau":"GW","Africa/Blantyre":"MW","Africa/Brazzaville":"CG","Africa/Bujumbura":"BI","Africa/Cairo":"EG","Africa/Casablanca":"MA","Africa/Ceuta":"ES","Africa/Conakry":"GN","Africa/Dakar":"SN","Africa/Dar_es_Salaam":"TZ","Africa/Djibouti":"DJ","Africa/Douala":"CM","Africa/El_Aaiun":"EH","Africa/Freetown":"SL","Africa/Gaborone":"BW","Africa/Harare":"ZW","Africa/Johannesburg":"ZA","Africa/Juba":"SS","Africa/Kampala":"UG","Africa/Khartoum":"SD","Africa/Kigali":"RW","Africa/Kinshasa":"CD","Africa/Lagos":"NG","Africa/Libreville":"GA","Africa/Lome":"TG","Africa/Luanda":"AO","Africa/Lubumbashi":"CD","Africa/Lusaka":"ZM","Africa/Malabo":"GQ","Africa/Maputo":"MZ","Africa/Maseru":"LS","Africa/Mbabane":"SZ","Africa/Mogadishu":"SO","Africa/Monrovia":"LR","Africa/Nairobi":"KE","Africa/Ndjamena":"TD","Africa/Niamey":"NE","Africa/Nouakchott":"MR","Africa/Ouagadougou":"BF","Africa/Porto-Novo":"BJ","Africa/Sao_Tome":"ST","Africa/Timbuktu":"ML","Africa/Tripoli":"LY","Africa/Tunis":"TN","Africa/Windhoek":"NA","America/Adak":"US","America/Anchorage":"US","America/Anguilla":"AI","America/Antigua":"AG","America/Araguaina":"BR","America/Argentina/Buenos_Aires":"AR","America/Argentina/Catamarca":"AR","America/Argentina/ComodRivadavia":"AR","America/Argentina/Cordoba":"AR","America/Argentina/Jujuy":"AR","America/Argentina/La_Rioja":"AR","America/Argentina/Mendoza":"AR","America/Argentina/Rio_Gallegos":"AR","America/Argentina/Salta":"AR","America/Argentina/San_Juan":"AR","America/Argentina/San_Luis":"AR","America/Argentina/Tucuman":"AR","America/Argentina/Ushuaia":"AR","America/Aruba":"AW","America/Asuncion":"PY","America/Atikokan":"CA","America/Atka":"US","America/Bahia":"BR","America/Bahia_Banderas":"MX","America/Barbados":"BB","America/Belem":"BR","America/Belize":"BZ","America/Blanc-Sablon":"CA","America/Boa_Vista":"BR","America/Bogota":"CO","America/Boise":"US","America/Buenos_Aires":"AR","America/Cambridge_Bay":"CA","America/Campo_Grande":"BR","America/Cancun":"MX","America/Caracas":"VE","America/Catamarca":"AR","America/Cayenne":"GF","America/Cayman":"KY","America/Chicago":"US","America/Chihuahua":"MX","America/Ciudad_Juarez":"MX","America/Coral_Harbour":"CA","America/Cordoba":"AR","America/Costa_Rica":"CR","America/Creston":"CA","America/Cuiaba":"BR","America/Curacao":"CW","America/Danmarkshavn":"GL","America/Dawson":"CA","America/Dawson_Creek":"CA","America/Denver":"US","America/Detroit":"US","America/Dominica":"DM","America/Edmonton":"CA","America/Eirunepe":"BR","America/El_Salvador":"SV","America/Ensenada":"MX","America/Fort_Nelson":"CA","America/Fort_Wayne":"US","America/Fortaleza":"BR","America/Glace_Bay":"CA","America/Godthab":"GL","America/Goose_Bay":"CA","America/Grand_Turk":"TC","America/Grenada":"GD","America/Guadeloupe":"GP","America/Guatemala":"GT","America/Guayaquil":"EC","America/Guyana":"GY","America/Halifax":"CA","America/Havana":"CU","America/Hermosillo":"MX","America/Indiana/Indianapoli":"US","America/Indiana/Knox":"US","America/Indiana/Marengo":"US","America/Indiana/Petersburg":"US","America/Indiana/Tell_City":"US","America/Indiana/Vevay":"US","America/Indiana/Vincennes":"US","America/Indiana/Winamac":"US","America/Indianapoli":"US","America/Inuvik":"CA","America/Iqaluit":"CA","America/Jamaica":"JM","America/Jujuy":"AR","America/Juneau":"US","America/Kentucky/Louisville":"US","America/Kentucky/Monticello":"US","America/Knox_IN":"US","America/Kralendijk":"BQ","America/La_Paz":"BO","America/Lima":"PE","America/Los_Angeles":"US","America/Louisville":"US","America/Lower_Princes":"SX","America/Maceio":"BR","America/Managua":"NI","America/Manaus":"BR","America/Marigot":"MF","America/Martinique":"MQ","America/Matamoros":"MX","America/Mazatlan":"MX","America/Mendoza":"AR","America/Menominee":"US","America/Merida":"MX","America/Metlakatla":"US","America/Mexico_City":"MX","America/Miquelon":"PM","America/Moncton":"CA","America/Monterrey":"MX","America/Montevideo":"UY","America/Montreal":"CA","America/Montserrat":"MS","America/Nassau":"BS","America/New_York":"US","America/Nipigon":"CA","America/Nome":"US","America/Noronha":"BR","America/North_Dakota/Beulah":"US","America/North_Dakota/Center":"US","America/North_Dakota/New_Salem":"US","America/Nuuk":"GL","America/Ojinaga":"MX","America/Panama":"PA","America/Pangnirtung":"CA","America/Paramaribo":"SR","America/Phoenix":"US,CA","America/Port-au-Prince":"HT","America/Port_of_Spain":"TT","America/Porto_Acre":"BR","America/Porto_Velho":"BR","America/Puerto_Rico":"PR","America/Punta_Arenas":"CL","America/Rainy_River":"CA","America/Rankin_Inlet":"CA","America/Recife":"BR","America/Regina":"CA","America/Resolute":"CA","America/Rio_Branco":"BR","America/Rosario":"AR","America/Santa_Isabel":"MX","America/Santarem":"BR","America/Santiago":"CL","America/Santo_Domingo":"DO","America/Sao_Paulo":"BR","America/Scoresbysund":"GL","America/Shiprock":"US","America/Sitka":"US","America/St_Barthelemy":"BL","America/St_Johns":"CA","America/St_Kitts":"KN","America/St_Lucia":"LC","America/St_Thomas":"VI","America/St_Vincent":"VC","America/Swift_Current":"CA","America/Tegucigalpa":"HN","America/Thule":"GL","America/Thunder_Bay":"CA","America/Tijuana":"MX","America/Toronto":"CA","America/Tortola":"VG","America/Vancouver":"CA","America/Virgin":"VI","America/Whitehorse":"CA","America/Winnipeg":"CA","America/Yakutat":"US","America/Yellowknife":"CA","Antarctica/Casey":"AQ","Antarctica/Davis":"AQ","Antarctica/DumontDUrville":"AQ","Antarctica/Macquarie":"AU","Antarctica/Mawson":"AQ","Antarctica/McMurdo":"AQ","Antarctica/Palmer":"AQ","Antarctica/Rothera":"AQ","Antarctica/South_Pole":"AQ","Antarctica/Syowa":"AQ","Antarctica/Troll":"AQ","Antarctica/Vostok":"AQ","Arctic/Longyearbyen":"SJ","Asia/Aden":"YE","Asia/Almaty":"KZ","Asia/Amman":"JO","Asia/Anadyr":"RU","Asia/Aqtau":"KZ","Asia/Aqtobe":"KZ","Asia/Ashgabat":"TM","Asia/Ashkhabad":"TM","Asia/Atyrau":"KZ","Asia/Baghdad":"IQ","Asia/Bahrain":"BH","Asia/Baku":"AZ","Asia/Bangkok":"TH","Asia/Barnaul":"RU","Asia/Beirut":"LB","Asia/Bishkek":"KG","Asia/Brunei":"BN","Asia/Calcutta":"IN","Asia/Chita":"RU","Asia/Choibalsan":"MN","Asia/Chongqing":"CN","Asia/Chungking":"CN","Asia/Colombo":"LK","Asia/Dacca":"BD","Asia/Damascus":"SY","Asia/Dhaka":"BD","Asia/Dili":"TL","Asia/Dubai":"AE","Asia/Dushanbe":"TJ","Asia/Famagusta":"CY","Asia/Gaza":"PS","Asia/Harbin":"CN","Asia/Hebron":"PS","Asia/Ho_Chi_Minh":"VN","Asia/Hong_Kong":"HK","Asia/Hovd":"MN","Asia/Irkutsk":"RU","Asia/Istanbul":"TR","Asia/Jakarta":"ID","Asia/Jayapura":"ID","Asia/Jerusalem":"IL","Asia/Kabul":"AF","Asia/Kamchatka":"RU","Asia/Karachi":"PK","Asia/Kashgar":"CN","Asia/Kathmandu":"NP","Asia/Katmandu":"NP","Asia/Khandyga":"RU","Asia/Kolkata":"IN","Asia/Krasnoyarsk":"RU","Asia/Kuala_Lumpur":"MY","Asia/Kuching":"MY","Asia/Kuwait":"KW","Asia/Macao":"MO","Asia/Macau":"MO","Asia/Magadan":"RU","Asia/Makassar":"ID","Asia/Manila":"PH","Asia/Muscat":"OM","Asia/Nicosia":"CY","Asia/Novokuznetsk":"RU","Asia/Novosibirsk":"RU","Asia/Omsk":"RU","Asia/Oral":"KZ","Asia/Phnom_Penh":"KH","Asia/Pontianak":"ID","Asia/Pyongyang":"KP","Asia/Qatar":"QA","Asia/Qostanay":"KZ","Asia/Qyzylorda":"KZ","Asia/Rangoon":"MM","Asia/Riyadh":"SA","Asia/Saigon":"VN","Asia/Sakhalin":"RU","Asia/Samarkand":"UZ","Asia/Seoul":"KR","Asia/Shanghai":"CN","Asia/Singapore":"SG","Asia/Srednekolymsk":"RU","Asia/Taipei":"TW","Asia/Tashkent":"UZ","Asia/Tbilisi":"GE","Asia/Tehran":"IR","Asia/Tel_Aviv":"IL","Asia/Thimbu":"BT","Asia/Thimphu":"BT","Asia/Tokyo":"JP","Asia/Tomsk":"RU","Asia/Ujung_Pandang":"ID","Asia/Ulaanbaatar":"MN","Asia/Ulan_Bator":"MN","Asia/Urumqi":"CN","Asia/Ust-Nera":"RU","Asia/Vientiane":"LA","Asia/Vladivostok":"RU","Asia/Yakutsk":"RU","Asia/Yangon":"MM","Asia/Yekaterinburg":"RU","Asia/Yerevan":"AM","Atlantic/Azores":"PT","Atlantic/Bermuda":"BM","Atlantic/Canary":"ES","Atlantic/Cape_Verde":"CV","Atlantic/Faeroe":"FO","Atlantic/Faroe":"FO","Atlantic/Jan_Mayen":"SJ","Atlantic/Madeira":"PT","Atlantic/Reykjavik":"IS","Atlantic/South_Georgia":"GS","Atlantic/St_Helena":"SH","Atlantic/Stanley":"FK","Australia/ACT":"AU","Australia/Adelaide":"AU","Australia/Brisbane":"AU","Australia/Broken_Hill":"AU","Australia/Canberra":"AU","Australia/Currie":"AU","Australia/Darwin":"AU","Australia/Eucla":"AU","Australia/Hobart":"AU","Australia/LHI":"AU","Australia/Lindeman":"AU","Australia/Lord_Howe":"AU","Australia/Melbourne":"AU","Australia/North":"AU","Australia/NSW":"AU","Australia/Perth":"AU","Australia/Queensland":"AU","Australia/South":"AU","Australia/Sydney":"AU","Australia/Tasmania":"AU","Australia/Victoria":"AU","Australia/West":"AU","Australia/Yancowinna":"AU","Brazil/Acre":"BR","Brazil/DeNoronha":"BR","Brazil/East":"BR","Brazil/West":"BR","Canada/Atlantic":"CA","Canada/Central":"CA","Canada/Eastern":"CA","Canada/Mountain":"CA","Canada/Newfoundland":"CA","Canada/Pacific":"CA","Canada/Saskatchewan":"CA","Canada/Yukon":"CA",CET:"CET","Chile/Continental":"CL","Chile/EasterIsland":"CL",CST6CDT:"CST6CDT",Cuba:"CU",EET:"EET",Egypt:"EG",Eire:"IE",EST:"EST",EST5EDT:"EST5EDT","Etc/GMT":"Etc/GMT","Etc/GMT+0":"Etc/GMT+0","Etc/GMT+1":"Etc/GMT+1","Etc/GMT+10":"Etc/GMT+10","Etc/GMT+11":"Etc/GMT+11","Etc/GMT+12":"Etc/GMT+12","Etc/GMT+2":"Etc/GMT+2","Etc/GMT+3":"Etc/GMT+3","Etc/GMT+4":"Etc/GMT+4","Etc/GMT+5":"Etc/GMT+5","Etc/GMT+6":"Etc/GMT+6","Etc/GMT+7":"Etc/GMT+7","Etc/GMT+8":"Etc/GMT+8","Etc/GMT+9":"Etc/GMT+9","Etc/GMT-0":"Etc/GMT-0","Etc/GMT-1":"Etc/GMT-1","Etc/GMT-10":"Etc/GMT-10","Etc/GMT-11":"Etc/GMT-11","Etc/GMT-12":"Etc/GMT-12","Etc/GMT-13":"Etc/GMT-13","Etc/GMT-14":"Etc/GMT-14","Etc/GMT-2":"Etc/GMT-2","Etc/GMT-3":"Etc/GMT-3","Etc/GMT-4":"Etc/GMT-4","Etc/GMT-5":"Etc/GMT-5","Etc/GMT-6":"Etc/GMT-6","Etc/GMT-7":"Etc/GMT-7","Etc/GMT-8":"Etc/GMT-8","Etc/GMT-9":"Etc/GMT-9","Etc/GMT0":"Etc/GMT0","Etc/Greenwich":"Etc/Greenwich","Etc/UCT":"Etc/UCT","Etc/UTC":"Etc/UTC","Etc/Universal":"Etc/Universal","Etc/Zulu":"Etc/Zulu","Europe/Amsterdam":"NL","Europe/Andorra":"AD","Europe/Astrakhan":"RU","Europe/Athens":"GR","Europe/Belfast":"GB","Europe/Belgrade":"RS","Europe/Berlin":"DE","Europe/Bratislava":"SK","Europe/Brussels":"BE","Europe/Bucharest":"RO","Europe/Budapest":"HU","Europe/Busingen":"DE","Europe/Chisinau":"MD","Europe/Copenhagen":"DK","Europe/Dublin":"IE","Europe/Gibraltar":"GI","Europe/Guernsey":"GG","Europe/Helsinki":"FI","Europe/Isle_of_Man":"IM","Europe/Istanbul":"TR","Europe/Jersey":"JE","Europe/Kaliningrad":"RU","Europe/Kiev":"UA","Europe/Kirov":"RU","Europe/Kyiv":"UA","Europe/Lisbon":"PT","Europe/Ljubljana":"SI","Europe/London":"GB","Europe/Luxembourg":"LU","Europe/Madrid":"ES","Europe/Malta":"MT","Europe/Mariehamn":"AX","Europe/Minsk":"BY","Europe/Monaco":"MC","Europe/Moscow":"RU","Europe/Nicosia":"CY","Europe/Oslo":"NO","Europe/Paris":"FR","Europe/Podgorica":"ME","Europe/Prague":"CZ","Europe/Riga":"LV","Europe/Rome":"IT","Europe/Samara":"RU","Europe/San_Marino":"SM","Europe/Sarajevo":"BA","Europe/Saratov":"RU","Europe/Simferopol":"RU","Europe/Skopje":"MK","Europe/Sofia":"BG","Europe/Stockholm":"SE","Europe/Tallinn":"EE","Europe/Tirane":"AL","Europe/Tiraspol":"MD","Europe/Ulyanovsk":"RU","Europe/Uzhgorod":"UA","Europe/Vaduz":"LI","Europe/Vatican":"VA","Europe/Vienna":"AT","Europe/Vilnius":"LT","Europe/Volgograd":"RU","Europe/Warsaw":"PL","Europe/Zagreb":"HR","Europe/Zaporozhye":"UA","Europe/Zurich":"CH",Factory:"Factory",GB:"GB","GB-Eire":"GB",GMT:"GMT","GMT+0":"GMT+0","GMT-0":"GMT-0",GMT0:"GMT0",Greenwich:"Greenwich",Hongkong:"HK",HST:"HST",Iceland:"IS","Indian/Antananarivo":"MG","Indian/Chagos":"IO","Indian/Christmas":"CX","Indian/Cocos":"CC","Indian/Comoro":"KM","Indian/Kerguelen":"TF","Indian/Mahe":"SC","Indian/Maldives":"MV","Indian/Mauritius":"MU","Indian/Mayotte":"YT","Indian/Reunion":"RE",Iran:"IR",Israel:"IL",Jamaica:"JM",Japan:"JP",Kwajalein:"MH",Libya:"LY",MET:"MET","Mexico/BajaNorte":"MX","Mexico/BajaSur":"MX","Mexico/General":"MX",MST:"MST",MST7MDT:"MST7MDT",Navajo:"US",NZ:"NZ","NZ-CHAT":"NZ","Pacific/Apia":"WS","Pacific/Auckland":"NZ","Pacific/Bougainville":"PG","Pacific/Chatham":"NZ","Pacific/Chuuk":"FM","Pacific/Easter":"CL","Pacific/Efate":"VU","Pacific/Enderbury":"KI","Pacific/Fakaofo":"TK","Pacific/Fiji":"FJ","Pacific/Funafuti":"TV","Pacific/Galapagos":"EC","Pacific/Gambier":"PF","Pacific/Guadalcanal":"SB","Pacific/Guam":"GU,MP","Pacific/Honolulu":"US","Pacific/Johnston":"UM","Pacific/Kanton":"KI","Pacific/Kiritimati":"KI","Pacific/Kosrae":"FM","Pacific/Kwajalein":"MH","Pacific/Majuro":"MH","Pacific/Marquesas":"PF","Pacific/Midway":"UM","Pacific/Nauru":"NR","Pacific/Niue":"NU","Pacific/Norfolk":"NF","Pacific/Noumea":"NC","Pacific/Pago_Pago":"AS","Pacific/Palau":"PW","Pacific/Pitcairn":"PN","Pacific/Pohnpei":"FM","Pacific/Ponape":"FM","Pacific/Port_Moresby":"PG","Pacific/Rarotonga":"CK","Pacific/Saipan":"MP","Pacific/Samoa":"AS","Pacific/Tahiti":"PF","Pacific/Tarawa":"KI","Pacific/Tongatapu":"TO","Pacific/Truk":"FM","Pacific/Wake":"UM","Pacific/Wallis":"WF","Pacific/Yap":"FM",Poland:"PL",Portugal:"PT",PRC:"CN",PST8PDT:"PST8PDT",ROC:"TW",ROK:"KR",Singapore:"SG",Turkey:"TR",UCT:"UCT",Universal:"Universal","US/Alaska":"US","US/Aleutian":"US","US/Arizona":"US","US/Central":"US","US/East-Indiana":"US","US/Eastern":"US","US/Hawaii":"US","US/Indiana-Starke":"US","US/Michigan":"US","US/Mountain":"US","US/Pacific":"US","US/Samoa":"AS",UTC:"UTC","W-SU":"RU",WET:"WET",Zulu:"Zulu"}},309:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Event=void 0,function(e){e.PAGE="page_hit",e.IDENTIFY="identify",e.CONNECT="connect",e.DISCONNECT="disconnect",e.CHAIN_CHANGED="chain_changed",e.SIGNATURE="signature",e.TRANSACTION="transaction"}(n||(t.Event=n={}))},450:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(921),t),i(n(358),t),i(n(309),t),i(n(417),t)},417:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.REGEX=void 0,t.REGEX={addressRegex:/^0x[a-fA-F0-9]{40}$/}},156:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(190),t),i(n(879),t),i(n(574),t)},568:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.session=void 0;var o=n(504);Object.defineProperty(t,"session",{enumerable:!0,get:function(){return a(o).default}}),i(n(973),t)},504:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SessionStorage=void 0;var n=function(){function e(){this.json_prefix="__json="}return e.prototype.set=function(e,t){"boolean"==typeof t&&(t=!0===t?"true":"false"),"object"==typeof t&&(t=this.json_prefix+JSON.stringify(t)),sessionStorage.setItem(e,t)},e.prototype.get=function(e){var t=sessionStorage.getItem(e);if(!t||"string"!=typeof t)return null;if(["null","undefined"].some((function(e){return e==t})))return null;if(t.startsWith(this.json_prefix))try{return JSON.parse(t.slice(7))}catch(e){return console.error("[FORMO_ERROR] SessionStorage failed to parse JSON",e),null}return["true","false"].some((function(e){return e==t}))?JSON.parse(t):t},e.prototype.removeMatch=function(e){for(var t in sessionStorage)e.test(t)&&this.remove(t)},e.prototype.remove=function(e){sessionStorage.removeItem(e)},e.prototype.clear=function(){sessionStorage.clear()},e}();t.SessionStorage=n,t.default=new n},973:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAddress=t.isLocalhost=void 0,t.toSnakeCase=function(e,t){void 0===t&&(t=[]);var n=function(e){return Array.isArray(e)?e.map(n):null!==e&&"object"==typeof e?Object.keys(e).reduce((function(r,a){return r[t.includes(a)?a:i(a)]=t.includes(a)?e[a]:n(e[a]),r}),{}):e};return n(e)};var r=n(450),i=function(e){return e.replace(/([a-z])([A-Z])/g,"$1_$2").replace(/[\s-]+/g,"_").toLowerCase()};t.isLocalhost=function(){return/^localhost$|^127(?:\.[0-9]+){0,2}\.[0-9]+$|^(?:0*:)*?:?0*1$/.test(window.location.hostname)||"file:"===window.location.protocol},t.isAddress=function(e){return r.REGEX.addressRegex.test(e)}},989:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},465:(e,t)=>{"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionStatus=t.SignatureStatus=void 0,function(e){e.REQUESTED="requested",e.REJECTED="rejected",e.CONFIRMED="confirmed"}(n||(t.SignatureStatus=n={})),function(e){e.STARTED="started",e.REJECTED="rejected",e.BROADCASTED="broadcasted"}(r||(t.TransactionStatus=r={}))},574:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(989),t),i(n(465),t),i(n(521),t)},521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},228:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requestProviders=t.announceProvider=t.createStore=void 0;var r=n(349);Object.defineProperty(t,"createStore",{enumerable:!0,get:function(){return r.createStore}});var i=n(317);Object.defineProperty(t,"announceProvider",{enumerable:!0,get:function(){return i.announceProvider}}),Object.defineProperty(t,"requestProviders",{enumerable:!0,get:function(){return i.requestProviders}})},349:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStore=void 0;const r=n(317);t.createStore=function(){const e=new Set;let t=[];const n=()=>(0,r.requestProviders)((n=>{t.some((({info:e})=>e.uuid===n.info.uuid))||(t=[...t,n],e.forEach((e=>e(t,{added:[n]}))))}));let i=n();return{_listeners:()=>e,clear(){e.forEach((e=>e([],{removed:[...t]}))),t=[]},destroy(){this.clear(),e.clear(),i?.()},findProvider:({rdns:e})=>t.find((t=>t.info.rdns===e)),getProviders:()=>t,reset(){this.clear(),i?.(),i=n()},subscribe:(n,{emitImmediately:r}={})=>(e.add(n),r&&n(t,{added:t}),()=>e.delete(n))}}},317:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requestProviders=t.announceProvider=void 0,t.announceProvider=function(e){const t=new CustomEvent("eip6963:announceProvider",{detail:Object.freeze(e)});window.dispatchEvent(t);const n=()=>window.dispatchEvent(t);return window.addEventListener("eip6963:requestProvider",n),()=>window.removeEventListener("eip6963:requestProvider",n)},t.requestProviders=function(e){if("undefined"==typeof window)return;const t=t=>e(t.detail);return window.addEventListener("eip6963:announceProvider",t),window.dispatchEvent(new CustomEvent("eip6963:requestProvider")),()=>window.removeEventListener("eip6963:announceProvider",t)}},744:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});const r=Object.prototype.toString,i=e=>"[object Error]"===r.call(e),a=new Set(["network error","Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Load failed","Network request failed","fetch failed","terminated"]);function o(e){return!(!e||!i(e)||"TypeError"!==e.name||"string"!=typeof e.message)&&("Load failed"===e.message?void 0===e.stack:a.has(e.message))}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r=n(156);return r.FormoAnalytics})()));
|
|
3
3
|
//# sourceMappingURL=index.umd.min.js.map
|