(self["webpackChunkflowrabbit_ui"]=self["webpackChunkflowrabbit_ui"]||[]).push([[504],{81656:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,{A:function(){return r}})},67526:function(t,e){"use strict";e.byteLength=u,e.toByteArray=f,e.fromByteArray=h;for(var n=[],r=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function u(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r}function l(t,e,n){return 3*(e+n)/4-n}function f(t){var e,n,i=c(t),a=i[0],s=i[1],u=new o(l(t,a,s)),f=0,p=s>0?a-4:a;for(n=0;n<p;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],u[f++]=e>>16&255,u[f++]=e>>8&255,u[f++]=255&e;return 2===s&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,u[f++]=255&e),1===s&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,u[f++]=e>>8&255,u[f++]=255&e),u}function p(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function d(t,e,n){for(var r,o=[],i=e;i<n;i+=3)r=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(p(r));return o.join("")}function h(t){for(var e,r=t.length,o=r%3,i=[],a=16383,s=0,c=r-o;s<c;s+=a)i.push(d(t,s,s+a>c?c:s+a));return 1===o?(e=t[r-1],i.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],i.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},54610:function(t){var e=!("undefined"===typeof window||!window.document||!window.document.createElement);t.exports=e},99100:function(t){
/*! For license information please see index.js.LICENSE.txt */
!function(e,n){t.exports=n()}(0,(()=>(()=>{var t={599:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>h,getControlKey:()=>d});var r=n(378),o=function(){return["WINDOWS","ANDROID","LINUX"].includes(function(){if("undefined"!=typeof window){var t=window.navigator.userAgent,e=window.navigator.platform,n="MAC";return-1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(e)?n="MAC":-1!==["iPhone","iPad","iPod"].indexOf(e)?n="IOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(e)?n="WINDOWS":/Android/.test(t)?n="ANDROID":/Linux/.test(e)&&(n="LINUX"),n}}())?"Ctrl":"⌘"},i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},a=r.createContext&&r.createContext(i),s=function(){return s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},s.apply(this,arguments)},c=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&(n[r[o]]=t[r[o]])}return n};function u(t){return t&&t.map((function(t,e){return r.createElement(t.tag,s({key:e},t.attr),u(t.child))}))}function l(t){return function(e){return r.createElement(f,s({attr:s({},t.attr)},e),u(t.child))}}function f(t){var e=function(e){var n,o=t.size||e.size||"1em";e.className&&(n=e.className),t.className&&(n=(n?n+" ":"")+t.className);var i=t.attr,a=t.title,u=c(t,["attr","title"]);return r.createElement("svg",s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,i,u,{className:n,style:s({color:t.color||e.color},e.style,t.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),a&&r.createElement("title",null,a),t.children)};return void 0!==a?r.createElement(a.Consumer,null,(function(t){return e(t)})):e(i)}function p(t){return l({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]})(t)}var d=o;const h=function(t){var e=t.text,n=t.style;return r.createElement("div",{id:"commandbar-user-launcher-component",className:"commandbar-user-launcher",style:n||{},onClick:function(){var t,e;null===(t=window)||void 0===t||null===(e=t.CommandBar)||void 0===e||e.open()}},r.createElement("div",{className:"commandbar-user-launcher__content"},r.createElement("div",{className:"commandbar-user-launcher__prefix"},r.createElement(p,null),"  ",e||"Find anything"),!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&r.createElement("div",{className:"commandbar-user-launcher__suffix"},r.createElement("span",{style:{marginRight:3},className:"commandbar-user-launcher__tag"},o()),r.createElement("span",{style:{marginRight:3}},"+"),r.createElement("span",{className:"commandbar-user-launcher__tag "},"K"))))}},296:(t,e,n)=>{"use strict";var r=n(102),o=n(307),i=n(339),a=n(957),s=n(246);(t.exports=function(t,e){var n,o,c,u,l;return arguments.length<2||"string"!=typeof t?(u=e,e=t,t=null):u=arguments[2],r(t)?(n=s.call(t,"c"),o=s.call(t,"e"),c=s.call(t,"w")):(n=c=!0,o=!1),l={value:e,configurable:n,enumerable:o,writable:c},u?i(a(u),l):l}).gs=function(t,e,n){var c,u,l,f;return"string"!=typeof t?(l=n,n=e,e=t,t=null):l=arguments[3],r(e)?o(e)?r(n)?o(n)||(l=n,n=void 0):n=void 0:(l=e,e=n=void 0):e=void 0,r(t)?(c=s.call(t,"c"),u=s.call(t,"e")):(c=!0,u=!1),f={get:e,set:n,configurable:c,enumerable:u},l?i(a(l),f):f}},817:t=>{"use strict";t.exports=function(){}},339:(t,e,n)=>{"use strict";t.exports=n(994)()?Object.assign:n(963)},994:t=>{"use strict";t.exports=function(){var t,e=Object.assign;return"function"==typeof e&&(e(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},963:(t,e,n)=>{"use strict";var r=n(450),o=n(836),i=Math.max;t.exports=function(t,e){var n,a,s,c=i(arguments.length,2);for(t=Object(o(t)),s=function(r){try{t[r]=e[r]}catch(t){n||(n=t)}},a=1;a<c;++a)r(e=arguments[a]).forEach(s);if(void 0!==n)throw n;return t}},349:(t,e,n)=>{"use strict";var r=n(817)();t.exports=function(t){return t!==r&&null!==t}},450:(t,e,n)=>{"use strict";t.exports=n(446)()?Object.keys:n(177)},446:t=>{"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},177:(t,e,n)=>{"use strict";var r=n(349),o=Object.keys;t.exports=function(t){return o(r(t)?Object(t):t)}},957:(t,e,n)=>{"use strict";var r=n(349),o=Array.prototype.forEach,i=Object.create;t.exports=function(t){var e=i(null);return o.call(arguments,(function(t){r(t)&&function(t,e){var n;for(n in t)e[n]=t[n]}(Object(t),e)})),e}},836:(t,e,n)=>{"use strict";var r=n(349);t.exports=function(t){if(!r(t))throw new TypeError("Cannot use null or undefined");return t}},246:(t,e,n)=>{"use strict";t.exports=n(711)()?String.prototype.contains:n(370)},711:t=>{"use strict";var e="razdwatrzy";t.exports=function(){return"function"==typeof e.contains&&!0===e.contains("dwa")&&!1===e.contains("foo")}},370:t=>{"use strict";var e=String.prototype.indexOf;t.exports=function(t){return e.call(this,t,arguments[1])>-1}},992:(t,e,n)=>{"use strict";n(98).polyfill()},98:t=>{"use strict";function e(t,e){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var n=Object(t),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var i=Object.keys(Object(o)),a=0,s=i.length;a<s;a++){var c=i[a],u=Object.getOwnPropertyDescriptor(o,c);void 0!==u&&u.enumerable&&(n[c]=o[c])}}return n}t.exports={assign:e,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:e})}}},769:(t,e,n)=>{"use strict";n(614)()||Object.defineProperty(n(119),"Symbol",{value:n(798),configurable:!0,enumerable:!1,writable:!0})},614:(t,e,n)=>{"use strict";var r=n(119),o={object:!0,symbol:!0};t.exports=function(){var t,e=r.Symbol;if("function"!=typeof e)return!1;t=e("test symbol");try{String(t)}catch(t){return!1}return!!o[typeof e.iterator]&&!!o[typeof e.toPrimitive]&&!!o[typeof e.toStringTag]}},64:t=>{"use strict";t.exports=function(t){return!!t&&("symbol"==typeof t||!!t.constructor&&"Symbol"===t.constructor.name&&"Symbol"===t[t.constructor.toStringTag])}},573:(t,e,n)=>{"use strict";var r=n(296),o=Object.create,i=Object.defineProperty,a=Object.prototype,s=o(null);t.exports=function(t){for(var e,n,o=0;s[t+(o||"")];)++o;return s[t+=o||""]=!0,i(a,e="@@"+t,r.gs(null,(function(t){n||(n=!0,i(this,e,r(t)),n=!1)}))),e}},572:(t,e,n)=>{"use strict";var r=n(296),o=n(119).Symbol;t.exports=function(t){return Object.defineProperties(t,{hasInstance:r("",o&&o.hasInstance||t("hasInstance")),isConcatSpreadable:r("",o&&o.isConcatSpreadable||t("isConcatSpreadable")),iterator:r("",o&&o.iterator||t("iterator")),match:r("",o&&o.match||t("match")),replace:r("",o&&o.replace||t("replace")),search:r("",o&&o.search||t("search")),species:r("",o&&o.species||t("species")),split:r("",o&&o.split||t("split")),toPrimitive:r("",o&&o.toPrimitive||t("toPrimitive")),toStringTag:r("",o&&o.toStringTag||t("toStringTag")),unscopables:r("",o&&o.unscopables||t("unscopables"))})}},781:(t,e,n)=>{"use strict";var r=n(296),o=n(11),i=Object.create(null);t.exports=function(t){return Object.defineProperties(t,{for:r((function(e){return i[e]?i[e]:i[e]=t(String(e))})),keyFor:r((function(t){var e;for(e in o(t),i)if(i[e]===t)return e}))})}},798:(t,e,n)=>{"use strict";var r,o,i,a=n(296),s=n(11),c=n(119).Symbol,u=n(573),l=n(572),f=n(781),p=Object.create,d=Object.defineProperties,h=Object.defineProperty;if("function"==typeof c)try{String(c()),i=!0}catch(t){}else c=null;o=function(t){if(this instanceof o)throw new TypeError("Symbol is not a constructor");return r(t)},t.exports=r=function t(e){var n;if(this instanceof t)throw new TypeError("Symbol is not a constructor");return i?c(e):(n=p(o.prototype),e=void 0===e?"":String(e),d(n,{__description__:a("",e),__name__:a("",u(e))}))},l(r),f(r),d(o.prototype,{constructor:a(r),toString:a("",(function(){return this.__name__}))}),d(r.prototype,{toString:a((function(){return"Symbol ("+s(this).__description__+")"})),valueOf:a((function(){return s(this)}))}),h(r.prototype,r.toPrimitive,a("",(function(){var t=s(this);return"symbol"==typeof t?t:t.toString()}))),h(r.prototype,r.toStringTag,a("c","Symbol")),h(o.prototype,r.toStringTag,a("c",r.prototype[r.toStringTag])),h(o.prototype,r.toPrimitive,a("c",r.prototype[r.toPrimitive]))},11:(t,e,n)=>{"use strict";var r=n(64);t.exports=function(t){if(!r(t))throw new TypeError(t+" is not a symbol");return t}},308:t=>{var e=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw new Error("Unable to resolve global `this`")};t.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(t){return e()}try{return __global__||e()}finally{delete Object.prototype.__global__}}()},119:(t,e,n)=>{"use strict";t.exports=n(801)()?globalThis:n(308)},801:t=>{"use strict";t.exports=function(){return"object"==typeof globalThis&&!!globalThis&&globalThis.Array===Array}},525:t=>{"use strict";var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,o){for(var i,a,s=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),c=1;c<arguments.length;c++){for(var u in i=Object(arguments[c]))n.call(i,u)&&(s[u]=i[u]);if(e){a=e(i);for(var l=0;l<a.length;l++)r.call(i,a[l])&&(s[a[l]]=i[a[l]])}}return s}},656:(t,e,n)=>{"use strict";var r;(r="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)||"undefined"!=typeof navigator&&"ReactNative"===navigator.product?n.g:self).Proxy||(r.Proxy=n(659)(),r.Proxy.revocable=r.Proxy.revocable)},659:t=>{t.exports=function(){let t,e=null;function n(t){return!!t&&("object"==typeof t||"function"==typeof t)}function r(t){if(null!==t&&!n(t))throw new TypeError("Object prototype may only be an Object or null: "+t)}const o=Object,i=Boolean(o.create)||!({__proto__:null}instanceof o),a=o.create||(i?function(t){return r(t),{__proto__:t}}:function(t){if(r(t),null===t)throw new SyntaxError("Native Object.create is required to create objects with null prototype");var e=function(){};return e.prototype=t,new e}),s=function(){return null},c=o.getPrototypeOf||([].__proto__===Array.prototype?function(t){const e=t.__proto__;return n(e)?e:null}:s);return t=function(u,l){if(void 0===(this&&this instanceof t?this.constructor:void 0))throw new TypeError("Constructor Proxy requires 'new'");if(!n(u)||!n(l))throw new TypeError("Cannot create proxy with a non-object as target or handler");let f=function(){};e=function(){u=null,f=function(t){throw new TypeError(`Cannot perform '${t}' on a proxy that has been revoked`)}},setTimeout((function(){e=null}),0);const p=l;l={get:null,set:null,apply:null,construct:null};for(let t in p){if(!(t in l))throw new TypeError(`Proxy polyfill does not support trap '${t}'`);l[t]=p[t]}"function"==typeof p&&(l.apply=p.apply.bind(p));const d=c(u);let h,v=!1,m=!1;"function"==typeof u?(h=function(){const t=this&&this.constructor===h,e=Array.prototype.slice.call(arguments);return f(t?"construct":"apply"),t&&l.construct?l.construct.call(this,u,e):!t&&l.apply?l.apply(u,this,e):t?(e.unshift(u),new(u.bind.apply(u,e))):u.apply(this,e)},v=!0):u instanceof Array?(h=[],m=!0):h=i||null!==d?a(d):{};const g=l.get?function(t){return f("get"),l.get(this,t,h)}:function(t){return f("get"),this[t]},y=l.set?function(t,e){f("set"),l.set(this,t,e,h)}:function(t,e){f("set"),this[t]=e},b=o.getOwnPropertyNames(u),w={};b.forEach((function(t){if((v||m)&&t in h)return;const e=o.getOwnPropertyDescriptor(u,t),n={enumerable:Boolean(e.enumerable),get:g.bind(u,t),set:y.bind(u,t)};o.defineProperty(h,t,n),w[t]=!0}));let x=!0;if(v||m){const t=o.setPrototypeOf||([].__proto__===Array.prototype?function(t,e){return r(e),t.__proto__=e,t}:s);d&&t(h,d)||(x=!1)}if(l.get||!x)for(let t in u)w[t]||o.defineProperty(h,t,{get:g.bind(u,t)});return o.seal(u),o.seal(h),h},t.revocable=function(n,r){return{proxy:new t(n,r),revoke:e}},t}},535:(t,e,n)=>{"use strict";var r=n(525),o=60103,i=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var a=60109,s=60110,c=60112;e.Suspense=60113;var u=60115,l=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;o=f("react.element"),i=f("react.portal"),e.Fragment=f("react.fragment"),e.StrictMode=f("react.strict_mode"),e.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),c=f("react.forward_ref"),e.Suspense=f("react.suspense"),u=f("react.memo"),l=f("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function d(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function m(t,e,n){this.props=t,this.context=e,this.refs=v,this.updater=n||h}function g(){}function y(t,e,n){this.props=t,this.context=e,this.refs=v,this.updater=n||h}m.prototype.isReactComponent={},m.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error(d(85));this.updater.enqueueSetState(this,t,e,"setState")},m.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},g.prototype=m.prototype;var b=y.prototype=new g;b.constructor=y,r(b,m.prototype),b.isPureReactComponent=!0;var w={current:null},x=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function k(t,e,n){var r,i={},a=null,s=null;if(null!=e)for(r in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(a=""+e.key),e)x.call(e,r)&&!S.hasOwnProperty(r)&&(i[r]=e[r]);var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}if(t&&t.defaultProps)for(r in c=t.defaultProps)void 0===i[r]&&(i[r]=c[r]);return{$$typeof:o,type:t,key:a,ref:s,props:i,_owner:w.current}}function _(t){return"object"==typeof t&&null!==t&&t.$$typeof===o}var C=/\/+/g;function E(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function O(t,e,n,r,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case o:case i:c=!0}}if(c)return a=a(c=t),t=""===r?"."+E(c,0):r,Array.isArray(a)?(n="",null!=t&&(n=t.replace(C,"$&/")+"/"),O(a,e,n,"",(function(t){return t}))):null!=a&&(_(a)&&(a=function(t,e){return{$$typeof:o,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(a,n+(!a.key||c&&c.key===a.key?"":(""+a.key).replace(C,"$&/")+"/")+t)),e.push(a)),1;if(c=0,r=""===r?".":r+":",Array.isArray(t))for(var u=0;u<t.length;u++){var l=r+E(s=t[u],u);c+=O(s,e,n,l,a)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=p&&t[p]||t["@@iterator"])?t:null}(t),"function"==typeof l)for(t=l.call(t),u=0;!(s=t.next()).done;)c+=O(s=s.value,e,n,l=r+E(s,u++),a);else if("object"===s)throw e=""+t,Error(d(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e));return c}function I(t,e,n){if(null==t)return t;var r=[],o=0;return O(t,r,"","",(function(t){return e.call(n,t,o++)})),r}function T(t){if(-1===t._status){var e=t._result;e=e(),t._status=0,t._result=e,e.then((function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)}),(function(e){0===t._status&&(t._status=2,t._result=e)}))}if(1===t._status)return t._result;throw t._result}var A={current:null};function L(){var t=A.current;if(null===t)throw Error(d(321));return t}var M={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};e.Children={map:I,forEach:function(t,e,n){I(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return I(t,(function(){e++})),e},toArray:function(t){return I(t,(function(t){return t}))||[]},only:function(t){if(!_(t))throw Error(d(143));return t}},e.Component=m,e.PureComponent=y,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,e.cloneElement=function(t,e,n){if(null==t)throw Error(d(267,t));var i=r({},t.props),a=t.key,s=t.ref,c=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,c=w.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var u=t.type.defaultProps;for(l in e)x.call(e,l)&&!S.hasOwnProperty(l)&&(i[l]=void 0===e[l]&&void 0!==u?u[l]:e[l])}var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){u=Array(l);for(var f=0;f<l;f++)u[f]=arguments[f+2];i.children=u}return{$$typeof:o,type:t.type,key:a,ref:s,props:i,_owner:c}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:s,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:t},t.Consumer=t},e.createElement=k,e.createFactory=function(t){var e=k.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:c,render:t}},e.isValidElement=_,e.lazy=function(t){return{$$typeof:l,_payload:{_status:-1,_result:t},_init:T}},e.memo=function(t,e){return{$$typeof:u,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return L().useCallback(t,e)},e.useContext=function(t,e){return L().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return L().useEffect(t,e)},e.useImperativeHandle=function(t,e,n){return L().useImperativeHandle(t,e,n)},e.useLayoutEffect=function(t,e){return L().useLayoutEffect(t,e)},e.useMemo=function(t,e){return L().useMemo(t,e)},e.useReducer=function(t,e,n){return L().useReducer(t,e,n)},e.useRef=function(t){return L().useRef(t)},e.useState=function(t){return L().useState(t)},e.version="17.0.2"},378:(t,e,n)=>{"use strict";t.exports=n(535)},14:function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(e,n);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,o)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);return o(e,t),e},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.getControlKey=e.Launcher=e.snippet=e.initProxy=e.init=void 0;var s=i(n(599));e.Launcher=s.default,Object.defineProperty(e,"getControlKey",{enumerable:!0,get:function(){return s.getControlKey}});var c=n(956);Object.defineProperty(e,"init",{enumerable:!0,get:function(){return a(c).default}});var u=n(737);Object.defineProperty(e,"initProxy",{enumerable:!0,get:function(){return u.initProxySDK}});var l=n(890);Object.defineProperty(e,"snippet",{enumerable:!0,get:function(){return l.snippet}})},956:function(t,e,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),n(656),n(992),n(769);var o=n(737),i=n(207),a=function(t,e){if("complete"===document.readyState){var n=function(t,e){var n="https://api.commandbar.com",r=[],o=localStorage.getItem("commandbar.lc");o&&o.includes("local")&&(n="http://localhost:8000");var i=n+"/latest/"+t;return o&&r.push("lc="+o),e&&r.push("nonce="+encodeURIComponent(e)),r.push("version=2"),i+"?"+r.join("&")}(t,e),r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src=n,document.head.appendChild(r)}else window.addEventListener("load",a.bind(null,t,e),{capture:!1,once:!0})},s={debug:!1};e.default=function(t,e){var n;void 0===e&&(e=s);var c=r(r({},s),e);t?(null===(n=(0,o.getProxySDK)()[i._configuration])||void 0===n?void 0:n.uuid)?console.warn("CommandBar init was called more than once. Skipping the redundant initialization..."):(c.debug&&console.log("CommandBar init...",{environment:e.environment,version:e.version}),(0,o.getProxySDK)()[i._configuration]={uuid:t,environment:e.environment,version:e.version,config:e.config,nonce:e.nonce},a(t,e.nonce)):console.error("No org specified for CommandBar.init")}},890:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.snippet=void 0,e.snippet=function(t){var e=["Object.assign","Symbol","Symbol.for"].join("%2C"),n=window;function r(t,e){void 0===e&&(e=!1),"complete"!==document.readyState&&window.addEventListener("load",r.bind(null,t,e),{capture:!1,once:!0});var n=document.createElement("script");n.type="text/javascript",n.async=e,n.src=t,document.head.appendChild(n)}function o(){var e;if(void 0===n.CommandBar){delete n.__CommandBarBootstrap__;var o=Symbol.for("CommandBar::configuration"),i=Symbol.for("CommandBar::orgConfig"),a=Symbol.for("CommandBar::disposed"),s=Symbol.for("CommandBar::isProxy"),c=Symbol.for("CommandBar::queue"),u=Symbol.for("CommandBar::unwrap"),l=Symbol.for("CommandBar::eventSubscriptions"),f=[],p=localStorage.getItem("commandbar.lc"),d=p&&p.includes("local")?"http://localhost:8000":"https://api.commandbar.com",h=Object.assign(((e={})[o]={uuid:t},e[i]={},e[a]=!1,e[s]=!0,e[c]=new Array,e[u]=function(){return h},e[l]=void 0,e),n.CommandBar),v=["addCommand","boot","addEventSubscriber","addRecordAction","setFormFactor"],m=h;Object.assign(h,{shareCallbacks:function(){return{}},shareContext:function(){return{}}}),n.CommandBar=new Proxy(h,{get:function(t,e){return e in m?h[e]:"then"!==e?v.includes(e)?function(){var t=Array.prototype.slice.call(arguments);return new Promise((function(n,r){t.unshift(e,n,r),h[c].push(t)}))}:function(){var t=Array.prototype.slice.call(arguments);t.unshift(e),h[c].push(t)}:void 0}}),null!==p&&f.push("lc=".concat(p)),f.push("version=2"),r("".concat(d,"/latest/").concat(t,"?").concat(f.join("&")),!0)}}void 0===Object.assign||"undefined"==typeof Symbol||void 0===Symbol.for?(n.__CommandBarBootstrap__=o,r("https://polyfill.io/v3/polyfill.min.js?version=3.101.0&callback=__CommandBarBootstrap__&features="+e)):o()}},343:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_META_ATTRIBUTES=e.DEFAULT_INSTANCE_ATTRIBUTES=e.PRODUCTS=e.ASYNC_METHODS=e.ASYNC_METHODS_SNIPPET=void 0,e.ASYNC_METHODS_SNIPPET=["addCommand","boot","addEventSubscriber","addRecordAction","setFormFactor"],e.ASYNC_METHODS=["addCommand","boot","addEventSubscriber","addEventHandler","addRecordAction","setFormFactor"],e.PRODUCTS=["spotlight","nudges","checklists","help_hub"],e.DEFAULT_INSTANCE_ATTRIBUTES={canOpenEditor:!0,formFactor:{type:"modal"},products:["spotlight","nudges","checklists","help_hub"]},e.DEFAULT_META_ATTRIBUTES={}},737:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.initProxySDK=e.getProxySDK=void 0;var r=n(314),o=n(343),i=n(207);function a(){var t,e,n,r,a=window.CommandBar,s=window.CommandBar;Array.isArray(null==a?void 0:a.q)||"string"==typeof(null==a?void 0:a.uid)?(n=null==a?void 0:a.uid,r=null==a?void 0:a.q):(n=null===(e=null==s?void 0:s[i._configuration])||void 0===e?void 0:e.uuid,r=null==s?void 0:s[i._queue]);var c=((t={})[i._configuration]={uuid:"string"==typeof n?n:""},t[i._disposed]=!1,t[i._isProxy]=!0,t[i._queue]=Array.isArray(r)?r:[],t[i._unwrap]=function(){return c},t[i._eventSubscriptions]=void 0,t[i._sentry]=void 0,t),u=c;Object.assign(c,{shareCallbacks:function(){return{}},shareContext:function(){return{}}}),window.CommandBar=new Proxy(c,{get:function(t,e){return e in u?u[e]:"then"!==e?o.ASYNC_METHODS_SNIPPET.includes(e)?function(){var t=Array.prototype.slice.call(arguments);return new Promise((function(n,r){t.unshift(e,n,r),c[i._queue].push(t)}))}:function(){var t=Array.prototype.slice.call(arguments);t.unshift(e),c[i._queue].push(t)}:void 0}})}e.getProxySDK=function(){var t=window.CommandBar;return((0,r.isDisposed)(t)||"boolean"!=typeof t[i._isProxy])&&a(),window.CommandBar[i._unwrap]()},e.initProxySDK=a},207:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._fingerprint=e._user=e._unwrap=e._state=e._showMessage=e._showGuide=e._shareProgrammaticCommands=e._shareContextSettings=e._shareConfig=e._setEditorVisible=e._setTestMode=e._setPreviewMode=e._setDashboard=e._sentry=e._search=e._report=e._reloadChecklists=e._previewChecklist=e._stopNudgeDebug=e._stopChecklistPreview=e._closeNudgeMocks=e._showNudgeStepMock=e._getDebugSnapshot=e._startNudgeDebug=e._stopRecommendationSetPreview=e._previewCopilotSettings=e._previewRecommendationSet=e._reloadHelpHub=e._reloadNudges=e._reloadPlaceholders=e._reloadOrganization=e._reloadCommands=e._reload=e._queue=e._programmaticTheme=e._perf=e._orgConfig=e._getEditorPreviewDevice=e._updateEditorPreviewDevice=e._shareEditorRouteWithBar=e._onEditorPathChange=e._loadEditor=e._isProxy=e._instanceAttributes=e._disposed=e._dispose=e._dispatch=e._configUser=e._configure=e._configuration=void 0,e._showWidgetTableau=e._setThemeV2=e._shareTrackedEvents=e._stopDebug=e._startDebug=e._updateEditorRoute=e._metaAttributes=e._eventSubscriptions=e._userProperties=void 0,e._configuration=Symbol.for("CommandBar::configuration"),e._configure=Symbol.for("CommandBar::configure"),e._configUser=Symbol.for("CommandBar::configUser"),e._dispatch=Symbol.for("CommandBar::dispatch"),e._dispose=Symbol.for("CommandBar::dispose"),e._disposed=Symbol.for("CommandBar::disposed"),e._instanceAttributes=Symbol.for("CommandBar::instanceAttributes"),e._isProxy=Symbol.for("CommandBar::isProxy"),e._loadEditor=Symbol.for("CommandBar::loadEditor"),e._onEditorPathChange=Symbol.for("CommandBar::onEditorPathChange"),e._shareEditorRouteWithBar=Symbol.for("CommandBar::shareEditorRouteWithBar"),e._updateEditorPreviewDevice=Symbol.for("CommandBar::updateEditorPreviewDevice"),e._getEditorPreviewDevice=Symbol.for("CommandBar::getEditorPreviewDevice"),e._orgConfig=Symbol.for("CommandBar::orgConfig"),e._perf=Symbol.for("CommandBar::perf"),e._programmaticTheme=Symbol.for("CommandBar::programmaticTheme"),e._queue=Symbol.for("CommandBar::queue"),e._reload=Symbol.for("CommandBar::reload"),e._reloadCommands=Symbol.for("CommandBar::reloadCommands"),e._reloadOrganization=Symbol.for("CommandBar::reloadOrganization"),e._reloadPlaceholders=Symbol.for("CommandBar::reloadPlaceholders"),e._reloadNudges=Symbol.for("CommandBar::reloadNudges"),e._reloadHelpHub=Symbol.for("CommandBar::reloadHelpHub"),e._previewRecommendationSet=Symbol.for("CommandBar::previewRecommendationSet"),e._previewCopilotSettings=Symbol.for("CommandBar::previewCopilotSettings"),e._stopRecommendationSetPreview=Symbol.for("CommandBar::stopRecommendationSetPreview"),e._startNudgeDebug=Symbol.for("CommandBar::startNudgeDebug"),e._getDebugSnapshot=Symbol.for("CommandBar::getDebugSnapshot"),e._showNudgeStepMock=Symbol.for("CommandBar::showNudgeStepMock"),e._closeNudgeMocks=Symbol.for("CommandBar::closeNudgeMocks"),e._stopChecklistPreview=Symbol.for("CommandBar::stopChecklistPreview"),e._stopNudgeDebug=Symbol.for("CommandBar::stopNudgeDebug"),e._previewChecklist=Symbol.for("CommandBar::previewChecklist"),e._reloadChecklists=Symbol.for("CommandBar::reloadChecklists"),e._report=Symbol.for("CommandBar::report"),e._search=Symbol.for("CommandBar::search"),e._sentry=Symbol.for("CommandBar::sentry"),e._setDashboard=Symbol.for("CommandBar::setDashboard"),e._setPreviewMode=Symbol.for("CommandBar::setPreviewMode"),e._setTestMode=Symbol.for("CommandBar::setTestMode"),e._setEditorVisible=Symbol.for("CommandBar::setEditorVisible"),e._shareConfig=Symbol.for("CommandBar::shareConfig"),e._shareContextSettings=Symbol.for("CommandBar::shareContextSettings"),e._shareProgrammaticCommands=Symbol.for("CommandBar::shareProgrammaticCommands"),e._showGuide=Symbol.for("CommandBar::showGuide"),e._showMessage=Symbol.for("CommandBar::showMessage"),e._state=Symbol.for("CommandBar::state"),e._unwrap=Symbol.for("CommandBar::unwrap"),e._user=Symbol.for("CommandBar::user"),e._fingerprint=Symbol.for("CommandBar::fingerprint"),e._userProperties=Symbol.for("CommandBar::userProperties"),e._eventSubscriptions=Symbol.for("CommandBar::eventSubscriptions"),e._metaAttributes=Symbol.for("CommandBar::metaAttributes"),e._updateEditorRoute=Symbol.for("CommandBar::updateEditorRoute"),e._startDebug=Symbol.for("CommandBar::startDebug"),e._stopDebug=Symbol.for("CommandBar::stopDebug"),e._shareTrackedEvents=Symbol.for("CommandBar::shareTrackedEvents"),e._setThemeV2=Symbol.for("CommandBar::setThemeV2"),e._showWidgetTableau=Symbol.for("CommandBar::showWidgetTableau")},314:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dispose=e.isDisposed=e.isDisposable=void 0;var r=n(207),o=function(t){return void 0!==t&&void 0!==t.dispose},i=function(t){return void 0!==t&&void 0!==t[r._dispose]};e.isDisposable=function(t){return void 0===t||o(t)||i(t)},e.isDisposed=function(t){return void 0===t||o(t)&&!0===t._disposed||i(t)&&!0===t[r._disposed]},e.dispose=function(t){void 0!==t&&(i(t)?t[r._dispose]():t.dispose())}},111:(t,e,n)=>{"use strict";var r=n(666);t.exports=function(t){if("function"!=typeof t)return!1;if(!hasOwnProperty.call(t,"length"))return!1;try{if("number"!=typeof t.length)return!1;if("function"!=typeof t.call)return!1;if("function"!=typeof t.apply)return!1}catch(t){return!1}return!r(t)}},617:(t,e,n)=>{"use strict";var r=n(102),o={object:!0,function:!0,undefined:!0};t.exports=function(t){return!!r(t)&&hasOwnProperty.call(o,typeof t)}},307:(t,e,n)=>{"use strict";var r=n(111),o=/^\s*class[\s{/}]/,i=Function.prototype.toString;t.exports=function(t){return!!r(t)&&!o.test(i.call(t))}},666:(t,e,n)=>{"use strict";var r=n(617);t.exports=function(t){if(!r(t))return!1;try{return!!t.constructor&&t.constructor.prototype===t}catch(t){return!1}}},102:t=>{"use strict";t.exports=function(t){return null!=t}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}return n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n(14)})()))},71312:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;
/**
 * [js-sha256]{@link https://github.com/emn178/js-sha256}
 *
 * @version 0.9.0
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2014-2017
 * @license MIT
 */(function(){"use strict";var ERROR="input is invalid type",WINDOW="object"===typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"===typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"===typeof process&&process.versions&&process.versions.node;NODE_JS?root=__webpack_require__.g:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD=__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"===typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t,e){return function(n){return new Sha256(e,!0).update(n)[t]()}},createMethod=function(t){var e=createOutputMethod("hex",t);NODE_JS&&(e=nodeWrap(e,t)),e.create=function(){return new Sha256(t)},e.update=function(t){return e.create().update(t)};for(var n=0;n<OUTPUT_TYPES.length;++n){var r=OUTPUT_TYPES[n];e[r]=createOutputMethod(r,t)}return e},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(t){if("string"===typeof t)return crypto.createHash(algorithm).update(t,"utf8").digest("hex");if(null===t||void 0===t)throw new Error(ERROR);return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),Array.isArray(t)||ArrayBuffer.isView(t)||t.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(t)).digest("hex"):method(t)};return nodeMethod},createHmacOutputMethod=function(t,e){return function(n,r){return new HmacSha256(n,e,!0).update(r)[t]()}},createHmacMethod=function(t){var e=createHmacOutputMethod("hex",t);e.create=function(e){return new HmacSha256(e,t)},e.update=function(t,n){return e.create(t).update(n)};for(var n=0;n<OUTPUT_TYPES.length;++n){var r=OUTPUT_TYPES[n];e[r]=createHmacOutputMethod(r,t)}return e};function Sha256(t,e){e?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=t}function HmacSha256(t,e,n){var r,o=typeof t;if("string"===o){var i,a=[],s=t.length,c=0;for(r=0;r<s;++r)i=t.charCodeAt(r),i<128?a[c++]=i:i<2048?(a[c++]=192|i>>6,a[c++]=128|63&i):i<55296||i>=57344?(a[c++]=224|i>>12,a[c++]=128|i>>6&63,a[c++]=128|63&i):(i=65536+((1023&i)<<10|1023&t.charCodeAt(++r)),a[c++]=240|i>>18,a[c++]=128|i>>12&63,a[c++]=128|i>>6&63,a[c++]=128|63&i);t=a}else{if("object"!==o)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(t)))throw new Error(ERROR)}t.length>64&&(t=new Sha256(e,!0).update(t).array());var u=[],l=[];for(r=0;r<64;++r){var f=t[r]||0;u[r]=92^f,l[r]=54^f}Sha256.call(this,e,n),this.update(l),this.oKeyPad=u,this.inner=!0,this.sharedMemory=n}Sha256.prototype.update=function(t){if(!this.finalized){var e,n=typeof t;if("string"!==n){if("object"!==n)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(t)))throw new Error(ERROR);e=!0}var r,o,i=0,a=t.length,s=this.blocks;while(i<a){if(this.hashed&&(this.hashed=!1,s[0]=this.block,s[16]=s[1]=s[2]=s[3]=s[4]=s[5]=s[6]=s[7]=s[8]=s[9]=s[10]=s[11]=s[12]=s[13]=s[14]=s[15]=0),e)for(o=this.start;i<a&&o<64;++i)s[o>>2]|=t[i]<<SHIFT[3&o++];else for(o=this.start;i<a&&o<64;++i)r=t.charCodeAt(i),r<128?s[o>>2]|=r<<SHIFT[3&o++]:r<2048?(s[o>>2]|=(192|r>>6)<<SHIFT[3&o++],s[o>>2]|=(128|63&r)<<SHIFT[3&o++]):r<55296||r>=57344?(s[o>>2]|=(224|r>>12)<<SHIFT[3&o++],s[o>>2]|=(128|r>>6&63)<<SHIFT[3&o++],s[o>>2]|=(128|63&r)<<SHIFT[3&o++]):(r=65536+((1023&r)<<10|1023&t.charCodeAt(++i)),s[o>>2]|=(240|r>>18)<<SHIFT[3&o++],s[o>>2]|=(128|r>>12&63)<<SHIFT[3&o++],s[o>>2]|=(128|r>>6&63)<<SHIFT[3&o++],s[o>>2]|=(128|63&r)<<SHIFT[3&o++]);this.lastByteIndex=o,this.bytes+=o-this.start,o>=64?(this.block=s[16],this.start=o-64,this.hash(),this.hashed=!0):this.start=o}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[16]=this.block,t[e>>2]|=EXTRA[3&e],this.block=t[16],e>=56&&(this.hashed||this.hash(),t[0]=this.block,t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.hBytes<<3|this.bytes>>>29,t[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var t,e,n,r,o,i,a,s,c,u,l,f=this.h0,p=this.h1,d=this.h2,h=this.h3,v=this.h4,m=this.h5,g=this.h6,y=this.h7,b=this.blocks;for(t=16;t<64;++t)o=b[t-15],e=(o>>>7|o<<25)^(o>>>18|o<<14)^o>>>3,o=b[t-2],n=(o>>>17|o<<15)^(o>>>19|o<<13)^o>>>10,b[t]=b[t-16]+e+b[t-7]+n|0;for(l=p&d,t=0;t<64;t+=4)this.first?(this.is224?(s=300032,o=b[0]-1413257819,y=o-150054599|0,h=o+24177077|0):(s=704751109,o=b[0]-210244248,y=o-1521486534|0,h=o+143694565|0),this.first=!1):(e=(f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10),n=(v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7),s=f&p,r=s^f&d^l,a=v&m^~v&g,o=y+n+a+K[t]+b[t],i=e+r,y=h+o|0,h=o+i|0),e=(h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10),n=(y>>>6|y<<26)^(y>>>11|y<<21)^(y>>>25|y<<7),c=h&f,r=c^h&p^s,a=y&v^~y&m,o=g+n+a+K[t+1]+b[t+1],i=e+r,g=d+o|0,d=o+i|0,e=(d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),n=(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7),u=d&h,r=u^d&f^c,a=g&y^~g&v,o=m+n+a+K[t+2]+b[t+2],i=e+r,m=p+o|0,p=o+i|0,e=(p>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10),n=(m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7),l=p&d,r=l^p&h^u,a=m&g^~m&y,o=v+n+a+K[t+3]+b[t+3],i=e+r,v=f+o|0,f=o+i|0;this.h0=this.h0+f|0,this.h1=this.h1+p|0,this.h2=this.h2+d|0,this.h3=this.h3+h|0,this.h4=this.h4+v|0,this.h5=this.h5+m|0,this.h6=this.h6+g|0,this.h7=this.h7+y|0},Sha256.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3,o=this.h4,i=this.h5,a=this.h6,s=this.h7,c=HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a];return this.is224||(c+=HEX_CHARS[s>>28&15]+HEX_CHARS[s>>24&15]+HEX_CHARS[s>>20&15]+HEX_CHARS[s>>16&15]+HEX_CHARS[s>>12&15]+HEX_CHARS[s>>8&15]+HEX_CHARS[s>>4&15]+HEX_CHARS[15&s]),c},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3,o=this.h4,i=this.h5,a=this.h6,s=this.h7,c=[t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24&255,n>>16&255,n>>8&255,255&n,r>>24&255,r>>16&255,r>>8&255,255&r,o>>24&255,o>>16&255,o>>8&255,255&o,i>>24&255,i>>16&255,i>>8&255,255&i,a>>24&255,a>>16&255,a>>8&255,255&a];return this.is224||c.push(s>>24&255,s>>16&255,s>>8&255,255&s),c},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(this.is224?28:32),e=new DataView(t);return e.setUint32(0,this.h0),e.setUint32(4,this.h1),e.setUint32(8,this.h2),e.setUint32(12,this.h3),e.setUint32(16,this.h4),e.setUint32(20,this.h5),e.setUint32(24,this.h6),this.is224||e.setUint32(28,this.h7),t},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(t),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()},45476:function(t,e,n){(function(e,r){t.exports=r(n(71312),n(67526))})(window,(function(t,e){if("undefined"===typeof Promise)throw Error("Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.");var n=!1;function r(){n||(n=!0,console.warn("[KEYCLOAK] Usage of legacy style promise methods such as `.error()` and `.success()` has been deprecated and support will be removed in future versions. Use standard style promise methods such as `.then() and `.catch()` instead."))}function o(n){if(!(this instanceof o))return new o(n);for(var i,a,s=this,c=[],u={enable:!0,callbackList:[],interval:5},l=document.getElementsByTagName("script"),f=0;f<l.length;f++)-1===l[f].src.indexOf("keycloak.js")&&-1===l[f].src.indexOf("keycloak.min.js")||-1===l[f].src.indexOf("version=")||(s.iframeVersion=l[f].src.substring(l[f].src.indexOf("version=")+8).split("&")[0]);var p=!0,d=H(console.info),h=H(console.warn);function v(t){var e=null,n=window.crypto||window.msCrypto;if(n&&n.getRandomValues&&window.Uint8Array)return e=new Uint8Array(t),n.getRandomValues(e),e;e=new Array(t);for(var r=0;r<e.length;r++)e[r]=Math.floor(256*Math.random());return e}function m(t){return g(t,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function g(t,e){for(var n=v(t),r=new Array(t),o=0;o<t;o++)r[o]=e.charCodeAt(n[o]%e.length);return String.fromCharCode.apply(null,r)}function y(n,r){switch(n){case"S256":var o=new Uint8Array(t.arrayBuffer(r)),i=e.fromByteArray(o).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"");return i;default:throw"Invalid value for pkceMethod"}}function b(){return"undefined"!==typeof s.authServerUrl?"/"==s.authServerUrl.charAt(s.authServerUrl.length-1)?s.authServerUrl+"realms/"+encodeURIComponent(s.realm):s.authServerUrl+"/realms/"+encodeURIComponent(s.realm):void 0}function w(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}function x(t,e){var n=t.code,r=t.error,o=t.prompt,i=(new Date).getTime();if(t["kc_action_status"]&&s.onActionUpdate&&s.onActionUpdate(t["kc_action_status"]),r)if("none"!=o){var a={error:r,error_description:t.error_description};s.onAuthError&&s.onAuthError(a),e&&e.setError(a)}else e&&e.setSuccess();else if("standard"!=s.flow&&(t.access_token||t.id_token)&&f(t.access_token,null,t.id_token,!0),"implicit"!=s.flow&&n){var c="code="+n+"&grant_type=authorization_code",u=s.endpoints.token(),l=new XMLHttpRequest;l.open("POST",u,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),c+="&client_id="+encodeURIComponent(s.clientId),c+="&redirect_uri="+t.redirectUri,t.pkceCodeVerifier&&(c+="&code_verifier="+t.pkceCodeVerifier),l.withCredentials=!0,l.onreadystatechange=function(){if(4==l.readyState)if(200==l.status){var t=JSON.parse(l.responseText);f(t["access_token"],t["refresh_token"],t["id_token"],"standard"===s.flow),R()}else s.onAuthError&&s.onAuthError(),e&&e.setError()},l.send(c)}function f(n,r,o,a){i=(i+(new Date).getTime())/2,_(n,r,o,i),p&&(s.tokenParsed&&s.tokenParsed.nonce!=t.storedNonce||s.refreshTokenParsed&&s.refreshTokenParsed.nonce!=t.storedNonce||s.idTokenParsed&&s.idTokenParsed.nonce!=t.storedNonce)?(d("[KEYCLOAK] Invalid nonce, clearing token"),s.clearToken(),e&&e.setError()):a&&(s.onAuthSuccess&&s.onAuthSuccess(),e&&e.setSuccess())}}function S(t){var e,r=A();function o(t){s.endpoints=t?{authorize:function(){return t.authorization_endpoint},token:function(){return t.token_endpoint},logout:function(){if(!t.end_session_endpoint)throw"Not supported by the OIDC server";return t.end_session_endpoint},checkSessionIframe:function(){if(!t.check_session_iframe)throw"Not supported by the OIDC server";return t.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!t.userinfo_endpoint)throw"Not supported by the OIDC server";return t.userinfo_endpoint}}:{authorize:function(){return b()+"/protocol/openid-connect/auth"},token:function(){return b()+"/protocol/openid-connect/token"},logout:function(){return b()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){var t=b()+"/protocol/openid-connect/login-status-iframe.html";return s.iframeVersion&&(t=t+"?version="+s.iframeVersion),t},thirdPartyCookiesIframe:function(){var t=b()+"/protocol/openid-connect/3p-cookies/step1.html";return s.iframeVersion&&(t=t+"?version="+s.iframeVersion),t},register:function(){return b()+"/protocol/openid-connect/registrations"},userinfo:function(){return b()+"/protocol/openid-connect/userinfo"}}}if(n?"string"===typeof n&&(e=n):e="keycloak.json",e){var i=new XMLHttpRequest;i.open("GET",e,!0),i.setRequestHeader("Accept","application/json"),i.onreadystatechange=function(){if(4==i.readyState)if(200==i.status||k(i)){var t=JSON.parse(i.responseText);s.authServerUrl=t["auth-server-url"],s.realm=t["realm"],s.clientId=t["resource"],o(null),r.setSuccess()}else r.setError()},i.send()}else{if(!n.clientId)throw"clientId missing";s.clientId=n.clientId;var a=n["oidcProvider"];if(a)if("string"===typeof a){var c;c="/"==a.charAt(a.length-1)?a+".well-known/openid-configuration":a+"/.well-known/openid-configuration";i=new XMLHttpRequest;i.open("GET",c,!0),i.setRequestHeader("Accept","application/json"),i.onreadystatechange=function(){if(4==i.readyState)if(200==i.status||k(i)){var t=JSON.parse(i.responseText);o(t),r.setSuccess()}else r.setError()},i.send()}else o(a),r.setSuccess();else{if(!n["url"])for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++)if(u[l].src.match(/.*keycloak\.js/)){n.url=u[l].src.substr(0,u[l].src.indexOf("/js/keycloak.js"));break}if(!n.realm)throw"realm missing";s.authServerUrl=n.url,s.realm=n.realm,o(null),r.setSuccess()}}return r.promise}function k(t){return 0==t.status&&t.responseText&&t.responseURL.startsWith("file:")}function _(t,e,n,r){if(s.tokenTimeoutHandle&&(clearTimeout(s.tokenTimeoutHandle),s.tokenTimeoutHandle=null),e?(s.refreshToken=e,s.refreshTokenParsed=C(e)):(delete s.refreshToken,delete s.refreshTokenParsed),n?(s.idToken=n,s.idTokenParsed=C(n)):(delete s.idToken,delete s.idTokenParsed),t){if(s.token=t,s.tokenParsed=C(t),s.sessionId=s.tokenParsed.session_state,s.authenticated=!0,s.subject=s.tokenParsed.sub,s.realmAccess=s.tokenParsed.realm_access,s.resourceAccess=s.tokenParsed.resource_access,r&&(s.timeSkew=Math.floor(r/1e3)-s.tokenParsed.iat),null!=s.timeSkew&&(d("[KEYCLOAK] Estimated time difference between browser and server is "+s.timeSkew+" seconds"),s.onTokenExpired)){var o=1e3*(s.tokenParsed["exp"]-(new Date).getTime()/1e3+s.timeSkew);d("[KEYCLOAK] Token expires in "+Math.round(o/1e3)+" s"),o<=0?s.onTokenExpired():s.tokenTimeoutHandle=setTimeout(s.onTokenExpired,o)}}else delete s.token,delete s.tokenParsed,delete s.subject,delete s.realmAccess,delete s.resourceAccess,s.authenticated=!1}function C(t){switch(t=t.split(".")[1],t=t.replace(/-/g,"+"),t=t.replace(/_/g,"/"),t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Invalid token"}return t=decodeURIComponent(escape(atob(t))),t=JSON.parse(t),t}function E(){var t="0123456789abcdef",e=g(36,t).split("");e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-";var n=e.join("");return n}function O(t){var e=I(t);if(e){var n=a.get(e.state);return n&&(e.valid=!0,e.redirectUri=n.redirectUri,e.storedNonce=n.nonce,e.prompt=n.prompt,e.pkceCodeVerifier=n.pkceCodeVerifier),e}}function I(t){var e;switch(s.flow){case"standard":e=["code","state","session_state","kc_action_status"];break;case"implicit":e=["access_token","token_type","id_token","state","session_state","expires_in","kc_action_status"];break;case"hybrid":e=["access_token","token_type","id_token","code","state","session_state","expires_in","kc_action_status"];break}e.push("error"),e.push("error_description"),e.push("error_uri");var n,r,o=t.indexOf("?"),i=t.indexOf("#");if("query"===s.responseMode&&-1!==o?(n=t.substring(0,o),r=T(t.substring(o+1,-1!==i?i:t.length),e),""!==r.paramsString&&(n+="?"+r.paramsString),-1!==i&&(n+=t.substring(i))):"fragment"===s.responseMode&&-1!==i&&(n=t.substring(0,i),r=T(t.substring(i+1),e),""!==r.paramsString&&(n+="#"+r.paramsString)),r&&r.oauthParams)if("standard"===s.flow||"hybrid"===s.flow){if((r.oauthParams.code||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=n,r.oauthParams}else if("implicit"===s.flow&&(r.oauthParams.access_token||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=n,r.oauthParams}function T(t,e){for(var n=t.split("&"),r={paramsString:"",oauthParams:{}},o=0;o<n.length;o++){var i=n[o].indexOf("="),a=n[o].slice(0,i);-1!==e.indexOf(a)?r.oauthParams[a]=n[o].slice(i+1):(""!==r.paramsString&&(r.paramsString+="&"),r.paramsString+=n[o])}return r}function A(){var t={setSuccess:function(e){t.resolve(e)},setError:function(e){t.reject(e)}};return t.promise=new Promise((function(e,n){t.resolve=e,t.reject=n})),t.promise.success=function(t){return r(),this.then((function(e){t(e)})),this},t.promise.error=function(t){return r(),this.catch((function(e){t(e)})),this},t}function L(t,e,n){var r=null,o=new Promise((function(t,o){r=setTimeout((function(){o({error:n||"Promise is not settled within timeout of "+e+"ms"})}),e)}));return Promise.race([t,o]).finally((function(){clearTimeout(r)}))}function M(){var t=A();if(!u.enable)return t.setSuccess(),t.promise;if(u.iframe)return t.setSuccess(),t.promise;var e=document.createElement("iframe");u.iframe=e,e.onload=function(){var e=s.endpoints.authorize();"/"===e.charAt(0)?u.iframeOrigin=w():u.iframeOrigin=e.substring(0,e.indexOf("/",8)),t.setSuccess()};var n=s.endpoints.checkSessionIframe();e.setAttribute("src",n),e.setAttribute("title","keycloak-session-iframe"),e.style.display="none",document.body.appendChild(e);var r=function(t){if(t.origin===u.iframeOrigin&&u.iframe.contentWindow===t.source&&("unchanged"==t.data||"changed"==t.data||"error"==t.data)){"unchanged"!=t.data&&s.clearToken();for(var e=u.callbackList.splice(0,u.callbackList.length),n=e.length-1;n>=0;--n){var r=e[n];"error"==t.data?r.setError():r.setSuccess("unchanged"==t.data)}}};return window.addEventListener("message",r,!1),t.promise}function R(){u.enable&&s.token&&setTimeout((function(){P().then((function(t){t&&R()}))}),1e3*u.interval)}function P(){var t=A();if(u.iframe&&u.iframeOrigin){var e=s.clientId+" "+(s.sessionId?s.sessionId:"");u.callbackList.push(t);var n=u.iframeOrigin;1==u.callbackList.length&&u.iframe.contentWindow.postMessage(e,n)}else t.setSuccess();return t.promise}function j(){var t=A();if(u.enable||s.silentCheckSsoRedirectUri){var e=document.createElement("iframe");e.setAttribute("src",s.endpoints.thirdPartyCookiesIframe()),e.setAttribute("title","keycloak-3p-check-iframe"),e.style.display="none",document.body.appendChild(e);var n=function(r){e.contentWindow===r.source&&("supported"!==r.data&&"unsupported"!==r.data||("unsupported"===r.data&&(u.enable=!1,s.silentCheckSsoFallback&&(s.silentCheckSsoRedirectUri=!1),h("[KEYCLOAK] 3rd party cookies aren't supported by this browser. checkLoginIframe and silent check-sso are not available.")),document.body.removeChild(e),window.removeEventListener("message",n),t.setSuccess()))};window.addEventListener("message",n,!1)}else t.setSuccess();return L(t.promise,s.messageReceiveTimeout,"Timeout when waiting for 3rd party check iframe message.")}function N(t){if(!t||"default"==t)return{login:function(t){return window.location.replace(s.createLoginUrl(t)),A().promise},logout:function(t){return window.location.replace(s.createLogoutUrl(t)),A().promise},register:function(t){return window.location.replace(s.createRegisterUrl(t)),A().promise},accountManagement:function(){var t=s.createAccountUrl();if("undefined"===typeof t)throw"Not supported by the OIDC server";return window.location.href=t,A().promise},redirectUri:function(t,e){return 1==arguments.length&&(e=!0),t&&t.redirectUri?t.redirectUri:s.redirectUri?s.redirectUri:location.href}};if("cordova"==t){u.enable=!1;var e=function(t,e,n){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(t,e,n):window.open(t,e,n)},n=function(t){return t&&t.cordovaOptions?Object.keys(t.cordovaOptions).reduce((function(e,n){return e[n]=t.cordovaOptions[n],e}),{}):{}},r=function(t){return Object.keys(t).reduce((function(e,n){return e.push(n+"="+t[n]),e}),[]).join(",")},o=function(t){var e=n(t);return e.location="no",t&&"none"==t.prompt&&(e.hidden="yes"),r(e)};return{login:function(t){var n=A(),r=o(t),i=s.createLoginUrl(t),a=e(i,"_blank",r),c=!1,u=!1,l=function(){u=!0,a.close()};return a.addEventListener("loadstart",(function(t){if(0==t.url.indexOf("http://localhost")){var e=O(t.url);x(e,n),l(),c=!0}})),a.addEventListener("loaderror",(function(t){if(!c)if(0==t.url.indexOf("http://localhost")){var e=O(t.url);x(e,n),l(),c=!0}else n.setError(),l()})),a.addEventListener("exit",(function(t){u||n.setError({reason:"closed_by_user"})})),n.promise},logout:function(t){var n,r=A(),o=s.createLogoutUrl(t),i=e(o,"_blank","location=no,hidden=yes,clearcache=yes");return i.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&i.close()})),i.addEventListener("loaderror",(function(t){0==t.url.indexOf("http://localhost")||(n=!0),i.close()})),i.addEventListener("exit",(function(t){n?r.setError():(s.clearToken(),r.setSuccess())})),r.promise},register:function(t){var n=A(),r=s.createRegisterUrl(),i=o(t),a=e(r,"_blank",i);return a.addEventListener("loadstart",(function(t){if(0==t.url.indexOf("http://localhost")){a.close();var e=O(t.url);x(e,n)}})),n.promise},accountManagement:function(){var t=s.createAccountUrl();if("undefined"===typeof t)throw"Not supported by the OIDC server";var n=e(t,"_blank","location=no");n.addEventListener("loadstart",(function(t){0==t.url.indexOf("http://localhost")&&n.close()}))},redirectUri:function(t){return"http://localhost"}}}if("cordova-native"==t)return u.enable=!1,{login:function(t){var e=A(),n=s.createLoginUrl(t);return universalLinks.subscribe("keycloak",(function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();var n=O(t.url);x(n,e)})),window.cordova.plugins.browsertab.openUrl(n),e.promise},logout:function(t){var e=A(),n=s.createLogoutUrl(t);return universalLinks.subscribe("keycloak",(function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),s.clearToken(),e.setSuccess()})),window.cordova.plugins.browsertab.openUrl(n),e.promise},register:function(t){var e=A(),n=s.createRegisterUrl(t);return universalLinks.subscribe("keycloak",(function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();var n=O(t.url);x(n,e)})),window.cordova.plugins.browsertab.openUrl(n),e.promise},accountManagement:function(){var t=s.createAccountUrl();if("undefined"===typeof t)throw"Not supported by the OIDC server";window.cordova.plugins.browsertab.openUrl(t)},redirectUri:function(t){return t&&t.redirectUri?t.redirectUri:s.redirectUri?s.redirectUri:"http://localhost"}};throw"invalid adapter type: "+t}s.init=function(t){s.authenticated=!1,a=B();var e=["default","cordova","cordova-native"];if(i=t&&e.indexOf(t.adapter)>-1?N(t.adapter):t&&"object"===typeof t.adapter?t.adapter:window.Cordova||window.cordova?N("cordova"):N(),t){if("undefined"!==typeof t.useNonce&&(p=t.useNonce),"undefined"!==typeof t.checkLoginIframe&&(u.enable=t.checkLoginIframe),t.checkLoginIframeInterval&&(u.interval=t.checkLoginIframeInterval),"login-required"===t.onLoad&&(s.loginRequired=!0),t.responseMode){if("query"!==t.responseMode&&"fragment"!==t.responseMode)throw"Invalid value for responseMode";s.responseMode=t.responseMode}if(t.flow){switch(t.flow){case"standard":s.responseType="code";break;case"implicit":s.responseType="id_token token";break;case"hybrid":s.responseType="code id_token token";break;default:throw"Invalid value for flow"}s.flow=t.flow}if(null!=t.timeSkew&&(s.timeSkew=t.timeSkew),t.redirectUri&&(s.redirectUri=t.redirectUri),t.silentCheckSsoRedirectUri&&(s.silentCheckSsoRedirectUri=t.silentCheckSsoRedirectUri),"boolean"===typeof t.silentCheckSsoFallback?s.silentCheckSsoFallback=t.silentCheckSsoFallback:s.silentCheckSsoFallback=!0,t.pkceMethod){if("S256"!==t.pkceMethod)throw"Invalid value for pkceMethod";s.pkceMethod=t.pkceMethod}"boolean"===typeof t.enableLogging?s.enableLogging=t.enableLogging:s.enableLogging=!1,"string"===typeof t.scope&&(s.scope=t.scope),"number"===typeof t.messageReceiveTimeout&&t.messageReceiveTimeout>0?s.messageReceiveTimeout=t.messageReceiveTimeout:s.messageReceiveTimeout=1e4}s.responseMode||(s.responseMode="fragment"),s.responseType||(s.responseType="code",s.flow="standard");var r=A(),o=A();o.promise.then((function(){s.onReady&&s.onReady(s.authenticated),r.setSuccess(s.authenticated)})).catch((function(t){r.setError(t)}));var c=S(n);function l(){var e=function(t){t||(r.prompt="none"),s.login(r).then((function(){o.setSuccess()})).catch((function(t){o.setError(t)}))},n=function(){var t=document.createElement("iframe"),e=s.createLoginUrl({prompt:"none",redirectUri:s.silentCheckSsoRedirectUri});t.setAttribute("src",e),t.setAttribute("title","keycloak-silent-check-sso"),t.style.display="none",document.body.appendChild(t);var n=function(e){if(e.origin===window.location.origin&&t.contentWindow===e.source){var r=O(e.data);x(r,o),document.body.removeChild(t),window.removeEventListener("message",n)}};window.addEventListener("message",n)},r={};switch(t.onLoad){case"check-sso":u.enable?M().then((function(){P().then((function(t){t?o.setSuccess():s.silentCheckSsoRedirectUri?n():e(!1)})).catch((function(t){o.setError(t)}))})):s.silentCheckSsoRedirectUri?n():e(!1);break;case"login-required":e(!0);break;default:throw"Invalid value for onLoad"}}function f(){var e=O(window.location.href);if(e&&window.history.replaceState(window.history.state,null,e.newUrl),e&&e.valid)return M().then((function(){x(e,o)})).catch((function(t){o.setError(t)}));t?t.token&&t.refreshToken?(_(t.token,t.refreshToken,t.idToken),u.enable?M().then((function(){P().then((function(t){t?(s.onAuthSuccess&&s.onAuthSuccess(),o.setSuccess(),R()):o.setSuccess()})).catch((function(t){o.setError(t)}))})):s.updateToken(-1).then((function(){s.onAuthSuccess&&s.onAuthSuccess(),o.setSuccess()})).catch((function(e){s.onAuthError&&s.onAuthError(),t.onLoad?l():o.setError(e)}))):t.onLoad?l():o.setSuccess():o.setSuccess()}function d(){var t=A(),e=function(){"interactive"!==document.readyState&&"complete"!==document.readyState||(document.removeEventListener("readystatechange",e),t.setSuccess())};return document.addEventListener("readystatechange",e),e(),t.promise}return c.then((function(){d().then(j).then(f).catch((function(t){r.setError(t)}))})),c.catch((function(t){r.setError(t)})),r.promise},s.login=function(t){return i.login(t)},s.createLoginUrl=function(t){var e,n=E(),r=E(),o=i.redirectUri(t),c={state:n,nonce:r,redirectUri:encodeURIComponent(o)};t&&t.prompt&&(c.prompt=t.prompt),e=t&&"register"==t.action?s.endpoints.register():s.endpoints.authorize();var u=t&&t.scope||s.scope;u?-1===u.indexOf("openid")&&(u="openid "+u):u="openid";var l=e+"?client_id="+encodeURIComponent(s.clientId)+"&redirect_uri="+encodeURIComponent(o)+"&state="+encodeURIComponent(n)+"&response_mode="+encodeURIComponent(s.responseMode)+"&response_type="+encodeURIComponent(s.responseType)+"&scope="+encodeURIComponent(u);if(p&&(l=l+"&nonce="+encodeURIComponent(r)),t&&t.prompt&&(l+="&prompt="+encodeURIComponent(t.prompt)),t&&t.maxAge&&(l+="&max_age="+encodeURIComponent(t.maxAge)),t&&t.loginHint&&(l+="&login_hint="+encodeURIComponent(t.loginHint)),t&&t.idpHint&&(l+="&kc_idp_hint="+encodeURIComponent(t.idpHint)),t&&t.action&&"register"!=t.action&&(l+="&kc_action="+encodeURIComponent(t.action)),t&&t.locale&&(l+="&ui_locales="+encodeURIComponent(t.locale)),s.pkceMethod){var f=m(96);c.pkceCodeVerifier=f;var d=y(s.pkceMethod,f);l+="&code_challenge="+d,l+="&code_challenge_method="+s.pkceMethod}return a.add(c),l},s.logout=function(t){return i.logout(t)},s.createLogoutUrl=function(t){var e=s.endpoints.logout()+"?redirect_uri="+encodeURIComponent(i.redirectUri(t,!1));return e},s.register=function(t){return i.register(t)},s.createRegisterUrl=function(t){return t||(t={}),t.action="register",s.createLoginUrl(t)},s.createAccountUrl=function(t){var e=b(),n=void 0;return"undefined"!==typeof e&&(n=e+"/account?referrer="+encodeURIComponent(s.clientId)+"&referrer_uri="+encodeURIComponent(i.redirectUri(t))),n},s.accountManagement=function(){return i.accountManagement()},s.hasRealmRole=function(t){var e=s.realmAccess;return!!e&&e.roles.indexOf(t)>=0},s.hasResourceRole=function(t,e){if(!s.resourceAccess)return!1;var n=s.resourceAccess[e||s.clientId];return!!n&&n.roles.indexOf(t)>=0},s.loadUserProfile=function(){var t=b()+"/account",e=new XMLHttpRequest;e.open("GET",t,!0),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Authorization","bearer "+s.token);var n=A();return e.onreadystatechange=function(){4==e.readyState&&(200==e.status?(s.profile=JSON.parse(e.responseText),n.setSuccess(s.profile)):n.setError())},e.send(),n.promise},s.loadUserInfo=function(){var t=s.endpoints.userinfo(),e=new XMLHttpRequest;e.open("GET",t,!0),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Authorization","bearer "+s.token);var n=A();return e.onreadystatechange=function(){4==e.readyState&&(200==e.status?(s.userInfo=JSON.parse(e.responseText),n.setSuccess(s.userInfo)):n.setError())},e.send(),n.promise},s.isTokenExpired=function(t){if(!s.tokenParsed||!s.refreshToken&&"implicit"!=s.flow)throw"Not authenticated";if(null==s.timeSkew)return d("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var e=s.tokenParsed["exp"]-Math.ceil((new Date).getTime()/1e3)+s.timeSkew;if(t){if(isNaN(t))throw"Invalid minValidity";e-=t}return e<0},s.updateToken=function(t){var e=A();if(!s.refreshToken)return e.setError(),e.promise;t=t||5;var n=function(){var n=!1;if(-1==t?(n=!0,d("[KEYCLOAK] Refreshing token: forced refresh")):s.tokenParsed&&!s.isTokenExpired(t)||(n=!0,d("[KEYCLOAK] Refreshing token: token expired")),n){var r="grant_type=refresh_token&refresh_token="+s.refreshToken,o=s.endpoints.token();if(c.push(e),1==c.length){var i=new XMLHttpRequest;i.open("POST",o,!0),i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.withCredentials=!0,r+="&client_id="+encodeURIComponent(s.clientId);var a=(new Date).getTime();i.onreadystatechange=function(){if(4==i.readyState)if(200==i.status){d("[KEYCLOAK] Token refreshed"),a=(a+(new Date).getTime())/2;var t=JSON.parse(i.responseText);_(t["access_token"],t["refresh_token"],t["id_token"],a),s.onAuthRefreshSuccess&&s.onAuthRefreshSuccess();for(var e=c.pop();null!=e;e=c.pop())e.setSuccess(!0)}else{h("[KEYCLOAK] Failed to refresh token"),400==i.status&&s.clearToken(),s.onAuthRefreshError&&s.onAuthRefreshError();for(e=c.pop();null!=e;e=c.pop())e.setError(!0)}},i.send(r)}}else e.setSuccess(!1)};if(u.enable){var r=P();r.then((function(){n()})).catch((function(t){e.setError(t)}))}else n();return e.promise},s.clearToken=function(){s.token&&(_(null,null,null),s.onAuthLogout&&s.onAuthLogout(),s.loginRequired&&s.login())};var D=function(){if(!(this instanceof D))return new D;localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test");var t=this;function e(){for(var t=(new Date).getTime(),e=0;e<localStorage.length;e++){var n=localStorage.key(e);if(n&&0==n.indexOf("kc-callback-")){var r=localStorage.getItem(n);if(r)try{var o=JSON.parse(r).expires;(!o||o<t)&&localStorage.removeItem(n)}catch(i){localStorage.removeItem(n)}}}}t.get=function(t){if(t){var n="kc-callback-"+t,r=localStorage.getItem(n);return r&&(localStorage.removeItem(n),r=JSON.parse(r)),e(),r}},t.add=function(t){e();var n="kc-callback-"+t.state;t.expires=(new Date).getTime()+36e5,localStorage.setItem(n,JSON.stringify(t))}},F=function(){if(!(this instanceof F))return new F;var t=this;t.get=function(t){if(t){var o=n("kc-callback-"+t);return r("kc-callback-"+t,"",e(-100)),o?JSON.parse(o):void 0}},t.add=function(t){r("kc-callback-"+t.state,JSON.stringify(t),e(60))},t.removeItem=function(t){r(t,"",e(-100))};var e=function(t){var e=new Date;return e.setTime(e.getTime()+60*t*1e3),e},n=function(t){for(var e=t+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){var o=n[r];while(" "==o.charAt(0))o=o.substring(1);if(0==o.indexOf(e))return o.substring(e.length,o.length)}return""},r=function(t,e,n){var r=t+"="+e+"; expires="+n.toUTCString()+"; ";document.cookie=r}};function B(){try{return new D}catch(t){}return new F}function H(t){return function(){s.enableLogging&&t.apply(console,Array.prototype.slice.call(arguments))}}}return o}))},20181:function(t,e,n){var r="Expected a function",o=NaN,i="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt,f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,p="object"==typeof self&&self&&self.Object===Object&&self,d=f||p||Function("return this")(),h=Object.prototype,v=h.toString,m=Math.max,g=Math.min,y=function(){return d.Date.now()};function b(t,e,n){var o,i,a,s,c,u,l=0,f=!1,p=!1,d=!0;if("function"!=typeof t)throw new TypeError(r);function h(e){var n=o,r=i;return o=i=void 0,l=e,s=t.apply(r,n),s}function v(t){return l=t,c=setTimeout(S,e),f?h(t):s}function b(t){var n=t-u,r=t-l,o=e-n;return p?g(o,a-r):o}function x(t){var n=t-u,r=t-l;return void 0===u||n>=e||n<0||p&&r>=a}function S(){var t=y();if(x(t))return _(t);c=setTimeout(S,b(t))}function _(t){return c=void 0,d&&o?h(t):(o=i=void 0,s)}function C(){void 0!==c&&clearTimeout(c),l=0,o=u=i=c=void 0}function E(){return void 0===c?s:_(y())}function O(){var t=y(),n=x(t);if(o=arguments,i=this,u=t,n){if(void 0===c)return v(u);if(p)return c=setTimeout(S,e),h(u)}return void 0===c&&(c=setTimeout(S,e)),s}return e=k(e)||0,w(n)&&(f=!!n.leading,p="maxWait"in n,a=p?m(k(n.maxWait)||0,e):a,d="trailing"in n?!!n.trailing:d),O.cancel=C,O.flush=E,O}function w(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function x(t){return!!t&&"object"==typeof t}function S(t){return"symbol"==typeof t||x(t)&&v.call(t)==i}function k(t){if("number"==typeof t)return t;if(S(t))return o;if(w(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=w(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=c.test(t);return n||u.test(t)?l(t.slice(2),n?2:8):s.test(t)?o:+t}t.exports=b},47654:function(t,e,n){var r="Expected a function",o="__lodash_hash_undefined__",i="[object Function]",a="[object GeneratorFunction]",s=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,f=u||l||Function("return this")();function p(t,e){return null==t?void 0:t[e]}function d(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}var h=Array.prototype,v=Function.prototype,m=Object.prototype,g=f["__core-js_shared__"],y=function(){var t=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),b=v.toString,w=m.hasOwnProperty,x=m.toString,S=RegExp("^"+b.call(w).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=h.splice,_=X(f,"Map"),C=X(Object,"create");function E(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function O(){this.__data__=C?C(null):{}}function I(t){return this.has(t)&&delete this.__data__[t]}function T(t){var e=this.__data__;if(C){var n=e[t];return n===o?void 0:n}return w.call(e,t)?e[t]:void 0}function A(t){var e=this.__data__;return C?void 0!==e[t]:w.call(e,t)}function L(t,e){var n=this.__data__;return n[t]=C&&void 0===e?o:e,this}function M(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function R(){this.__data__=[]}function P(t){var e=this.__data__,n=$(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():k.call(e,n,1),!0}function j(t){var e=this.__data__,n=$(e,t);return n<0?void 0:e[n][1]}function N(t){return $(this.__data__,t)>-1}function D(t,e){var n=this.__data__,r=$(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function F(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function B(){this.__data__={hash:new E,map:new(_||M),string:new E}}function H(t){return V(this,t)["delete"](t)}function U(t){return V(this,t).get(t)}function z(t){return V(this,t).has(t)}function W(t,e){return V(this,t).set(t,e),this}function $(t,e){var n=t.length;while(n--)if(J(t[n][0],e))return n;return-1}function q(t){if(!tt(t)||K(t))return!1;var e=Q(t)||d(t)?S:c;return e.test(Y(t))}function V(t,e){var n=t.__data__;return G(e)?n["string"==typeof e?"string":"hash"]:n.map}function X(t,e){var n=p(t,e);return q(n)?n:void 0}function G(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function K(t){return!!y&&y in t}function Y(t){if(null!=t){try{return b.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Z(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(r);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(Z.Cache||F),n}function J(t,e){return t===e||t!==t&&e!==e}function Q(t){var e=tt(t)?x.call(t):"";return e==i||e==a}function tt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}E.prototype.clear=O,E.prototype["delete"]=I,E.prototype.get=T,E.prototype.has=A,E.prototype.set=L,M.prototype.clear=R,M.prototype["delete"]=P,M.prototype.get=j,M.prototype.has=N,M.prototype.set=D,F.prototype.clear=B,F.prototype["delete"]=H,F.prototype.get=U,F.prototype.has=z,F.prototype.set=W,Z.Cache=F,t.exports=Z},25858:function(t,e,n){var r="Expected a function",o=NaN,i="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt,f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,p="object"==typeof self&&self&&self.Object===Object&&self,d=f||p||Function("return this")(),h=Object.prototype,v=h.toString,m=Math.max,g=Math.min,y=function(){return d.Date.now()};function b(t,e,n){var o,i,a,s,c,u,l=0,f=!1,p=!1,d=!0;if("function"!=typeof t)throw new TypeError(r);function h(e){var n=o,r=i;return o=i=void 0,l=e,s=t.apply(r,n),s}function v(t){return l=t,c=setTimeout(S,e),f?h(t):s}function b(t){var n=t-u,r=t-l,o=e-n;return p?g(o,a-r):o}function w(t){var n=t-u,r=t-l;return void 0===u||n>=e||n<0||p&&r>=a}function S(){var t=y();if(w(t))return k(t);c=setTimeout(S,b(t))}function k(t){return c=void 0,d&&o?h(t):(o=i=void 0,s)}function C(){void 0!==c&&clearTimeout(c),l=0,o=u=i=c=void 0}function E(){return void 0===c?s:k(y())}function O(){var t=y(),n=w(t);if(o=arguments,i=this,u=t,n){if(void 0===c)return v(u);if(p)return c=setTimeout(S,e),h(u)}return void 0===c&&(c=setTimeout(S,e)),s}return e=_(e)||0,x(n)&&(f=!!n.leading,p="maxWait"in n,a=p?m(_(n.maxWait)||0,e):a,d="trailing"in n?!!n.trailing:d),O.cancel=C,O.flush=E,O}function w(t,e,n){var o=!0,i=!0;if("function"!=typeof t)throw new TypeError(r);return x(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),b(t,e,{leading:o,maxWait:e,trailing:i})}function x(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function S(t){return!!t&&"object"==typeof t}function k(t){return"symbol"==typeof t||S(t)&&v.call(t)==i}function _(t){if("number"==typeof t)return t;if(k(t))return o;if(x(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=x(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=c.test(t);return n||u.test(t)?l(t.slice(2),n?2:8):s.test(t)?o:+t}t.exports=w},4344:function(t,e,n){"use strict";n(26099),n(23500);var r,o=n(54610),i=n.n(o),a=(n(58940),n(69085),n(2008),n(23792),n(47764),n(73772),n(62953),n(25858)),s=n.n(a),c=n(20181),u=n.n(c),l=n(47654),f=n.n(l),p=[],d=function(){return p.some((function(t){return t.activeTargets.length>0}))},h=function(){return p.some((function(t){return t.skippedTargets.length>0}))},v="ResizeObserver loop completed with undelivered notifications.",m=function(){var t;"function"===typeof ErrorEvent?t=new ErrorEvent("error",{message:v}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=v),window.dispatchEvent(t)};(function(t){t["BORDER_BOX"]="border-box",t["CONTENT_BOX"]="content-box",t["DEVICE_PIXEL_CONTENT_BOX"]="device-pixel-content-box"})(r||(r={}));var g,y=function(t){return Object.freeze(t)},b=function(){function t(t,e){this.inlineSize=t,this.blockSize=e,y(this)}return t}(),w=function(){function t(t,e,n,r){return this.x=t,this.y=e,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,y(this)}return t.prototype.toJSON=function(){var t=this,e=t.x,n=t.y,r=t.top,o=t.right,i=t.bottom,a=t.left,s=t.width,c=t.height;return{x:e,y:n,top:r,right:o,bottom:i,left:a,width:s,height:c}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),x=function(t){return t instanceof SVGElement&&"getBBox"in t},S=function(t){if(x(t)){var e=t.getBBox(),n=e.width,r=e.height;return!n&&!r}var o=t,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||t.getClientRects().length)},k=function(t){var e;if(t instanceof Element)return!0;var n=null===(e=null===t||void 0===t?void 0:t.ownerDocument)||void 0===e?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},_=function(t){switch(t.tagName){case"INPUT":if("image"!==t.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},C="undefined"!==typeof window?window:{},E=new WeakMap,O=/auto|scroll/,I=/^tb|vertical/,T=/msie|trident/i.test(C.navigator&&C.navigator.userAgent),A=function(t){return parseFloat(t||"0")},L=function(t,e,n){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=!1),new b((n?e:t)||0,(n?t:e)||0)},M=y({devicePixelContentBoxSize:L(),borderBoxSize:L(),contentBoxSize:L(),contentRect:new w(0,0,0,0)}),R=function(t,e){if(void 0===e&&(e=!1),E.has(t)&&!e)return E.get(t);if(S(t))return E.set(t,M),M;var n=getComputedStyle(t),r=x(t)&&t.ownerSVGElement&&t.getBBox(),o=!T&&"border-box"===n.boxSizing,i=I.test(n.writingMode||""),a=!r&&O.test(n.overflowY||""),s=!r&&O.test(n.overflowX||""),c=r?0:A(n.paddingTop),u=r?0:A(n.paddingRight),l=r?0:A(n.paddingBottom),f=r?0:A(n.paddingLeft),p=r?0:A(n.borderTopWidth),d=r?0:A(n.borderRightWidth),h=r?0:A(n.borderBottomWidth),v=r?0:A(n.borderLeftWidth),m=f+u,g=c+l,b=v+d,k=p+h,_=s?t.offsetHeight-k-t.clientHeight:0,C=a?t.offsetWidth-b-t.clientWidth:0,R=o?m+b:0,P=o?g+k:0,j=r?r.width:A(n.width)-R-C,N=r?r.height:A(n.height)-P-_,D=j+m+C+b,F=N+g+_+k,B=y({devicePixelContentBoxSize:L(Math.round(j*devicePixelRatio),Math.round(N*devicePixelRatio),i),borderBoxSize:L(D,F,i),contentBoxSize:L(j,N,i),contentRect:new w(f,c,j,N)});return E.set(t,B),B},P=function(t,e,n){var o=R(t,n),i=o.borderBoxSize,a=o.contentBoxSize,s=o.devicePixelContentBoxSize;switch(e){case r.DEVICE_PIXEL_CONTENT_BOX:return s;case r.BORDER_BOX:return i;default:return a}},j=function(){function t(t){var e=R(t);this.target=t,this.contentRect=e.contentRect,this.borderBoxSize=y([e.borderBoxSize]),this.contentBoxSize=y([e.contentBoxSize]),this.devicePixelContentBoxSize=y([e.devicePixelContentBoxSize])}return t}(),N=function(t){if(S(t))return 1/0;var e=0,n=t.parentNode;while(n)e+=1,n=n.parentNode;return e},D=function(){var t=1/0,e=[];p.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(e){var n=new j(e.target),o=N(e.target);r.push(n),e.lastReportedSize=P(e.target,e.observedBox),o<t&&(t=o)})),e.push((function(){n.callback.call(n.observer,r,n.observer)})),n.activeTargets.splice(0,n.activeTargets.length)}}));for(var n=0,r=e;n<r.length;n++){var o=r[n];o()}return t},F=function(t){p.forEach((function(e){e.activeTargets.splice(0,e.activeTargets.length),e.skippedTargets.splice(0,e.skippedTargets.length),e.observationTargets.forEach((function(n){n.isActive()&&(N(n.target)>t?e.activeTargets.push(n):e.skippedTargets.push(n))}))}))},B=function(){var t=0;F(t);while(d())t=D(),F(t);return h()&&m(),t>0},H=[],U=function(){return H.splice(0).forEach((function(t){return t()}))},z=function(t){if(!g){var e=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver((function(){return U()})).observe(n,r),g=function(){n.textContent="".concat(e?e--:e++)}}H.push(t),g()},W=function(t){z((function(){requestAnimationFrame(t)}))},$=0,q=function(){return!!$},V=250,X={attributes:!0,characterData:!0,childList:!0,subtree:!0},G=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],K=function(t){return void 0===t&&(t=0),Date.now()+t},Y=!1,Z=function(){function t(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return t.prototype.run=function(t){var e=this;if(void 0===t&&(t=V),!Y){Y=!0;var n=K(t);W((function(){var r=!1;try{r=B()}finally{if(Y=!1,t=n-K(),!q())return;r?e.run(1e3):t>0?e.run(t):e.start()}}))}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var t=this,e=function(){return t.observer&&t.observer.observe(document.body,X)};document.body?e():C.addEventListener("DOMContentLoaded",e)},t.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),G.forEach((function(e){return C.addEventListener(e,t.listener,!0)})))},t.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),G.forEach((function(e){return C.removeEventListener(e,t.listener,!0)})),this.stopped=!0)},t}(),J=new Z,Q=function(t){!$&&t>0&&J.start(),$+=t,!$&&J.stop()},tt=function(t){return!x(t)&&!_(t)&&"inline"===getComputedStyle(t).display},et=function(){function t(t,e){this.target=t,this.observedBox=e||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var t=P(this.target,this.observedBox,!0);return tt(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},t}(),nt=function(){function t(t,e){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=e}return t}(),rt=new WeakMap,ot=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},it=function(){function t(){}return t.connect=function(t,e){var n=new nt(t,e);rt.set(t,n)},t.observe=function(t,e,n){var r=rt.get(t),o=0===r.observationTargets.length;ot(r.observationTargets,e)<0&&(o&&p.push(r),r.observationTargets.push(new et(e,n&&n.box)),Q(1),J.schedule())},t.unobserve=function(t,e){var n=rt.get(t),r=ot(n.observationTargets,e),o=1===n.observationTargets.length;r>=0&&(o&&p.splice(p.indexOf(n),1),n.observationTargets.splice(r,1),Q(-1))},t.disconnect=function(t){var e=this,n=rt.get(t);n.observationTargets.slice().forEach((function(n){return e.unobserve(t,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},t}(),at=function(){function t(t){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!==typeof t)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");it.connect(this,t)}return t.prototype.observe=function(t,e){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!k(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");it.observe(this,t,e)},t.prototype.unobserve=function(t){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!k(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");it.unobserve(this,t)},t.prototype.disconnect=function(){it.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}(),st=(n(72712),n(27495),n(71761),n(62010),n(25440),function(t){var e=Array.prototype.reduce.call(t,(function(t,e){var n=e.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,(function(t,e){return e.toUpperCase()}));switch(e.value){case"true":t[r]=!0;break;case"false":t[r]=!1;break;case void 0:t[r]=!0;break;default:t[r]=e.value}}return t}),{});return e});function ct(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function ut(t){return t&&t.ownerDocument?t.ownerDocument:document}var lt=null,ft=null;function pt(t){if(null===lt){var e=ut(t);if("undefined"===typeof e)return lt=0,lt;var n=e.body,r=e.createElement("div");r.classList.add("simplebar-hide-scrollbar"),n.appendChild(r);var o=r.getBoundingClientRect().right;n.removeChild(r),lt=o}return lt}i()&&window.addEventListener("resize",(function(){ft!==window.devicePixelRatio&&(ft=window.devicePixelRatio,lt=null)}));var dt=function(){function t(e,n){var r=this;this.onScroll=function(){var t=ct(r.el);r.scrollXTicking||(t.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(t.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0)},this.scrollX=function(){r.axis.x.isOverflowing&&(r.showScrollbar("x"),r.positionScrollbar("x")),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&(r.showScrollbar("y"),r.positionScrollbar("y")),r.scrollYTicking=!1},this.onMouseEnter=function(){r.showScrollbar("x"),r.showScrollbar("y")},this.onMouseMove=function(t){r.mouseX=t.clientX,r.mouseY=t.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this.onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.hideScrollbars=function(){r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.track.rect)||(r.axis.y.scrollbar.el.classList.remove(r.classNames.visible),r.axis.y.isVisible=!1),r.isWithinBounds(r.axis.x.track.rect)||(r.axis.x.scrollbar.el.classList.remove(r.classNames.visible),r.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,n;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(e=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(e||n)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type&&(e&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(t,"x"):r.onTrackClick(t,"x")),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(t,"y"):r.onTrackClick(t,"y"))))},this.drag=function(e){var n,o=r.axis[r.draggedAxis].track,i=o.rect[r.axis[r.draggedAxis].sizeAttr],a=r.axis[r.draggedAxis].scrollbar,s=r.contentWrapperEl[r.axis[r.draggedAxis].scrollSizeAttr],c=parseInt(r.elStyles[r.axis[r.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation(),n="y"===r.draggedAxis?e.pageY:e.pageX;var u=n-o.rect[r.axis[r.draggedAxis].offsetAttr]-r.axis[r.draggedAxis].dragOffset,l=u/(i-a.size),f=l*(s-c);"x"===r.draggedAxis&&(f=r.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?f-(i+a.size):f,f=r.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-f:f),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=f},this.onEndDrag=function(t){var e=ut(r.el),n=ct(r.el);t.preventDefault(),t.stopPropagation(),r.el.classList.remove(r.classNames.dragging),e.removeEventListener("mousemove",r.drag,!0),e.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=n.setTimeout((function(){e.removeEventListener("click",r.preventClick,!0),e.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null}))},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,n),this.classNames=Object.assign({},t.defaultOptions.classNames,this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,t.instances.has(this.el)||(this.recalculate=s()(this.recalculate.bind(this),64),this.onMouseMove=s()(this.onMouseMove.bind(this),64),this.hideScrollbars=u()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=u()(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=f()(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var n=e.firstElementChild;document.body.appendChild(n);var r=n.firstElementChild;n.scrollLeft=0;var o=t.getOffset(n),i=t.getOffset(r);n.scrollLeft=999;var a=t.getOffset(r);return{isRtlScrollingInverted:o.left!==i.left&&i.left-a.left!==0,isRtlScrollbarInverted:o.left!==i.left}},t.getOffset=function(t){var e=t.getBoundingClientRect(),n=ut(t),r=ct(t);return{top:e.top+(r.pageYOffset||n.documentElement.scrollTop),left:e.left+(r.pageXOffset||n.documentElement.scrollLeft)}};var e=t.prototype;return e.init=function(){t.instances.set(this.el,this),i()&&(this.initDOM(),this.setAccessibilityAttributes(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,(function(e){return e.classList.contains(t.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);while(this.el.firstChild)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),n=document.createElement("div");e.classList.add(this.classNames.track),n.classList.add(this.classNames.scrollbar),e.appendChild(n),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.setAccessibilityAttributes=function(){var t=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",t)},e.initListeners=function(){var t=this,e=ct(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),e.addEventListener("resize",this.onWindowResize);var n=!1,r=null,o=e.ResizeObserver||at;this.resizeObserver=new o((function(){n&&null===r&&(r=e.requestAnimationFrame((function(){t.recalculate(),r=null})))})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),e.requestAnimationFrame((function(){n=!0})),this.mutationObserver=new e.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){var t=ct(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,n=this.heightAutoObserverEl.offsetWidth<=1,r=this.contentEl.offsetWidth,o=this.contentWrapperEl.offsetWidth,i=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var s=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=n?r+"px":"auto",this.placeholderEl.style.height=s+"px";var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=c>r,this.axis.y.isOverflowing=s>u,this.axis.x.isOverflowing="hidden"!==i&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var l=this.axis.x.isOverflowing?this.scrollbarWidth:0,f=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>o-f,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&s>u-l,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(t){if(void 0===t&&(t="y"),!this.axis[t].isOverflowing)return 0;var e,n=this.contentEl[this.axis[t].scrollSizeAttr],r=this.axis[t].track.el[this.axis[t].offsetSizeAttr],o=r/n;return e=Math.max(~~(o*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(e=Math.min(e,this.options.scrollbarMaxSize)),e},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var n=this.contentWrapperEl[this.axis[e].scrollSizeAttr],r=this.axis[e].track.el[this.axis[e].offsetSizeAttr],o=parseInt(this.elStyles[this.axis[e].sizeAttr],10),i=this.axis[e].scrollbar,a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr];a="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-a:a;var s=a/(n-o),c=~~((r-i.size)*s);c="x"===e&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?c+(r-i.size):c,i.el.style.transform="x"===e?"translate3d("+c+"px, 0, 0)":"translate3d(0, "+c+"px, 0)"}},e.toggleTrackVisibility=function(t){void 0===t&&(t="y");var e=this.axis[t].track.el,n=this.axis[t].scrollbar.el;this.axis[t].isOverflowing||this.axis[t].forceVisible?(e.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll"):(e.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden"),this.axis[t].isOverflowing?n.style.display="block":n.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.rect=this.axis[t].track.el.getBoundingClientRect(),this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect();var e=this.isWithinBounds(this.axis[t].scrollbar.rect);e?this.axis[t].scrollbar.el.classList.add(this.classNames.hover):this.axis[t].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[t].track.rect)?(this.showScrollbar(t),this.axis[t].track.el.classList.add(this.classNames.hover)):this.axis[t].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(t){void 0===t&&(t="y"),this.axis[t].track.el.classList.remove(this.classNames.hover),this.axis[t].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(t){void 0===t&&(t="y");var e=this.axis[t].scrollbar.el;this.axis[t].isVisible||(e.classList.add(this.classNames.visible),this.axis[t].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(t,e){void 0===e&&(e="y");var n=ut(this.el),r=ct(this.el),o=this.axis[e].scrollbar,i="y"===e?t.pageY:t.pageX;this.axis[e].dragOffset=i-o.rect[this.axis[e].offsetAttr],this.draggedAxis=e,this.el.classList.add(this.classNames.dragging),n.addEventListener("mousemove",this.drag,!0),n.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(n.addEventListener("click",this.preventClick,!0),n.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(t,e){var n=this;if(void 0===e&&(e="y"),this.options.clickOnTrack){var r=ct(this.el);this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect();var o=this.axis[e].scrollbar,i=o.rect[this.axis[e].offsetAttr],a=parseInt(this.elStyles[this.axis[e].sizeAttr],10),s=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],c="y"===e?this.mouseY-i:this.mouseX-i,u=c<0?-1:1,l=-1===u?s-a:s+a,f=function t(){var o,i;-1===u?s>l&&(s-=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo((o={},o[n.axis[e].offsetAttr]=s,o)),r.requestAnimationFrame(t)):s<l&&(s+=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo((i={},i[n.axis[e].offsetAttr]=s,i)),r.requestAnimationFrame(t))};f()}},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:pt(this.el)}catch(t){return pt(this.el)}},e.removeListeners=function(){var t=this,e=ct(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),t.instances.delete(this.el)},e.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.findChild=function(t,e){var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,(function(t){return n.call(t,e)}))[0]},t}();dt.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},dt.instances=new WeakMap,dt.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),(function(t){"init"===t.getAttribute("data-simplebar")||dt.instances.has(t)||new dt(t,st(t.attributes))}))},dt.removeObserver=function(){this.globalObserver.disconnect()},dt.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!==typeof MutationObserver&&(this.globalObserver=new MutationObserver(dt.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},dt.handleMutations=function(t){t.forEach((function(t){Array.prototype.forEach.call(t.addedNodes,(function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?!dt.instances.has(t)&&document.documentElement.contains(t)&&new dt(t,st(t.attributes)):Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"),(function(t){"init"!==t.getAttribute("data-simplebar")&&!dt.instances.has(t)&&document.documentElement.contains(t)&&new dt(t,st(t.attributes))})))})),Array.prototype.forEach.call(t.removedNodes,(function(t){1===t.nodeType&&("init"===t.getAttribute("data-simplebar")?dt.instances.has(t)&&!document.documentElement.contains(t)&&dt.instances.get(t).unMount():Array.prototype.forEach.call(t.querySelectorAll('[data-simplebar="init"]'),(function(t){dt.instances.has(t)&&!document.documentElement.contains(t)&&dt.instances.get(t).unMount()})))}))}))},dt.getOptions=st,i()&&dt.initHtmlApi()},44526:function(t,e,n){"use strict";var r;n.d(e,{A:function(){return h}});var o=new Uint8Array(16);function i(){if(!r&&(r="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}var a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function s(t){return"string"===typeof t&&a.test(t)}for(var c=s,u=[],l=0;l<256;++l)u.push((l+256).toString(16).substr(1));function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(u[t[e+0]]+u[t[e+1]]+u[t[e+2]]+u[t[e+3]]+"-"+u[t[e+4]]+u[t[e+5]]+"-"+u[t[e+6]]+u[t[e+7]]+"-"+u[t[e+8]]+u[t[e+9]]+"-"+u[t[e+10]]+u[t[e+11]]+u[t[e+12]]+u[t[e+13]]+u[t[e+14]]+u[t[e+15]]).toLowerCase();if(!c(n))throw TypeError("Stringified UUID is invalid");return n}var p=f;function d(t,e,n){t=t||{};var r=t.random||(t.rng||i)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(var o=0;o<16;++o)e[n+o]=r[o];return e}return p(r)}var h=d},64765:function(t,e){"use strict";
/*!
 * vue-i18n v8.28.2 
 * (c) 2022 kazuya kawaguchi
 * Released under the MIT License.
 */var n=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],r=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function o(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function i(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var a=Array.isArray;function s(t){return null!==t&&"object"===typeof t}function c(t){return"boolean"===typeof t}function u(t){return"string"===typeof t}var l=Object.prototype.toString,f="[object Object]";function p(t){return l.call(t)===f}function d(t){return null===t||void 0===t}function h(t){return"function"===typeof t}function v(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,r=null;return 1===t.length?s(t[0])||a(t[0])?r=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(s(t[1])||a(t[1]))&&(r=t[1])),{locale:n,params:r}}function m(t){return JSON.parse(JSON.stringify(t))}function g(t,e){if(t.delete(e))return t}function y(t){var e=[];return t.forEach((function(t){return e.push(t)})),e}function b(t,e){return!!~t.indexOf(e)}var w=Object.prototype.hasOwnProperty;function x(t,e){return w.call(t,e)}function S(t){for(var e=arguments,n=Object(t),r=1;r<arguments.length;r++){var o=e[r];if(void 0!==o&&null!==o){var i=void 0;for(i in o)x(o,i)&&(s(o[i])?n[i]=S(n[i],o[i]):n[i]=o[i])}}return n}function k(t,e){if(t===e)return!0;var n=s(t),r=s(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=a(t),i=a(e);if(o&&i)return t.length===e.length&&t.every((function(t,n){return k(t,e[n])}));if(o||i)return!1;var c=Object.keys(t),u=Object.keys(e);return c.length===u.length&&c.every((function(n){return k(t[n],e[n])}))}catch(l){return!1}}function _(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function C(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=_(t[e]))})),t}function E(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],r=arguments.length-2;while(r-- >0)n[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[t,o.locale,o._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}function O(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Ct){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},n=t.__i18nBridge||t.__i18n;n.forEach((function(t){e=S(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(c){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(p(t.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ct?this.$root.$i18n:null;if(r&&(t.i18n.root=this.$root,t.i18n.formatter=r.formatter,t.i18n.fallbackLocale=r.fallbackLocale,t.i18n.formatFallbackMessages=r.formatFallbackMessages,t.i18n.silentTranslationWarn=r.silentTranslationWarn,t.i18n.silentFallbackWarn=r.silentFallbackWarn,t.i18n.pluralizationRules=r.pluralizationRules,t.i18n.preserveDirectiveContent=r.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var o=t.i18n&&t.i18n.messages?t.i18n.messages:{},i=t.__i18nBridge||t.__i18n;i.forEach((function(t){o=S(o,JSON.parse(t))})),t.i18n.messages=o}catch(c){0}var a=t.i18n,s=a.sharedMessages;s&&p(s)&&(t.i18n.messages=S(t.i18n.messages,s)),this._i18n=new Ct(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ct?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Ct&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof Ct||p(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ct||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Ct)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}var I={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,r=e.parent,o=e.props,i=e.slots,a=r.$i18n;if(a){var s=o.path,c=o.locale,u=o.places,l=i(),f=a.i(s,c,T(l)||u?A(l.default,u):l),p=o.tag&&!0!==o.tag||!1===o.tag?o.tag:"span";return p?t(p,n,f):f}}};function T(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function A(t,e){var n=e?L(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var r=t.every(P);return t.reduce(r?M:R,n)}function L(t){return Array.isArray(t)?t.reduce(R,{}):Object.assign({},t)}function M(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function R(t,e,n){return t[n]=e,t}function P(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var j,N={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var r=e.props,o=e.parent,i=e.data,a=o.$i18n;if(!a)return null;var c=null,l=null;u(r.format)?c=r.format:s(r.format)&&(r.format.key&&(c=r.format.key),l=Object.keys(r.format).reduce((function(t,e){var o;return b(n,e)?Object.assign({},t,(o={},o[e]=r.format[e],o)):t}),null));var f=r.locale||a.locale,p=a._ntp(r.value,f,c,l),d=p.map((function(t,e){var n,r=i.scopedSlots&&i.scopedSlots[t.type];return r?r((n={},n[t.type]=t.value,n.index=e,n.parts=p,n)):t.value})),h=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return h?t(h,{attrs:i.attrs,class:i["class"],staticClass:i.staticClass},d):d}};function D(t,e,n){H(t,n)&&z(t,e,n)}function F(t,e,n,r){if(H(t,n)){var o=n.context.$i18n;U(t,n)&&k(e.value,e.oldValue)&&k(t._localeMessage,o.getLocaleMessage(o.locale))||z(t,e,n)}}function B(t,e,n,r){var i=n.context;if(i){var a=n.context.$i18n||{};e.modifiers.preserve||a.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else o("Vue instance does not exists in VNode context")}function H(t,e){var n=e.context;return n?!!n.$i18n||(o("VueI18n instance does not exists in Vue instance"),!1):(o("Vue instance does not exists in VNode context"),!1)}function U(t,e){var n=e.context;return t._locale===n.$i18n.locale}function z(t,e,n){var r,i,a=e.value,s=W(a),c=s.path,u=s.locale,l=s.args,f=s.choice;if(c||u||l)if(c){var p=n.context;t._vt=t.textContent=null!=f?(r=p.$i18n).tc.apply(r,[c,f].concat($(u,l))):(i=p.$i18n).t.apply(i,[c].concat($(u,l))),t._locale=p.$i18n.locale,t._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}else o("`path` is required in v-t directive");else o("value type not supported")}function W(t){var e,n,r,o;return u(t)?e=t:p(t)&&(e=t.path,n=t.locale,r=t.args,o=t.choice),{path:e,locale:n,args:r,choice:o}}function $(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||p(e))&&n.push(e),n}function q(t,e){void 0===e&&(e={bridge:!1}),q.installed=!0,j=t;j.version&&Number(j.version.split(".")[0]);E(j),j.mixin(O(e.bridge)),j.directive("t",{bind:D,update:F,unbind:B}),j.component(I.name,I),j.component(N.name,N);var n=j.config.optionMergeStrategies;n.i18n=function(t,e){return void 0===e?t:e}}var V=function(){this._caches=Object.create(null)};V.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=K(t),this._caches[t]=n),Y(n,e)};var X=/^(?:\d)+/,G=/^(?:\w)+/;function K(t){var e=[],n=0,r="";while(n<t.length){var o=t[n++];if("{"===o){r&&e.push({type:"text",value:r}),r="";var i="";o=t[n++];while(void 0!==o&&"}"!==o)i+=o,o=t[n++];var a="}"===o,s=X.test(i)?"list":a&&G.test(i)?"named":"unknown";e.push({value:i,type:s})}else"%"===o?"{"!==t[n]&&(r+=o):r+=o}return r&&e.push({type:"text",value:r}),e}function Y(t,e){var n=[],r=0,o=Array.isArray(e)?"list":s(e)?"named":"unknown";if("unknown"===o)return n;while(r<t.length){var i=t[r];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(e[parseInt(i.value,10)]);break;case"named":"named"===o&&n.push(e[i.value]);break;case"unknown":0;break}r++}return n}var Z=0,J=1,Q=2,tt=3,et=0,nt=1,rt=2,ot=3,it=4,at=5,st=6,ct=7,ut=8,lt=[];lt[et]={ws:[et],ident:[ot,Z],"[":[it],eof:[ct]},lt[nt]={ws:[nt],".":[rt],"[":[it],eof:[ct]},lt[rt]={ws:[rt],ident:[ot,Z],0:[ot,Z],number:[ot,Z]},lt[ot]={ident:[ot,Z],0:[ot,Z],number:[ot,Z],ws:[nt,J],".":[rt,J],"[":[it,J],eof:[ct,J]},lt[it]={"'":[at,Z],'"':[st,Z],"[":[it,Q],"]":[nt,tt],eof:ut,else:[it,Z]},lt[at]={"'":[it,Z],eof:ut,else:[at,Z]},lt[st]={'"':[it,Z],eof:ut,else:[st,Z]};var ft=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function pt(t){return ft.test(t)}function dt(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function ht(t){if(void 0===t||null===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function vt(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(pt(e)?dt(e):"*"+e)}function mt(t){var e,n,r,o,i,a,s,c=[],u=-1,l=et,f=0,p=[];function d(){var e=t[u+1];if(l===at&&"'"===e||l===st&&'"'===e)return u++,r="\\"+e,p[Z](),!0}p[J]=function(){void 0!==n&&(c.push(n),n=void 0)},p[Z]=function(){void 0===n?n=r:n+=r},p[Q]=function(){p[Z](),f++},p[tt]=function(){if(f>0)f--,l=it,p[Z]();else{if(f=0,void 0===n)return!1;if(n=vt(n),!1===n)return!1;p[J]()}};while(null!==l)if(u++,e=t[u],"\\"!==e||!d()){if(o=ht(e),s=lt[l],i=s[o]||s["else"]||ut,i===ut)return;if(l=i[0],a=p[i[1]],a&&(r=i[2],r=void 0===r?e:r,!1===a()))return;if(l===ct)return c}}var gt=function(){this._cache=Object.create(null)};gt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=mt(t),e&&(this._cache[t]=e)),e||[]},gt.prototype.getPathValue=function(t,e){if(!s(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var r=n.length,o=t,i=0;while(i<r){var a=o[n[i]];if(void 0===a||null===a)return null;o=a,i++}return o};var yt,bt=/<\/?[\w\s="/.':;#-\/]+>/,wt=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,xt=/^@(?:\.([a-zA-Z]+))?:/,St=/[()]/g,kt={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},_t=new V,Ct=function(t){var e=this;void 0===t&&(t={}),!j&&"undefined"!==typeof window&&window.Vue&&q(window.Vue);var n=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),o=t.messages||{},i=t.dateTimeFormats||t.datetimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||_t,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new gt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var r=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex){var o=r.getChoiceIndex;return o.call(e,t,n)}var i=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):i(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!d(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,o[t])})),this._initVM({locale:n,fallbackLocale:r,messages:o,dateTimeFormats:i,numberFormats:a})},Et={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};Ct.prototype._checkLocaleMessage=function(t,e,n){var r=[],s=function(t,e,n,r){if(p(n))Object.keys(n).forEach((function(o){var i=n[o];p(i)?(r.push(o),r.push("."),s(t,e,i,r),r.pop(),r.pop()):(r.push(o),s(t,e,i,r),r.pop())}));else if(a(n))n.forEach((function(n,o){p(n)?(r.push("["+o+"]"),r.push("."),s(t,e,n,r),r.pop(),r.pop()):(r.push("["+o+"]"),s(t,e,n,r),r.pop())}));else if(u(n)){var c=bt.test(n);if(c){var l="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?o(l):"error"===t&&i(l)}}};s(e,t,n,r)},Ct.prototype._initVM=function(t){var e=j.config.silent;j.config.silent=!0,this._vm=new j({data:t,__VUE18N__INSTANCE__:!0}),j.config.silent=e},Ct.prototype.destroyVM=function(){this._vm.$destroy()},Ct.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},Ct.prototype.unsubscribeDataChanging=function(t){g(this._dataListeners,t)},Ct.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=y(t._dataListeners),n=e.length;while(n--)j.nextTick((function(){e[n]&&e[n].$forceUpdate()}))}),{deep:!0})},Ct.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",(function(r){n.$set(n,"locale",r),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=r),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){r.$set(r,"locale",t),r.$forceUpdate()}),{immediate:!0})},Ct.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Et.vm.get=function(){return this._vm},Et.messages.get=function(){return m(this._getMessages())},Et.dateTimeFormats.get=function(){return m(this._getDateTimeFormats())},Et.numberFormats.get=function(){return m(this._getNumberFormats())},Et.availableLocales.get=function(){return Object.keys(this.messages).sort()},Et.locale.get=function(){return this._vm.locale},Et.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Et.fallbackLocale.get=function(){return this._vm.fallbackLocale},Et.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Et.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Et.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Et.missing.get=function(){return this._missing},Et.missing.set=function(t){this._missing=t},Et.formatter.get=function(){return this._formatter},Et.formatter.set=function(t){this._formatter=t},Et.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Et.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Et.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Et.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Et.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Et.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Et.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Et.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}))}},Et.postTranslation.get=function(){return this._postTranslation},Et.postTranslation.set=function(t){this._postTranslation=t},Et.sync.get=function(){return this._sync},Et.sync.set=function(t){this._sync=t},Ct.prototype._getMessages=function(){return this._vm.messages},Ct.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Ct.prototype._getNumberFormats=function(){return this._vm.numberFormats},Ct.prototype._warnDefault=function(t,e,n,r,o,i){if(!d(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,r,o]);if(u(a))return a}else 0;if(this._formatFallbackMessages){var s=v.apply(void 0,o);return this._render(e,i,s.params,e)}return e},Ct.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:d(t))&&!d(this._root)&&this._fallbackRoot},Ct.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Ct.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Ct.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Ct.prototype._interpolate=function(t,e,n,r,o,i,s){if(!e)return null;var c,l=this._path.getPathValue(e,n);if(a(l)||p(l))return l;if(d(l)){if(!p(e))return null;if(c=e[n],!u(c)&&!h(c))return null}else{if(!u(l)&&!h(l))return null;c=l}return u(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(t,e,c,r,"raw",i,s)),this._render(c,o,i,n)},Ct.prototype._link=function(t,e,n,r,o,i,s){var c=n,u=c.match(wt);for(var l in u)if(u.hasOwnProperty(l)){var f=u[l],p=f.match(xt),d=p[0],h=p[1],v=f.replace(d,"").replace(St,"");if(b(s,v))return c;s.push(v);var m=this._interpolate(t,e,v,r,"raw"===o?"string":o,"raw"===o?void 0:i,s);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,v,r,o,i)}m=this._warnDefault(t,v,m,r,a(i)?i:[i],o),this._modifiers.hasOwnProperty(h)?m=this._modifiers[h](m):kt.hasOwnProperty(h)&&(m=kt[h](m)),s.pop(),c=m?c.replace(f,m):c}return c},Ct.prototype._createMessageContext=function(t,e,n,r){var o=this,i=a(t)?t:[],c=s(t)?t:{},u=function(t){return i[t]},l=function(t){return c[t]},f=this._getMessages(),p=this.locale;return{list:u,named:l,values:t,formatter:e,path:n,messages:f,locale:p,linked:function(t){return o._interpolate(p,f[p]||{},t,null,r,void 0,[t])}}},Ct.prototype._render=function(t,e,n,r){if(h(t))return t(this._createMessageContext(n,this._formatter||_t,r,e));var o=this._formatter.interpolate(t,n,r);return o||(o=_t.interpolate(t,n,r)),"string"!==e||u(o)?o:o.join("")},Ct.prototype._appendItemToChain=function(t,e,n){var r=!1;return b(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},Ct.prototype._appendLocaleToChain=function(t,e,n){var r,o=e.split("-");do{var i=o.join("-");r=this._appendItemToChain(t,i,n),o.splice(-1,1)}while(o.length&&!0===r);return r},Ct.prototype._appendBlockToChain=function(t,e,n){for(var r=!0,o=0;o<e.length&&c(r);o++){var i=e[o];u(i)&&(r=this._appendLocaleToChain(t,i,n))}return r},Ct.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[t];if(!n){e||(e=this.fallbackLocale),n=[];var r,o=[t];while(a(o))o=this._appendBlockToChain(n,o,e);r=a(e)?e:s(e)?e["default"]?e["default"]:null:e,o=u(r)?[r]:r,o&&this._appendBlockToChain(n,o,null),this._localeChainCache[t]=n}return n},Ct.prototype._translate=function(t,e,n,r,o,i,a){for(var s,c=this._getLocaleChain(e,n),u=0;u<c.length;u++){var l=c[u];if(s=this._interpolate(l,t[l],r,o,i,a,[r]),!d(s))return s}return null},Ct.prototype._t=function(t,e,n,r){var o,i=[],a=arguments.length-4;while(a-- >0)i[a]=arguments[a+4];if(!t)return"";var s=v.apply(void 0,i);this._escapeParameterHtml&&(s.params=C(s.params));var c=s.locale||e,u=this._translate(n,c,this.fallbackLocale,t,r,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[t].concat(i))}return u=this._warnDefault(c,t,u,r,i,"string"),this._postTranslation&&null!==u&&void 0!==u&&(u=this._postTranslation(u,t)),u},Ct.prototype.t=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Ct.prototype._i=function(t,e,n,r,o){var i=this._translate(n,e,this.fallbackLocale,t,r,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,o)}return this._warnDefault(e,t,i,r,[o],"raw")},Ct.prototype.i=function(t,e,n){return t?(u(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Ct.prototype._tc=function(t,e,n,r,o){var i,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!t)return"";void 0===o&&(o=1);var c={count:o,n:o},u=v.apply(void 0,a);return u.params=Object.assign(c,u.params),a=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((i=this)._t.apply(i,[t,e,n,r].concat(a)),o)},Ct.prototype.fetchChoice=function(t,e){if(!t||!u(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},Ct.prototype.tc=function(t,e){var n,r=[],o=arguments.length-2;while(o-- >0)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},Ct.prototype._te=function(t,e,n){var r=[],o=arguments.length-3;while(o-- >0)r[o]=arguments[o+3];var i=v.apply(void 0,r).locale||e;return this._exist(n[i],t)},Ct.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Ct.prototype.getLocaleMessage=function(t){return m(this._vm.messages[t]||{})},Ct.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Ct.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,S("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},Ct.prototype.getDateTimeFormat=function(t){return m(this._vm.dateTimeFormats[t]||{})},Ct.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Ct.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,S(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Ct.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},Ct.prototype._localizeDateTime=function(t,e,n,r,o,i){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),u=0;u<c.length;u++){var l=c[u];if(s=r[l],a=l,!d(s)&&!d(s[o]))break}if(d(s)||d(s[o]))return null;var f,p=s[o];if(i)f=new Intl.DateTimeFormat(a,Object.assign({},p,i));else{var h=a+"__"+o;f=this._dateTimeFormatters[h],f||(f=this._dateTimeFormatters[h]=new Intl.DateTimeFormat(a,p))}return f.format(t)},Ct.prototype._d=function(t,e,n,r){if(!n){var o=r?new Intl.DateTimeFormat(e,r):new Intl.DateTimeFormat(e);return o.format(t)}var i=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n,r);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return i||""},Ct.prototype.d=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var o=this.locale,i=null,a=null;return 1===e.length?(u(e[0])?i=e[0]:s(e[0])&&(e[0].locale&&(o=e[0].locale),e[0].key&&(i=e[0].key)),a=Object.keys(e[0]).reduce((function(t,n){var o;return b(r,n)?Object.assign({},t,(o={},o[n]=e[0][n],o)):t}),null)):2===e.length&&(u(e[0])&&(i=e[0]),u(e[1])&&(o=e[1])),this._d(t,o,i,a)},Ct.prototype.getNumberFormat=function(t){return m(this._vm.numberFormats[t]||{})},Ct.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Ct.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,S(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Ct.prototype._clearNumberFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},Ct.prototype._getNumberFormatter=function(t,e,n,r,o,i){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),u=0;u<c.length;u++){var l=c[u];if(s=r[l],a=l,!d(s)&&!d(s[o]))break}if(d(s)||d(s[o]))return null;var f,p=s[o];if(i)f=new Intl.NumberFormat(a,Object.assign({},p,i));else{var h=a+"__"+o;f=this._numberFormatters[h],f||(f=this._numberFormatters[h]=new Intl.NumberFormat(a,p))}return f},Ct.prototype._n=function(t,e,n,r){if(!Ct.availabilities.numberFormat)return"";if(!n){var o=r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e);return o.format(t)}var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),a=i&&i.format(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},r))}return a||""},Ct.prototype.n=function(t){var e=[],r=arguments.length-1;while(r-- >0)e[r]=arguments[r+1];var o=this.locale,i=null,a=null;return 1===e.length?u(e[0])?i=e[0]:s(e[0])&&(e[0].locale&&(o=e[0].locale),e[0].key&&(i=e[0].key),a=Object.keys(e[0]).reduce((function(t,r){var o;return b(n,r)?Object.assign({},t,(o={},o[r]=e[0][r],o)):t}),null)):2===e.length&&(u(e[0])&&(i=e[0]),u(e[1])&&(o=e[1])),this._n(t,o,i,a)},Ct.prototype._ntp=function(t,e,n,r){if(!Ct.availabilities.numberFormat)return[];if(!n){var o=r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e);return o.formatToParts(t)}var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),a=i&&i.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return a||[]},Object.defineProperties(Ct.prototype,Et),Object.defineProperty(Ct,"availabilities",{get:function(){if(!yt){var t="undefined"!==typeof Intl;yt={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return yt}}),Ct.install=q,Ct.version="8.28.2",e.A=Ct},40173:function(t,e,n){"use strict";function r(t,e){for(var n in e)t[n]=e[n];return t}n.d(e,{Ay:function(){return Se}});var o=/[!'()*]/g,i=function(t){return"%"+t.charCodeAt(0).toString(16)},a=/%2C/g,s=function(t){return encodeURIComponent(t).replace(o,i).replace(a,",")};function c(t){try{return decodeURIComponent(t)}catch(e){0}return t}function u(t,e,n){void 0===e&&(e={});var r,o=n||f;try{r=o(t||"")}catch(s){r={}}for(var i in e){var a=e[i];r[i]=Array.isArray(a)?a.map(l):l(a)}return r}var l=function(t){return null==t||"object"===typeof t?t:String(t)};function f(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=c(n.shift()),o=n.length>0?c(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]})),e):e}function p(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return s(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(s(e)):r.push(s(e)+"="+s(t)))})),r.join("&")}return s(e)+"="+s(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var d=/\/?$/;function h(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=v(i)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:y(e,o),matched:t?g(t):[]};return n&&(a.redirectedFrom=y(n,o)),Object.freeze(a)}function v(t){if(Array.isArray(t))return t.map(v);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=v(t[n]);return e}return t}var m=h(null,{path:"/"});function g(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function y(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;void 0===o&&(o="");var i=e||p;return(n||"/")+i(r)+o}function b(t,e,n){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(d,"")===e.path.replace(d,"")&&(n||t.hash===e.hash&&w(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&w(t.query,e.query)&&w(t.params,e.params))))}function w(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,o){var i=t[n],a=r[o];if(a!==n)return!1;var s=e[n];return null==i||null==s?i===s:"object"===typeof i&&"object"===typeof s?w(i,s):String(i)===String(s)}))}function x(t,e){return 0===t.path.replace(d,"/").indexOf(e.path.replace(d,"/"))&&(!e.hash||t.hash===e.hash)&&S(t.query,e.query)}function S(t,e){for(var n in e)if(!(n in t))return!1;return!0}function k(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var r in n.instances){var o=n.instances[r],i=n.enteredCbs[r];if(o&&i){delete n.enteredCbs[r];for(var a=0;a<i.length;a++)o._isBeingDestroyed||i[a](o)}}}}var _={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,o=e.children,i=e.parent,a=e.data;a.routerView=!0;var s=i.$createElement,c=n.name,u=i.$route,l=i._routerViewCache||(i._routerViewCache={}),f=0,p=!1;while(i&&i._routerRoot!==i){var d=i.$vnode?i.$vnode.data:{};d.routerView&&f++,d.keepAlive&&i._directInactive&&i._inactive&&(p=!0),i=i.$parent}if(a.routerViewDepth=f,p){var h=l[c],v=h&&h.component;return v?(h.configProps&&C(v,a,h.route,h.configProps),s(v,a,o)):s()}var m=u.matched[f],g=m&&m.components[c];if(!m||!g)return l[c]=null,s();l[c]={component:g},a.registerRouteInstance=function(t,e){var n=m.instances[c];(e&&n!==t||!e&&n===t)&&(m.instances[c]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){m.instances[c]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==m.instances[c]&&(m.instances[c]=t.componentInstance),k(u)};var y=m.props&&m.props[c];return y&&(r(l[c],{route:u,configProps:y}),C(g,a,u,y)),s(g,a,o)}};function C(t,e,n,o){var i=e.props=E(n,o);if(i){i=e.props=r({},i);var a=e.attrs=e.attrs||{};for(var s in i)t.props&&s in t.props||(a[s]=i[s],delete i[s])}}function E(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}function O(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var o=e.split("/");n&&o[o.length-1]||o.pop();for(var i=t.replace(/^\//,"").split("/"),a=0;a<i.length;a++){var s=i[a];".."===s?o.pop():"."!==s&&o.push(s)}return""!==o[0]&&o.unshift(""),o.join("/")}function I(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function T(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var A=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},L=Y,M=D,R=F,P=U,j=K,N=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function D(t,e){var n,r=[],o=0,i=0,a="",s=e&&e.delimiter||"/";while(null!=(n=N.exec(t))){var c=n[0],u=n[1],l=n.index;if(a+=t.slice(i,l),i=l+c.length,u)a+=u[1];else{var f=t[i],p=n[2],d=n[3],h=n[4],v=n[5],m=n[6],g=n[7];a&&(r.push(a),a="");var y=null!=p&&null!=f&&f!==p,b="+"===m||"*"===m,w="?"===m||"*"===m,x=n[2]||s,S=h||v;r.push({name:d||o++,prefix:p||"",delimiter:x,optional:w,repeat:b,partial:y,asterisk:!!g,pattern:S?W(S):g?".*":"[^"+z(x)+"]+?"})}}return i<t.length&&(a+=t.substr(i)),a&&r.push(a),r}function F(t,e){return U(D(t,e),e)}function B(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function H(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function U(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"===typeof t[r]&&(n[r]=new RegExp("^(?:"+t[r].pattern+")$",q(e)));return function(e,r){for(var o="",i=e||{},a=r||{},s=a.pretty?B:encodeURIComponent,c=0;c<t.length;c++){var u=t[c];if("string"!==typeof u){var l,f=i[u.name];if(null==f){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(A(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(l=s(f[p]),!n[c].test(l))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(l)+"`");o+=(0===p?u.prefix:u.delimiter)+l}}else{if(l=u.asterisk?H(f):s(f),!n[c].test(l))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+l+'"');o+=u.prefix+l}}else o+=u}return o}}function z(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function W(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function $(t,e){return t.keys=e,t}function q(t){return t&&t.sensitive?"":"i"}function V(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return $(t,e)}function X(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(Y(t[o],e,n).source);var i=new RegExp("(?:"+r.join("|")+")",q(n));return $(i,e)}function G(t,e,n){return K(D(t,n),e,n)}function K(t,e,n){A(e)||(n=e||n,e=[]),n=n||{};for(var r=n.strict,o=!1!==n.end,i="",a=0;a<t.length;a++){var s=t[a];if("string"===typeof s)i+=z(s);else{var c=z(s.prefix),u="(?:"+s.pattern+")";e.push(s),s.repeat&&(u+="(?:"+c+u+")*"),u=s.optional?s.partial?c+"("+u+")?":"(?:"+c+"("+u+"))?":c+"("+u+")",i+=u}}var l=z(n.delimiter||"/"),f=i.slice(-l.length)===l;return r||(i=(f?i.slice(0,-l.length):i)+"(?:"+l+"(?=$))?"),i+=o?"$":r&&f?"":"(?="+l+"|$)",$(new RegExp("^"+i,q(n)),e)}function Y(t,e,n){return A(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?V(t,e):A(t)?X(t,e,n):G(t,e,n)}L.parse=M,L.compile=R,L.tokensToFunction=P,L.tokensToRegExp=j;var Z=Object.create(null);function J(t,e,n){e=e||{};try{var r=Z[t]||(Z[t]=L.compile(t));return"string"===typeof e.pathMatch&&(e[0]=e.pathMatch),r(e,{pretty:!0})}catch(o){return""}finally{delete e[0]}}function Q(t,e,n,o){var i="string"===typeof t?{path:t}:t;if(i._normalized)return i;if(i.name){i=r({},t);var a=i.params;return a&&"object"===typeof a&&(i.params=r({},a)),i}if(!i.path&&i.params&&e){i=r({},i),i._normalized=!0;var s=r(r({},e.params),i.params);if(e.name)i.name=e.name,i.params=s;else if(e.matched.length){var c=e.matched[e.matched.length-1].path;i.path=J(c,s,"path "+e.path)}else 0;return i}var l=I(i.path||""),f=e&&e.path||"/",p=l.path?O(l.path,f,n||i.append):f,d=u(l.query,i.query,o&&o.options.parseQuery),h=i.hash||l.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:p,query:d,hash:h}}var tt,et=[String,Object],nt=[String,Array],rt=function(){},ot={name:"RouterLink",props:{to:{type:et,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:nt,default:"click"}},render:function(t){var e=this,n=this.$router,o=this.$route,i=n.resolve(this.to,o,this.append),a=i.location,s=i.route,c=i.href,u={},l=n.options.linkActiveClass,f=n.options.linkExactActiveClass,p=null==l?"router-link-active":l,d=null==f?"router-link-exact-active":f,v=null==this.activeClass?p:this.activeClass,m=null==this.exactActiveClass?d:this.exactActiveClass,g=s.redirectedFrom?h(null,Q(s.redirectedFrom),null,n):s;u[m]=b(o,g,this.exactPath),u[v]=this.exact||this.exactPath?u[m]:x(o,g);var y=u[m]?this.ariaCurrentValue:null,w=function(t){it(t)&&(e.replace?n.replace(a,rt):n.push(a,rt))},S={click:it};Array.isArray(this.event)?this.event.forEach((function(t){S[t]=w})):S[this.event]=w;var k={class:u},_=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:c,route:s,navigate:w,isActive:u[v],isExactActive:u[m]});if(_){if(1===_.length)return _[0];if(_.length>1||!_.length)return 0===_.length?t():t("span",{},_)}if("a"===this.tag)k.on=S,k.attrs={href:c,"aria-current":y};else{var C=at(this.$slots.default);if(C){C.isStatic=!1;var E=C.data=r({},C.data);for(var O in E.on=E.on||{},E.on){var I=E.on[O];O in S&&(E.on[O]=Array.isArray(I)?I:[I])}for(var T in S)T in E.on?E.on[T].push(S[T]):E.on[T]=w;var A=C.data.attrs=r({},C.data.attrs);A.href=c,A["aria-current"]=y}else k.on=S}return t(this.tag,k,this.$slots.default)}};function it(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function at(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=at(e.children)))return e}}function st(t){if(!st.installed||tt!==t){st.installed=!0,tt=t;var e=function(t){return void 0!==t},n=function(t,n){var r=t.$options._parentVnode;e(r)&&e(r=r.data)&&e(r=r.registerRouteInstance)&&r(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",_),t.component("RouterLink",ot);var r=t.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}}var ct="undefined"!==typeof window;function ut(t,e,n,r,o){var i=e||[],a=n||Object.create(null),s=r||Object.create(null);t.forEach((function(t){lt(i,a,s,t,o)}));for(var c=0,u=i.length;c<u;c++)"*"===i[c]&&(i.push(i.splice(c,1)[0]),u--,c--);return{pathList:i,pathMap:a,nameMap:s}}function lt(t,e,n,r,o,i){var a=r.path,s=r.name;var c=r.pathToRegexpOptions||{},u=pt(a,o,c.strict);"boolean"===typeof r.caseSensitive&&(c.sensitive=r.caseSensitive);var l={path:u,regex:ft(u,c),components:r.components||{default:r.component},alias:r.alias?"string"===typeof r.alias?[r.alias]:r.alias:[],instances:{},enteredCbs:{},name:s,parent:o,matchAs:i,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};if(r.children&&r.children.forEach((function(r){var o=i?T(i+"/"+r.path):void 0;lt(t,e,n,r,l,o)})),e[l.path]||(t.push(l.path),e[l.path]=l),void 0!==r.alias)for(var f=Array.isArray(r.alias)?r.alias:[r.alias],p=0;p<f.length;++p){var d=f[p];0;var h={path:d,children:r.children};lt(t,e,n,h,o,l.path||"/")}s&&(n[s]||(n[s]=l))}function ft(t,e){var n=L(t,[],e);return n}function pt(t,e,n){return n||(t=t.replace(/\/$/,"")),"/"===t[0]||null==e?t:T(e.path+"/"+t)}function dt(t,e){var n=ut(t),r=n.pathList,o=n.pathMap,i=n.nameMap;function a(t){ut(t,r,o,i)}function s(t,e){var n="object"!==typeof t?i[t]:void 0;ut([e||t],r,o,i,n),n&&n.alias.length&&ut(n.alias.map((function(t){return{path:t,children:[e]}})),r,o,i,n)}function c(){return r.map((function(t){return o[t]}))}function u(t,n,a){var s=Q(t,n,!1,e),c=s.name;if(c){var u=i[c];if(!u)return p(null,s);var l=u.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!==typeof s.params&&(s.params={}),n&&"object"===typeof n.params)for(var f in n.params)!(f in s.params)&&l.indexOf(f)>-1&&(s.params[f]=n.params[f]);return s.path=J(u.path,s.params,'named route "'+c+'"'),p(u,s,a)}if(s.path){s.params={};for(var d=0;d<r.length;d++){var h=r[d],v=o[h];if(ht(v.regex,s.path,s.params))return p(v,s,a)}}return p(null,s)}function l(t,n){var r=t.redirect,o="function"===typeof r?r(h(t,n,null,e)):r;if("string"===typeof o&&(o={path:o}),!o||"object"!==typeof o)return p(null,n);var a=o,s=a.name,c=a.path,l=n.query,f=n.hash,d=n.params;if(l=a.hasOwnProperty("query")?a.query:l,f=a.hasOwnProperty("hash")?a.hash:f,d=a.hasOwnProperty("params")?a.params:d,s){i[s];return u({_normalized:!0,name:s,query:l,hash:f,params:d},void 0,n)}if(c){var v=vt(c,t),m=J(v,d,'redirect route with path "'+v+'"');return u({_normalized:!0,path:m,query:l,hash:f},void 0,n)}return p(null,n)}function f(t,e,n){var r=J(n,e.params,'aliased route with path "'+n+'"'),o=u({_normalized:!0,path:r});if(o){var i=o.matched,a=i[i.length-1];return e.params=o.params,p(a,e)}return p(null,e)}function p(t,n,r){return t&&t.redirect?l(t,r||n):t&&t.matchAs?f(t,n,t.matchAs):h(t,n,r,e)}return{match:u,addRoute:s,getRoutes:c,addRoutes:a}}function ht(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var o=1,i=r.length;o<i;++o){var a=t.keys[o-1];a&&(n[a.name||"pathMatch"]="string"===typeof r[o]?c(r[o]):r[o])}return!0}function vt(t,e){return O(t,e.parent?e.parent.path:"/",!0)}var mt=ct&&window.performance&&window.performance.now?window.performance:Date;function gt(){return mt.now().toFixed(3)}var yt=gt();function bt(){return yt}function wt(t){return yt=t}var xt=Object.create(null);function St(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=r({},window.history.state);return n.key=bt(),window.history.replaceState(n,"",e),window.addEventListener("popstate",Ct),function(){window.removeEventListener("popstate",Ct)}}function kt(t,e,n,r){if(t.app){var o=t.options.scrollBehavior;o&&t.app.$nextTick((function(){var i=Et(),a=o.call(t,e,n,r?i:null);a&&("function"===typeof a.then?a.then((function(t){Rt(t,i)})).catch((function(t){0})):Rt(a,i))}))}}function _t(){var t=bt();t&&(xt[t]={x:window.pageXOffset,y:window.pageYOffset})}function Ct(t){_t(),t.state&&t.state.key&&wt(t.state.key)}function Et(){var t=bt();if(t)return xt[t]}function Ot(t,e){var n=document.documentElement,r=n.getBoundingClientRect(),o=t.getBoundingClientRect();return{x:o.left-r.left-e.x,y:o.top-r.top-e.y}}function It(t){return Lt(t.x)||Lt(t.y)}function Tt(t){return{x:Lt(t.x)?t.x:window.pageXOffset,y:Lt(t.y)?t.y:window.pageYOffset}}function At(t){return{x:Lt(t.x)?t.x:0,y:Lt(t.y)?t.y:0}}function Lt(t){return"number"===typeof t}var Mt=/^#\d/;function Rt(t,e){var n="object"===typeof t;if(n&&"string"===typeof t.selector){var r=Mt.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(r){var o=t.offset&&"object"===typeof t.offset?t.offset:{};o=At(o),e=Ot(r,o)}else It(t)&&(e=Tt(t))}else n&&It(t)&&(e=Tt(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var Pt=ct&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"function"===typeof window.history.pushState)}();function jt(t,e){_t();var n=window.history;try{if(e){var o=r({},n.state);o.key=bt(),n.replaceState(o,"",t)}else n.pushState({key:wt(gt())},"",t)}catch(i){window.location[e?"replace":"assign"](t)}}function Nt(t){jt(t,!0)}var Dt={redirected:2,aborted:4,cancelled:8,duplicated:16};function Ft(t,e){return zt(t,e,Dt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+$t(e)+'" via a navigation guard.')}function Bt(t,e){var n=zt(t,e,Dt.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return n.name="NavigationDuplicated",n}function Ht(t,e){return zt(t,e,Dt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ut(t,e){return zt(t,e,Dt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function zt(t,e,n,r){var o=new Error(r);return o._isRouter=!0,o.from=t,o.to=e,o.type=n,o}var Wt=["params","query","hash"];function $t(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return Wt.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}function qt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function Vt(t,e){return qt(t)&&t._isRouter&&(null==e||t.type===e)}function Xt(t,e,n){var r=function(o){o>=t.length?n():t[o]?e(t[o],(function(){r(o+1)})):r(o+1)};r(0)}function Gt(t){return function(e,n,r){var o=!1,i=0,a=null;Kt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){o=!0,i++;var c,u=Qt((function(e){Jt(e)&&(e=e.default),t.resolved="function"===typeof e?e:tt.extend(e),n.components[s]=e,i--,i<=0&&r()})),l=Qt((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=qt(t)?t:new Error(e),r(a))}));try{c=t(u,l)}catch(p){l(p)}if(c)if("function"===typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"===typeof f.then&&f.then(u,l)}}})),o||r()}}function Kt(t,e){return Yt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Yt(t){return Array.prototype.concat.apply([],t)}var Zt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Jt(t){return t.__esModule||Zt&&"Module"===t[Symbol.toStringTag]}function Qt(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var te=function(t,e){this.router=t,this.base=ee(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ee(t){if(!t)if(ct){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ne(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r;n++)if(t[n]!==e[n])break;return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function re(t,e,n,r){var o=Kt(t,(function(t,r,o,i){var a=oe(t,e);if(a)return Array.isArray(a)?a.map((function(t){return n(t,r,o,i)})):n(a,r,o,i)}));return Yt(r?o.reverse():o)}function oe(t,e){return"function"!==typeof t&&(t=tt.extend(t)),t.options[e]}function ie(t){return re(t,"beforeRouteLeave",se,!0)}function ae(t){return re(t,"beforeRouteUpdate",se)}function se(t,e){if(e)return function(){return t.apply(e,arguments)}}function ce(t){return re(t,"beforeRouteEnter",(function(t,e,n,r){return ue(t,n,r)}))}function ue(t,e,n){return function(r,o,i){return t(r,o,(function(t){"function"===typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),i(t)}))}}te.prototype.listen=function(t){this.cb=t},te.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},te.prototype.onError=function(t){this.errorCbs.push(t)},te.prototype.transitionTo=function(t,e,n){var r,o=this;try{r=this.router.match(t,this.current)}catch(a){throw this.errorCbs.forEach((function(t){t(a)})),a}var i=this.current;this.confirmTransition(r,(function(){o.updateRoute(r),e&&e(r),o.ensureURL(),o.router.afterHooks.forEach((function(t){t&&t(r,i)})),o.ready||(o.ready=!0,o.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!o.ready&&(Vt(t,Dt.redirected)&&i===m||(o.ready=!0,o.readyErrorCbs.forEach((function(e){e(t)}))))}))},te.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current;this.pending=t;var i=function(t){!Vt(t)&&qt(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},a=t.matched.length-1,s=o.matched.length-1;if(b(t,o)&&a===s&&t.matched[a]===o.matched[s])return this.ensureURL(),t.hash&&kt(this.router,o,t,!1),i(Bt(o,t));var c=ne(this.current.matched,t.matched),u=c.updated,l=c.deactivated,f=c.activated,p=[].concat(ie(l),this.router.beforeHooks,ae(u),f.map((function(t){return t.beforeEnter})),Gt(f)),d=function(e,n){if(r.pending!==t)return i(Ht(o,t));try{e(t,o,(function(e){!1===e?(r.ensureURL(!0),i(Ut(o,t))):qt(e)?(r.ensureURL(!0),i(e)):"string"===typeof e||"object"===typeof e&&("string"===typeof e.path||"string"===typeof e.name)?(i(Ft(o,t)),"object"===typeof e&&e.replace?r.replace(e):r.push(e)):n(e)}))}catch(a){i(a)}};Xt(p,d,(function(){var n=ce(f),a=n.concat(r.router.resolveHooks);Xt(a,d,(function(){if(r.pending!==t)return i(Ht(o,t));r.pending=null,e(t),r.router.app&&r.router.app.$nextTick((function(){k(t)}))}))}))},te.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},te.prototype.setupListeners=function(){},te.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=m,this.pending=null};var le=function(t){function e(e,n){t.call(this,e,n),this._startLocation=fe(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Pt&&n;r&&this.listeners.push(St());var o=function(){var n=t.current,o=fe(t.base);t.current===m&&o===t._startLocation||t.transitionTo(o,(function(t){r&&kt(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){jt(T(r.base+t.fullPath)),kt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Nt(T(r.base+t.fullPath)),kt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(fe(this.base)!==this.current.fullPath){var e=T(this.base+this.current.fullPath);t?jt(e):Nt(e)}},e.prototype.getCurrentLocation=function(){return fe(this.base)},e}(te);function fe(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(T(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var pe=function(t){function e(e,n,r){t.call(this,e,n),r&&de(this.base)||he()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Pt&&n;r&&this.listeners.push(St());var o=function(){var e=t.current;he()&&t.transitionTo(ve(),(function(n){r&&kt(t.router,n,e,!0),Pt||ye(n.fullPath)}))},i=Pt?"popstate":"hashchange";window.addEventListener(i,o),this.listeners.push((function(){window.removeEventListener(i,o)}))}},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){ge(t.fullPath),kt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){ye(t.fullPath),kt(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ve()!==e&&(t?ge(e):ye(e))},e.prototype.getCurrentLocation=function(){return ve()},e}(te);function de(t){var e=fe(t);if(!/^\/#/.test(e))return window.location.replace(T(t+"/#"+e)),!0}function he(){var t=ve();return"/"===t.charAt(0)||(ye("/"+t),!1)}function ve(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function ge(t){Pt?jt(me(t)):window.location.hash=t}function ye(t){Pt?Nt(me(t)):window.location.replace(me(t))}var be=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){Vt(t,Dt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(te),we=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=dt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Pt&&!1!==t.fallback,this.fallback&&(e="hash"),ct||(e="abstract"),this.mode=e,e){case"history":this.history=new le(this,t.base);break;case"hash":this.history=new pe(this,t.base,this.fallback);break;case"abstract":this.history=new be(this,t.base);break;default:0}},xe={currentRoute:{configurable:!0}};we.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},xe.currentRoute.get=function(){return this.history&&this.history.current},we.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof le||n instanceof pe){var r=function(t){var r=n.current,o=e.options.scrollBehavior,i=Pt&&o;i&&"fullPath"in t&&kt(e,t,r,!1)},o=function(t){n.setupListeners(),r(t)};n.transitionTo(n.getCurrentLocation(),o,o)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},we.prototype.beforeEach=function(t){return ke(this.beforeHooks,t)},we.prototype.beforeResolve=function(t){return ke(this.resolveHooks,t)},we.prototype.afterEach=function(t){return ke(this.afterHooks,t)},we.prototype.onReady=function(t,e){this.history.onReady(t,e)},we.prototype.onError=function(t){this.history.onError(t)},we.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},we.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},we.prototype.go=function(t){this.history.go(t)},we.prototype.back=function(){this.go(-1)},we.prototype.forward=function(){this.go(1)},we.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},we.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=Q(t,e,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath,a=this.history.base,s=_e(a,i,this.mode);return{location:r,route:o,href:s,normalizedTo:r,resolved:o}},we.prototype.getRoutes=function(){return this.matcher.getRoutes()},we.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},we.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(we.prototype,xe);var Se=we;function ke(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function _e(t,e,n){var r="hash"===n?"#"+e:e;return t?T(t+"/"+r):r}we.install=st,we.version="3.6.5",we.isNavigationFailure=Vt,we.NavigationFailureType=Dt,we.START_LOCATION=m,ct&&window.Vue&&window.Vue.use(we)},85471:function(t,e,n){"use strict";n.d(e,{Ay:function(){return Jr}});
/*!
 * Vue.js v2.7.16
 * (c) 2014-2023 Evan You
 * Released under the MIT License.
 */
var r=Object.freeze({}),o=Array.isArray;function i(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function s(t){return!0===t}function c(t){return!1===t}function u(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function l(t){return"function"===typeof t}function f(t){return null!==t&&"object"===typeof t}var p=Object.prototype.toString;function d(t){return"[object Object]"===p.call(t)}function h(t){return"[object RegExp]"===p.call(t)}function v(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function g(t){return null==t?"":Array.isArray(t)||d(t)&&t.toString===p?JSON.stringify(t,y,2):String(t)}function y(t,e){return e&&e.__v_isRef?e.value:e}function b(t){var e=parseFloat(t);return isNaN(e)?t:e}function w(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}w("slot,component",!0);var x=w("key,ref,slot,slot-scope,is");function S(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var r=t.indexOf(e);if(r>-1)return t.splice(r,1)}}var k=Object.prototype.hasOwnProperty;function _(t,e){return k.call(t,e)}function C(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var E=/-(\w)/g,O=C((function(t){return t.replace(E,(function(t,e){return e?e.toUpperCase():""}))})),I=C((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,A=C((function(t){return t.replace(T,"-$1").toLowerCase()}));function L(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function M(t,e){return t.bind(e)}var R=Function.prototype.bind?M:L;function P(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function j(t,e){for(var n in e)t[n]=e[n];return t}function N(t){for(var e={},n=0;n<t.length;n++)t[n]&&j(e,t[n]);return e}function D(t,e,n){}var F=function(t,e,n){return!1},B=function(t){return t};function H(t,e){if(t===e)return!0;var n=f(t),r=f(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every((function(t,n){return H(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(o||i)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return H(t[n],e[n])}))}catch(c){return!1}}function U(t,e){for(var n=0;n<t.length;n++)if(H(t[n],e))return n;return-1}function z(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function W(t,e){return t===e?0===t&&1/t!==1/e:t===t||e===e}var $="data-server-rendered",q=["component","directive","filter"],V=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],X={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:F,isReservedAttr:F,isUnknownElement:F,getTagNamespace:D,parsePlatformTagName:B,mustUseProp:F,async:!0,_lifecycleHooks:V},G=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function K(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function Y(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var Z=new RegExp("[^".concat(G.source,".$_\\d]"));function J(t){if(!Z.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var Q="__proto__"in{},tt="undefined"!==typeof window,et=tt&&window.navigator.userAgent.toLowerCase(),nt=et&&/msie|trident/.test(et),rt=et&&et.indexOf("msie 9.0")>0,ot=et&&et.indexOf("edge/")>0;et&&et.indexOf("android");var it=et&&/iphone|ipad|ipod|ios/.test(et);et&&/chrome\/\d+/.test(et),et&&/phantomjs/.test(et);var at,st=et&&et.match(/firefox\/(\d+)/),ct={}.watch,ut=!1;if(tt)try{var lt={};Object.defineProperty(lt,"passive",{get:function(){ut=!0}}),window.addEventListener("test-passive",null,lt)}catch(Qa){}var ft=function(){return void 0===at&&(at=!tt&&"undefined"!==typeof n.g&&(n.g["process"]&&"server"===n.g["process"].env.VUE_ENV)),at},pt=tt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function dt(t){return"function"===typeof t&&/native code/.test(t.toString())}var ht,vt="undefined"!==typeof Symbol&&dt(Symbol)&&"undefined"!==typeof Reflect&&dt(Reflect.ownKeys);ht="undefined"!==typeof Set&&dt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var mt=null;function gt(t){void 0===t&&(t=null),t||mt&&mt._scope.off(),mt=t,t&&t._scope.on()}var yt=function(){function t(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),bt=function(t){void 0===t&&(t="");var e=new yt;return e.text=t,e.isComment=!0,e};function wt(t){return new yt(void 0,void 0,void 0,String(t))}function xt(t){var e=new yt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"===typeof SuppressedError&&SuppressedError;var St=0,kt=[],_t=function(){for(var t=0;t<kt.length;t++){var e=kt[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}kt.length=0},Ct=function(){function t(){this._pending=!1,this.id=St++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,kt.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,r=e.length;n<r;n++){var o=e[n];0,o.update()}},t}();Ct.target=null;var Et=[];function Ot(t){Et.push(t),Ct.target=t}function It(){Et.pop(),Ct.target=Et[Et.length-1]}var Tt=Array.prototype,At=Object.create(Tt),Lt=["push","pop","shift","unshift","splice","sort","reverse"];Lt.forEach((function(t){var e=Tt[t];Y(At,t,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o,i=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2);break}return o&&a.observeArray(o),a.dep.notify(),i}))}));var Mt=Object.getOwnPropertyNames(At),Rt={},Pt=!0;function jt(t){Pt=t}var Nt={notify:D,depend:D,addSub:D,removeSub:D},Dt=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?Nt:new Ct,this.vmCount=0,Y(t,"__ob__",this),o(t)){if(!n)if(Q)t.__proto__=At;else for(var r=0,i=Mt.length;r<i;r++){var a=Mt[r];Y(t,a,At[a])}e||this.observeArray(t)}else{var s=Object.keys(t);for(r=0;r<s.length;r++){a=s[r];Bt(t,a,Rt,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Ft(t[e],!1,this.mock)},t}();function Ft(t,e,n){return t&&_(t,"__ob__")&&t.__ob__ instanceof Dt?t.__ob__:!Pt||!n&&ft()||!o(t)&&!d(t)||!Object.isExtensible(t)||t.__v_skip||Vt(t)||t instanceof yt?void 0:new Dt(t,e,n)}function Bt(t,e,n,r,i,a,s){void 0===s&&(s=!1);var c=new Ct,u=Object.getOwnPropertyDescriptor(t,e);if(!u||!1!==u.configurable){var l=u&&u.get,f=u&&u.set;l&&!f||n!==Rt&&2!==arguments.length||(n=t[e]);var p=i?n&&n.__ob__:Ft(n,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=l?l.call(t):n;return Ct.target&&(c.depend(),p&&(p.dep.depend(),o(e)&&zt(e))),Vt(e)&&!i?e.value:e},set:function(e){var r=l?l.call(t):n;if(W(r,e)){if(f)f.call(t,e);else{if(l)return;if(!i&&Vt(r)&&!Vt(e))return void(r.value=e);n=e}p=i?e&&e.__ob__:Ft(e,!1,a),c.notify()}}}),c}}function Ht(t,e,n){if(!qt(t)){var r=t.__ob__;return o(t)&&v(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),r&&!r.shallow&&r.mock&&Ft(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||r&&r.vmCount?n:r?(Bt(r.value,e,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(t[e]=n,n)}}function Ut(t,e){if(o(t)&&v(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||qt(t)||_(t,e)&&(delete t[e],n&&n.dep.notify())}}function zt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),o(e)&&zt(e)}function Wt(t){return $t(t,!0),Y(t,"__v_isShallow",!0),t}function $t(t,e){if(!qt(t)){Ft(t,e,ft());0}}function qt(t){return!(!t||!t.__v_isReadonly)}function Vt(t){return!(!t||!0!==t.__v_isRef)}function Xt(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(Vt(t))return t.value;var r=t&&t.__ob__;return r&&r.dep.depend(),t},set:function(t){var r=e[n];Vt(r)&&!Vt(t)?r.value=t:e[n]=t}})}var Gt="watcher";"".concat(Gt," callback"),"".concat(Gt," getter"),"".concat(Gt," cleanup");var Kt;var Yt=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Kt,!t&&Kt&&(this.index=(Kt.scopes||(Kt.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Kt;try{return Kt=this,t()}finally{Kt=e}}else 0},t.prototype.on=function(){Kt=this},t.prototype.off=function(){Kt=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Zt(t,e){void 0===e&&(e=Kt),e&&e.active&&e.effects.push(t)}function Jt(){return Kt}function Qt(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}var te=C((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}}));function ee(t,e){function n(){var t=n.fns;if(!o(t))return Ze(t,null,arguments,e,"v-on handler");for(var r=t.slice(),i=0;i<r.length;i++)Ze(r[i],null,arguments,e,"v-on handler")}return n.fns=t,n}function ne(t,e,n,r,o,a){var c,u,l,f;for(c in t)u=t[c],l=e[c],f=te(c),i(u)||(i(l)?(i(u.fns)&&(u=t[c]=ee(u,a)),s(f.once)&&(u=t[c]=o(f.name,u,f.capture)),n(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,t[c]=l));for(c in e)i(t[c])&&(f=te(c),r(f.name,e[c],f.capture))}function re(t,e,n){var r;t instanceof yt&&(t=t.data.hook||(t.data.hook={}));var o=t[e];function c(){n.apply(this,arguments),S(r.fns,c)}i(o)?r=ee([c]):a(o.fns)&&s(o.merged)?(r=o,r.fns.push(c)):r=ee([o,c]),r.merged=!0,t[e]=r}function oe(t,e,n){var r=e.options.props;if(!i(r)){var o={},s=t.attrs,c=t.props;if(a(s)||a(c))for(var u in r){var l=A(u);ie(o,c,u,l,!0)||ie(o,s,u,l,!1)}return o}}function ie(t,e,n,r,o){if(a(e)){if(_(e,n))return t[n]=e[n],o||delete e[n],!0;if(_(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function ae(t){for(var e=0;e<t.length;e++)if(o(t[e]))return Array.prototype.concat.apply([],t);return t}function se(t){return u(t)?[wt(t)]:o(t)?ue(t):void 0}function ce(t){return a(t)&&a(t.text)&&c(t.isComment)}function ue(t,e){var n,r,c,l,f=[];for(n=0;n<t.length;n++)r=t[n],i(r)||"boolean"===typeof r||(c=f.length-1,l=f[c],o(r)?r.length>0&&(r=ue(r,"".concat(e||"","_").concat(n)),ce(r[0])&&ce(l)&&(f[c]=wt(l.text+r[0].text),r.shift()),f.push.apply(f,r)):u(r)?ce(l)?f[c]=wt(l.text+r):""!==r&&f.push(wt(r)):ce(r)&&ce(l)?f[c]=wt(l.text+r.text):(s(t._isVList)&&a(r.tag)&&i(r.key)&&a(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),f.push(r)));return f}function le(t,e){var n,r,i,s,c=null;if(o(t)||"string"===typeof t)for(c=new Array(t.length),n=0,r=t.length;n<r;n++)c[n]=e(t[n],n);else if("number"===typeof t)for(c=new Array(t),n=0;n<t;n++)c[n]=e(n+1,n);else if(f(t))if(vt&&t[Symbol.iterator]){c=[];var u=t[Symbol.iterator](),l=u.next();while(!l.done)c.push(e(l.value,c.length)),l=u.next()}else for(i=Object.keys(t),c=new Array(i.length),n=0,r=i.length;n<r;n++)s=i[n],c[n]=e(t[s],s,n);return a(c)||(c=[]),c._isVList=!0,c}function fe(t,e,n,r){var o,i=this.$scopedSlots[t];i?(n=n||{},r&&(n=j(j({},r),n)),o=i(n)||(l(e)?e():e)):o=this.$slots[t]||(l(e)?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function pe(t){return Cr(this.$options,"filters",t,!0)||B}function de(t,e){return o(t)?-1===t.indexOf(e):t!==e}function he(t,e,n,r,o){var i=X.keyCodes[e]||n;return o&&r&&!X.keyCodes[e]?de(o,r):i?de(i,t):r?A(r)!==e:void 0===t}function ve(t,e,n,r,i){if(n)if(f(n)){o(n)&&(n=N(n));var a=void 0,s=function(o){if("class"===o||"style"===o||x(o))a=t;else{var s=t.attrs&&t.attrs.type;a=r||X.mustUseProp(e,s,o)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=O(o),u=A(o);if(!(c in a)&&!(u in a)&&(a[o]=n[o],i)){var l=t.on||(t.on={});l["update:".concat(o)]=function(t){n[o]=t}}};for(var c in n)s(c)}else;return t}function me(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),ye(r,"__static__".concat(t),!1)),r}function ge(t,e,n){return ye(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function ye(t,e,n){if(o(t))for(var r=0;r<t.length;r++)t[r]&&"string"!==typeof t[r]&&be(t[r],"".concat(e,"_").concat(r),n);else be(t,e,n)}function be(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function we(t,e){if(e)if(d(e)){var n=t.on=t.on?j({},t.on):{};for(var r in e){var o=n[r],i=e[r];n[r]=o?[].concat(o,i):i}}else;return t}function xe(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var a=t[i];o(a)?xe(a,e,n):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return r&&(e.$key=r),e}function Se(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"===typeof r&&r&&(t[e[n]]=e[n+1])}return t}function ke(t,e){return"string"===typeof t?e+t:t}function _e(t){t._o=ge,t._n=b,t._s=g,t._l=le,t._t=fe,t._q=H,t._i=U,t._m=me,t._f=pe,t._k=he,t._b=ve,t._v=wt,t._e=bt,t._u=xe,t._g=we,t._d=Se,t._p=ke}function Ce(t,e){if(!t||!t.length)return{};for(var n={},r=0,o=t.length;r<o;r++){var i=t[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==e&&i.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in n)n[u].every(Ee)&&delete n[u];return n}function Ee(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Oe(t){return t.isComment&&t.asyncFactory}function Ie(t,e,n,o){var i,a=Object.keys(n).length>0,s=e?!!e.$stable:!a,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&o&&o!==r&&c===o.$key&&!a&&!o.$hasNormal)return o;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=Te(t,n,u,e[u]))}else i={};for(var l in n)l in i||(i[l]=Ae(n,l));return e&&Object.isExtensible(e)&&(e._normalized=i),Y(i,"$stable",s),Y(i,"$key",c),Y(i,"$hasNormal",a),i}function Te(t,e,n,r){var i=function(){var e=mt;gt(t);var n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"===typeof n&&!o(n)?[n]:se(n);var i=n&&n[0];return gt(e),n&&(!i||1===n.length&&i.isComment&&!Oe(i))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:i,enumerable:!0,configurable:!0}),i}function Ae(t,e){return function(){return t[e]}}function Le(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=Me(t);gt(t),Ot();var o=Ze(n,null,[t._props||Wt({}),r],t,"setup");if(It(),gt(),l(o))e.render=o;else if(f(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var a in o)"__sfc"!==a&&Xt(i,o,a)}else for(var a in o)K(a)||Xt(t,o,a);else 0}}function Me(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Y(e,"_v_attr_proxy",!0),Re(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Re(e,t.$listeners,r,t,"$listeners")}return t._listenersProxy},get slots(){return je(t)},emit:R(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Xt(t,e,n)}))}}}function Re(t,e,n,r,o){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,Pe(t,a,r,o));for(var a in t)a in e||(i=!0,delete t[a]);return i}function Pe(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function je(t){return t._slotsProxy||Ne(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Ne(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function De(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=Ce(e._renderChildren,o),t.$scopedSlots=n?Ie(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,o){return Ve(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Ve(t,e,n,r,o,!0)};var i=n&&n.data;Bt(t,"$attrs",i&&i.attrs||r,null,!0),Bt(t,"$listeners",e._parentListeners||r,null,!0)}var Fe=null;function Be(t){_e(t.prototype),t.prototype.$nextTick=function(t){return ln(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&t._isMounted&&(t.$scopedSlots=Ie(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Ne(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;var i,a=mt,s=Fe;try{gt(t),Fe=t,i=n.call(t._renderProxy,t.$createElement)}catch(Qa){Ye(Qa,t,"render"),i=t._vnode}finally{Fe=s,gt(a)}return o(i)&&1===i.length&&(i=i[0]),i instanceof yt||(i=bt()),i.parent=r,i}}function He(t,e){return(t.__esModule||vt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),f(t)?e.extend(t):t}function Ue(t,e,n,r,o){var i=bt();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function ze(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=Fe;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var r=t.owners=[n],o=!0,c=null,u=null;n.$on("hook:destroyed",(function(){return S(r,n)}));var l=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},p=z((function(n){t.resolved=He(n,e),o?r.length=0:l(!0)})),d=z((function(e){a(t.errorComp)&&(t.error=!0,l(!0))})),h=t(p,d);return f(h)&&(m(h)?i(t.resolved)&&h.then(p,d):m(h.component)&&(h.component.then(p,d),a(h.error)&&(t.errorComp=He(h.error,e)),a(h.loading)&&(t.loadingComp=He(h.loading,e),0===h.delay?t.loading=!0:c=setTimeout((function(){c=null,i(t.resolved)&&i(t.error)&&(t.loading=!0,l(!1))}),h.delay||200)),a(h.timeout)&&(u=setTimeout((function(){u=null,i(t.resolved)&&d(null)}),h.timeout)))),o=!1,t.loading?t.loadingComp:t.resolved}}function We(t){if(o(t))for(var e=0;e<t.length;e++){var n=t[e];if(a(n)&&(a(n.componentOptions)||Oe(n)))return n}}var $e=1,qe=2;function Ve(t,e,n,r,i,a){return(o(n)||u(n))&&(i=r,r=n,n=void 0),s(a)&&(i=qe),Xe(t,e,n,r,i)}function Xe(t,e,n,r,i){if(a(n)&&a(n.__ob__))return bt();if(a(n)&&a(n.is)&&(e=n.is),!e)return bt();var s,c;if(o(r)&&l(r[0])&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===qe?r=se(r):i===$e&&(r=ae(r)),"string"===typeof e){var u=void 0;c=t.$vnode&&t.$vnode.ns||X.getTagNamespace(e),s=X.isReservedTag(e)?new yt(X.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!a(u=Cr(t.$options,"components",e))?new yt(e,n,r,void 0,void 0,t):cr(u,n,t,r,e)}else s=cr(e,n,t,r);return o(s)?s:a(s)?(a(c)&&Ge(s,c),a(n)&&Ke(n),s):bt()}function Ge(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),a(t.children))for(var r=0,o=t.children.length;r<o;r++){var c=t.children[r];a(c.tag)&&(i(c.ns)||s(n)&&"svg"!==c.tag)&&Ge(c,e,n)}}function Ke(t){f(t.style)&&vn(t.style),f(t.class)&&vn(t.class)}function Ye(t,e,n){Ot();try{if(e){var r=e;while(r=r.$parent){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{var a=!1===o[i].call(r,t,e,n);if(a)return}catch(Qa){Je(Qa,r,"errorCaptured hook")}}}Je(t,e,n)}finally{It()}}function Ze(t,e,n,r,o){var i;try{i=n?t.apply(e,n):t.call(e),i&&!i._isVue&&m(i)&&!i._handled&&(i.catch((function(t){return Ye(t,r,o+" (Promise/async)")})),i._handled=!0)}catch(Qa){Ye(Qa,r,o)}return i}function Je(t,e,n){if(X.errorHandler)try{return X.errorHandler.call(null,t,e,n)}catch(Qa){Qa!==t&&Qe(Qa,null,"config.errorHandler")}Qe(t,e,n)}function Qe(t,e,n){if(!tt||"undefined"===typeof console)throw t;console.error(t)}var tn,en=!1,nn=[],rn=!1;function on(){rn=!1;var t=nn.slice(0);nn.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&dt(Promise)){var an=Promise.resolve();tn=function(){an.then(on),it&&setTimeout(D)},en=!0}else if(nt||"undefined"===typeof MutationObserver||!dt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())tn="undefined"!==typeof setImmediate&&dt(setImmediate)?function(){setImmediate(on)}:function(){setTimeout(on,0)};else{var sn=1,cn=new MutationObserver(on),un=document.createTextNode(String(sn));cn.observe(un,{characterData:!0}),tn=function(){sn=(sn+1)%2,un.data=String(sn)},en=!0}function ln(t,e){var n;if(nn.push((function(){if(t)try{t.call(e)}catch(Qa){Ye(Qa,e,"nextTick")}else n&&n(e)})),rn||(rn=!0,tn()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}function fn(t){return function(e,n){if(void 0===n&&(n=mt),n)return pn(n,t,e)}}function pn(t,e,n){var r=t.$options;r[e]=gr(r[e],n)}fn("beforeMount"),fn("mounted"),fn("beforeUpdate"),fn("updated"),fn("beforeDestroy"),fn("destroyed"),fn("activated"),fn("deactivated"),fn("serverPrefetch"),fn("renderTracked"),fn("renderTriggered"),fn("errorCaptured");var dn="2.7.16";var hn=new ht;function vn(t){return mn(t,hn),hn.clear(),t}function mn(t,e){var n,r,i=o(t);if(!(!i&&!f(t)||t.__v_skip||Object.isFrozen(t)||t instanceof yt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i){n=t.length;while(n--)mn(t[n],e)}else if(Vt(t))mn(t.value,e);else{r=Object.keys(t),n=r.length;while(n--)mn(t[r[n]],e)}}}var gn,yn=0,bn=function(){function t(t,e,n,r,o){Zt(this,Kt&&!Kt._vm?Kt:t?t._scope:void 0),(this.vm=t)&&o&&(t._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++yn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ht,this.newDepIds=new ht,this.expression="",l(e)?this.getter=e:(this.getter=J(e),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;Ot(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Qa){if(!this.user)throw Qa;Ye(Qa,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&vn(t),It(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Zn(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||f(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');Ze(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&S(this.vm._scope.effects,this),this.active){var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function wn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&_n(t,e)}function xn(t,e){gn.$on(t,e)}function Sn(t,e){gn.$off(t,e)}function kn(t,e){var n=gn;return function r(){var o=e.apply(null,arguments);null!==o&&n.$off(t,r)}}function _n(t,e,n){gn=t,ne(e,n||{},xn,Sn,kn,t),gn=void 0}function Cn(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(o(t))for(var i=0,a=t.length;i<a;i++)r.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(o(t)){for(var r=0,i=t.length;r<i;r++)n.$off(t[r],e);return n}var a,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;var c=s.length;while(c--)if(a=s[c],a===e||a.fn===e){s.splice(c,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?P(n):n;for(var r=P(arguments,1),o='event handler for "'.concat(t,'"'),i=0,a=n.length;i<a;i++)Ze(n[i],e,r,e,o)}return e}}var En=null;function On(t){var e=En;return En=t,function(){En=e}}function In(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Tn(t){t.prototype._update=function(t,e){var n=this,r=n.$el,o=n._vnode,i=On(n);n._vnode=t,n.$el=o?n.__patch__(o,t):n.__patch__(n.$el,t,e,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);var a=n;while(a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode)a.$parent.$el=a.$el,a=a.$parent},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){jn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||S(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),jn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function An(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=bt),jn(t,"beforeMount"),r=function(){t._update(t._render(),n)};var o={before:function(){t._isMounted&&!t._isDestroyed&&jn(t,"beforeUpdate")}};new bn(t,r,D,o,!0),n=!1;var i=t._preWatchers;if(i)for(var a=0;a<i.length;a++)i[a].run();return null==t.$vnode&&(t._isMounted=!0,jn(t,"mounted")),t}function Ln(t,e,n,o,i){var a=o.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),u=!!(i||t.$options._renderChildren||c),l=t.$vnode;t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o),t.$options._renderChildren=i;var f=o.data.attrs||r;t._attrsProxy&&Re(t._attrsProxy,f,l.data&&l.data.attrs||r,t,"$attrs")&&(u=!0),t.$attrs=f,n=n||r;var p=t.$options._parentListeners;if(t._listenersProxy&&Re(t._listenersProxy,n,p||r,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,_n(t,n,p),e&&t.$options.props){jt(!1);for(var d=t._props,h=t.$options._propKeys||[],v=0;v<h.length;v++){var m=h[v],g=t.$options.props;d[m]=Er(m,g,e,t)}jt(!0),t.$options.propsData=e}u&&(t.$slots=Ce(i,o.context),t.$forceUpdate())}function Mn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function Rn(t,e){if(e){if(t._directInactive=!1,Mn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Rn(t.$children[n]);jn(t,"activated")}}function Pn(t,e){if((!e||(t._directInactive=!0,!Mn(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Pn(t.$children[n]);jn(t,"deactivated")}}function jn(t,e,n,r){void 0===r&&(r=!0),Ot();var o=mt,i=Jt();r&&gt(t);var a=t.$options[e],s="".concat(e," hook");if(a)for(var c=0,u=a.length;c<u;c++)Ze(a[c],t,n||null,t,s);t._hasHookEvent&&t.$emit("hook:"+e),r&&(gt(o),i&&i.on()),It()}var Nn=[],Dn=[],Fn={},Bn=!1,Hn=!1,Un=0;function zn(){Un=Nn.length=Dn.length=0,Fn={},Bn=Hn=!1}var Wn=0,$n=Date.now;if(tt&&!nt){var qn=window.performance;qn&&"function"===typeof qn.now&&$n()>document.createEvent("Event").timeStamp&&($n=function(){return qn.now()})}var Vn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Xn(){var t,e;for(Wn=$n(),Hn=!0,Nn.sort(Vn),Un=0;Un<Nn.length;Un++)t=Nn[Un],t.before&&t.before(),e=t.id,Fn[e]=null,t.run();var n=Dn.slice(),r=Nn.slice();zn(),Yn(n),Gn(r),_t(),pt&&X.devtools&&pt.emit("flush")}function Gn(t){var e=t.length;while(e--){var n=t[e],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&jn(r,"updated")}}function Kn(t){t._inactive=!1,Dn.push(t)}function Yn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Rn(t[e],!0)}function Zn(t){var e=t.id;if(null==Fn[e]&&(t!==Ct.target||!t.noRecurse)){if(Fn[e]=!0,Hn){var n=Nn.length-1;while(n>Un&&Nn[n].id>t.id)n--;Nn.splice(n+1,0,t)}else Nn.push(t);Bn||(Bn=!0,ln(Xn))}}function Jn(t){var e=t.$options.provide;if(e){var n=l(e)?e.call(t):e;if(!f(n))return;for(var r=Qt(t),o=vt?Reflect.ownKeys(n):Object.keys(n),i=0;i<o.length;i++){var a=o[i];Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))}}}function Qn(t){var e=tr(t.$options.inject,t);e&&(jt(!1),Object.keys(e).forEach((function(n){Bt(t,n,e[n])})),jt(!0))}function tr(t,e){if(t){for(var n=Object.create(null),r=vt?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){var a=t[i].from;if(a in e._provided)n[i]=e._provided[a];else if("default"in t[i]){var s=t[i].default;n[i]=l(s)?s.call(e):s}else 0}}return n}}function er(t,e,n,i,a){var c,u=this,l=a.options;_(i,"_uid")?(c=Object.create(i),c._original=i):(c=i,i=i._original);var f=s(l._compiled),p=!f;this.data=t,this.props=e,this.children=n,this.parent=i,this.listeners=t.on||r,this.injections=tr(l.inject,i),this.slots=function(){return u.$slots||Ie(i,t.scopedSlots,u.$slots=Ce(n,i)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ie(i,t.scopedSlots,this.slots())}}),f&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=Ie(i,t.scopedSlots,this.$slots)),l._scopeId?this._c=function(t,e,n,r){var a=Ve(c,t,e,n,r,p);return a&&!o(a)&&(a.fnScopeId=l._scopeId,a.fnContext=i),a}:this._c=function(t,e,n,r){return Ve(c,t,e,n,r,p)}}function nr(t,e,n,i,s){var c=t.options,u={},l=c.props;if(a(l))for(var f in l)u[f]=Er(f,l,e||r);else a(n.attrs)&&or(u,n.attrs),a(n.props)&&or(u,n.props);var p=new er(n,u,s,i,t),d=c.render.call(null,p._c,p);if(d instanceof yt)return rr(d,n,p.parent,c,p);if(o(d)){for(var h=se(d)||[],v=new Array(h.length),m=0;m<h.length;m++)v[m]=rr(h[m],n,p.parent,c,p);return v}}function rr(t,e,n,r,o){var i=xt(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function or(t,e){for(var n in e)t[O(n)]=e[n]}function ir(t){return t.name||t.__name||t._componentTag}_e(er.prototype);var ar={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;ar.prepatch(n,n)}else{var r=t.componentInstance=ur(t,En);r.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,r=e.componentInstance=t.componentInstance;Ln(r,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,jn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Kn(n):Rn(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Pn(e,!0):e.$destroy())}},sr=Object.keys(ar);function cr(t,e,n,r,o){if(!i(t)){var c=n.$options._base;if(f(t)&&(t=c.extend(t)),"function"===typeof t){var u;if(i(t.cid)&&(u=t,t=ze(u,c),void 0===t))return Ue(u,e,n,r,o);e=e||{},Yr(t),a(e.model)&&pr(t.options,e);var l=oe(e,t,o);if(s(t.options.functional))return nr(t,l,e,n,r);var p=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var d=e.slot;e={},d&&(e.slot=d)}lr(e);var h=ir(t.options)||o,v=new yt("vue-component-".concat(t.cid).concat(h?"-".concat(h):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:l,listeners:p,tag:o,children:r},u);return v}}}function ur(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;return a(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.componentOptions.Ctor(n)}function lr(t){for(var e=t.hook||(t.hook={}),n=0;n<sr.length;n++){var r=sr[n],o=e[r],i=ar[r];o===i||o&&o._merged||(e[r]=o?fr(i,o):i)}}function fr(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function pr(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var i=e.on||(e.on={}),s=i[r],c=e.model.callback;a(s)?(o(s)?-1===s.indexOf(c):s!==c)&&(i[r]=[c].concat(s)):i[r]=c}var dr=D,hr=X.optionMergeStrategies;function vr(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var r,o,i,a=vt?Reflect.ownKeys(e):Object.keys(e),s=0;s<a.length;s++)r=a[s],"__ob__"!==r&&(o=t[r],i=e[r],n&&_(t,r)?o!==i&&d(o)&&d(i)&&vr(o,i):Ht(t,r,i));return t}function mr(t,e,n){return n?function(){var r=l(e)?e.call(n,n):e,o=l(t)?t.call(n,n):t;return r?vr(r,o):o}:e?t?function(){return vr(l(e)?e.call(this,this):e,l(t)?t.call(this,this):t)}:e:t}function gr(t,e){var n=e?t?t.concat(e):o(e)?e:[e]:t;return n?yr(n):n}function yr(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function br(t,e,n,r){var o=Object.create(t||null);return e?j(o,e):o}hr.data=function(t,e,n){return n?mr(t,e,n):e&&"function"!==typeof e?t:mr(t,e)},V.forEach((function(t){hr[t]=gr})),q.forEach((function(t){hr[t+"s"]=br})),hr.watch=function(t,e,n,r){if(t===ct&&(t=void 0),e===ct&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var a in j(i,t),e){var s=i[a],c=e[a];s&&!o(s)&&(s=[s]),i[a]=s?s.concat(c):o(c)?c:[c]}return i},hr.props=hr.methods=hr.inject=hr.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return j(o,t),e&&j(o,e),o},hr.provide=function(t,e){return t?function(){var n=Object.create(null);return vr(n,l(t)?t.call(this):t),e&&vr(n,l(e)?e.call(this):e,!1),n}:e};var wr=function(t,e){return void 0===e?t:e};function xr(t,e){var n=t.props;if(n){var r,i,a,s={};if(o(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(a=O(i),s[a]={type:null})}else if(d(n))for(var c in n)i=n[c],a=O(c),s[a]=d(i)?i:{type:i};else 0;t.props=s}}function Sr(t,e){var n=t.inject;if(n){var r=t.inject={};if(o(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(d(n))for(var a in n){var s=n[a];r[a]=d(s)?j({from:a},s):{from:s}}else 0}}function kr(t){var e=t.directives;if(e)for(var n in e){var r=e[n];l(r)&&(e[n]={bind:r,update:r})}}function _r(t,e,n){if(l(e)&&(e=e.options),xr(e,n),Sr(e,n),kr(e),!e._base&&(e.extends&&(t=_r(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=_r(t,e.mixins[r],n);var i,a={};for(i in t)s(i);for(i in e)_(t,i)||s(i);function s(r){var o=hr[r]||wr;a[r]=o(t[r],e[r],n,r)}return a}function Cr(t,e,n,r){if("string"===typeof n){var o=t[e];if(_(o,n))return o[n];var i=O(n);if(_(o,i))return o[i];var a=I(i);if(_(o,a))return o[a];var s=o[n]||o[i]||o[a];return s}}function Er(t,e,n,r){var o=e[t],i=!_(n,t),a=n[t],s=Lr(Boolean,o.type);if(s>-1)if(i&&!_(o,"default"))a=!1;else if(""===a||a===A(t)){var c=Lr(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=Or(r,o,t);var u=Pt;jt(!0),Ft(a),jt(u)}return a}function Or(t,e,n){if(_(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:l(r)&&"Function"!==Tr(e.type)?r.call(t):r}}var Ir=/^\s*function (\w+)/;function Tr(t){var e=t&&t.toString().match(Ir);return e?e[1]:""}function Ar(t,e){return Tr(t)===Tr(e)}function Lr(t,e){if(!o(e))return Ar(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Ar(e[n],t))return n;return-1}var Mr={enumerable:!0,configurable:!0,get:D,set:D};function Rr(t,e,n){Mr.get=function(){return this[e][n]},Mr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Mr)}function Pr(t){var e=t.$options;if(e.props&&jr(t,e.props),Le(t),e.methods&&Wr(t,e.methods),e.data)Nr(t);else{var n=Ft(t._data={});n&&n.vmCount++}e.computed&&Br(t,e.computed),e.watch&&e.watch!==ct&&$r(t,e.watch)}function jr(t,e){var n=t.$options.propsData||{},r=t._props=Wt({}),o=t.$options._propKeys=[],i=!t.$parent;i||jt(!1);var a=function(i){o.push(i);var a=Er(i,e,n,t);Bt(r,i,a,void 0,!0),i in t||Rr(t,"_props",i)};for(var s in e)a(s);jt(!0)}function Nr(t){var e=t.$options.data;e=t._data=l(e)?Dr(e,t):e||{},d(e)||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);while(o--){var i=n[o];0,r&&_(r,i)||K(i)||Rr(t,"_data",i)}var a=Ft(e);a&&a.vmCount++}function Dr(t,e){Ot();try{return t.call(e,e)}catch(Qa){return Ye(Qa,e,"data()"),{}}finally{It()}}var Fr={lazy:!0};function Br(t,e){var n=t._computedWatchers=Object.create(null),r=ft();for(var o in e){var i=e[o],a=l(i)?i:i.get;0,r||(n[o]=new bn(t,a||D,D,Fr)),o in t||Hr(t,o,i)}}function Hr(t,e,n){var r=!ft();l(n)?(Mr.get=r?Ur(e):zr(n),Mr.set=D):(Mr.get=n.get?r&&!1!==n.cache?Ur(e):zr(n.get):D,Mr.set=n.set||D),Object.defineProperty(t,e,Mr)}function Ur(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Ct.target&&e.depend(),e.value}}function zr(t){return function(){return t.call(this,this)}}function Wr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?D:R(e[n],t)}function $r(t,e){for(var n in e){var r=e[n];if(o(r))for(var i=0;i<r.length;i++)qr(t,n,r[i]);else qr(t,n,r)}}function qr(t,e,n,r){return d(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,r)}function Vr(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Ht,t.prototype.$delete=Ut,t.prototype.$watch=function(t,e,n){var r=this;if(d(e))return qr(r,t,e,n);n=n||{},n.user=!0;var o=new bn(r,t,e,n);if(n.immediate){var i='callback for immediate watcher "'.concat(o.expression,'"');Ot(),Ze(e,r,[o.value],r,i),It()}return function(){o.teardown()}}}var Xr=0;function Gr(t){t.prototype._init=function(t){var e=this;e._uid=Xr++,e._isVue=!0,e.__v_skip=!0,e._scope=new Yt(!0),e._scope.parent=void 0,e._scope._vm=!0,t&&t._isComponent?Kr(e,t):e.$options=_r(Yr(e.constructor),t||{},e),e._renderProxy=e,e._self=e,In(e),wn(e),De(e),jn(e,"beforeCreate",void 0,!1),Qn(e),Pr(e),Jn(e),jn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function Kr(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function Yr(t){var e=t.options;if(t.super){var n=Yr(t.super),r=t.superOptions;if(n!==r){t.superOptions=n;var o=Zr(t);o&&j(t.extendOptions,o),e=t.options=_r(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function Zr(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}function Jr(t){this._init(t)}function Qr(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=P(arguments,1);return n.unshift(this),l(t.install)?t.install.apply(t,n):l(t)&&t.apply(null,n),e.push(t),this}}function to(t){t.mixin=function(t){return this.options=_r(this.options,t),this}}function eo(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=ir(t)||ir(n.options);var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=_r(n.options,t),a["super"]=n,a.options.props&&no(a),a.options.computed&&ro(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,q.forEach((function(t){a[t]=n[t]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=j({},a.options),o[r]=a,a}}function no(t){var e=t.options.props;for(var n in e)Rr(t.prototype,"_props",n)}function ro(t){var e=t.options.computed;for(var n in e)Hr(t.prototype,n,e[n])}function oo(t){q.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&d(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&l(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function io(t){return t&&(ir(t.Ctor.options)||t.tag)}function ao(t,e){return o(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function so(t,e){var n=t.cache,r=t.keys,o=t._vnode,i=t.$vnode;for(var a in n){var s=n[a];if(s){var c=s.name;c&&!e(c)&&co(n,a,r,o)}}i.componentOptions.children=void 0}function co(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,S(n,e)}Gr(Jr),Vr(Jr),Cn(Jr),Tn(Jr),Be(Jr);var uo=[String,RegExp,Array],lo={name:"keep-alive",abstract:!0,props:{include:uo,exclude:uo,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,a=r.componentInstance,s=r.componentOptions;e[o]={name:io(s),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&co(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)co(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){so(t,(function(t){return ao(e,t)}))})),this.$watch("exclude",(function(e){so(t,(function(t){return!ao(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=We(t),n=e&&e.componentOptions;if(n){var r=io(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!ao(i,r))||a&&r&&ao(a,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,S(u,l),u.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},fo={KeepAlive:lo};function po(t){var e={get:function(){return X}};Object.defineProperty(t,"config",e),t.util={warn:dr,extend:j,mergeOptions:_r,defineReactive:Bt},t.set=Ht,t.delete=Ut,t.nextTick=ln,t.observable=function(t){return Ft(t),t},t.options=Object.create(null),q.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,j(t.options.components,fo),Qr(t),to(t),eo(t),oo(t)}po(Jr),Object.defineProperty(Jr.prototype,"$isServer",{get:ft}),Object.defineProperty(Jr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Jr,"FunctionalRenderContext",{value:er}),Jr.version=dn;var ho=w("style,class"),vo=w("input,textarea,option,select,progress"),mo=function(t,e,n){return"value"===n&&vo(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},go=w("contenteditable,draggable,spellcheck"),yo=w("events,caret,typing,plaintext-only"),bo=function(t,e){return _o(e)||"false"===e?"false":"contenteditable"===t&&yo(e)?e:"true"},wo=w("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),xo="http://www.w3.org/1999/xlink",So=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},ko=function(t){return So(t)?t.slice(6,t.length):""},_o=function(t){return null==t||!1===t};function Co(t){var e=t.data,n=t,r=t;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Eo(r.data,e));while(a(n=n.parent))n&&n.data&&(e=Eo(e,n.data));return Oo(e.staticClass,e.class)}function Eo(t,e){return{staticClass:Io(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Oo(t,e){return a(t)||a(e)?Io(t,To(e)):""}function Io(t,e){return t?e?t+" "+e:t:e||""}function To(t){return Array.isArray(t)?Ao(t):f(t)?Lo(t):"string"===typeof t?t:""}function Ao(t){for(var e,n="",r=0,o=t.length;r<o;r++)a(e=To(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function Lo(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var Mo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Ro=w("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Po=w("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),jo=function(t){return Ro(t)||Po(t)};function No(t){return Po(t)?"svg":"math"===t?"math":void 0}var Do=Object.create(null);function Fo(t){if(!tt)return!0;if(jo(t))return!1;if(t=t.toLowerCase(),null!=Do[t])return Do[t];var e=document.createElement(t);return t.indexOf("-")>-1?Do[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Do[t]=/HTMLUnknownElement/.test(e.toString())}var Bo=w("text,number,password,search,email,tel,url");function Ho(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Uo(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function zo(t,e){return document.createElementNS(Mo[t],e)}function Wo(t){return document.createTextNode(t)}function $o(t){return document.createComment(t)}function qo(t,e,n){t.insertBefore(e,n)}function Vo(t,e){t.removeChild(e)}function Xo(t,e){t.appendChild(e)}function Go(t){return t.parentNode}function Ko(t){return t.nextSibling}function Yo(t){return t.tagName}function Zo(t,e){t.textContent=e}function Jo(t,e){t.setAttribute(e,"")}var Qo=Object.freeze({__proto__:null,createElement:Uo,createElementNS:zo,createTextNode:Wo,createComment:$o,insertBefore:qo,removeChild:Vo,appendChild:Xo,parentNode:Go,nextSibling:Ko,tagName:Yo,setTextContent:Zo,setStyleScope:Jo}),ti={create:function(t,e){ei(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ei(t,!0),ei(e))},destroy:function(t){ei(t,!0)}};function ei(t,e){var n=t.data.ref;if(a(n)){var r=t.context,i=t.componentInstance||t.elm,s=e?null:i,c=e?void 0:i;if(l(n))Ze(n,r,[s],r,"template ref function");else{var u=t.data.refInFor,f="string"===typeof n||"number"===typeof n,p=Vt(n),d=r.$refs;if(f||p)if(u){var h=f?d[n]:n.value;e?o(h)&&S(h,i):o(h)?h.includes(i)||h.push(i):f?(d[n]=[i],ni(r,n,d[n])):n.value=[i]}else if(f){if(e&&d[n]!==i)return;d[n]=c,ni(r,n,s)}else if(p){if(e&&n.value!==i)return;n.value=s}else 0}}}function ni(t,e,n){var r=t._setupState;r&&_(r,e)&&(Vt(r[e])?r[e].value=n:r[e]=n)}var ri=new yt("",{},[]),oi=["create","activate","update","remove","destroy"];function ii(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&ai(t,e)||s(t.isAsyncPlaceholder)&&i(e.asyncFactory.error))}function ai(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,o=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===o||Bo(r)&&Bo(o)}function si(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,a(o)&&(i[o]=r);return i}function ci(t){var e,n,r={},c=t.modules,l=t.nodeOps;for(e=0;e<oi.length;++e)for(r[oi[e]]=[],n=0;n<c.length;++n)a(c[n][oi[e]])&&r[oi[e]].push(c[n][oi[e]]);function f(t){return new yt(l.tagName(t).toLowerCase(),{},[],void 0,t)}function p(t,e){function n(){0===--n.listeners&&d(t)}return n.listeners=e,n}function d(t){var e=l.parentNode(t);a(e)&&l.removeChild(e,t)}function h(t,e,n,r,o,i,c){if(a(t.elm)&&a(i)&&(t=i[c]=xt(t)),t.isRootInsert=!o,!v(t,e,n,r)){var u=t.data,f=t.children,p=t.tag;a(p)?(t.elm=t.ns?l.createElementNS(t.ns,p):l.createElement(p,t),k(t),b(t,f,e),a(u)&&S(t,e),y(n,t.elm,r)):s(t.isComment)?(t.elm=l.createComment(t.text),y(n,t.elm,r)):(t.elm=l.createTextNode(t.text),y(n,t.elm,r))}}function v(t,e,n,r){var o=t.data;if(a(o)){var i=a(t.componentInstance)&&o.keepAlive;if(a(o=o.hook)&&a(o=o.init)&&o(t,!1),a(t.componentInstance))return m(t,e),y(n,t.elm,r),s(i)&&g(t,e,n,r),!0}}function m(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,x(t)?(S(t,e),k(t)):(ei(t),e.push(t))}function g(t,e,n,o){var i,s=t;while(s.componentInstance)if(s=s.componentInstance._vnode,a(i=s.data)&&a(i=i.transition)){for(i=0;i<r.activate.length;++i)r.activate[i](ri,s);e.push(s);break}y(n,t.elm,o)}function y(t,e,n){a(t)&&(a(n)?l.parentNode(n)===t&&l.insertBefore(t,e,n):l.appendChild(t,e))}function b(t,e,n){if(o(e)){0;for(var r=0;r<e.length;++r)h(e[r],n,t.elm,null,!0,e,r)}else u(t.text)&&l.appendChild(t.elm,l.createTextNode(String(t.text)))}function x(t){while(t.componentInstance)t=t.componentInstance._vnode;return a(t.tag)}function S(t,n){for(var o=0;o<r.create.length;++o)r.create[o](ri,t);e=t.data.hook,a(e)&&(a(e.create)&&e.create(ri,t),a(e.insert)&&n.push(t))}function k(t){var e;if(a(e=t.fnScopeId))l.setStyleScope(t.elm,e);else{var n=t;while(n)a(e=n.context)&&a(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e),n=n.parent}a(e=En)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e)}function _(t,e,n,r,o,i){for(;r<=o;++r)h(n[r],i,t,e,!1,n,r)}function C(t){var e,n,o=t.data;if(a(o))for(a(e=o.hook)&&a(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(a(e=t.children))for(n=0;n<t.children.length;++n)C(t.children[n])}function E(t,e,n){for(;e<=n;++e){var r=t[e];a(r)&&(a(r.tag)?(O(r),C(r)):d(r.elm))}}function O(t,e){if(a(e)||a(t.data)){var n,o=r.remove.length+1;for(a(e)?e.listeners+=o:e=p(t.elm,o),a(n=t.componentInstance)&&a(n=n._vnode)&&a(n.data)&&O(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);a(n=t.data.hook)&&a(n=n.remove)?n(t,e):e()}else d(t.elm)}function I(t,e,n,r,o){var s,c,u,f,p=0,d=0,v=e.length-1,m=e[0],g=e[v],y=n.length-1,b=n[0],w=n[y],x=!o;while(p<=v&&d<=y)i(m)?m=e[++p]:i(g)?g=e[--v]:ii(m,b)?(A(m,b,r,n,d),m=e[++p],b=n[++d]):ii(g,w)?(A(g,w,r,n,y),g=e[--v],w=n[--y]):ii(m,w)?(A(m,w,r,n,y),x&&l.insertBefore(t,m.elm,l.nextSibling(g.elm)),m=e[++p],w=n[--y]):ii(g,b)?(A(g,b,r,n,d),x&&l.insertBefore(t,g.elm,m.elm),g=e[--v],b=n[++d]):(i(s)&&(s=si(e,p,v)),c=a(b.key)?s[b.key]:T(b,e,p,v),i(c)?h(b,r,t,m.elm,!1,n,d):(u=e[c],ii(u,b)?(A(u,b,r,n,d),e[c]=void 0,x&&l.insertBefore(t,u.elm,m.elm)):h(b,r,t,m.elm,!1,n,d)),b=n[++d]);p>v?(f=i(n[y+1])?null:n[y+1].elm,_(t,f,n,d,y,r)):d>y&&E(e,p,v)}function T(t,e,n,r){for(var o=n;o<r;o++){var i=e[o];if(a(i)&&ii(t,i))return o}}function A(t,e,n,o,c,u){if(t!==e){a(e.elm)&&a(o)&&(e=o[c]=xt(e));var f=e.elm=t.elm;if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?R(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var p,d=e.data;a(d)&&a(p=d.hook)&&a(p=p.prepatch)&&p(t,e);var h=t.children,v=e.children;if(a(d)&&x(e)){for(p=0;p<r.update.length;++p)r.update[p](t,e);a(p=d.hook)&&a(p=p.update)&&p(t,e)}i(e.text)?a(h)&&a(v)?h!==v&&I(f,h,v,n,u):a(v)?(a(t.text)&&l.setTextContent(f,""),_(f,null,v,0,v.length-1,n)):a(h)?E(h,0,h.length-1):a(t.text)&&l.setTextContent(f,""):t.text!==e.text&&l.setTextContent(f,e.text),a(d)&&a(p=d.hook)&&a(p=p.postpatch)&&p(t,e)}}}function L(t,e,n){if(s(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var M=w("attrs,class,staticClass,staticStyle,key");function R(t,e,n,r){var o,i=e.tag,c=e.data,u=e.children;if(r=r||c&&c.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(c)&&(a(o=c.hook)&&a(o=o.init)&&o(e,!0),a(o=e.componentInstance)))return m(e,n),!0;if(a(i)){if(a(u))if(t.hasChildNodes())if(a(o=c)&&a(o=o.domProps)&&a(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var l=!0,f=t.firstChild,p=0;p<u.length;p++){if(!f||!R(f,u[p],n,r)){l=!1;break}f=f.nextSibling}if(!l||f)return!1}else b(e,u,n);if(a(c)){var d=!1;for(var h in c)if(!M(h)){d=!0,S(e,n);break}!d&&c["class"]&&vn(c["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,o){if(!i(e)){var c=!1,u=[];if(i(t))c=!0,h(e,u);else{var p=a(t.nodeType);if(!p&&ii(t,e))A(t,e,u,null,null,o);else{if(p){if(1===t.nodeType&&t.hasAttribute($)&&(t.removeAttribute($),n=!0),s(n)&&R(t,e,u))return L(e,u,!0),t;t=f(t)}var d=t.elm,v=l.parentNode(d);if(h(e,u,d._leaveCb?null:v,l.nextSibling(d)),a(e.parent)){var m=e.parent,g=x(e);while(m){for(var y=0;y<r.destroy.length;++y)r.destroy[y](m);if(m.elm=e.elm,g){for(var b=0;b<r.create.length;++b)r.create[b](ri,m);var w=m.data.hook.insert;if(w.merged)for(var S=w.fns.slice(1),k=0;k<S.length;k++)S[k]()}else ei(m);m=m.parent}}a(v)?E([t],0,0):a(t.tag)&&C(t)}}return L(e,u,c),e.elm}a(t)&&C(t)}}var ui={create:li,update:li,destroy:function(t){li(t,ri)}};function li(t,e){(t.data.directives||e.data.directives)&&fi(t,e)}function fi(t,e){var n,r,o,i=t===ri,a=e===ri,s=di(t.data.directives,t.context),c=di(e.data.directives,e.context),u=[],l=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,o.oldArg=r.arg,vi(o,"update",e,t),o.def&&o.def.componentUpdated&&l.push(o)):(vi(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var f=function(){for(var n=0;n<u.length;n++)vi(u[n],"inserted",e,t)};i?re(e,"insert",f):f()}if(l.length&&re(e,"postpatch",(function(){for(var n=0;n<l.length;n++)vi(l[n],"componentUpdated",e,t)})),!i)for(n in s)c[n]||vi(s[n],"unbind",t,t,a)}var pi=Object.create(null);function di(t,e){var n,r,o=Object.create(null);if(!t)return o;for(n=0;n<t.length;n++){if(r=t[n],r.modifiers||(r.modifiers=pi),o[hi(r)]=r,e._setupState&&e._setupState.__sfc){var i=r.def||Cr(e,"_setupState","v-"+r.name);r.def="function"===typeof i?{bind:i,update:i}:i}r.def=r.def||Cr(e.$options,"directives",r.name,!0)}return o}function hi(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function vi(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(Qa){Ye(Qa,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var mi=[ti,ui];function gi(t,e){var n=e.componentOptions;if((!a(n)||!1!==n.Ctor.options.inheritAttrs)&&(!i(t.data.attrs)||!i(e.data.attrs))){var r,o,c,u=e.elm,l=t.data.attrs||{},f=e.data.attrs||{};for(r in(a(f.__ob__)||s(f._v_attr_proxy))&&(f=e.data.attrs=j({},f)),f)o=f[r],c=l[r],c!==o&&yi(u,r,o,e.data.pre);for(r in(nt||ot)&&f.value!==l.value&&yi(u,"value",f.value),l)i(f[r])&&(So(r)?u.removeAttributeNS(xo,ko(r)):go(r)||u.removeAttribute(r))}}function yi(t,e,n,r){r||t.tagName.indexOf("-")>-1?bi(t,e,n):wo(e)?_o(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):go(e)?t.setAttribute(e,bo(e,n)):So(e)?_o(n)?t.removeAttributeNS(xo,ko(e)):t.setAttributeNS(xo,e,n):bi(t,e,n)}function bi(t,e,n){if(_o(n))t.removeAttribute(e);else{if(nt&&!rt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var wi={create:gi,update:gi};function xi(t,e){var n=e.elm,r=e.data,o=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var s=Co(e),c=n._transitionClasses;a(c)&&(s=Io(s,To(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Si,ki={create:xi,update:xi},_i="__r",Ci="__c";function Ei(t){if(a(t[_i])){var e=nt?"change":"input";t[e]=[].concat(t[_i],t[e]||[]),delete t[_i]}a(t[Ci])&&(t.change=[].concat(t[Ci],t.change||[]),delete t[Ci])}function Oi(t,e,n){var r=Si;return function o(){var i=e.apply(null,arguments);null!==i&&Ai(t,o,n,r)}}var Ii=en&&!(st&&Number(st[1])<=53);function Ti(t,e,n,r){if(Ii){var o=Wn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}Si.addEventListener(t,e,ut?{capture:n,passive:r}:n)}function Ai(t,e,n,r){(r||Si).removeEventListener(t,e._wrapper||e,n)}function Li(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Si=e.elm||t.elm,Ei(n),ne(n,r,Ti,Ai,Oi,e.context),Si=void 0}}var Mi,Ri={create:Li,update:Li,destroy:function(t){return Li(t,ri)}};function Pi(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,o=e.elm,c=t.data.domProps||{},u=e.data.domProps||{};for(n in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=j({},u)),c)n in u||(o[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var l=i(r)?"":String(r);ji(o,l)&&(o.value=l)}else if("innerHTML"===n&&Po(o.tagName)&&i(o.innerHTML)){Mi=Mi||document.createElement("div"),Mi.innerHTML="<svg>".concat(r,"</svg>");var f=Mi.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(f.firstChild)o.appendChild(f.firstChild)}else if(r!==c[n])try{o[n]=r}catch(Qa){}}}}function ji(t,e){return!t.composing&&("OPTION"===t.tagName||Ni(t,e)||Di(t,e))}function Ni(t,e){var n=!0;try{n=document.activeElement!==t}catch(Qa){}return n&&t.value!==e}function Di(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return b(n)!==b(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Fi={create:Pi,update:Pi},Bi=C((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Hi(t){var e=Ui(t.style);return t.staticStyle?j(t.staticStyle,e):e}function Ui(t){return Array.isArray(t)?N(t):"string"===typeof t?Bi(t):t}function zi(t,e){var n,r={};if(e){var o=t;while(o.componentInstance)o=o.componentInstance._vnode,o&&o.data&&(n=Hi(o.data))&&j(r,n)}(n=Hi(t.data))&&j(r,n);var i=t;while(i=i.parent)i.data&&(n=Hi(i.data))&&j(r,n);return r}var Wi,$i=/^--/,qi=/\s*!important$/,Vi=function(t,e,n){if($i.test(e))t.style.setProperty(e,n);else if(qi.test(n))t.style.setProperty(A(e),n.replace(qi,""),"important");else{var r=Gi(e);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)t.style[r]=n[o];else t.style[r]=n}},Xi=["Webkit","Moz","ms"],Gi=C((function(t){if(Wi=Wi||document.createElement("div").style,t=O(t),"filter"!==t&&t in Wi)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Xi.length;n++){var r=Xi[n]+e;if(r in Wi)return r}}));function Ki(t,e){var n=e.data,r=t.data;if(!(i(n.staticStyle)&&i(n.style)&&i(r.staticStyle)&&i(r.style))){var o,s,c=e.elm,u=r.staticStyle,l=r.normalizedStyle||r.style||{},f=u||l,p=Ui(e.data.style)||{};e.data.normalizedStyle=a(p.__ob__)?j({},p):p;var d=zi(e,!0);for(s in f)i(d[s])&&Vi(c,s,"");for(s in d)o=d[s],Vi(c,s,null==o?"":o)}}var Yi={create:Ki,update:Ki},Zi=/\s+/;function Ji(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Zi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Qi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Zi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function ta(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&j(e,ea(t.name||"v")),j(e,t),e}return"string"===typeof t?ea(t):void 0}}var ea=C((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),na=tt&&!rt,ra="transition",oa="animation",ia="transition",aa="transitionend",sa="animation",ca="animationend";na&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ia="WebkitTransition",aa="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(sa="WebkitAnimation",ca="webkitAnimationEnd"));var ua=tt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function la(t){ua((function(){ua(t)}))}function fa(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Ji(t,e))}function pa(t,e){t._transitionClasses&&S(t._transitionClasses,e),Qi(t,e)}function da(t,e,n){var r=va(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===ra?aa:ca,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c<a&&u()}),i+1),t.addEventListener(s,l)}var ha=/\b(transform|all)(,|$)/;function va(t,e){var n,r=window.getComputedStyle(t),o=(r[ia+"Delay"]||"").split(", "),i=(r[ia+"Duration"]||"").split(", "),a=ma(o,i),s=(r[sa+"Delay"]||"").split(", "),c=(r[sa+"Duration"]||"").split(", "),u=ma(s,c),l=0,f=0;e===ra?a>0&&(n=ra,l=a,f=i.length):e===oa?u>0&&(n=oa,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?ra:oa:null,f=n?n===ra?i.length:c.length:0);var p=n===ra&&ha.test(r[ia+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:p}}function ma(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return ga(e)+ga(t[n])})))}function ga(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function ya(t,e){var n=t.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=ta(t.data.transition);if(!i(r)&&!a(n._enterCb)&&1===n.nodeType){var o=r.css,s=r.type,c=r.enterClass,u=r.enterToClass,p=r.enterActiveClass,d=r.appearClass,h=r.appearToClass,v=r.appearActiveClass,m=r.beforeEnter,g=r.enter,y=r.afterEnter,w=r.enterCancelled,x=r.beforeAppear,S=r.appear,k=r.afterAppear,_=r.appearCancelled,C=r.duration,E=En,O=En.$vnode;while(O&&O.parent)E=O.context,O=O.parent;var I=!E._isMounted||!t.isRootInsert;if(!I||S||""===S){var T=I&&d?d:c,A=I&&v?v:p,L=I&&h?h:u,M=I&&x||m,R=I&&l(S)?S:g,P=I&&k||y,j=I&&_||w,N=b(f(C)?C.enter:C);0;var D=!1!==o&&!rt,F=xa(R),B=n._enterCb=z((function(){D&&(pa(n,L),pa(n,A)),B.cancelled?(D&&pa(n,T),j&&j(n)):P&&P(n),n._enterCb=null}));t.data.show||re(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),R&&R(n,B)})),M&&M(n),D&&(fa(n,T),fa(n,A),la((function(){pa(n,T),B.cancelled||(fa(n,L),F||(wa(N)?setTimeout(B,N):da(n,s,B)))}))),t.data.show&&(e&&e(),R&&R(n,B)),D||F||B()}}}function ba(t,e){var n=t.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=ta(t.data.transition);if(i(r)||1!==n.nodeType)return e();if(!a(n._leaveCb)){var o=r.css,s=r.type,c=r.leaveClass,u=r.leaveToClass,l=r.leaveActiveClass,p=r.beforeLeave,d=r.leave,h=r.afterLeave,v=r.leaveCancelled,m=r.delayLeave,g=r.duration,y=!1!==o&&!rt,w=xa(d),x=b(f(g)?g.leave:g);0;var S=n._leaveCb=z((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),y&&(pa(n,u),pa(n,l)),S.cancelled?(y&&pa(n,c),v&&v(n)):(e(),h&&h(n)),n._leaveCb=null}));m?m(k):k()}function k(){S.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),p&&p(n),y&&(fa(n,c),fa(n,l),la((function(){pa(n,c),S.cancelled||(fa(n,u),w||(wa(x)?setTimeout(S,x):da(n,s,S)))}))),d&&d(n,S),y||w||S())}}function wa(t){return"number"===typeof t&&!isNaN(t)}function xa(t){if(i(t))return!1;var e=t.fns;return a(e)?xa(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Sa(t,e){!0!==e.data.show&&ya(e)}var ka=tt?{create:Sa,activate:Sa,remove:function(t,e){!0!==t.data.show?ba(t,e):e()}}:{},_a=[wi,ki,Ri,Fi,Yi,ka],Ca=_a.concat(mi),Ea=ci({nodeOps:Qo,modules:Ca});rt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Pa(t,"input")}));var Oa={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?re(n,"postpatch",(function(){Oa.componentUpdated(t,e,n)})):Ia(t,e,n.context),t._vOptions=[].map.call(t.options,La)):("textarea"===n.tag||Bo(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Ma),t.addEventListener("compositionend",Ra),t.addEventListener("change",Ra),rt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Ia(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,La);if(o.some((function(t,e){return!H(t,r[e])}))){var i=t.multiple?e.value.some((function(t){return Aa(t,o)})):e.value!==e.oldValue&&Aa(e.value,o);i&&Pa(t,"change")}}}};function Ia(t,e,n){Ta(t,e,n),(nt||ot)&&setTimeout((function(){Ta(t,e,n)}),0)}function Ta(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],o)i=U(r,La(a))>-1,a.selected!==i&&(a.selected=i);else if(H(La(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Aa(t,e){return e.every((function(e){return!H(e,t)}))}function La(t){return"_value"in t?t._value:t.value}function Ma(t){t.target.composing=!0}function Ra(t){t.target.composing&&(t.target.composing=!1,Pa(t.target,"input"))}function Pa(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ja(t){return!t.componentInstance||t.data&&t.data.transition?t:ja(t.componentInstance._vnode)}var Na={bind:function(t,e,n){var r=e.value;n=ja(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,ya(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(!r!==!o){n=ja(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?ya(n,(function(){t.style.display=t.__vOriginalDisplay})):ba(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},Da={model:Oa,show:Na},Fa={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ba(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ba(We(e.children)):t}function Ha(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[O(r)]=o[r];return e}function Ua(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function za(t){while(t=t.parent)if(t.data.transition)return!0}function Wa(t,e){return e.key===t.key&&e.tag===t.tag}var $a=function(t){return t.tag||Oe(t)},qa=function(t){return"show"===t.name},Va={name:"transition",props:Fa,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter($a),n.length)){0;var r=this.mode;0;var o=n[0];if(za(this.$vnode))return o;var i=Ba(o);if(!i)return o;if(this._leaving)return Ua(t,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:u(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=Ha(this),c=this._vnode,l=Ba(c);if(i.data.directives&&i.data.directives.some(qa)&&(i.data.show=!0),l&&l.data&&!Wa(i,l)&&!Oe(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=j({},s);if("out-in"===r)return this._leaving=!0,re(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ua(t,o);if("in-out"===r){if(Oe(i))return c;var p,d=function(){p()};re(s,"afterEnter",d),re(s,"enterCancelled",d),re(f,"delayLeave",(function(t){p=t}))}}return o}}},Xa=j({tag:String,moveClass:String},Fa);delete Xa.mode;var Ga={props:Xa,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=On(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Ha(this),s=0;s<o.length;s++){var c=o[s];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))i.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a;else;}if(r){var u=[],l=[];for(s=0;s<r.length;s++){c=r[s];c.data.transition=a,c.data.pos=c.elm.getBoundingClientRect(),n[c.key]?u.push(c):l.push(c)}this.kept=t(e,null,u),this.removed=l}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Ka),t.forEach(Ya),t.forEach(Za),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;fa(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(aa,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(aa,t),n._moveCb=null,pa(n,e))})}})))},methods:{hasMove:function(t,e){if(!na)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Qi(n,t)})),Ji(n,e),n.style.display="none",this.$el.appendChild(n);var r=va(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Ka(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Ya(t){t.data.newPos=t.elm.getBoundingClientRect()}function Za(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate(".concat(r,"px,").concat(o,"px)"),i.transitionDuration="0s"}}var Ja={Transition:Va,TransitionGroup:Ga};Jr.config.mustUseProp=mo,Jr.config.isReservedTag=jo,Jr.config.isReservedAttr=ho,Jr.config.getTagNamespace=No,Jr.config.isUnknownElement=Fo,j(Jr.options.directives,Da),j(Jr.options.components,Ja),Jr.prototype.__patch__=tt?Ea:D,Jr.prototype.$mount=function(t,e){return t=t&&tt?Ho(t):void 0,An(this,t,e)},tt&&setTimeout((function(){X.devtools&&pt&&pt.emit("init",Jr)}),0)},95353:function(t,e,n){"use strict";
/*!
 * vuex v3.6.2
 * (c) 2021 Evan You
 * @license MIT
 */
function r(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,n.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,{aH:function(){return R},i0:function(){return N}});var o="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},i=o.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(t){i&&(t._devtoolHook=i,i.emit("vuex:init",t),i.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){i.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){i.emit("vuex:action",t,e)}),{prepend:!0}))}function s(t,e){return t.filter(e)[0]}function c(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=s(e,(function(e){return e.original===t}));if(n)return n.copy;var r=Array.isArray(t)?[]:{};return e.push({original:t,copy:r}),Object.keys(t).forEach((function(n){r[n]=c(t[n],e)})),r}function u(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function l(t){return null!==t&&"object"===typeof t}function f(t){return t&&"function"===typeof t.then}function p(t,e){return function(){return t(e)}}var d=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},h={namespaced:{configurable:!0}};h.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(t,e){this._children[t]=e},d.prototype.removeChild=function(t){delete this._children[t]},d.prototype.getChild=function(t){return this._children[t]},d.prototype.hasChild=function(t){return t in this._children},d.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},d.prototype.forEachChild=function(t){u(this._children,t)},d.prototype.forEachGetter=function(t){this._rawModule.getters&&u(this._rawModule.getters,t)},d.prototype.forEachAction=function(t){this._rawModule.actions&&u(this._rawModule.actions,t)},d.prototype.forEachMutation=function(t){this._rawModule.mutations&&u(this._rawModule.mutations,t)},Object.defineProperties(d.prototype,h);var v=function(t){this.register([],t,!1)};function m(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;m(t.concat(r),e.getChild(r),n.modules[r])}}v.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},v.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},v.prototype.update=function(t){m([],this.root,t)},v.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new d(e,n);if(0===t.length)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}e.modules&&u(e.modules,(function(e,o){r.register(t.concat(o),e,n)}))},v.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},v.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var g;var y=function(t){var e=this;void 0===t&&(t={}),!g&&"undefined"!==typeof window&&window.Vue&&M(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var o=this,i=this,s=i.dispatch,c=i.commit;this.dispatch=function(t,e){return s.call(o,t,e)},this.commit=function(t,e,n){return c.call(o,t,e,n)},this.strict=r;var u=this._modules.root.state;k(this,u,[],this._modules.root),S(this,u),n.forEach((function(t){return t(e)}));var l=void 0!==t.devtools?t.devtools:g.config.devtools;l&&a(this)},b={state:{configurable:!0}};function w(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function x(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;k(t,n,[],t._modules.root,!0),S(t,n,e)}function S(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,i={};u(o,(function(e,n){i[n]=p(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=g.config.silent;g.config.silent=!0,t._vm=new g({data:{$$state:e},computed:i}),g.config.silent=a,t.strict&&T(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),g.nextTick((function(){return r.$destroy()})))}function k(t,e,n,r,o){var i=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=r),!i&&!o){var s=A(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){g.set(s,c,r.state)}))}var u=r.context=_(t,a,n);r.forEachMutation((function(e,n){var r=a+n;E(t,r,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:a+n,o=e.handler||e;O(t,r,o,u)})),r.forEachGetter((function(e,n){var r=a+n;I(t,r,e,u)})),r.forEachChild((function(r,i){k(t,e,n.concat(i),r,o)}))}function _(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=L(n,r,o),a=i.payload,s=i.options,c=i.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:r?t.commit:function(n,r,o){var i=L(n,r,o),a=i.payload,s=i.options,c=i.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return C(t,e)}},state:{get:function(){return A(t.state,n)}}}),o}function C(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function E(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push((function(e){n.call(t,r.state,e)}))}function O(t,e,n,r){var o=t._actions[e]||(t._actions[e]=[]);o.push((function(e){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return f(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}function I(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function T(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function A(t,e){return e.reduce((function(t,e){return t[e]}),t)}function L(t,e,n){return l(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function M(t){g&&t===g||(g=t,r(g))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(t){0},y.prototype.commit=function(t,e,n){var r=this,o=L(t,e,n),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,r.state)})))},y.prototype.dispatch=function(t,e){var n=this,r=L(t,e),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(t){return t(i)}))):s[0](i);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(u){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(u){0}e(t)}))}))}},y.prototype.subscribe=function(t,e){return w(t,this._subscribers,e)},y.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return w(n,this._actionSubscribers,e)},y.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},y.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},y.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),k(this,this.state,t,this._modules.get(t),n.preserveState),S(this,this.state)},y.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=A(e.state,t.slice(0,-1));g.delete(n,t[t.length-1])})),x(this)},y.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},y.prototype.hotUpdate=function(t){this._modules.update(t),x(this,!0)},y.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(y.prototype,b);var R=H((function(t,e){var n={};return F(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=U(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0})),n})),P=H((function(t,e){var n={};return F(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=U(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"===typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n})),j=H((function(t,e){var n={};return F(e).forEach((function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||U(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0})),n})),N=H((function(t,e){var n={};return F(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=U(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"===typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n})),D=function(t){return{mapState:R.bind(null,t),mapGetters:j.bind(null,t),mapMutations:P.bind(null,t),mapActions:N.bind(null,t)}};function F(t){return B(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function B(t){return Array.isArray(t)||l(t)}function H(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function U(t,e,n){var r=t._modulesNamespaceMap[n];return r}function z(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var i=t.actionFilter;void 0===i&&(i=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var s=t.logMutations;void 0===s&&(s=!0);var u=t.logActions;void 0===u&&(u=!0);var l=t.logger;return void 0===l&&(l=console),function(t){var f=c(t.state);"undefined"!==typeof l&&(s&&t.subscribe((function(t,i){var a=c(i);if(n(t,f,a)){var s=q(),u=o(t),p="mutation "+t.type+s;W(l,p,e),l.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),l.log("%c mutation","color: #03A9F4; font-weight: bold",u),l.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),$(l)}f=a})),u&&t.subscribeAction((function(t,n){if(i(t,n)){var r=q(),o=a(t),s="action "+t.type+r;W(l,s,e),l.log("%c action","color: #03A9F4; font-weight: bold",o),$(l)}})))}}function W(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(o){t.log(e)}}function $(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function q(){var t=new Date;return" @ "+X(t.getHours(),2)+":"+X(t.getMinutes(),2)+":"+X(t.getSeconds(),2)+"."+X(t.getMilliseconds(),3)}function V(t,e){return new Array(e+1).join(t)}function X(t,e){return V("0",e-t.toString().length)+t}var G={Store:y,install:M,version:"3.6.2",mapState:R,mapMutations:P,mapGetters:j,mapActions:N,createNamespacedHelpers:D,createLogger:z};e.Ay=G},79306:function(t,e,n){"use strict";var r=n(94901),o=n(16823),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},35548:function(t,e,n){"use strict";var r=n(33517),o=n(16823),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a constructor")}},73506:function(t,e,n){"use strict";var r=n(13925),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},97080:function(t,e,n){"use strict";var r=n(94402).has;t.exports=function(t){return r(t),t}},6469:function(t,e,n){"use strict";var r=n(78227),o=n(2360),i=n(24913).f,a=r("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},57829:function(t,e,n){"use strict";var r=n(68183).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},90679:function(t,e,n){"use strict";var r=n(1625),o=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw new o("Incorrect invocation")}},28551:function(t,e,n){"use strict";var r=n(20034),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},15652:function(t,e,n){"use strict";var r=n(79039);t.exports=r((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},90235:function(t,e,n){"use strict";var r=n(59213).forEach,o=n(34598),i=o("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},19617:function(t,e,n){"use strict";var r=n(25397),o=n(35610),i=n(26198),a=function(t){return function(e,n,a){var s=r(e),c=i(s);if(0===c)return!t&&-1;var u,l=o(a,c);if(t&&n!==n){while(c>l)if(u=s[l++],u!==u)return!0}else for(;c>l;l++)if((t||l in s)&&s[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},59213:function(t,e,n){"use strict";var r=n(76080),o=n(79504),i=n(47055),a=n(48981),s=n(26198),c=n(1469),u=o([].push),l=function(t){var e=1===t,n=2===t,o=3===t,l=4===t,f=6===t,p=7===t,d=5===t||f;return function(h,v,m,g){for(var y,b,w=a(h),x=i(w),S=s(x),k=r(v,m),_=0,C=g||c,E=e?C(h,S):n||p?C(h,0):void 0;S>_;_++)if((d||_ in x)&&(y=x[_],b=k(y,_,w),t))if(e)E[_]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return _;case 2:u(E,y)}else switch(t){case 4:return!1;case 7:u(E,y)}return f?-1:o||l?l:E}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},70597:function(t,e,n){"use strict";var r=n(79039),o=n(78227),i=n(77388),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[],n=e.constructor={};return n[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},34598:function(t,e,n){"use strict";var r=n(79039);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},80926:function(t,e,n){"use strict";var r=n(79306),o=n(48981),i=n(47055),a=n(26198),s=TypeError,c="Reduce of empty array with no initial value",u=function(t){return function(e,n,u,l){var f=o(e),p=i(f),d=a(f);if(r(n),0===d&&u<2)throw new s(c);var h=t?d-1:0,v=t?-1:1;if(u<2)while(1){if(h in p){l=p[h],h+=v;break}if(h+=v,t?h<0:d<=h)throw new s(c)}for(;t?h>=0:d>h;h+=v)h in p&&(l=n(l,p[h],h,f));return l}};t.exports={left:u(!1),right:u(!0)}},34527:function(t,e,n){"use strict";var r=n(43724),o=n(34376),i=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(o(t)&&!a(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},67680:function(t,e,n){"use strict";var r=n(79504);t.exports=r([].slice)},74488:function(t,e,n){"use strict";var r=n(67680),o=Math.floor,i=function(t,e){var n=t.length;if(n<8){var a,s,c=1;while(c<n){s=c,a=t[c];while(s&&e(t[s-1],a)>0)t[s]=t[--s];s!==c++&&(t[s]=a)}}else{var u=o(n/2),l=i(r(t,0,u),e),f=i(r(t,u),e),p=l.length,d=f.length,h=0,v=0;while(h<p||v<d)t[h+v]=h<p&&v<d?e(l[h],f[v])<=0?l[h++]:f[v++]:h<p?l[h++]:f[v++]}return t};t.exports=i},87433:function(t,e,n){"use strict";var r=n(34376),o=n(33517),i=n(20034),a=n(78227),s=a("species"),c=Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,o(e)&&(e===c||r(e.prototype))?e=void 0:i(e)&&(e=e[s],null===e&&(e=void 0))),void 0===e?c:e}},1469:function(t,e,n){"use strict";var r=n(87433);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},92804:function(t){"use strict";var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=e+"+/",r=e+"-_",o=function(t){for(var e={},n=0;n<64;n++)e[t.charAt(n)]=n;return e};t.exports={i2c:n,c2i:o(n),i2cUrl:r,c2iUrl:o(r)}},84428:function(t,e,n){"use strict";var r=n(78227),o=r("iterator"),i=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){i=!0}};s[o]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(c){return!1}var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(c){}return n}},44576:function(t,e,n){"use strict";var r=n(79504),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},36955:function(t,e,n){"use strict";var r=n(92140),o=n(94901),i=n(44576),a=n(78227),s=a("toStringTag"),c=Object,u="Arguments"===i(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(n){}};t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=l(e=c(t),s))?n:u?i(e):"Object"===(r=i(e))&&o(e.callee)?"Arguments":r}},86938:function(t,e,n){"use strict";var r=n(2360),o=n(62106),i=n(56279),a=n(76080),s=n(90679),c=n(64117),u=n(72652),l=n(51088),f=n(62529),p=n(87633),d=n(43724),h=n(3451).fastKey,v=n(91181),m=v.set,g=v.getterFor;t.exports={getConstructor:function(t,e,n,l){var f=t((function(t,o){s(t,p),m(t,{type:e,index:r(null),first:void 0,last:void 0,size:0}),d||(t.size=0),c(o)||u(o,t[l],{that:t,AS_ENTRIES:n})})),p=f.prototype,v=g(e),y=function(t,e,n){var r,o,i=v(t),a=b(t,e);return a?a.value=n:(i.last=a={index:o=h(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),d?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},b=function(t,e){var n,r=v(t),o=h(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===e)return n};return i(p,{clear:function(){var t=this,e=v(t),n=e.first;while(n)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),n=n.next;e.first=e.last=void 0,e.index=r(null),d?e.size=0:t.size=0},delete:function(t){var e=this,n=v(e),r=b(e,t);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first===r&&(n.first=o),n.last===r&&(n.last=i),d?n.size--:e.size--}return!!r},forEach:function(t){var e,n=v(this),r=a(t,arguments.length>1?arguments[1]:void 0);while(e=e?e.next:n.first){r(e.value,e.key,this);while(e&&e.removed)e=e.previous}},has:function(t){return!!b(this,t)}}),i(p,n?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),d&&o(p,"size",{configurable:!0,get:function(){return v(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=g(e),i=g(r);l(t,e,(function(t,e){m(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){var t=i(this),e=t.kind,n=t.last;while(n&&n.removed)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?f("keys"===e?n.key:"values"===e?n.value:[n.key,n.value],!1):(t.target=void 0,f(void 0,!0))}),n?"entries":"values",!n,!0),p(e)}}},91625:function(t,e,n){"use strict";var r=n(79504),o=n(56279),i=n(3451).getWeakData,a=n(90679),s=n(28551),c=n(64117),u=n(20034),l=n(72652),f=n(59213),p=n(39297),d=n(91181),h=d.set,v=d.getterFor,m=f.find,g=f.findIndex,y=r([].splice),b=0,w=function(t){return t.frozen||(t.frozen=new x)},x=function(){this.entries=[]},S=function(t,e){return m(t.entries,(function(t){return t[0]===e}))};x.prototype={get:function(t){var e=S(this,t);if(e)return e[1]},has:function(t){return!!S(this,t)},set:function(t,e){var n=S(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=g(this.entries,(function(e){return e[0]===t}));return~e&&y(this.entries,e,1),!!~e}},t.exports={getConstructor:function(t,e,n,r){var f=t((function(t,o){a(t,d),h(t,{type:e,id:b++,frozen:void 0}),c(o)||l(o,t[r],{that:t,AS_ENTRIES:n})})),d=f.prototype,m=v(e),g=function(t,e,n){var r=m(t),o=i(s(e),!0);return!0===o?w(r).set(e,n):o[r.id]=n,t};return o(d,{delete:function(t){var e=m(this);if(!u(t))return!1;var n=i(t);return!0===n?w(e)["delete"](t):n&&p(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var n=i(t);return!0===n?w(e).has(t):n&&p(n,e.id)}}),o(d,n?{get:function(t){var e=m(this);if(u(t)){var n=i(t);return!0===n?w(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return g(this,t,e)}}:{add:function(t){return g(this,t,!0)}}),f}}},16468:function(t,e,n){"use strict";var r=n(46518),o=n(24475),i=n(79504),a=n(92796),s=n(36840),c=n(3451),u=n(72652),l=n(90679),f=n(94901),p=n(64117),d=n(20034),h=n(79039),v=n(84428),m=n(10687),g=n(23167);t.exports=function(t,e,n){var y=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),w=y?"set":"add",x=o[t],S=x&&x.prototype,k=x,_={},C=function(t){var e=i(S[t]);s(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!d(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!d(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!d(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})},E=a(t,!f(x)||!(b||S.forEach&&!h((function(){(new x).entries().next()}))));if(E)k=n.getConstructor(e,t,y,w),c.enable();else if(a(t,!0)){var O=new k,I=O[w](b?{}:-0,1)!==O,T=h((function(){O.has(1)})),A=v((function(t){new x(t)})),L=!b&&h((function(){var t=new x,e=5;while(e--)t[w](e,e);return!t.has(-0)}));A||(k=e((function(t,e){l(t,S);var n=g(new x,t,k);return p(e)||u(e,n[w],{that:n,AS_ENTRIES:y}),n})),k.prototype=S,S.constructor=k),(T||L)&&(C("delete"),C("has"),y&&C("get")),(L||I)&&C(w),b&&S.clear&&delete S.clear}return _[t]=k,r({global:!0,constructor:!0,forced:k!==x},_),m(k,t),b||n.setStrong(k,t,y),k}},77740:function(t,e,n){"use strict";var r=n(39297),o=n(35031),i=n(77347),a=n(24913);t.exports=function(t,e,n){for(var s=o(e),c=a.f,u=i.f,l=0;l<s.length;l++){var f=s[l];r(t,f)||n&&r(n,f)||c(t,f,u(e,f))}}},41436:function(t,e,n){"use strict";var r=n(78227),o=r("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[o]=!1,"/./"[t](e)}catch(r){}}return!1}},12211:function(t,e,n){"use strict";var r=n(79039);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},77240:function(t,e,n){"use strict";var r=n(79504),o=n(67750),i=n(655),a=/"/g,s=r("".replace);t.exports=function(t,e,n,r){var c=i(o(t)),u="<"+e;return""!==n&&(u+=" "+n+'="'+s(i(r),a,"&quot;")+'"'),u+">"+c+"</"+e+">"}},62529:function(t){"use strict";t.exports=function(t,e){return{value:t,done:e}}},66699:function(t,e,n){"use strict";var r=n(43724),o=n(24913),i=n(6980);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},6980:function(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},97040:function(t,e,n){"use strict";var r=n(43724),o=n(24913),i=n(6980);t.exports=function(t,e,n){r?o.f(t,e,i(0,n)):t[e]=n}},53640:function(t,e,n){"use strict";var r=n(28551),o=n(84270),i=TypeError;t.exports=function(t){if(r(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new i("Incorrect hint");return o(this,t)}},62106:function(t,e,n){"use strict";var r=n(50283),o=n(24913);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),o.f(t,e,n)}},36840:function(t,e,n){"use strict";var r=n(94901),o=n(24913),i=n(50283),a=n(39433);t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:e;if(r(n)&&i(n,u,s),s.global)c?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(l){}c?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},56279:function(t,e,n){"use strict";var r=n(36840);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},39433:function(t,e,n){"use strict";var r=n(24475),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},84606:function(t,e,n){"use strict";var r=n(16823),o=TypeError;t.exports=function(t,e){if(!delete t[e])throw new o("Cannot delete property "+r(e)+" of "+r(t))}},43724:function(t,e,n){"use strict";var r=n(79039);t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:function(t,e,n){"use strict";var r=n(24475),o=n(20034),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},96837:function(t){"use strict";var e=TypeError,n=9007199254740991;t.exports=function(t){if(t>n)throw e("Maximum allowed index exceeded");return t}},55002:function(t){"use strict";t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},67400:function(t){"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},79296:function(t,e,n){"use strict";var r=n(4055),o=r("span").classList,i=o&&o.constructor&&o.constructor.prototype;t.exports=i===Object.prototype?void 0:i},28834:function(t,e,n){"use strict";var r=n(79392),o=r.match(/firefox\/(\d+)/i);t.exports=!!o&&+o[1]},87290:function(t,e,n){"use strict";var r=n(50516),o=n(19088);t.exports=!r&&!o&&"object"==typeof window&&"object"==typeof document},50516:function(t){"use strict";t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},63202:function(t,e,n){"use strict";var r=n(79392);t.exports=/MSIE|Trident/.test(r)},20028:function(t,e,n){"use strict";var r=n(79392);t.exports=/ipad|iphone|ipod/i.test(r)&&"undefined"!=typeof Pebble},48119:function(t,e,n){"use strict";var r=n(79392);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},19088:function(t,e,n){"use strict";var r=n(24475),o=n(44576);t.exports="process"===o(r.process)},36765:function(t,e,n){"use strict";var r=n(79392);t.exports=/web0s(?!.*chrome)/i.test(r)},79392:function(t){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},77388:function(t,e,n){"use strict";var r,o,i=n(24475),a=n(79392),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},89160:function(t,e,n){"use strict";var r=n(79392),o=r.match(/AppleWebKit\/(\d+)\./);t.exports=!!o&&+o[1]},88727:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},16193:function(t,e,n){"use strict";var r=n(79504),o=Error,i=r("".replace),a=function(t){return String(new o(t).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(a);t.exports=function(t,e){if(c&&"string"==typeof t&&!o.prepareStackTrace)while(e--)t=i(t,s,"");return t}},80747:function(t,e,n){"use strict";var r=n(66699),o=n(16193),i=n(24659),a=Error.captureStackTrace;t.exports=function(t,e,n,s){i&&(a?a(t,e):r(t,"stack",o(n,s)))}},24659:function(t,e,n){"use strict";var r=n(79039),o=n(6980);t.exports=!r((function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},77536:function(t,e,n){"use strict";var r=n(43724),o=n(79039),i=n(28551),a=n(32603),s=Error.prototype.toString,c=o((function(){if(r){var t=Object.create(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==s.call(t))return!0}return"2: 1"!==s.call({message:1,name:2})||"Error"!==s.call({})}));t.exports=c?function(){var t=i(this),e=a(t.name,"Error"),n=a(t.message);return e?n?e+": "+n:e:n}:s},46518:function(t,e,n){"use strict";var r=n(24475),o=n(77347).f,i=n(66699),a=n(36840),s=n(39433),c=n(77740),u=n(92796);t.exports=function(t,e){var n,l,f,p,d,h,v=t.target,m=t.global,g=t.stat;if(l=m?r:g?r[v]||s(v,{}):r[v]&&r[v].prototype,l)for(f in e){if(d=e[f],t.dontCallGetSet?(h=o(l,f),p=h&&h.value):p=l[f],n=u(m?f:v+(g?".":"#")+f,t.forced),!n&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(t.sham||p&&p.sham)&&i(d,"sham",!0),a(l,f,d,t)}}},79039:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},89228:function(t,e,n){"use strict";n(27495);var r=n(69565),o=n(36840),i=n(57323),a=n(79039),s=n(78227),c=n(66699),u=s("species"),l=RegExp.prototype;t.exports=function(t,e,n,f){var p=s(t),d=!a((function(){var e={};return e[p]=function(){return 7},7!==""[t](e)})),h=d&&!a((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!d||!h||n){var v=/./[p],m=e(p,""[t],(function(t,e,n,o,a){var s=e.exec;return s===i||s===l.exec?d&&!a?{done:!0,value:r(v,e,n,o)}:{done:!0,value:r(t,n,e,o)}:{done:!1}}));o(String.prototype,t,m[0]),o(l,p,m[1])}f&&c(l[p],"sham",!0)}},70259:function(t,e,n){"use strict";var r=n(34376),o=n(26198),i=n(96837),a=n(76080),s=function(t,e,n,c,u,l,f,p){var d,h,v=u,m=0,g=!!f&&a(f,p);while(m<c)m in n&&(d=g?g(n[m],m,e):n[m],l>0&&r(d)?(h=o(d),v=s(t,e,d,h,v,l-1)-1):(i(v+1),t[v]=d),v++),m++;return v};t.exports=s},92744:function(t,e,n){"use strict";var r=n(79039);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},18745:function(t,e,n){"use strict";var r=n(40616),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},76080:function(t,e,n){"use strict";var r=n(27476),o=n(79306),i=n(40616),a=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},40616:function(t,e,n){"use strict";var r=n(79039);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},30566:function(t,e,n){"use strict";var r=n(79504),o=n(79306),i=n(20034),a=n(39297),s=n(67680),c=n(40616),u=Function,l=r([].concat),f=r([].join),p={},d=function(t,e,n){if(!a(p,e)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";p[e]=u("C,a","return new C("+f(r,",")+")")}return p[e](t,n)};t.exports=c?u.bind:function(t){var e=o(this),n=e.prototype,r=s(arguments,1),a=function(){var n=l(r,s(arguments));return this instanceof a?d(e,n.length,n):e.apply(t,n)};return i(n)&&(a.prototype=n),a}},69565:function(t,e,n){"use strict";var r=n(40616),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},10350:function(t,e,n){"use strict";var r=n(43724),o=n(39297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},46706:function(t,e,n){"use strict";var r=n(79504),o=n(79306);t.exports=function(t,e,n){try{return r(o(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(i){}}},27476:function(t,e,n){"use strict";var r=n(44576),o=n(79504);t.exports=function(t){if("Function"===r(t))return o(t)}},79504:function(t,e,n){"use strict";var r=n(40616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);t.exports=r?a:function(t){return function(){return i.apply(t,arguments)}}},97751:function(t,e,n){"use strict";var r=n(24475),o=n(94901),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},1767:function(t){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},50851:function(t,e,n){"use strict";var r=n(36955),o=n(55966),i=n(64117),a=n(26269),s=n(78227),c=s("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||a[r(t)]}},70081:function(t,e,n){"use strict";var r=n(69565),o=n(79306),i=n(28551),a=n(16823),s=n(50851),c=TypeError;t.exports=function(t,e){var n=arguments.length<2?s(t):e;if(o(n))return i(r(n,t));throw new c(a(t)+" is not iterable")}},66933:function(t,e,n){"use strict";var r=n(79504),o=n(34376),i=n(94901),a=n(44576),s=n(655),c=r([].push);t.exports=function(t){if(i(t))return t;if(o(t)){for(var e=t.length,n=[],r=0;r<e;r++){var u=t[r];"string"==typeof u?c(n,u):"number"!=typeof u&&"Number"!==a(u)&&"String"!==a(u)||c(n,s(u))}var l=n.length,f=!0;return function(t,e){if(f)return f=!1,e;if(o(this))return e;for(var r=0;r<l;r++)if(n[r]===t)return e}}}},55966:function(t,e,n){"use strict";var r=n(79306),o=n(64117);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},83789:function(t,e,n){"use strict";var r=n(79306),o=n(28551),i=n(69565),a=n(91291),s=n(1767),c="Invalid size",u=RangeError,l=TypeError,f=Math.max,p=function(t,e){this.set=t,this.size=f(e,0),this.has=r(t.has),this.keys=r(t.keys)};p.prototype={getIterator:function(){return s(o(i(this.keys,this.set)))},includes:function(t){return i(this.has,this.set,t)}},t.exports=function(t){o(t);var e=+t.size;if(e!==e)throw new l(c);var n=a(e);if(n<0)throw new u(c);return new p(t,n)}},2478:function(t,e,n){"use strict";var r=n(79504),o=n(48981),i=Math.floor,a=r("".charAt),s=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,f,p){var d=n+t.length,h=r.length,v=l;return void 0!==f&&(f=o(f),v=u),s(p,v,(function(o,s){var u;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,n);case"'":return c(e,d);case"<":u=f[c(s,1,-1)];break;default:var l=+s;if(0===l)return o;if(l>h){var p=i(l/10);return 0===p?o:p<=h?void 0===r[p-1]?a(s,1):r[p-1]+a(s,1):o}u=r[l-1]}return void 0===u?"":u}))}},24475:function(t,e,n){"use strict";var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},39297:function(t,e,n){"use strict";var r=n(79504),o=n(48981),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},30421:function(t){"use strict";t.exports={}},90757:function(t){"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(n){}}},20397:function(t,e,n){"use strict";var r=n(97751);t.exports=r("document","documentElement")},35917:function(t,e,n){"use strict";var r=n(43724),o=n(79039),i=n(4055);t.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},47055:function(t,e,n){"use strict";var r=n(79504),o=n(79039),i=n(44576),a=Object,s=r("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?s(t,""):a(t)}:a},23167:function(t,e,n){"use strict";var r=n(94901),o=n(20034),i=n(52967);t.exports=function(t,e,n){var a,s;return i&&r(a=e.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(t,s),t}},33706:function(t,e,n){"use strict";var r=n(79504),o=n(94901),i=n(77629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},77584:function(t,e,n){"use strict";var r=n(20034),o=n(66699);t.exports=function(t,e){r(e)&&"cause"in e&&o(t,"cause",e.cause)}},3451:function(t,e,n){"use strict";var r=n(46518),o=n(79504),i=n(30421),a=n(20034),s=n(39297),c=n(24913).f,u=n(38480),l=n(10298),f=n(34124),p=n(33392),d=n(92744),h=!1,v=p("meta"),m=0,g=function(t){c(t,v,{value:{objectID:"O"+m++,weakData:{}}})},y=function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,v)){if(!f(t))return"F";if(!e)return"E";g(t)}return t[v].objectID},b=function(t,e){if(!s(t,v)){if(!f(t))return!0;if(!e)return!1;g(t)}return t[v].weakData},w=function(t){return d&&h&&f(t)&&!s(t,v)&&g(t),t},x=function(){S.enable=function(){},h=!0;var t=u.f,e=o([].splice),n={};n[v]=1,t(n).length&&(u.f=function(n){for(var r=t(n),o=0,i=r.length;o<i;o++)if(r[o]===v){e(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},S=t.exports={enable:x,fastKey:y,getWeakData:b,onFreeze:w};i[v]=!0},91181:function(t,e,n){"use strict";var r,o,i,a=n(58622),s=n(24475),c=n(20034),u=n(66699),l=n(39297),f=n(77629),p=n(66119),d=n(30421),h="Object already initialized",v=s.TypeError,m=s.WeakMap,g=function(t){return i(t)?o(t):r(t,{})},y=function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return n}};if(a||f.state){var b=f.state||(f.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,r=function(t,e){if(b.has(t))throw new v(h);return e.facade=t,b.set(t,e),e},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var w=p("state");d[w]=!0,r=function(t,e){if(l(t,w))throw new v(h);return e.facade=t,u(t,w,e),e},o=function(t){return l(t,w)?t[w]:{}},i=function(t){return l(t,w)}}t.exports={set:r,get:o,has:i,enforce:g,getterFor:y}},44209:function(t,e,n){"use strict";var r=n(78227),o=n(26269),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},34376:function(t,e,n){"use strict";var r=n(44576);t.exports=Array.isArray||function(t){return"Array"===r(t)}},94901:function(t){"use strict";var e="object"==typeof document&&document.all;t.exports="undefined"==typeof e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},33517:function(t,e,n){"use strict";var r=n(79504),o=n(79039),i=n(94901),a=n(36955),s=n(97751),c=n(33706),u=function(){},l=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),d=!f.test(u),h=function(t){if(!i(t))return!1;try{return l(u,[],t),!0}catch(e){return!1}},v=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!p(f,c(t))}catch(e){return!0}};v.sham=!0,t.exports=!l||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?v:h},92796:function(t,e,n){"use strict";var r=n(79039),o=n(94901),i=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n===l||n!==u&&(o(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},64117:function(t){"use strict";t.exports=function(t){return null===t||void 0===t}},20034:function(t,e,n){"use strict";var r=n(94901);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},13925:function(t,e,n){"use strict";var r=n(20034);t.exports=function(t){return r(t)||null===t}},96395:function(t){"use strict";t.exports=!1},60788:function(t,e,n){"use strict";var r=n(20034),o=n(44576),i=n(78227),a=i("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[a])?!!e:"RegExp"===o(t))}},10757:function(t,e,n){"use strict";var r=n(97751),o=n(94901),i=n(1625),a=n(7040),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,s(t))}},40507:function(t,e,n){"use strict";var r=n(69565);t.exports=function(t,e,n){var o,i,a=n?t:t.iterator,s=t.next;while(!(o=r(s,a)).done)if(i=e(o.value),void 0!==i)return i}},72652:function(t,e,n){"use strict";var r=n(76080),o=n(69565),i=n(28551),a=n(16823),s=n(44209),c=n(26198),u=n(1625),l=n(70081),f=n(50851),p=n(9539),d=TypeError,h=function(t,e){this.stopped=t,this.result=e},v=h.prototype;t.exports=function(t,e,n){var m,g,y,b,w,x,S,k=n&&n.that,_=!(!n||!n.AS_ENTRIES),C=!(!n||!n.IS_RECORD),E=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),I=r(e,k),T=function(t){return m&&p(m,"normal",t),new h(!0,t)},A=function(t){return _?(i(t),O?I(t[0],t[1],T):I(t[0],t[1])):O?I(t,T):I(t)};if(C)m=t.iterator;else if(E)m=t;else{if(g=f(t),!g)throw new d(a(t)+" is not iterable");if(s(g)){for(y=0,b=c(t);b>y;y++)if(w=A(t[y]),w&&u(v,w))return w;return new h(!1)}m=l(t,g)}x=C?t.next:m.next;while(!(S=o(x,m)).done){try{w=A(S.value)}catch(L){p(m,"throw",L)}if("object"==typeof w&&w&&u(v,w))return w}return new h(!1)}},9539:function(t,e,n){"use strict";var r=n(69565),o=n(28551),i=n(55966);t.exports=function(t,e,n){var a,s;o(t);try{if(a=i(t,"return"),!a){if("throw"===e)throw n;return n}a=r(a,t)}catch(c){s=!0,a=c}if("throw"===e)throw n;if(s)throw a;return o(a),n}},33994:function(t,e,n){"use strict";var r=n(57657).IteratorPrototype,o=n(2360),i=n(6980),a=n(10687),s=n(26269),c=function(){return this};t.exports=function(t,e,n,u){var l=e+" Iterator";return t.prototype=o(r,{next:i(+!u,n)}),a(t,l,!1,!0),s[l]=c,t}},51088:function(t,e,n){"use strict";var r=n(46518),o=n(69565),i=n(96395),a=n(10350),s=n(94901),c=n(33994),u=n(42787),l=n(52967),f=n(10687),p=n(66699),d=n(36840),h=n(78227),v=n(26269),m=n(57657),g=a.PROPER,y=a.CONFIGURABLE,b=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,x=h("iterator"),S="keys",k="values",_="entries",C=function(){return this};t.exports=function(t,e,n,a,h,m,E){c(n,e,a);var O,I,T,A=function(t){if(t===h&&j)return j;if(!w&&t&&t in R)return R[t];switch(t){case S:return function(){return new n(this,t)};case k:return function(){return new n(this,t)};case _:return function(){return new n(this,t)}}return function(){return new n(this)}},L=e+" Iterator",M=!1,R=t.prototype,P=R[x]||R["@@iterator"]||h&&R[h],j=!w&&P||A(h),N="Array"===e&&R.entries||P;if(N&&(O=u(N.call(new t)),O!==Object.prototype&&O.next&&(i||u(O)===b||(l?l(O,b):s(O[x])||d(O,x,C)),f(O,L,!0,!0),i&&(v[L]=C))),g&&h===k&&P&&P.name!==k&&(!i&&y?p(R,"name",k):(M=!0,j=function(){return o(P,this)})),h)if(I={values:A(k),keys:m?j:A(S),entries:A(_)},E)for(T in I)(w||M||!(T in R))&&d(R,T,I[T]);else r({target:e,proto:!0,forced:w||M},I);return i&&!E||R[x]===j||d(R,x,j,{name:h}),v[e]=j,I}},57657:function(t,e,n){"use strict";var r,o,i,a=n(79039),s=n(94901),c=n(20034),u=n(2360),l=n(42787),f=n(36840),p=n(78227),d=n(96395),h=p("iterator"),v=!1;[].keys&&(i=[].keys(),"next"in i?(o=l(l(i)),o!==Object.prototype&&(r=o)):v=!0);var m=!c(r)||a((function(){var t={};return r[h].call(t)!==t}));m?r={}:d&&(r=u(r)),s(r[h])||f(r,h,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},26269:function(t){"use strict";t.exports={}},26198:function(t,e,n){"use strict";var r=n(18014);t.exports=function(t){return r(t.length)}},50283:function(t,e,n){"use strict";var r=n(79504),o=n(79039),i=n(94901),a=n(39297),s=n(43724),c=n(10350).CONFIGURABLE,u=n(33706),l=n(91181),f=l.enforce,p=l.get,d=String,h=Object.defineProperty,v=r("".slice),m=r("".replace),g=r([].join),y=s&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===v(d(e),0,7)&&(e="["+m(d(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||c&&t.name!==e)&&(s?h(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&a(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=f(t);return a(r,"source")||(r.source=g(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&p(this).source||u(this)}),"toString")},80741:function(t){"use strict";var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},91955:function(t,e,n){"use strict";var r,o,i,a,s,c=n(24475),u=n(93389),l=n(76080),f=n(59225).set,p=n(18265),d=n(48119),h=n(20028),v=n(36765),m=n(19088),g=c.MutationObserver||c.WebKitMutationObserver,y=c.document,b=c.process,w=c.Promise,x=u("queueMicrotask");if(!x){var S=new p,k=function(){var t,e;m&&(t=b.domain)&&t.exit();while(e=S.get())try{e()}catch(n){throw S.head&&r(),n}t&&t.enter()};d||m||v||!g||!y?!h&&w&&w.resolve?(a=w.resolve(void 0),a.constructor=w,s=l(a.then,a),r=function(){s(k)}):m?r=function(){b.nextTick(k)}:(f=l(f,c),r=function(){f(k)}):(o=!0,i=y.createTextNode(""),new g(k).observe(i,{characterData:!0}),r=function(){i.data=o=!o}),x=function(t){S.head||r(),S.add(t)}}t.exports=x},36043:function(t,e,n){"use strict";var r=n(79306),o=TypeError,i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw new o("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},32603:function(t,e,n){"use strict";var r=n(655);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},60511:function(t,e,n){"use strict";var r=n(60788),o=TypeError;t.exports=function(t){if(r(t))throw new o("The method doesn't accept regular expressions");return t}},52703:function(t,e,n){"use strict";var r=n(24475),o=n(79039),i=n(79504),a=n(655),s=n(43802).trim,c=n(47452),u=r.parseInt,l=r.Symbol,f=l&&l.iterator,p=/^[+-]?0x/i,d=i(p.exec),h=8!==u(c+"08")||22!==u(c+"0x16")||f&&!o((function(){u(Object(f))}));t.exports=h?function(t,e){var n=s(a(t));return u(n,e>>>0||(d(p,n)?16:10))}:u},44213:function(t,e,n){"use strict";var r=n(43724),o=n(79504),i=n(69565),a=n(79039),s=n(71072),c=n(33717),u=n(48773),l=n(48981),f=n(47055),p=Object.assign,d=Object.defineProperty,h=o([].concat);t.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach((function(t){e[t]=t})),7!==p({},t)[n]||s(p({},e)).join("")!==o}))?function(t,e){var n=l(t),o=arguments.length,a=1,p=c.f,d=u.f;while(o>a){var v,m=f(arguments[a++]),g=p?h(s(m),p(m)):s(m),y=g.length,b=0;while(y>b)v=g[b++],r&&!i(d,m,v)||(n[v]=m[v])}return n}:p},2360:function(t,e,n){"use strict";var r,o=n(28551),i=n(96801),a=n(88727),s=n(30421),c=n(20397),u=n(4055),l=n(66119),f=">",p="<",d="prototype",h="script",v=l("IE_PROTO"),m=function(){},g=function(t){return p+h+f+t+p+"/"+h+f},y=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=u("iframe"),n="java"+h+":";return e.style.display="none",c.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(g("document.F=Object")),t.close(),t.F},w=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}w="undefined"!=typeof document?document.domain&&r?y(r):b():y(r);var t=a.length;while(t--)delete w[d][a[t]];return w()};s[v]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(m[d]=o(t),n=new m,m[d]=null,n[v]=t):n=w(),void 0===e?n:i.f(n,e)}},96801:function(t,e,n){"use strict";var r=n(43724),o=n(48686),i=n(24913),a=n(28551),s=n(25397),c=n(71072);e.f=r&&!o?Object.defineProperties:function(t,e){a(t);var n,r=s(e),o=c(e),u=o.length,l=0;while(u>l)i.f(t,n=o[l++],r[n]);return t}},24913:function(t,e,n){"use strict";var r=n(43724),o=n(35917),i=n(48686),a=n(28551),s=n(56969),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";e.f=r?i?function(t,e,n){if(a(t),e=s(e),a(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=l(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=s(e),a(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},77347:function(t,e,n){"use strict";var r=n(43724),o=n(69565),i=n(48773),a=n(6980),s=n(25397),c=n(56969),u=n(39297),l=n(35917),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=s(t),e=c(e),l)try{return f(t,e)}catch(n){}if(u(t,e))return a(!o(i.f,t,e),t[e])}},10298:function(t,e,n){"use strict";var r=n(44576),o=n(25397),i=n(38480).f,a=n(67680),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return i(t)}catch(e){return a(s)}};t.exports.f=function(t){return s&&"Window"===r(t)?c(t):i(o(t))}},38480:function(t,e,n){"use strict";var r=n(61828),o=n(88727),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},33717:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},42787:function(t,e,n){"use strict";var r=n(39297),o=n(94901),i=n(48981),a=n(66119),s=n(12211),c=a("IE_PROTO"),u=Object,l=u.prototype;t.exports=s?u.getPrototypeOf:function(t){var e=i(t);if(r(e,c))return e[c];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof u?l:null}},34124:function(t,e,n){"use strict";var r=n(79039),o=n(20034),i=n(44576),a=n(15652),s=Object.isExtensible,c=r((function(){s(1)}));t.exports=c||a?function(t){return!!o(t)&&((!a||"ArrayBuffer"!==i(t))&&(!s||s(t)))}:s},1625:function(t,e,n){"use strict";var r=n(79504);t.exports=r({}.isPrototypeOf)},61828:function(t,e,n){"use strict";var r=n(79504),o=n(39297),i=n(25397),a=n(19617).indexOf,s=n(30421),c=r([].push);t.exports=function(t,e){var n,r=i(t),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&c(l,n);while(e.length>u)o(r,n=e[u++])&&(~a(l,n)||c(l,n));return l}},71072:function(t,e,n){"use strict";var r=n(61828),o=n(88727);t.exports=Object.keys||function(t){return r(t,o)}},48773:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},52967:function(t,e,n){"use strict";var r=n(46706),o=n(20034),i=n(67750),a=n(73506);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=r(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array}catch(s){}return function(n,r){return i(n),a(r),o(n)?(e?t(n,r):n.__proto__=r,n):n}}():void 0)},32357:function(t,e,n){"use strict";var r=n(43724),o=n(79039),i=n(79504),a=n(42787),s=n(71072),c=n(25397),u=n(48773).f,l=i(u),f=i([].push),p=r&&o((function(){var t=Object.create(null);return t[2]=2,!l(t,2)})),d=function(t){return function(e){var n,o=c(e),i=s(o),u=p&&null===a(o),d=i.length,h=0,v=[];while(d>h)n=i[h++],r&&!(u?n in o:l(o,n))||f(v,t?[n,o[n]]:o[n]);return v}};t.exports={entries:d(!0),values:d(!1)}},53179:function(t,e,n){"use strict";var r=n(92140),o=n(36955);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},84270:function(t,e,n){"use strict";var r=n(69565),o=n(94901),i=n(20034),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&o(n=t.toString)&&!i(s=r(n,t)))return s;if(o(n=t.valueOf)&&!i(s=r(n,t)))return s;if("string"!==e&&o(n=t.toString)&&!i(s=r(n,t)))return s;throw new a("Can't convert object to primitive value")}},35031:function(t,e,n){"use strict";var r=n(97751),o=n(79504),i=n(38480),a=n(33717),s=n(28551),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(s(t)),n=a.f;return n?c(e,n(t)):e}},19167:function(t,e,n){"use strict";var r=n(24475);t.exports=r},1103:function(t){"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},10916:function(t,e,n){"use strict";var r=n(24475),o=n(80550),i=n(94901),a=n(92796),s=n(33706),c=n(78227),u=n(87290),l=n(50516),f=n(96395),p=n(77388),d=o&&o.prototype,h=c("species"),v=!1,m=i(r.PromiseRejectionEvent),g=a("Promise",(function(){var t=s(o),e=t!==String(o);if(!e&&66===p)return!0;if(f&&(!d["catch"]||!d["finally"]))return!0;if(!p||p<51||!/native code/.test(t)){var n=new o((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))},i=n.constructor={};if(i[h]=r,v=n.then((function(){}))instanceof r,!v)return!0}return!e&&(u||l)&&!m}));t.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:v}},80550:function(t,e,n){"use strict";var r=n(24475);t.exports=r.Promise},93438:function(t,e,n){"use strict";var r=n(28551),o=n(20034),i=n(36043);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t),a=n.resolve;return a(e),n.promise}},90537:function(t,e,n){"use strict";var r=n(80550),o=n(84428),i=n(10916).CONSTRUCTOR;t.exports=i||!o((function(t){r.all(t).then(void 0,(function(){}))}))},11056:function(t,e,n){"use strict";var r=n(24913).f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},18265:function(t){"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t){var e=this.head=t.next;return null===e&&(this.tail=null),t.item}}},t.exports=e},56682:function(t,e,n){"use strict";var r=n(69565),o=n(28551),i=n(94901),a=n(44576),s=n(57323),c=TypeError;t.exports=function(t,e){var n=t.exec;if(i(n)){var u=r(n,t,e);return null!==u&&o(u),u}if("RegExp"===a(t))return r(s,t,e);throw new c("RegExp#exec called on incompatible receiver")}},57323:function(t,e,n){"use strict";var r=n(69565),o=n(79504),i=n(655),a=n(67979),s=n(58429),c=n(25745),u=n(2360),l=n(91181).get,f=n(83635),p=n(18814),d=c("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,v=h,m=o("".charAt),g=o("".indexOf),y=o("".replace),b=o("".slice),w=function(){var t=/a/,e=/b*/g;return r(h,t,"a"),r(h,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),x=s.BROKEN_CARET,S=void 0!==/()??/.exec("")[1],k=w||S||x||f||p;k&&(v=function(t){var e,n,o,s,c,f,p,k=this,_=l(k),C=i(t),E=_.raw;if(E)return E.lastIndex=k.lastIndex,e=r(v,E,C),k.lastIndex=E.lastIndex,e;var O=_.groups,I=x&&k.sticky,T=r(a,k),A=k.source,L=0,M=C;if(I&&(T=y(T,"y",""),-1===g(T,"g")&&(T+="g"),M=b(C,k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&"\n"!==m(C,k.lastIndex-1))&&(A="(?: "+A+")",M=" "+M,L++),n=new RegExp("^(?:"+A+")",T)),S&&(n=new RegExp("^"+A+"$(?!\\s)",T)),w&&(o=k.lastIndex),s=r(h,I?n:k,M),I?s?(s.input=b(s.input,L),s[0]=b(s[0],L),s.index=k.lastIndex,k.lastIndex+=s[0].length):k.lastIndex=0:w&&s&&(k.lastIndex=k.global?s.index+s[0].length:o),S&&s&&s.length>1&&r(d,s[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(s[c]=void 0)})),s&&O)for(s.groups=f=u(null),c=0;c<O.length;c++)p=O[c],f[p[0]]=s[p[1]];return s}),t.exports=v},67979:function(t,e,n){"use strict";var r=n(28551);t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},61034:function(t,e,n){"use strict";var r=n(69565),o=n(39297),i=n(1625),a=n(67979),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||o(t,"flags")||!i(s,t)?e:r(a,t)}},58429:function(t,e,n){"use strict";var r=n(79039),o=n(24475),i=o.RegExp,a=r((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),s=a||r((function(){return!i("a","y").sticky})),c=a||r((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:c,MISSED_STICKY:s,UNSUPPORTED_Y:a}},83635:function(t,e,n){"use strict";var r=n(79039),o=n(24475),i=o.RegExp;t.exports=r((function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},18814:function(t,e,n){"use strict";var r=n(79039),o=n(24475),i=o.RegExp;t.exports=r((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},67750:function(t,e,n){"use strict";var r=n(64117),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},93389:function(t,e,n){"use strict";var r=n(24475),o=n(43724),i=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!o)return r[t];var e=i(r,t);return e&&e.value}},89286:function(t,e,n){"use strict";var r=n(94402),o=n(38469),i=r.Set,a=r.add;t.exports=function(t){var e=new i;return o(t,(function(t){a(e,t)})),e}},83440:function(t,e,n){"use strict";var r=n(97080),o=n(94402),i=n(89286),a=n(25170),s=n(83789),c=n(38469),u=n(40507),l=o.has,f=o.remove;t.exports=function(t){var e=r(this),n=s(t),o=i(e);return a(e)<=n.size?c(e,(function(t){n.includes(t)&&f(o,t)})):u(n.getIterator(),(function(t){l(e,t)&&f(o,t)})),o}},94402:function(t,e,n){"use strict";var r=n(79504),o=Set.prototype;t.exports={Set:Set,add:r(o.add),has:r(o.has),remove:r(o["delete"]),proto:o}},68750:function(t,e,n){"use strict";var r=n(97080),o=n(94402),i=n(25170),a=n(83789),s=n(38469),c=n(40507),u=o.Set,l=o.add,f=o.has;t.exports=function(t){var e=r(this),n=a(t),o=new u;return i(e)>n.size?c(n.getIterator(),(function(t){f(e,t)&&l(o,t)})):s(e,(function(t){n.includes(t)&&l(o,t)})),o}},64449:function(t,e,n){"use strict";var r=n(97080),o=n(94402).has,i=n(25170),a=n(83789),s=n(38469),c=n(40507),u=n(9539);t.exports=function(t){var e=r(this),n=a(t);if(i(e)<=n.size)return!1!==s(e,(function(t){if(n.includes(t))return!1}),!0);var l=n.getIterator();return!1!==c(l,(function(t){if(o(e,t))return u(l,"normal",!1)}))}},53838:function(t,e,n){"use strict";var r=n(97080),o=n(25170),i=n(38469),a=n(83789);t.exports=function(t){var e=r(this),n=a(t);return!(o(e)>n.size)&&!1!==i(e,(function(t){if(!n.includes(t))return!1}),!0)}},28527:function(t,e,n){"use strict";var r=n(97080),o=n(94402).has,i=n(25170),a=n(83789),s=n(40507),c=n(9539);t.exports=function(t){var e=r(this),n=a(t);if(i(e)<n.size)return!1;var u=n.getIterator();return!1!==s(u,(function(t){if(!o(e,t))return c(u,"normal",!1)}))}},38469:function(t,e,n){"use strict";var r=n(79504),o=n(40507),i=n(94402),a=i.Set,s=i.proto,c=r(s.forEach),u=r(s.keys),l=u(new a).next;t.exports=function(t,e,n){return n?o({iterator:u(t),next:l},e):c(t,e)}},84916:function(t,e,n){"use strict";var r=n(97751),o=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};t.exports=function(t){var e=r("Set");try{(new e)[t](o(0));try{return(new e)[t](o(-1)),!1}catch(n){return!0}}catch(i){return!1}}},25170:function(t,e,n){"use strict";var r=n(46706),o=n(94402);t.exports=r(o.proto,"size","get")||function(t){return t.size}},87633:function(t,e,n){"use strict";var r=n(97751),o=n(62106),i=n(78227),a=n(43724),s=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[s]&&o(e,s,{configurable:!0,get:function(){return this}})}},83650:function(t,e,n){"use strict";var r=n(97080),o=n(94402),i=n(89286),a=n(83789),s=n(40507),c=o.add,u=o.has,l=o.remove;t.exports=function(t){var e=r(this),n=a(t).getIterator(),o=i(e);return s(n,(function(t){u(e,t)?l(o,t):c(o,t)})),o}},10687:function(t,e,n){"use strict";var r=n(24913).f,o=n(39297),i=n(78227),a=i("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!o(t,a)&&r(t,a,{configurable:!0,value:e})}},44204:function(t,e,n){"use strict";var r=n(97080),o=n(94402).add,i=n(89286),a=n(83789),s=n(40507);t.exports=function(t){var e=r(this),n=a(t).getIterator(),c=i(e);return s(n,(function(t){o(c,t)})),c}},66119:function(t,e,n){"use strict";var r=n(25745),o=n(33392),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},77629:function(t,e,n){"use strict";var r=n(96395),o=n(24475),i=n(39433),a="__core-js_shared__",s=t.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.37.0",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE",source:"https://github.com/zloirock/core-js"})},25745:function(t,e,n){"use strict";var r=n(77629);t.exports=function(t,e){return r[t]||(r[t]=e||{})}},2293:function(t,e,n){"use strict";var r=n(28551),o=n(35548),i=n(64117),a=n(78227),s=a("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||i(n=r(a)[s])?e:o(n)}},23061:function(t,e,n){"use strict";var r=n(79039);t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},68183:function(t,e,n){"use strict";var r=n(79504),o=n(91291),i=n(655),a=n(67750),s=r("".charAt),c=r("".charCodeAt),u=r("".slice),l=function(t){return function(e,n){var r,l,f=i(a(e)),p=o(n),d=f.length;return p<0||p>=d?t?"":void 0:(r=c(f,p),r<55296||r>56319||p+1===d||(l=c(f,p+1))<56320||l>57343?t?s(f,p):r:t?u(f,p,p+2):l-56320+(r-55296<<10)+65536)}};t.exports={codeAt:l(!1),charAt:l(!0)}},60706:function(t,e,n){"use strict";var r=n(10350).PROPER,o=n(79039),i=n(47452),a="​᠎";t.exports=function(t){return o((function(){return!!i[t]()||a[t]()!==a||r&&i[t].name!==t}))}},43802:function(t,e,n){"use strict";var r=n(79504),o=n(67750),i=n(655),a=n(47452),s=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(t){return function(e){var n=i(o(e));return 1&t&&(n=s(n,c,"")),2&t&&(n=s(n,u,"$1")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},4495:function(t,e,n){"use strict";var r=n(77388),o=n(79039),i=n(24475),a=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},58242:function(t,e,n){"use strict";var r=n(69565),o=n(97751),i=n(78227),a=n(36840);t.exports=function(){var t=o("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,s=i("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return r(n,this)}),{arity:1})}},91296:function(t,e,n){"use strict";var r=n(4495);t.exports=r&&!!Symbol["for"]&&!!Symbol.keyFor},59225:function(t,e,n){"use strict";var r,o,i,a,s=n(24475),c=n(18745),u=n(76080),l=n(94901),f=n(39297),p=n(79039),d=n(20397),h=n(67680),v=n(4055),m=n(22812),g=n(48119),y=n(19088),b=s.setImmediate,w=s.clearImmediate,x=s.process,S=s.Dispatch,k=s.Function,_=s.MessageChannel,C=s.String,E=0,O={},I="onreadystatechange";p((function(){r=s.location}));var T=function(t){if(f(O,t)){var e=O[t];delete O[t],e()}},A=function(t){return function(){T(t)}},L=function(t){T(t.data)},M=function(t){s.postMessage(C(t),r.protocol+"//"+r.host)};b&&w||(b=function(t){m(arguments.length,1);var e=l(t)?t:k(t),n=h(arguments,1);return O[++E]=function(){c(e,void 0,n)},o(E),E},w=function(t){delete O[t]},y?o=function(t){x.nextTick(A(t))}:S&&S.now?o=function(t){S.now(A(t))}:_&&!g?(i=new _,a=i.port2,i.port1.onmessage=L,o=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!p(M)?(o=M,s.addEventListener("message",L,!1)):o=I in v("script")?function(t){d.appendChild(v("script"))[I]=function(){d.removeChild(this),T(t)}}:function(t){setTimeout(A(t),0)}),t.exports={set:b,clear:w}},31240:function(t,e,n){"use strict";var r=n(79504);t.exports=r(1..valueOf)},35610:function(t,e,n){"use strict";var r=n(91291),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},25397:function(t,e,n){"use strict";var r=n(47055),o=n(67750);t.exports=function(t){return r(o(t))}},91291:function(t,e,n){"use strict";var r=n(80741);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},18014:function(t,e,n){"use strict";var r=n(91291),o=Math.min;t.exports=function(t){var e=r(t);return e>0?o(e,9007199254740991):0}},48981:function(t,e,n){"use strict";var r=n(67750),o=Object;t.exports=function(t){return o(r(t))}},72777:function(t,e,n){"use strict";var r=n(69565),o=n(20034),i=n(10757),a=n(55966),s=n(84270),c=n(78227),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,c=a(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},56969:function(t,e,n){"use strict";var r=n(72777),o=n(10757);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},92140:function(t,e,n){"use strict";var r=n(78227),o=r("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},655:function(t,e,n){"use strict";var r=n(36955),o=String;t.exports=function(t){if("Symbol"===r(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},69714:function(t,e,n){"use strict";var r=n(19088);t.exports=function(t){try{if(r)return Function('return require("'+t+'")')()}catch(e){}}},16823:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},33392:function(t,e,n){"use strict";var r=n(79504),o=0,i=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},7040:function(t,e,n){"use strict";var r=n(4495);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686:function(t,e,n){"use strict";var r=n(43724),o=n(79039);t.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},22812:function(t){"use strict";var e=TypeError;t.exports=function(t,n){if(t<n)throw new e("Not enough arguments");return t}},58622:function(t,e,n){"use strict";var r=n(24475),o=n(94901),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},70511:function(t,e,n){"use strict";var r=n(19167),o=n(39297),i=n(1951),a=n(24913).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},1951:function(t,e,n){"use strict";var r=n(78227);e.f=r},78227:function(t,e,n){"use strict";var r=n(24475),o=n(25745),i=n(39297),a=n(33392),s=n(4495),c=n(7040),u=r.Symbol,l=o("wks"),f=c?u["for"]||u:u&&u.withoutSetter||a;t.exports=function(t){return i(l,t)||(l[t]=s&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},47452:function(t){"use strict";t.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},14601:function(t,e,n){"use strict";var r=n(97751),o=n(39297),i=n(66699),a=n(1625),s=n(52967),c=n(77740),u=n(11056),l=n(23167),f=n(32603),p=n(77584),d=n(80747),h=n(43724),v=n(96395);t.exports=function(t,e,n,m){var g="stackTraceLimit",y=m?2:1,b=t.split("."),w=b[b.length-1],x=r.apply(null,b);if(x){var S=x.prototype;if(!v&&o(S,"cause")&&delete S.cause,!n)return x;var k=r("Error"),_=e((function(t,e){var n=f(m?e:t,void 0),r=m?new x(t):new x;return void 0!==n&&i(r,"message",n),d(r,_,r.stack,2),this&&a(S,this)&&l(r,this,_),arguments.length>y&&p(r,arguments[y]),r}));if(_.prototype=S,"Error"!==w?s?s(_,k):c(_,k,{name:!0}):h&&g in x&&(u(_,x,g),u(_,x,"prepareStackTrace")),c(_,x),!v)try{S.name!==w&&i(S,"name",w),S.constructor=_}catch(C){}return _}}},28706:function(t,e,n){"use strict";var r=n(46518),o=n(79039),i=n(34376),a=n(20034),s=n(48981),c=n(26198),u=n(96837),l=n(97040),f=n(1469),p=n(70597),d=n(78227),h=n(77388),v=d("isConcatSpreadable"),m=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)},y=!m||!p("concat");r({target:"Array",proto:!0,arity:1,forced:y},{concat:function(t){var e,n,r,o,i,a=s(this),p=f(a,0),d=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?a:arguments[e],g(i))for(o=c(i),u(d+o),n=0;n<o;n++,d++)n in i&&l(p,d,i[n]);else u(d+1),l(p,d++,i);return p.length=d,p}})},2008:function(t,e,n){"use strict";var r=n(46518),o=n(59213).filter,i=n(70597),a=i("filter");r({target:"Array",proto:!0,forced:!a},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},50113:function(t,e,n){"use strict";var r=n(46518),o=n(59213).find,i=n(6469),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(a)},78350:function(t,e,n){"use strict";var r=n(46518),o=n(70259),i=n(79306),a=n(48981),s=n(26198),c=n(1469);r({target:"Array",proto:!0},{flatMap:function(t){var e,n=a(this),r=s(n);return i(t),e=c(n,0),e.length=o(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},74423:function(t,e,n){"use strict";var r=n(46518),o=n(19617).includes,i=n(79039),a=n(6469),s=i((function(){return!Array(1).includes()}));r({target:"Array",proto:!0,forced:s},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},23792:function(t,e,n){"use strict";var r=n(25397),o=n(6469),i=n(26269),a=n(91181),s=n(24913).f,c=n(51088),u=n(62529),l=n(96395),f=n(43724),p="Array Iterator",d=a.set,h=a.getterFor(p);t.exports=c(Array,"Array",(function(t,e){d(this,{type:p,target:r(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=void 0,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)}),"values");var v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==v.name)try{s(v,"name",{value:"values"})}catch(m){}},48598:function(t,e,n){"use strict";var r=n(46518),o=n(79504),i=n(47055),a=n(25397),s=n(34598),c=o([].join),u=i!==Object,l=u||!s("join",",");r({target:"Array",proto:!0,forced:l},{join:function(t){return c(a(this),void 0===t?",":t)}})},62062:function(t,e,n){"use strict";var r=n(46518),o=n(59213).map,i=n(70597),a=i("map");r({target:"Array",proto:!0,forced:!a},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},44114:function(t,e,n){"use strict";var r=n(46518),o=n(48981),i=n(26198),a=n(34527),s=n(96837),c=n(79039),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},f=u||!l();r({target:"Array",proto:!0,arity:1,forced:f},{push:function(t){var e=o(this),n=i(e),r=arguments.length;s(n+r);for(var c=0;c<r;c++)e[n]=arguments[c],n++;return a(e,n),n}})},72712:function(t,e,n){"use strict";var r=n(46518),o=n(80926).left,i=n(34598),a=n(77388),s=n(19088),c=!s&&a>79&&a<83,u=c||!i("reduce");r({target:"Array",proto:!0,forced:u},{reduce:function(t){var e=arguments.length;return o(this,t,e,e>1?arguments[1]:void 0)}})},34782:function(t,e,n){"use strict";var r=n(46518),o=n(34376),i=n(33517),a=n(20034),s=n(35610),c=n(26198),u=n(25397),l=n(97040),f=n(78227),p=n(70597),d=n(67680),h=p("slice"),v=f("species"),m=Array,g=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(t,e){var n,r,f,p=u(this),h=c(p),y=s(t,h),b=s(void 0===e?h:e,h);if(o(p)&&(n=p.constructor,i(n)&&(n===m||o(n.prototype))?n=void 0:a(n)&&(n=n[v],null===n&&(n=void 0)),n===m||void 0===n))return d(p,y,b);for(r=new(void 0===n?m:n)(g(b-y,0)),f=0;y<b;y++,f++)y in p&&l(r,f,p[y]);return r.length=f,r}})},26910:function(t,e,n){"use strict";var r=n(46518),o=n(79504),i=n(79306),a=n(48981),s=n(26198),c=n(84606),u=n(655),l=n(79039),f=n(74488),p=n(34598),d=n(28834),h=n(63202),v=n(77388),m=n(89160),g=[],y=o(g.sort),b=o(g.push),w=l((function(){g.sort(void 0)})),x=l((function(){g.sort(null)})),S=p("sort"),k=!l((function(){if(v)return v<70;if(!(d&&d>3)){if(h)return!0;if(m)return m<603;var t,e,n,r,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)g.push({k:e+r,v:n})}for(g.sort((function(t,e){return e.v-t.v})),r=0;r<g.length;r++)e=g[r].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}})),_=w||!x||!S||!k,C=function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:u(e)>u(n)?1:-1}};r({target:"Array",proto:!0,forced:_},{sort:function(t){void 0!==t&&i(t);var e=a(this);if(k)return void 0===t?y(e):y(e,t);var n,r,o=[],u=s(e);for(r=0;r<u;r++)r in e&&b(o,e[r]);f(o,C(t)),n=s(o),r=0;while(r<n)e[r]=o[r++];while(r<u)c(e,r++);return e}})},54554:function(t,e,n){"use strict";var r=n(46518),o=n(48981),i=n(35610),a=n(91291),s=n(26198),c=n(34527),u=n(96837),l=n(1469),f=n(97040),p=n(84606),d=n(70597),h=d("splice"),v=Math.max,m=Math.min;r({target:"Array",proto:!0,forced:!h},{splice:function(t,e){var n,r,d,h,g,y,b=o(this),w=s(b),x=i(t,w),S=arguments.length;for(0===S?n=r=0:1===S?(n=0,r=w-x):(n=S-2,r=m(v(a(e),0),w-x)),u(w+n-r),d=l(b,r),h=0;h<r;h++)g=x+h,g in b&&f(d,h,b[g]);if(d.length=r,n<r){for(h=x;h<w-r;h++)g=h+r,y=h+n,g in b?b[y]=b[g]:p(b,y);for(h=w;h>w-r+n;h--)p(b,h-1)}else if(n>r)for(h=w-r;h>x;h--)g=h+r-1,y=h+n-1,g in b?b[y]=b[g]:p(b,y);for(h=0;h<n;h++)b[h+x]=arguments[h+2];return c(b,w-r+n),d}})},30237:function(t,e,n){"use strict";var r=n(6469);r("flatMap")},89572:function(t,e,n){"use strict";var r=n(39297),o=n(36840),i=n(53640),a=n(78227),s=a("toPrimitive"),c=Date.prototype;r(c,s)||o(c,s,i)},16280:function(t,e,n){"use strict";var r=n(46518),o=n(24475),i=n(18745),a=n(14601),s="WebAssembly",c=o[s],u=7!==new Error("e",{cause:7}).cause,l=function(t,e){var n={};n[t]=a(t,e,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},f=function(t,e){if(c&&c[t]){var n={};n[t]=a(s+"."+t,e,u),r({target:s,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),f("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),f("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),f("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},62010:function(t,e,n){"use strict";var r=n(43724),o=n(10350).EXISTS,i=n(79504),a=n(62106),s=Function.prototype,c=i(s.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(u.exec),f="name";r&&!o&&a(s,f,{configurable:!0,get:function(){try{return l(u,c(this))[1]}catch(t){return""}}})},33110:function(t,e,n){"use strict";var r=n(46518),o=n(97751),i=n(18745),a=n(69565),s=n(79504),c=n(79039),u=n(94901),l=n(10757),f=n(67680),p=n(66933),d=n(4495),h=String,v=o("JSON","stringify"),m=s(/./.exec),g=s("".charAt),y=s("".charCodeAt),b=s("".replace),w=s(1..toString),x=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,k=/^[\uDC00-\uDFFF]$/,_=!d||c((function(){var t=o("Symbol")("stringify detection");return"[null]"!==v([t])||"{}"!==v({a:t})||"{}"!==v(Object(t))})),C=c((function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")})),E=function(t,e){var n=f(arguments),r=p(e);if(u(r)||void 0!==t&&!l(t))return n[1]=function(t,e){if(u(r)&&(e=a(r,this,h(t),e)),!l(e))return e},i(v,null,n)},O=function(t,e,n){var r=g(n,e-1),o=g(n,e+1);return m(S,t)&&!m(k,o)||m(k,t)&&!m(S,r)?"\\u"+w(y(t,0),16):t};v&&r({target:"JSON",stat:!0,arity:3,forced:_||C},{stringify:function(t,e,n){var r=f(arguments),o=i(_?E:v,null,r);return C&&"string"==typeof o?b(o,x,O):o}})},4731:function(t,e,n){"use strict";var r=n(24475),o=n(10687);o(r.JSON,"JSON",!0)},60479:function(t,e,n){"use strict";var r=n(10687);r(Math,"Math",!0)},2892:function(t,e,n){"use strict";var r=n(46518),o=n(96395),i=n(43724),a=n(24475),s=n(19167),c=n(79504),u=n(92796),l=n(39297),f=n(23167),p=n(1625),d=n(10757),h=n(72777),v=n(79039),m=n(38480).f,g=n(77347).f,y=n(24913).f,b=n(31240),w=n(43802).trim,x="Number",S=a[x],k=s[x],_=S.prototype,C=a.TypeError,E=c("".slice),O=c("".charCodeAt),I=function(t){var e=h(t,"number");return"bigint"==typeof e?e:T(e)},T=function(t){var e,n,r,o,i,a,s,c,u=h(t,"number");if(d(u))throw new C("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=w(u),e=O(u,0),43===e||45===e){if(n=O(u,2),88===n||120===n)return NaN}else if(48===e){switch(O(u,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(i=E(u,2),a=i.length,s=0;s<a;s++)if(c=O(i,s),c<48||c>o)return NaN;return parseInt(i,r)}return+u},A=u(x,!S(" 0o1")||!S("0b1")||S("+0x1")),L=function(t){return p(_,t)&&v((function(){b(t)}))},M=function(t){var e=arguments.length<1?0:S(I(t));return L(this)?f(Object(e),this,M):e};M.prototype=_,A&&!o&&(_.constructor=M),r({global:!0,constructor:!0,wrap:!0,forced:A},{Number:M});var R=function(t,e){for(var n,r=i?m(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)l(e,n=r[o])&&!l(t,n)&&y(t,n,g(e,n))};o&&k&&R(s[x],k),(A||o)&&R(s[x],S)},69085:function(t,e,n){"use strict";var r=n(46518),o=n(44213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},83851:function(t,e,n){"use strict";var r=n(46518),o=n(79039),i=n(25397),a=n(77347).f,s=n(43724),c=!s||o((function(){a(1)}));r({target:"Object",stat:!0,forced:c,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},81278:function(t,e,n){"use strict";var r=n(46518),o=n(43724),i=n(35031),a=n(25397),s=n(77347),c=n(97040);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){var e,n,r=a(t),o=s.f,u=i(r),l={},f=0;while(u.length>f)n=o(r,e=u[f++]),void 0!==n&&c(l,e,n);return l}})},49773:function(t,e,n){"use strict";var r=n(46518),o=n(4495),i=n(79039),a=n(33717),s=n(48981),c=!o||i((function(){a.f(1)}));r({target:"Object",stat:!0,forced:c},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},40875:function(t,e,n){"use strict";var r=n(46518),o=n(79039),i=n(48981),a=n(42787),s=n(12211),c=o((function(){a(1)}));r({target:"Object",stat:!0,forced:c,sham:!s},{getPrototypeOf:function(t){return a(i(t))}})},79432:function(t,e,n){"use strict";var r=n(46518),o=n(48981),i=n(71072),a=n(79039),s=a((function(){i(1)}));r({target:"Object",stat:!0,forced:s},{keys:function(t){return i(o(t))}})},63548:function(t,e,n){"use strict";var r=n(43724),o=n(62106),i=n(20034),a=n(13925),s=n(48981),c=n(67750),u=Object.getPrototypeOf,l=Object.setPrototypeOf,f=Object.prototype,p="__proto__";if(r&&u&&l&&!(p in f))try{o(f,p,{configurable:!0,get:function(){return u(s(this))},set:function(t){var e=c(this);a(t)&&i(e)&&l(e,t)}})}catch(d){}},10287:function(t,e,n){"use strict";var r=n(46518),o=n(52967);r({target:"Object",stat:!0},{setPrototypeOf:o})},26099:function(t,e,n){"use strict";var r=n(92140),o=n(36840),i=n(53179);r||o(Object.prototype,"toString",i,{unsafe:!0})},16034:function(t,e,n){"use strict";var r=n(46518),o=n(32357).values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},58940:function(t,e,n){"use strict";var r=n(46518),o=n(52703);r({global:!0,forced:parseInt!==o},{parseInt:o})},16499:function(t,e,n){"use strict";var r=n(46518),o=n(69565),i=n(79306),a=n(36043),s=n(1103),c=n(72652),u=n(90537);r({target:"Promise",stat:!0,forced:u},{all:function(t){var e=this,n=a.f(e),r=n.resolve,u=n.reject,l=s((function(){var n=i(e.resolve),a=[],s=0,l=1;c(t,(function(t){var i=s++,c=!1;l++,o(n,e,t).then((function(t){c||(c=!0,a[i]=t,--l||r(a))}),u)})),--l||r(a)}));return l.error&&u(l.value),n.promise}})},82003:function(t,e,n){"use strict";var r=n(46518),o=n(96395),i=n(10916).CONSTRUCTOR,a=n(80550),s=n(97751),c=n(94901),u=n(36840),l=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&c(a)){var f=s("Promise").prototype["catch"];l["catch"]!==f&&u(l,"catch",f,{unsafe:!0})}},10436:function(t,e,n){"use strict";var r,o,i,a,s=n(46518),c=n(96395),u=n(19088),l=n(24475),f=n(69565),p=n(36840),d=n(52967),h=n(10687),v=n(87633),m=n(79306),g=n(94901),y=n(20034),b=n(90679),w=n(2293),x=n(59225).set,S=n(91955),k=n(90757),_=n(1103),C=n(18265),E=n(91181),O=n(80550),I=n(10916),T=n(36043),A="Promise",L=I.CONSTRUCTOR,M=I.REJECTION_EVENT,R=I.SUBCLASSING,P=E.getterFor(A),j=E.set,N=O&&O.prototype,D=O,F=N,B=l.TypeError,H=l.document,U=l.process,z=T.f,W=z,$=!!(H&&H.createEvent&&l.dispatchEvent),q="unhandledrejection",V="rejectionhandled",X=0,G=1,K=2,Y=1,Z=2,J=function(t){var e;return!(!y(t)||!g(e=t.then))&&e},Q=function(t,e){var n,r,o,i=e.value,a=e.state===G,s=a?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(a||(e.rejection===Z&&ot(e),e.rejection=Y),!0===s?n=i:(l&&l.enter(),n=s(i),l&&(l.exit(),o=!0)),n===t.promise?u(new B("Promise-chain cycle")):(r=J(n))?f(r,n,c,u):c(n)):u(i)}catch(p){l&&!o&&l.exit(),u(p)}},tt=function(t,e){t.notified||(t.notified=!0,S((function(){var n,r=t.reactions;while(n=r.get())Q(n,t);t.notified=!1,e&&!t.rejection&&nt(t)})))},et=function(t,e,n){var r,o;$?(r=H.createEvent("Event"),r.promise=e,r.reason=n,r.initEvent(t,!1,!0),l.dispatchEvent(r)):r={promise:e,reason:n},!M&&(o=l["on"+t])?o(r):t===q&&k("Unhandled promise rejection",n)},nt=function(t){f(x,l,(function(){var e,n=t.facade,r=t.value,o=rt(t);if(o&&(e=_((function(){u?U.emit("unhandledRejection",r,n):et(q,n,r)})),t.rejection=u||rt(t)?Z:Y,e.error))throw e.value}))},rt=function(t){return t.rejection!==Y&&!t.parent},ot=function(t){f(x,l,(function(){var e=t.facade;u?U.emit("rejectionHandled",e):et(V,e,t.value)}))},it=function(t,e,n){return function(r){t(e,r,n)}},at=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=K,tt(t,!0))},st=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new B("Promise can't be resolved itself");var r=J(e);r?S((function(){var n={done:!1};try{f(r,e,it(st,n,t),it(at,n,t))}catch(o){at(n,o,t)}})):(t.value=e,t.state=G,tt(t,!1))}catch(o){at({done:!1},o,t)}}};if(L&&(D=function(t){b(this,F),m(t),f(r,this);var e=P(this);try{t(it(st,e),it(at,e))}catch(n){at(e,n)}},F=D.prototype,r=function(t){j(this,{type:A,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:X,value:void 0})},r.prototype=p(F,"then",(function(t,e){var n=P(this),r=z(w(this,D));return n.parent=!0,r.ok=!g(t)||t,r.fail=g(e)&&e,r.domain=u?U.domain:void 0,n.state===X?n.reactions.add(r):S((function(){Q(r,n)})),r.promise})),o=function(){var t=new r,e=P(t);this.promise=t,this.resolve=it(st,e),this.reject=it(at,e)},T.f=z=function(t){return t===D||t===i?new o(t):W(t)},!c&&g(O)&&N!==Object.prototype)){a=N.then,R||p(N,"then",(function(t,e){var n=this;return new D((function(t,e){f(a,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete N.constructor}catch(ct){}d&&d(N,F)}s({global:!0,constructor:!0,wrap:!0,forced:L},{Promise:D}),h(D,A,!1,!0),v(A)},9391:function(t,e,n){"use strict";var r=n(46518),o=n(96395),i=n(80550),a=n(79039),s=n(97751),c=n(94901),u=n(2293),l=n(93438),f=n(36840),p=i&&i.prototype,d=!!i&&a((function(){p["finally"].call({then:function(){}},(function(){}))}));if(r({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(t){var e=u(this,s("Promise")),n=c(t);return this.then(n?function(n){return l(e,t()).then((function(){return n}))}:t,n?function(n){return l(e,t()).then((function(){throw n}))}:t)}}),!o&&c(i)){var h=s("Promise").prototype["finally"];p["finally"]!==h&&f(p,"finally",h,{unsafe:!0})}},3362:function(t,e,n){"use strict";n(10436),n(16499),n(82003),n(7743),n(51481),n(40280)},7743:function(t,e,n){"use strict";var r=n(46518),o=n(69565),i=n(79306),a=n(36043),s=n(1103),c=n(72652),u=n(90537);r({target:"Promise",stat:!0,forced:u},{race:function(t){var e=this,n=a.f(e),r=n.reject,u=s((function(){var a=i(e.resolve);c(t,(function(t){o(a,e,t).then(n.resolve,r)}))}));return u.error&&r(u.value),n.promise}})},51481:function(t,e,n){"use strict";var r=n(46518),o=n(36043),i=n(10916).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:i},{reject:function(t){var e=o.f(this),n=e.reject;return n(t),e.promise}})},40280:function(t,e,n){"use strict";var r=n(46518),o=n(97751),i=n(96395),a=n(80550),s=n(10916).CONSTRUCTOR,c=n(93438),u=o("Promise"),l=i&&!s;r({target:"Promise",stat:!0,forced:i||s},{resolve:function(t){return c(l&&this===u?a:this,t)}})},60825:function(t,e,n){"use strict";var r=n(46518),o=n(97751),i=n(18745),a=n(30566),s=n(35548),c=n(28551),u=n(20034),l=n(2360),f=n(79039),p=o("Reflect","construct"),d=Object.prototype,h=[].push,v=f((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),m=!f((function(){p((function(){}))})),g=v||m;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(t,e){s(t),c(e);var n=arguments.length<3?t:s(arguments[2]);if(m&&!v)return p(t,e,n);if(t===n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return i(h,r,e),new(i(a,t,r))}var o=n.prototype,f=l(u(o)?o:d),g=i(t,f,e);return u(g)?g:f}})},27495:function(t,e,n){"use strict";var r=n(46518),o=n(57323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},38781:function(t,e,n){"use strict";var r=n(10350).PROPER,o=n(36840),i=n(28551),a=n(655),s=n(79039),c=n(61034),u="toString",l=RegExp.prototype,f=l[u],p=s((function(){return"/a/b"!==f.call({source:"a",flags:"b"})})),d=r&&f.name!==u;(p||d)&&o(l,u,(function(){var t=i(this),e=a(t.source),n=a(c(t));return"/"+e+"/"+n}),{unsafe:!0})},92405:function(t,e,n){"use strict";var r=n(16468),o=n(86938);r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},17642:function(t,e,n){"use strict";var r=n(46518),o=n(83440),i=n(84916);r({target:"Set",proto:!0,real:!0,forced:!i("difference")},{difference:o})},58004:function(t,e,n){"use strict";var r=n(46518),o=n(79039),i=n(68750),a=n(84916),s=!a("intersection")||o((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}));r({target:"Set",proto:!0,real:!0,forced:s},{intersection:i})},33853:function(t,e,n){"use strict";var r=n(46518),o=n(64449),i=n(84916);r({target:"Set",proto:!0,real:!0,forced:!i("isDisjointFrom")},{isDisjointFrom:o})},45876:function(t,e,n){"use strict";var r=n(46518),o=n(53838),i=n(84916);r({target:"Set",proto:!0,real:!0,forced:!i("isSubsetOf")},{isSubsetOf:o})},32475:function(t,e,n){"use strict";var r=n(46518),o=n(28527),i=n(84916);r({target:"Set",proto:!0,real:!0,forced:!i("isSupersetOf")},{isSupersetOf:o})},31415:function(t,e,n){"use strict";n(92405)},15024:function(t,e,n){"use strict";var r=n(46518),o=n(83650),i=n(84916);r({target:"Set",proto:!0,real:!0,forced:!i("symmetricDifference")},{symmetricDifference:o})},31698:function(t,e,n){"use strict";var r=n(46518),o=n(44204),i=n(84916);r({target:"Set",proto:!0,real:!0,forced:!i("union")},{union:o})},94298:function(t,e,n){"use strict";var r=n(46518),o=n(77240),i=n(23061);r({target:"String",proto:!0,forced:i("fixed")},{fixed:function(){return o(this,"tt","","")}})},21699:function(t,e,n){"use strict";var r=n(46518),o=n(79504),i=n(60511),a=n(67750),s=n(655),c=n(41436),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(t){return!!~u(s(a(this)),s(i(t)),arguments.length>1?arguments[1]:void 0)}})},47764:function(t,e,n){"use strict";var r=n(68183).charAt,o=n(655),i=n(91181),a=n(51088),s=n(62529),c="String Iterator",u=i.set,l=i.getterFor(c);a(String,"String",(function(t){u(this,{type:c,string:o(t),index:0})}),(function(){var t,e=l(this),n=e.string,o=e.index;return o>=n.length?s(void 0,!0):(t=r(n,o),e.index+=t.length,s(t,!1))}))},71761:function(t,e,n){"use strict";var r=n(69565),o=n(89228),i=n(28551),a=n(64117),s=n(18014),c=n(655),u=n(67750),l=n(55966),f=n(57829),p=n(56682);o("match",(function(t,e,n){return[function(e){var n=u(this),o=a(e)?void 0:l(e,t);return o?r(o,e,n):new RegExp(e)[t](c(n))},function(t){var r=i(this),o=c(t),a=n(e,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var u=r.unicode;r.lastIndex=0;var l,d=[],h=0;while(null!==(l=p(r,o))){var v=c(l[0]);d[h]=v,""===v&&(r.lastIndex=f(o,s(r.lastIndex),u)),h++}return 0===h?null:d}]}))},25440:function(t,e,n){"use strict";var r=n(18745),o=n(69565),i=n(79504),a=n(89228),s=n(79039),c=n(28551),u=n(94901),l=n(64117),f=n(91291),p=n(18014),d=n(655),h=n(67750),v=n(57829),m=n(55966),g=n(2478),y=n(56682),b=n(78227),w=b("replace"),x=Math.max,S=Math.min,k=i([].concat),_=i([].push),C=i("".indexOf),E=i("".slice),O=function(t){return void 0===t?t:String(t)},I=function(){return"$0"==="a".replace(/./,"$0")}(),T=function(){return!!/./[w]&&""===/./[w]("a","$0")}(),A=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));a("replace",(function(t,e,n){var i=T?"$":"$0";return[function(t,n){var r=h(this),i=l(t)?void 0:m(t,w);return i?o(i,t,r,n):o(e,d(r),t,n)},function(t,o){var a=c(this),s=d(t);if("string"==typeof o&&-1===C(o,i)&&-1===C(o,"$<")){var l=n(e,a,s,o);if(l.done)return l.value}var h=u(o);h||(o=d(o));var m,b=a.global;b&&(m=a.unicode,a.lastIndex=0);var w,I=[];while(1){if(w=y(a,s),null===w)break;if(_(I,w),!b)break;var T=d(w[0]);""===T&&(a.lastIndex=v(s,p(a.lastIndex),m))}for(var A="",L=0,M=0;M<I.length;M++){w=I[M];for(var R,P=d(w[0]),j=x(S(f(w.index),s.length),0),N=[],D=1;D<w.length;D++)_(N,O(w[D]));var F=w.groups;if(h){var B=k([P],N,j,s);void 0!==F&&_(B,F),R=d(r(o,void 0,B))}else R=g(P,s,j,N,F,o);j>=L&&(A+=E(s,L,j)+R,L=j+P.length)}return A+E(s,L)}]}),!A||!I||T)},90744:function(t,e,n){"use strict";var r=n(69565),o=n(79504),i=n(89228),a=n(28551),s=n(64117),c=n(67750),u=n(2293),l=n(57829),f=n(18014),p=n(655),d=n(55966),h=n(56682),v=n(58429),m=n(79039),g=v.UNSUPPORTED_Y,y=4294967295,b=Math.min,w=o([].push),x=o("".slice),S=!m((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),k="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;i("split",(function(t,e,n){var o="0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:r(e,this,t,n)}:e;return[function(e,n){var i=c(this),a=s(e)?void 0:d(e,t);return a?r(a,e,i,n):r(o,p(i),e,n)},function(t,r){var i=a(this),s=p(t);if(!k){var c=n(o,i,s,r,o!==e);if(c.done)return c.value}var d=u(i,RegExp),v=i.unicode,m=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(g?"g":"y"),S=new d(g?"^(?:"+i.source+")":i,m),_=void 0===r?y:r>>>0;if(0===_)return[];if(0===s.length)return null===h(S,s)?[s]:[];var C=0,E=0,O=[];while(E<s.length){S.lastIndex=g?0:E;var I,T=h(S,g?x(s,E):s);if(null===T||(I=b(f(S.lastIndex+(g?E:0)),s.length))===C)E=l(s,E,v);else{if(w(O,x(s,C,E)),O.length===_)return O;for(var A=1;A<=T.length-1;A++)if(w(O,T[A]),O.length===_)return O;E=C=I}}return w(O,x(s,C)),O}]}),k||!S,g)},42762:function(t,e,n){"use strict";var r=n(46518),o=n(43802).trim,i=n(60706);r({target:"String",proto:!0,forced:i("trim")},{trim:function(){return o(this)}})},66412:function(t,e,n){"use strict";var r=n(70511);r("asyncIterator")},6761:function(t,e,n){"use strict";var r=n(46518),o=n(24475),i=n(69565),a=n(79504),s=n(96395),c=n(43724),u=n(4495),l=n(79039),f=n(39297),p=n(1625),d=n(28551),h=n(25397),v=n(56969),m=n(655),g=n(6980),y=n(2360),b=n(71072),w=n(38480),x=n(10298),S=n(33717),k=n(77347),_=n(24913),C=n(96801),E=n(48773),O=n(36840),I=n(62106),T=n(25745),A=n(66119),L=n(30421),M=n(33392),R=n(78227),P=n(1951),j=n(70511),N=n(58242),D=n(10687),F=n(91181),B=n(59213).forEach,H=A("hidden"),U="Symbol",z="prototype",W=F.set,$=F.getterFor(U),q=Object[z],V=o.Symbol,X=V&&V[z],G=o.RangeError,K=o.TypeError,Y=o.QObject,Z=k.f,J=_.f,Q=x.f,tt=E.f,et=a([].push),nt=T("symbols"),rt=T("op-symbols"),ot=T("wks"),it=!Y||!Y[z]||!Y[z].findChild,at=function(t,e,n){var r=Z(q,e);r&&delete q[e],J(t,e,n),r&&t!==q&&J(q,e,r)},st=c&&l((function(){return 7!==y(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?at:J,ct=function(t,e){var n=nt[t]=y(X);return W(n,{type:U,tag:t,description:e}),c||(n.description=e),n},ut=function(t,e,n){t===q&&ut(rt,e,n),d(t);var r=v(e);return d(n),f(nt,r)?(n.enumerable?(f(t,H)&&t[H][r]&&(t[H][r]=!1),n=y(n,{enumerable:g(0,!1)})):(f(t,H)||J(t,H,g(1,y(null))),t[H][r]=!0),st(t,r,n)):J(t,r,n)},lt=function(t,e){d(t);var n=h(e),r=b(n).concat(vt(n));return B(r,(function(e){c&&!i(pt,n,e)||ut(t,e,n[e])})),t},ft=function(t,e){return void 0===e?y(t):lt(y(t),e)},pt=function(t){var e=v(t),n=i(tt,this,e);return!(this===q&&f(nt,e)&&!f(rt,e))&&(!(n||!f(this,e)||!f(nt,e)||f(this,H)&&this[H][e])||n)},dt=function(t,e){var n=h(t),r=v(e);if(n!==q||!f(nt,r)||f(rt,r)){var o=Z(n,r);return!o||!f(nt,r)||f(n,H)&&n[H][r]||(o.enumerable=!0),o}},ht=function(t){var e=Q(h(t)),n=[];return B(e,(function(t){f(nt,t)||f(L,t)||et(n,t)})),n},vt=function(t){var e=t===q,n=Q(e?rt:h(t)),r=[];return B(n,(function(t){!f(nt,t)||e&&!f(q,t)||et(r,nt[t])})),r};u||(V=function(){if(p(X,this))throw new K("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,e=M(t),n=function(t){var r=void 0===this?o:this;r===q&&i(n,rt,t),f(r,H)&&f(r[H],e)&&(r[H][e]=!1);var a=g(1,t);try{st(r,e,a)}catch(s){if(!(s instanceof G))throw s;at(r,e,a)}};return c&&it&&st(q,e,{configurable:!0,set:n}),ct(e,t)},X=V[z],O(X,"toString",(function(){return $(this).tag})),O(V,"withoutSetter",(function(t){return ct(M(t),t)})),E.f=pt,_.f=ut,C.f=lt,k.f=dt,w.f=x.f=ht,S.f=vt,P.f=function(t){return ct(R(t),t)},c&&(I(X,"description",{configurable:!0,get:function(){return $(this).description}}),s||O(q,"propertyIsEnumerable",pt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:V}),B(b(ot),(function(t){j(t)})),r({target:U,stat:!0,forced:!u},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:ft,defineProperty:ut,defineProperties:lt,getOwnPropertyDescriptor:dt}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ht}),N(),D(V,U),L[H]=!0},89463:function(t,e,n){"use strict";var r=n(46518),o=n(43724),i=n(24475),a=n(79504),s=n(39297),c=n(94901),u=n(1625),l=n(655),f=n(62106),p=n(77740),d=i.Symbol,h=d&&d.prototype;if(o&&c(d)&&(!("description"in h)||void 0!==d().description)){var v={},m=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=u(h,this)?new d(t):void 0===t?d():d(t);return""===t&&(v[e]=!0),e};p(m,d),m.prototype=h,h.constructor=m;var g="Symbol(description detection)"===String(d("description detection")),y=a(h.valueOf),b=a(h.toString),w=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),S=a("".slice);f(h,"description",{configurable:!0,get:function(){var t=y(this);if(s(v,t))return"";var e=b(t),n=g?S(e,7,-1):x(e,w,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:m})}},81510:function(t,e,n){"use strict";var r=n(46518),o=n(97751),i=n(39297),a=n(655),s=n(25745),c=n(91296),u=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=a(t);if(i(u,e))return u[e];var n=o("Symbol")(e);return u[e]=n,l[n]=e,n}})},2259:function(t,e,n){"use strict";var r=n(70511);r("iterator")},52675:function(t,e,n){"use strict";n(6761),n(81510),n(97812),n(33110),n(49773)},97812:function(t,e,n){"use strict";var r=n(46518),o=n(39297),i=n(10757),a=n(16823),s=n(25745),c=n(91296),u=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!c},{keyFor:function(t){if(!i(t))throw new TypeError(a(t)+" is not a symbol");if(o(u,t))return u[t]}})},45700:function(t,e,n){"use strict";var r=n(70511),o=n(58242);r("toPrimitive"),o()},78125:function(t,e,n){"use strict";var r=n(97751),o=n(70511),i=n(10687);o("toStringTag"),i(r("Symbol"),"Symbol")},65746:function(t,e,n){"use strict";var r,o=n(92744),i=n(24475),a=n(79504),s=n(56279),c=n(3451),u=n(16468),l=n(91625),f=n(20034),p=n(91181).enforce,d=n(79039),h=n(58622),v=Object,m=Array.isArray,g=v.isExtensible,y=v.isFrozen,b=v.isSealed,w=v.freeze,x=v.seal,S=!i.ActiveXObject&&"ActiveXObject"in i,k=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},_=u("WeakMap",k,l),C=_.prototype,E=a(C.set),O=function(){return o&&d((function(){var t=w([]);return E(new _,t,1),!y(t)}))};if(h)if(S){r=l.getConstructor(k,"WeakMap",!0),c.enable();var I=a(C["delete"]),T=a(C.has),A=a(C.get);s(C,{delete:function(t){if(f(t)&&!g(t)){var e=p(this);return e.frozen||(e.frozen=new r),I(this,t)||e.frozen["delete"](t)}return I(this,t)},has:function(t){if(f(t)&&!g(t)){var e=p(this);return e.frozen||(e.frozen=new r),T(this,t)||e.frozen.has(t)}return T(this,t)},get:function(t){if(f(t)&&!g(t)){var e=p(this);return e.frozen||(e.frozen=new r),T(this,t)?A(this,t):e.frozen.get(t)}return A(this,t)},set:function(t,e){if(f(t)&&!g(t)){var n=p(this);n.frozen||(n.frozen=new r),T(this,t)?E(this,t,e):n.frozen.set(t,e)}else E(this,t,e);return this}})}else O()&&s(C,{set:function(t,e){var n;return m(t)&&(y(t)?n=w:b(t)&&(n=x)),E(this,t,e),n&&n(t),this}})},73772:function(t,e,n){"use strict";n(65746)},43375:function(t,e,n){"use strict";n(17642)},39225:function(t,e,n){"use strict";n(58004)},13972:function(t,e,n){"use strict";n(33853)},99209:function(t,e,n){"use strict";n(45876)},25714:function(t,e,n){"use strict";n(32475)},17561:function(t,e,n){"use strict";n(15024)},66197:function(t,e,n){"use strict";n(31698)},2945:function(t,e,n){"use strict";var r=n(46518),o=n(24475),i=n(97751),a=n(79504),s=n(69565),c=n(79039),u=n(655),l=n(22812),f=n(92804).c2i,p=/[^\d+/a-z]/i,d=/[\t\n\f\r ]+/g,h=/[=]{1,2}$/,v=i("atob"),m=String.fromCharCode,g=a("".charAt),y=a("".replace),b=a(p.exec),w=!!v&&!c((function(){return"hi"!==v("aGk=")})),x=w&&c((function(){return""!==v(" ")})),S=w&&!c((function(){v("a")})),k=w&&!c((function(){v()})),_=w&&1!==v.length,C=!w||x||S||k||_;r({global:!0,bind:!0,enumerable:!0,forced:C},{atob:function(t){if(l(arguments.length,1),w&&!x&&!S)return s(v,o,t);var e,n,r,a=y(u(t),d,""),c="",k=0,_=0;if(a.length%4===0&&(a=y(a,h,"")),e=a.length,e%4===1||b(p,a))throw new(i("DOMException"))("The string is not correctly encoded","InvalidCharacterError");while(k<e)n=g(a,k++),r=_%4?64*r+f[n]:f[n],_++%4&&(c+=m(255&r>>(-2*_&6)));return c}})},23500:function(t,e,n){"use strict";var r=n(24475),o=n(67400),i=n(79296),a=n(90235),s=n(66699),c=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var u in o)o[u]&&c(r[u]&&r[u].prototype);c(i)},62953:function(t,e,n){"use strict";var r=n(24475),o=n(67400),i=n(79296),a=n(23792),s=n(66699),c=n(10687),u=n(78227),l=u("iterator"),f=a.values,p=function(t,e){if(t){if(t[l]!==f)try{s(t,l,f)}catch(r){t[l]=f}if(c(t,e,!0),o[e])for(var n in a)if(t[n]!==a[n])try{s(t,n,a[n])}catch(r){t[n]=a[n]}}};for(var d in o)p(r[d]&&r[d].prototype,d);p(i,"DOMTokenList")},55815:function(t,e,n){"use strict";var r=n(46518),o=n(69714),i=n(97751),a=n(79039),s=n(2360),c=n(6980),u=n(24913).f,l=n(36840),f=n(62106),p=n(39297),d=n(90679),h=n(28551),v=n(77536),m=n(32603),g=n(55002),y=n(16193),b=n(91181),w=n(43724),x=n(96395),S="DOMException",k="DATA_CLONE_ERR",_=i("Error"),C=i(S)||function(){try{var t=i("MessageChannel")||o("worker_threads").MessageChannel;(new t).port1.postMessage(new WeakMap)}catch(e){if(e.name===k&&25===e.code)return e.constructor}}(),E=C&&C.prototype,O=_.prototype,I=b.set,T=b.getterFor(S),A="stack"in new _(S),L=function(t){return p(g,t)&&g[t].m?g[t].c:0},M=function(){d(this,R);var t=arguments.length,e=m(t<1?void 0:arguments[0]),n=m(t<2?void 0:arguments[1],"Error"),r=L(n);if(I(this,{type:S,name:n,message:e,code:r}),w||(this.name=n,this.message=e,this.code=r),A){var o=new _(e);o.name=S,u(this,"stack",c(1,y(o.stack,1)))}},R=M.prototype=s(O),P=function(t){return{enumerable:!0,configurable:!0,get:t}},j=function(t){return P((function(){return T(this)[t]}))};w&&(f(R,"code",j("code")),f(R,"message",j("message")),f(R,"name",j("name"))),u(R,"constructor",c(1,M));var N=a((function(){return!(new C instanceof _)})),D=N||a((function(){return O.toString!==v||"2: 1"!==String(new C(1,2))})),F=N||a((function(){return 25!==new C(1,"DataCloneError").code})),B=N||25!==C[k]||25!==E[k],H=x?D||F||B:N;r({global:!0,constructor:!0,forced:H},{DOMException:H?M:C});var U=i(S),z=U.prototype;for(var W in D&&(x||C===U)&&l(z,"toString",v),F&&w&&C===U&&f(z,"code",P((function(){return L(h(this).name)}))),g)if(p(g,W)){var $=g[W],q=$.s,V=c(6,$.c);p(U,q)||u(U,q,V),p(z,q)||u(z,q,V)}},64979:function(t,e,n){"use strict";var r=n(46518),o=n(24475),i=n(97751),a=n(6980),s=n(24913).f,c=n(39297),u=n(90679),l=n(23167),f=n(32603),p=n(55002),d=n(16193),h=n(43724),v=n(96395),m="DOMException",g=i("Error"),y=i(m),b=function(){u(this,w);var t=arguments.length,e=f(t<1?void 0:arguments[0]),n=f(t<2?void 0:arguments[1],"Error"),r=new y(e,n),o=new g(e);return o.name=m,s(r,"stack",a(1,d(o.stack,1))),l(r,this,b),r},w=b.prototype=y.prototype,x="stack"in new g(m),S="stack"in new y(1,2),k=y&&h&&Object.getOwnPropertyDescriptor(o,m),_=!!k&&!(k.writable&&k.configurable),C=x&&!_&&!S;r({global:!0,constructor:!0,forced:v||C},{DOMException:C?b:y});var E=i(m),O=E.prototype;if(O.constructor!==E)for(var I in v||s(O,"constructor",a(1,E)),p)if(c(p,I)){var T=p[I],A=T.s;c(E,A)||s(E,A,a(6,T.c))}},79739:function(t,e,n){"use strict";var r=n(97751),o=n(10687),i="DOMException";o(r(i),i)},47850:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});n(16280);function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},24634:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});n(26099);function r(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,c,"next",t)}function c(t){r(a,o,i,s,c,"throw",t)}s(void 0)}))}}},61249:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});n(60825);var r=n(51979),o=n(9041),i=n(43341);function a(t,e,n){return e=(0,r.A)(e),(0,i.A)(t,(0,o.A)()?Reflect.construct(e,n||[],(0,r.A)(t).constructor):e.apply(t,n))}},77552:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});n(16280);function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},36654:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(34861);function o(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(0,r.A)(o.key),o)}}function i(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}},32362:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var r=n(34861);function o(t,e,n){return e=(0,r.A)(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},51979:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});n(40875),n(63548),n(10287);function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}},57136:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});n(16280);var r=n(64223);function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,r.A)(t,e)}},9041:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});n(60825);function r(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(r=function(){return!!t})()}},7180:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});n(52675),n(2008),n(44114),n(83851),n(81278),n(79432),n(26099),n(23500);var r=n(32362);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){(0,r.A)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},43341:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});n(16280);var r=n(45929),o=n(47850);function i(t,e){if(e&&("object"===(0,r.A)(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.A)(t)}},47546:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});n(52675),n(89463),n(66412),n(2259),n(78125),n(16280),n(44114),n(34782),n(62010),n(4731),n(60479),n(40875),n(63548),n(10287),n(26099),n(47764),n(23500),n(62953);var r=n(45929);function o(){
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
o=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,n){return t[e]=n}}function p(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),s=new M(r||[]);return a(i,"_invoke",{value:I(t,n,s)}),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",v="suspendedYield",m="executing",g="completed",y={};function b(){}function w(){}function x(){}var S={};f(S,c,(function(){return this}));var k=Object.getPrototypeOf,_=k&&k(k(R([])));_&&_!==n&&i.call(_,c)&&(S=_);var C=x.prototype=b.prototype=Object.create(S);function E(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,a,s,c){var u=d(t[o],t,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==(0,r.A)(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(f).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,c)}))}c(u.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function I(e,n,r){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var c=T(s,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var u=d(e,n,r);if("normal"===u.type){if(o=r.done?g:v,u.arg===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=g,r.method="throw",r.arg=u.arg)}}}function T(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator["return"]&&(n.method="return",n.arg=t,T(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=d(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function R(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError((0,r.A)(e)+" is not iterable")}return w.prototype=x,a(C,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:w,configurable:!0}),w.displayName=f(x,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,f(t,l,"GeneratorFunction")),t.prototype=Object.create(C),t},e.awrap=function(t){return{__await:t}},E(O.prototype),f(O.prototype,u,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(p(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(C),f(C,l,"Generator"),f(C,c,(function(){return this})),f(C,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=R,M.prototype={constructor:M,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;L(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:R(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}},64223:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});n(63548),n(10287);function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}},1520:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});n(45700),n(16280),n(89572),n(2892);var r=n(45929);function o(t,e){if("object"!=(0,r.A)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}},34861:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(45929),o=n(1520);function i(t){var e=(0,o.A)(t,"string");return"symbol"==(0,r.A)(e)?e:e+""}},45929:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});n(52675),n(89463),n(2259),n(26099),n(47764),n(62953);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}},58587:function(t,e,n){"use strict";n.d(e,{A:function(){return c}});var r={561:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getAttributes=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["id","class","length"],n=t.attributes;return[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(n)).reduce((function(t,n){return e.indexOf(n.nodeName)>-1||t.push("["+n.nodeName+'="'+n.value+'"]'),t}),[])}},770:(t,e)=>{function n(t){if(!t.hasAttribute("class"))return[];try{return Array.prototype.slice.call(t.classList).filter((function(t){return/^[a-z_-][a-z\d_-]*$/i.test(t)?t:null}))}catch(n){var e=t.getAttribute("class");return(e=e.trim().replace(/\s+/g," ")).split(" ")}}Object.defineProperty(e,"__esModule",{value:!0}),e.getClasses=n,e.getClassSelectors=function(t){return n(t).filter(Boolean).map((function(t){return"."+t}))}},584:(t,e)=>{function n(t,e,r,o,i,a,s){if(a!==s)for(var c=o;c<=i&&i-c+1>=s-a;++c)r[a]=e[c],n(t,e,r,c+1,i,a+1,s);else t.push(r.slice(0,a).join(""))}Object.defineProperty(e,"__esModule",{value:!0}),e.getCombinations=function(t,e){for(var r=[],o=t.length,i=[],a=1;a<=e;++a)n(r,t,i,0,o-1,0,a);return r}},169:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getID=function(t){var e=t.getAttribute("id");return null!==e&&""!==e?e.match(/(?:^\d|:)/)?'[id="'+e+'"]':"#"+e:null}},64:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getNthChild=function(t){var e=0,n=void 0,o=void 0,i=t.parentNode;if(Boolean(i)){var a=i.childNodes,s=a.length;for(n=0;n<s;n++)if(o=a[n],(0,r.isElement)(o)&&(e++,o===t))return":nth-child("+e+")"}return null};var r=n(440)},175:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getParents=function(t){for(var e=[],n=t;(0,r.isElement)(n);)e.push(n),n=n.parentNode;return e};var r=n(440)},970:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getTag=function(t){return t.tagName.toLowerCase().replace(/:/g,"\\:")}},924:(t,e,n)=>{e.A=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.selectorTypes,r=void 0===n?["ID","Class","Tag","NthChild"]:n,o=e.attributesToIgnore,i=void 0===o?["id","class","length"]:o,a=e.excludeRegex,s=void 0===a?null:a,c=[],f=(0,l.getParents)(t),p=!0,d=!1,v=void 0;try{for(var m,g=f[Symbol.iterator]();!(p=(m=g.next()).done);p=!0){var y=h(m.value,r,i,s);Boolean(y)&&c.push(y)}}catch(O){d=!0,v=O}finally{try{!p&&g.return&&g.return()}finally{if(d)throw v}}var b=[],w=!0,x=!1,S=void 0;try{for(var k,_=c[Symbol.iterator]();!(w=(k=_.next()).done);w=!0){var C=k.value;b.unshift(C);var E=b.join(" > ");if((0,u.isUnique)(t,E))return E}}catch(O){x=!0,S=O}finally{try{!w&&_.return&&_.return()}finally{if(x)throw S}}return null};var r=n(169),o=n(770),i=n(584),a=n(561),s=n(64),c=n(970),u=n(213),l=n(175);function f(t,e){var n=t.parentNode.querySelectorAll(e);return 1===n.length&&n[0]===t}function p(t,e){return e.find(f.bind(null,t))}function d(t,e,n){var r=(0,i.getCombinations)(e,3),o=p(t,r);return Boolean(o)||Boolean(n)&&(o=p(t,r=r.map((function(t){return n+t}))),Boolean(o))?o:null}function h(t,e,n,i){var u=void 0,l=function(t,e,n){var i={Tag:c.getTag,NthChild:s.getNthChild,Attributes:function(t){return(0,a.getAttributes)(t,n)},Class:o.getClassSelectors,ID:r.getID};return e.reduce((function(e,n){return e[n]=i[n](t),e}),{})}(t,e,n);i&&i instanceof RegExp&&(l.ID=i.test(l.ID)?null:l.ID,l.Class=l.Class.filter((function(t){return!i.test(t)})));var p=!0,h=!1,v=void 0;try{for(var m,g=e[Symbol.iterator]();!(p=(m=g.next()).done);p=!0){var y=m.value,b=l.ID,w=l.Tag,x=l.Class,S=l.Attributes,k=l.NthChild;switch(y){case"ID":if(Boolean(b)&&f(t,b))return b;break;case"Tag":if(Boolean(w)&&f(t,w))return w;break;case"Class":if(Boolean(x)&&x.length&&(u=d(t,x,w)))return u;break;case"Attributes":if(Boolean(S)&&S.length&&(u=d(t,S,w)))return u;break;case"NthChild":if(Boolean(k))return k}}}catch(_){h=!0,v=_}finally{try{!p&&g.return&&g.return()}finally{if(h)throw v}}return"*"}},440:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.isElement=function(t){var e=void 0;return e="object"===("undefined"==typeof HTMLElement?"undefined":n(HTMLElement))?t instanceof HTMLElement:!!t&&"object"===(void 0===t?"undefined":n(t))&&1===t.nodeType&&"string"==typeof t.nodeName,e}},213:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isUnique=function(t,e){if(!Boolean(e))return!1;var n=t.ownerDocument.querySelectorAll(e);return 1===n.length&&n[0]===t}}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var n=o[t]={exports:{}};return r[t](n,n.exports,i),n.exports}i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var a={};(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,r(o.key),o)}}function n(t,e,n){return(e=r(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(e){var n=function(e,n){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==t(n)?n:String(n)}i.d(a,{A:()=>cr});var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n(this,"feedbackButton",null),n(this,"injectedFeedbackButton",!1),n(this,"buttonHidden",null),n(this,"lastButtonIcon",null)}var r,o,i;return r=t,i=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],(o=[{key:"toggleFeedbackButton",value:function(e){this.buttonHidden=!e,t.getInstance().updateFeedbackButtonState(),en.getInstance().updateContainerStyle()}},{key:"feedbackButtonPressed",value:function(){var t=bt.getInstance();t.isOpened()?t.hideWidget():(t.setAppMode("widget"),t.showWidget())}},{key:"injectFeedbackButton",value:function(){var t=this;if(!this.injectedFeedbackButton){this.injectedFeedbackButton=!0;var e=document.createElement("div");e.onclick=function(){t.feedbackButtonPressed()},document.body.appendChild(e),this.feedbackButton=e,this.updateFeedbackButtonState()}}},{key:"updateNotificationBadge",value:function(t){var e=document.querySelector(".bb-notification-bubble");if(e){var n="bb-notification-bubble--hidden";t>0?(e.classList.remove(n),e.innerText=t):e.classList.add(n)}}},{key:"refresh",value:function(){document.querySelector(".bb-feedback-button")?(this.updateFeedbackButtonText(),this.updateFeedbackButtonState()):(this.injectedFeedbackButton=!1,this.injectFeedbackButton())}},{key:"updateFeedbackButtonText",value:function(){var e=W.getInstance().getFlowConfig();if(e.feedbackButtonPosition===t.FEEDBACK_BUTTON_CLASSIC||e.feedbackButtonPosition===t.FEEDBACK_BUTTON_CLASSIC_BOTTOM||e.feedbackButtonPosition===t.FEEDBACK_BUTTON_CLASSIC_LEFT){var n=document.querySelector(".bb-feedback-button-classic");n&&(n.innerText=e.widgetButtonText)}}},{key:"updateFeedbackButtonState",value:function(){if(null!==this.feedbackButton){var e=W.getInstance().getFlowConfig(),n="";n=e.buttonLogo?'<img class="bb-logo-logo" src="'.concat(e.buttonLogo,'" alt="Feedback Button" />'):p("button","#fff"),this.feedbackButton.className="bb-feedback-button gleap-font gl-block",this.feedbackButton.setAttribute("dir",He.getInstance().isRTLLayout?"rtl":"ltr"),e.feedbackButtonPosition===t.FEEDBACK_BUTTON_CLASSIC||e.feedbackButtonPosition===t.FEEDBACK_BUTTON_CLASSIC_BOTTOM||e.feedbackButtonPosition===t.FEEDBACK_BUTTON_CLASSIC_LEFT?(this.feedbackButton.classList.add("bb-feedback-button--classic-button-style"),this.feedbackButton.innerHTML='<div class="bb-feedback-button-classic '.concat(e.feedbackButtonPosition===t.FEEDBACK_BUTTON_CLASSIC_LEFT?"bb-feedback-button-classic--left":"").concat(e.feedbackButtonPosition===t.FEEDBACK_BUTTON_CLASSIC_BOTTOM?"bb-feedback-button-classic--bottom":"",'">').concat(e.widgetButtonText,"</div>")):n!==this.lastButtonIcon&&(this.feedbackButton.innerHTML='<div class="bb-feedback-button-icon">'.concat(n).concat(p("arrowdown","#fff"),'</div><div class="bb-notification-bubble bb-notification-bubble--hidden"></div>')),this.lastButtonIcon=n;var r=!1;null===t.getInstance().buttonHidden?e.feedbackButtonPosition===t.FEEDBACK_BUTTON_NONE&&(r=!0):t.getInstance().buttonHidden&&(r=!0),r&&this.feedbackButton.classList.add("bb-feedback-button--disabled"),e.feedbackButtonPosition===t.FEEDBACK_BUTTON_BOTTOM_LEFT&&this.feedbackButton.classList.add("bb-feedback-button--bottomleft"),bt.getInstance().isOpened()&&this.feedbackButton.classList.add("bb-feedback-button--open");var o=bt.getInstance().appMode;"survey"!==o&&"survey_full"!==o&&"survey_web"!==o||this.feedbackButton.classList.add("bb-feedback-button--survey"),!0!==e.hideForGuests||M.getInstance().isUser()||this.feedbackButton.classList.add("bb-feedback-button--hidden")}}}])&&e(r.prototype,o),i&&e(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n(o,"FEEDBACK_BUTTON_BOTTOM_RIGHT","BOTTOM_RIGHT"),n(o,"FEEDBACK_BUTTON_BOTTOM_LEFT","BOTTOM_LEFT"),n(o,"FEEDBACK_BUTTON_CLASSIC","BUTTON_CLASSIC"),n(o,"FEEDBACK_BUTTON_CLASSIC_LEFT","BUTTON_CLASSIC_LEFT"),n(o,"FEEDBACK_BUTTON_CLASSIC_BOTTOM","BUTTON_CLASSIC_BOTTOM"),n(o,"FEEDBACK_BUTTON_NONE","BUTTON_NONE"),n(o,"instance",void 0);var l=function(t,e){3===(t=t.replace(/^#/,"")).length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]);var n=c(t.match(/.{2}/g),3),r=n[0],o=n[1],i=n[2],a=[parseInt(r,16)+e,parseInt(o,16)+e,parseInt(i,16)+e];r=a[0],o=a[1],i=a[2],r=Math.max(Math.min(255,r),0).toString(16),o=Math.max(Math.min(255,o),0).toString(16),i=Math.max(Math.min(255,i),0).toString(16);var s=(r.length<2?"0":"")+r,u=(o.length<2?"0":"")+o,l=(i.length<2?"0":"")+i;return"#".concat(s).concat(u).concat(l)},f=function(t){return(299*parseInt(t.substr(1,2),16)+587*parseInt(t.substr(3,2),16)+114*parseInt(t.substr(5,2),16))/1e3>=160?"#000000":"#ffffff"},p=function(t,e){return"button"===t?'<svg class="bb-logo-logo bb-logo-logo--default" width="145" height="144" viewBox="0 0 145 144" fill="none" xmlns="http://www.w3.org/2000/svg">\n    <path fill-rule="evenodd" clip-rule="evenodd" d="M38.9534 15H105.047C113.857 15 121 22.1426 121 30.9534L121 89.5238L121 96.015L121 125.541C121 128.759 117.393 130.66 114.739 128.84L90.1188 111.968H38.9534C30.1426 111.968 23 104.826 23 96.015V30.9534C23 22.1426 30.1426 15 38.9534 15Z" fill="white"/>\n    </svg>':"unmute"===t?'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.1 386.2C556.7 352 576 306.3 576 256c0-60.1-27.7-113.8-70.9-149c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C507.3 170.7 528 210.9 528 256c0 39.1-15.6 74.5-40.9 100.5L449 326.6c19-17.5 31-42.7 31-70.6c0-30.1-13.9-56.9-35.4-74.5c-10.3-8.4-25.4-6.8-33.8 3.5s-6.8 25.4 3.5 33.8C425.1 227.6 432 241 432 256s-6.9 28.4-17.7 37.3c-1.3 1-2.4 2.2-3.4 3.4L352 250.6V64c0-12.6-7.4-24-18.9-29.2s-25-3.1-34.4 5.3L197.8 129.8 38.8 5.1zM352 373.3L82.9 161.3C53.8 167.4 32 193.1 32 224v64c0 35.3 28.7 64 64 64h67.8L298.7 471.9c9.4 8.4 22.9 10.4 34.4 5.3S352 460.6 352 448V373.3z"/></svg>':"mute"===t?'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M533.6 32.5C598.5 85.3 640 165.8 640 256s-41.5 170.8-106.4 223.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C557.5 398.2 592 331.2 592 256s-34.5-142.2-88.7-186.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM473.1 107c43.2 35.2 70.9 88.9 70.9 149s-27.7 113.8-70.9 149c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C475.3 341.3 496 301.1 496 256s-20.7-85.3-53.2-111.8c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zm-60.5 74.5C434.1 199.1 448 225.9 448 256s-13.9 56.9-35.4 74.5c-10.3 8.4-25.4 6.8-33.8-3.5s-6.8-25.4 3.5-33.8C393.1 284.4 400 271 400 256s-6.9-28.4-17.7-37.3c-10.3-8.4-11.8-23.5-3.5-33.8s23.5-11.8 33.8-3.5zM301.1 34.8C312.6 40 320 51.4 320 64V448c0 12.6-7.4 24-18.9 29.2s-25 3.1-34.4-5.3L131.8 352H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h67.8L266.7 40.1c9.4-8.4 22.9-10.4 34.4-5.3z"/></svg>':"replay"===t?'<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">\n    <path d="M48.5 224H40C26.7 224 16 213.3 16 200V72C16 62.3 21.8 53.5 30.8 49.8C39.8 46.1 50.1 48.1 57 55L98.6 96.6C186.2 10.1 327.3 10.4 414.4 97.6C501.9 185.1 501.9 326.9 414.4 414.4C326.9 501.9 185.1 501.9 97.6 414.4C85.1 401.9 85.1 381.6 97.6 369.1C110.1 356.6 130.4 356.6 142.9 369.1C205.4 431.6 306.7 431.6 369.2 369.1C431.7 306.6 431.7 205.3 369.2 142.8C307 80.6 206.5 80.3 143.9 141.8L185 183C191.9 189.9 193.9 200.2 190.2 209.2C186.5 218.2 177.7 224 168 224H48.5Z" />\n    </svg>':"dismiss"===t?'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M294.6 166.6L317.3 144 272 98.7l-22.6 22.6L160 210.7 70.6 121.4 48 98.7 2.7 144l22.6 22.6L114.7 256 25.4 345.4 2.7 368 48 413.3l22.6-22.6L160 301.3l89.4 89.4L272 413.3 317.3 368l-22.6-22.6L205.3 256l89.4-89.4z"/></svg>':"blur"===t?'<svg width="1200pt" height="1200pt" version="1.1" viewBox="0 0 1200 1200" xmlns="http://www.w3.org/2000/svg">\n <path class="bb-svg-path" d="m602.25 1200c238.2 0 435.95-193.26 435.95-435.95 0-269.66-220.23-615.73-435.95-764.05-220.23 161.8-440.45 485.39-440.45 764.05 0 242.7 197.75 435.95 440.45 435.95zm-260.68-382.02c0 112.36 89.887 206.74 206.74 206.74v62.922c-148.32 0-274.16-121.35-274.16-269.66z" fill="#333"/>\n</svg>':"pen"===t?'<svg width="1072px" height="1034px" viewBox="0 0 1072 1034" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n        <g transform="translate(-907.000000, -217.000000)" fill-rule="nonzero">\n            <g transform="translate(907.268457, 217.009827)">\n                <g transform="translate(132.335119, 0.000000)" fill="#000" class="bb-svg-path">\n                    <path d="M20.3764235,730.530173 L10.1884235,720.342173 C-0.791576454,709.362173 -3.16357645,692.432173 4.37592355,678.858173 L83.1809235,537.018173 C71.7589235,502.979173 82.3098335,463.998173 112.254924,440.706173 L655.334924,18.3161733 C689.951924,-8.6058267 739.197924,-5.5388267 770.214924,25.4684733 L913.774924,169.028473 C944.782924,200.040473 947.848924,249.286473 920.927224,283.908473 L498.537224,826.988473 C496.322424,829.836173 493.935624,832.543173 491.384924,835.090073 C467.271924,859.207073 432.513924,866.195073 402.232924,856.063073 L260.382924,934.868073 C246.804924,942.407173 229.874924,940.036073 218.894924,929.055573 L208.706924,918.867573 L20.3764235,730.530173 Z M866.006424,241.190173 C871.393124,234.264373 870.779824,224.417173 864.576724,218.213173 L721.016724,74.6531733 C714.813624,68.4500733 704.965724,67.8367733 698.043724,73.2234733 L154.963724,495.613473 C147.381724,501.507973 146.018424,512.433473 151.912924,520.015473 C152.358234,520.585783 152.834804,521.128773 153.346524,521.636573 L417.586524,785.886573 C424.379524,792.675673 435.391524,792.675673 442.180524,785.886573 C442.692244,785.374853 443.168804,784.831873 443.610224,784.265473 L866.006424,241.190173 Z M342.796424,809.480173 L129.746424,596.430173 L77.9264235,689.707173 L249.516424,861.297173 L342.796424,809.480173 Z"></path>\n                </g>\n                <g transform="translate(-0.000000, 755.530173)" fill="#EB144C">\n                    <path d="M124.711543,0 L313.042043,188.3374 L233.288043,268.0914 C222.003043,279.3764 204.483043,281.5324 190.800043,273.3219 L16.8900429,168.9719 C-2.51595711,157.3309 -5.80895711,130.5499 10.1908429,114.5499 L124.711543,0 Z" class="bb-pen-tip"></path>\n                </g>\n            </g>\n        </g>\n    </g>\n</svg>':"rect"===t?'<svg width="339px" height="241px" viewBox="0 0 339 241" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n        <g transform="translate(-0.000865, 0.000000)" fill-rule="nonzero">\n            <g transform="translate(0.000865, 0.000000)" fill="#000000" class="bb-svg-path">\n                <path d="M339,0 L339,241 L0,241 L0,0 L339,0 Z M312.826351,26.168387 L26.1855674,26.168387 L26.1855674,214.41156 L312.826351,214.41156 L312.826351,26.168387 Z"></path>\n            </g>\n            <g transform="translate(0.000000, 83.206095)" fill="#EB144C" class="bb-pen-tip">\n                <path d="M0,0 L26.186,26.186 L26.1864325,131.205465 L131.204,131.205 L157.792,157.793 L0.000865118243,157.793905 L0,0 Z"></path>\n            </g>\n        </g>\n    </g>\n</svg>':"pointer"===t?'<svg width="1200pt" height="1200pt" version="1.1" viewBox="0 0 1200 1200" xmlns="http://www.w3.org/2000/svg">\n    <path d="m1050.7 508.95-225.94 157.5 160.31 160.31c4.4531 4.4531 6.9141 10.43 6.9141 16.758s-2.4609 12.305-6.9141 16.758l-126.09 126.09c-4.4531 4.4531-10.43 6.9141-16.758 6.9141-6.3281 0-12.188-2.4609-16.758-6.9141l-160.2-160.43-157.62 225.94c-3.3984 4.9219-9.0234 7.8516-14.883 7.8516-0.70313 0-1.5234 0-2.2266-0.11719-6.7969-0.82031-12.422-5.2734-14.766-11.719l-333.16-880.55c-2.5781-6.6797-0.9375-14.297 4.2188-19.336 5.0391-5.0391 12.656-6.6797 19.336-4.2188l880.66 333.05c6.3281 2.3438 10.781 8.0859 11.602 14.766 0.82031 6.7969-2.1094 13.359-7.7344 17.344z" fill="#333"/>\n   </svg>':"clip"===t?'<svg width="600px" height="1126px" viewBox="0 0 600 1126" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n        <g transform="translate(-0.002000, 0.501000)" fill="#333333" fill-rule="nonzero">\n            <path d="M225.002,1124.999 C165.33,1124.999 108.102,1101.292 65.902,1059.097 C23.707,1016.902 5.68434189e-14,959.671 5.68434189e-14,899.997 L5.68434189e-14,299.997 C5.68434189e-14,220.431 31.605,144.127 87.867,87.867 C144.129,31.605 220.437,-4.26325641e-14 299.997,-4.26325641e-14 C379.557,-4.26325641e-14 455.867,31.605 512.127,87.867 C568.389,144.129 599.994,220.437 599.994,299.997 L599.994,1012.497 C599.994,1025.895 592.8456,1038.274 581.244,1044.974 C569.642,1051.6732 555.346,1051.6732 543.744,1044.974 C532.142,1038.2748 524.994,1025.896 524.994,1012.497 L524.994,299.997 C524.994,240.325 501.287,183.097 459.092,140.897 C416.897,98.702 359.666,74.995 299.992,74.995 C240.318,74.995 183.092,98.702 140.892,140.897 C98.697,183.092 74.99,240.323 74.99,299.997 L74.99,899.997 C74.99,953.587 103.58,1003.107 149.99,1029.897 C196.4,1056.694 253.58,1056.694 299.99,1029.897 C346.4,1003.104 374.99,953.585 374.99,899.997 L374.99,337.497 C374.99,310.704 360.697,285.942 337.49,272.544 C314.283,259.149 285.697,259.149 262.49,272.544 C239.283,285.942 224.99,310.704 224.99,337.497 L224.99,824.997 C224.99,838.395 217.8416,850.774 206.24,857.474 C194.638,864.1732 180.342,864.1732 168.74,857.474 C157.138,850.7748 149.99,838.396 149.99,824.997 L149.99,337.497 C149.99,283.907 178.58,234.387 224.99,207.597 C271.4,180.8 328.58,180.8 374.99,207.597 C421.4,234.39 449.99,283.909 449.99,337.497 L449.99,899.997 C449.99,959.669 426.283,1016.897 384.088,1059.097 C341.893,1101.292 284.662,1124.999 224.988,1124.999 L225.002,1124.999 Z" id="Path"></path>\n        </g>\n    </g>\n</svg>':"mic"===t?'<svg\n    width="1200pt"\n    height="1200pt"\n    version="1.1"\n    viewBox="0 0 1200 1200"\n    xmlns="http://www.w3.org/2000/svg"\n  >\n    <g class="bb-svg-path">\n      <path\n        d="m600 862.5c144.75 0 262.5-117.75 262.5-262.5v-300c0-144.75-117.75-262.5-262.5-262.5s-262.5 117.75-262.5 262.5v300c0 144.75 117.75 262.5 262.5 262.5z"\n      />\n      <path\n        d="m1012.5 600c0-20.707-16.793-37.5-37.5-37.5s-37.5 16.793-37.5 37.5c0 186.11-151.41 337.5-337.5 337.5s-337.5-151.39-337.5-337.5c0-20.707-16.793-37.5-37.5-37.5s-37.5 16.793-37.5 37.5c0 214.8 165.08 391.57 375 410.6v114.4c0 20.727 16.793 37.5 37.5 37.5s37.5-16.773 37.5-37.5v-114.4c209.92-19.031 375-195.8 375-410.6z"\n      />\n    </g>\n  </svg>':"camera"===t?'<svg width="1155px" height="1004px" viewBox="0 0 1155 1004" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n        <g fill="#333333" fill-rule="nonzero">\n            <g transform="translate(128.324095, 0.000000)">\n                <path d="M42.7803063,0.00413459787 C31.4357421,0.00413459787 20.5549853,4.41399115 12.5336107,12.2572687 C4.51223664,20.1005462 0.00420584816,30.741831 0.00420584816,41.8370305 L0.00420584816,251.00151 C-0.156199045,262.200455 4.27736739,272.989996 12.315738,280.963903 C20.3585574,288.938257 31.3288589,293.431222 42.7803063,293.431222 C54.2317532,293.431222 65.2018267,288.938592 73.2448746,280.963903 C81.2832452,272.989549 85.7172445,262.200455 85.5564062,251.00151 L85.5564062,83.6699265 L256.660808,83.6699265 C268.112255,83.8267939 279.145066,79.4909873 287.298762,71.6298611 C295.452913,63.7643845 300.04718,53.0359758 300.04718,41.8370305 C300.04718,30.6380854 295.453255,19.9098998 287.298762,12.0441998 C279.144611,4.18307356 268.112255,-0.153157091 256.660808,0.00413459787 L42.7803063,0.00413459787 Z"></path>\n                <path d="M983.227131,710.59444 C971.895913,710.764382 961.099907,715.326799 953.20401,723.279287 C945.312674,731.227538 940.964345,741.91668 941.119476,752.99849 L941.119476,920.330075 L770.015075,920.330075 C758.563631,920.173205 747.530815,924.509015 739.377123,932.370139 C731.222968,940.235615 726.628705,950.964028 726.628705,962.16297 C726.628705,973.361918 731.222627,984.090105 739.377123,991.955802 C747.531272,999.816926 758.563631,1004.15316 770.015075,1003.99587 L983.895579,1003.99587 C995.24014,1003.99587 1006.1209,999.586011 1014.14227,991.742733 C1022.16365,983.899455 1026.67168,973.258169 1026.67168,962.16297 L1026.67168,752.99849 C1026.83208,741.690223 1022.30053,730.801401 1014.11489,722.812989 C1005.93394,714.825472 994.790363,710.415949 983.227131,710.59444 L983.227131,710.59444 Z"></path>\n                <path d="M983.227131,375.93127 C971.895913,376.101212 961.099907,380.66363 953.20401,388.61612 C945.312674,396.56437 940.964345,407.253512 941.119476,418.335325 L941.119476,585.66691 C940.959072,596.865853 945.39264,607.655394 953.431008,615.629303 C961.47383,623.603658 972.444131,628.096618 983.895579,628.096618 C995.347023,628.096618 1006.3171,623.603989 1014.36015,615.629303 C1022.39852,607.654947 1026.83251,596.865853 1026.67168,585.66691 L1026.67168,418.335325 C1026.83208,407.027056 1022.30053,396.138232 1014.11489,388.149822 C1005.93394,380.162305 994.790363,375.752783 983.227131,375.93127 L983.227131,375.93127 Z"></path>\n                <path d="M769.974012,0.00413459787 C758.522563,-0.152733184 747.489752,4.18307356 739.336055,12.0441998 C731.181906,19.9096767 726.587637,30.6380854 726.587637,41.8370305 C726.587637,53.0359758 731.181564,63.7641611 739.336055,71.6298611 C747.490209,79.4909873 758.522563,83.8272181 769.974012,83.6699265 L941.078414,83.6699265 L941.078414,251.00151 C940.918009,262.200455 945.351572,272.989996 953.389945,280.963903 C961.432763,288.938257 972.403063,293.431222 983.854512,293.431222 C995.30596,293.431222 1006.27603,288.938592 1014.31908,280.963903 C1022.35745,272.989549 1026.79145,262.200455 1026.63061,251.00151 L1026.63061,41.8370305 C1026.63061,30.7426118 1022.12133,20.1017733 1014.10121,12.2572687 C1006.08109,4.41276405 995.199876,0.00413459787 983.854512,0.00413459787 L769.974012,0.00413459787 Z"></path>\n                <path d="M427.765208,0.00413459787 C416.31376,-0.152733184 405.280949,4.18307356 397.127256,12.0441998 C388.973102,19.9096767 384.378838,30.6380854 384.378838,41.8370305 C384.378838,53.0359758 388.972761,63.7641611 397.127256,71.6298611 C405.281406,79.4909873 416.31376,83.8272181 427.765208,83.6699265 L598.86961,83.6699265 C610.321058,83.8267939 621.35387,79.4909873 629.507562,71.6298611 C637.661716,63.7643845 642.255985,53.0359758 642.255985,41.8370305 C642.255985,30.6380854 637.662058,19.9098998 629.507562,12.0441998 C621.353413,4.18307356 610.321058,-0.153157091 598.86961,0.00413459787 L427.765208,0.00413459787 Z"></path>\n            </g>\n            <g transform="translate(0.000000, 427.000000)">\n                <path d="M768.516184,22.1826583 C752.659627,13.73125 732.573775,13.73125 717.773442,24.29375 L562.379192,124.6375 L562.379192,31.6875 C562.379192,13.7330104 548.635081,0 530.666079,0 L31.7131123,0 C13.7441105,0 0,13.7330104 0,31.6875 L0,475.3125 C0,493.26699 13.7441105,507 31.7131123,507 L530.666079,507 C548.635081,507 562.379192,493.26699 562.379192,475.3125 L562.379192,382.3625 L717.773442,482.70625 C726.231681,487.9875 735.742444,491.157658 745.257258,491.157658 C753.715498,491.157658 761.113815,489.046567 769.572406,484.820862 C786.485185,475.313732 796,458.414612 796,439.400352 L796,68.6566021 C794.943601,48.5869719 785.428963,31.6878521 768.516184,22.1807219 L768.516184,22.1826583 Z"></path>\n            </g>\n        </g>\n    </g>\n</svg>':"recorderon"===t?'<svg width="1251px" height="1251px" viewBox="0 0 1251 1251" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n        <g>\n            <circle fill="#E31810" cx="625.5" cy="625.5" r="625.5"></circle>\n            <circle fill="#F71008" cx="625" cy="625" r="507"></circle>\n            <g transform="translate(175.000000, 449.000000)" fill="#FFFFFF" fill-rule="nonzero">\n                <path d="M0,347.097493 L0,4.90250696 L135.528311,4.90250696 C161.471024,4.90250696 183.639743,9.49741034 202.034469,18.6872171 C220.429194,27.8770239 234.46286,40.8541449 244.135466,57.6185803 C253.808072,74.3830156 258.644376,94.0714804 258.644376,116.683975 C258.644376,139.40786 253.724206,158.929238 243.883867,175.248107 C234.043527,191.566976 219.814173,204.070682 201.195803,212.759227 C182.577434,221.447772 160.073248,225.792044 133.683247,225.792044 L42.9396629,225.792044 L42.9396629,167.64563 L121.941933,167.64563 C135.807866,167.64563 147.325536,165.751973 156.494943,161.964659 C165.66435,158.177344 172.51345,152.496373 177.042243,144.921744 C181.571035,137.347116 183.835432,127.934526 183.835432,116.683975 C183.835432,105.322032 181.571035,95.7423543 177.042243,87.9449425 C172.51345,80.1475308 165.636395,74.2159282 156.411077,70.1501349 C147.185759,66.0843416 135.584222,64.051445 121.606467,64.051445 L72.6284142,64.051445 L72.6284142,347.097493 L0,347.097493 Z M185.512762,191.37204 L270.888889,347.097493 L190.712487,347.097493 L107.181424,191.37204 L185.512762,191.37204 Z"></path>\n                <polygon points="309.166667 347.097493 309.166667 4.90250696 540.126846 4.90250696 540.126846 64.5527072 381.634607 64.5527072 381.634607 146.091356 528.244113 146.091356 528.244113 205.741556 381.634607 205.741556 381.634607 287.447293 540.796296 287.447293 540.796296 347.097493"></polygon>\n                <path d="M901,124.638783 L827.757943,124.638783 C826.420189,115.158428 823.68894,106.709759 819.564197,99.2927757 C815.439454,91.8757921 810.144176,85.5462611 803.678363,80.3041825 C797.212549,75.0621039 789.77129,71.0468948 781.354585,68.2585551 C772.93788,65.4702155 763.824427,64.0760456 754.014228,64.0760456 C736.288981,64.0760456 720.849065,68.4537389 707.69448,77.2091255 C694.539894,85.964512 684.339516,98.6793409 677.093346,115.353612 C669.847176,132.027883 666.224091,152.243346 666.224091,176 C666.224091,200.425856 669.875046,220.948035 677.176956,237.56654 C684.478866,254.185044 694.707113,266.732573 707.861699,275.209125 C721.016285,283.685678 736.233242,287.923954 753.51257,287.923954 C763.21129,287.923954 772.213263,286.641318 780.518488,284.076046 C788.823714,281.510773 796.209233,277.746515 802.675047,272.78327 C809.14086,267.820025 814.519748,261.769328 818.81171,254.631179 C823.103672,247.493029 826.08575,239.351077 827.757943,230.205323 L901,230.539924 C899.104848,246.26616 894.394837,261.406844 886.869968,275.961977 C879.3451,290.51711 869.256201,303.510773 856.603274,314.942966 C843.950346,326.375158 828.900608,335.409379 811.45406,342.045627 C794.007513,348.681876 774.303504,352 752.342035,352 C721.796641,352 694.512024,345.084918 670.488184,331.254753 C646.464343,317.424588 627.512821,297.404309 613.633619,271.193916 C599.754416,244.983523 592.814815,213.252218 592.814815,176 C592.814815,138.636248 599.838026,106.849176 613.884448,80.6387833 C627.93087,54.4283904 646.993871,34.4359949 671.073451,20.661597 C695.153031,6.88719899 722.242559,0 752.342035,0 C772.185393,0 790.607387,2.78833967 807.608016,8.36501901 C824.608646,13.9416984 839.686254,22.0557668 852.840839,32.7072243 C865.995425,43.3586819 876.72533,56.3802281 885.030556,71.7718631 C893.335782,87.1634981 898.65893,104.785805 901,124.638783 Z"></path>\n            </g>\n        </g>\n    </g>\n</svg>':"recorderoff"===t?'<svg width="1251px" height="1251px" viewBox="0 0 1251 1251" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n      <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n          <g class="bb-rec-on-circle" fill="#EEEEEE" fill-rule="nonzero">\n              <path d="M625.5,0 C970.954111,0 1251,280.045889 1251,625.5 C1251,970.954111 970.954111,1251 625.5,1251 C280.045889,1251 0,970.954111 0,625.5 C0,280.045889 280.045889,0 625.5,0 Z M626,124 C348.753056,124 124,348.753056 124,626 C124,903.246944 348.753056,1128 626,1128 C903.246944,1128 1128,903.246944 1128,626 C1128,348.753056 903.246944,124 626,124 Z"></path>\n          </g>\n          <g class="bb-rec-on-cont" fill="#E31810" transform="translate(86.000000, 86.000000)" fill-rule="nonzero">\n              <path d="M540,0 C241.2,0 0,241.2 0,540 C0,838.8 241.2,1080 540,1080 C838.8,1080 1080,838.8 1080,540 C1080,241.2 838.8,0 540,0 Z M777.6,741.6 C777.6,761.998 761.998,777.6 741.6,777.6 L338.4,777.6 C318.002,777.6 302.4,761.998 302.4,741.6 L302.4,338.4 C302.4,318.002 318.002,302.4 338.4,302.4 L741.6,302.4 C761.998,302.4 777.6,318.002 777.6,338.4 L777.6,741.6 Z"></path>\n          </g>\n      </g>\n  </svg>':"arrowdown"===t?'<svg class="bb-logo-arrowdown" fill="'.concat(e,'" width="100pt" height="100pt" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">\n    <path d="m50 77.637c-1.3477 0-2.6953-0.51562-3.7266-1.543l-44.73-44.73c-2.0586-2.0586-2.0586-5.3945 0-7.4531 2.0586-2.0586 5.3945-2.0586 7.4531 0l41.004 41 41.004-41c2.0586-2.0586 5.3945-2.0586 7.4531 0 2.0586 2.0586 2.0586 5.3945 0 7.4531l-44.73 44.727c-1.0312 1.0312-2.3789 1.5469-3.7266 1.5469z"/>\n   </svg>'):"arrowleft"===t?'<svg fill="'.concat(e,'" width="100pt" height="100pt" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">\n    <path d="m70.988 1.6211c2.1875-2.168 5.7344-2.168 7.9297 0 2.1836 2.168 2.1836 5.7227 0 7.8906l-46.016 40.445 46.016 40.5c2.1836 2.168 2.1836 5.668 0 7.8906-2.1953 2.168-5.7383 2.168-7.9297 0l-50.039-44.109c-1.168-1.168-1.668-2.7227-1.5898-4.2773-0.078125-1.5 0.42188-3.0547 1.5898-4.2227l50.039-44.109z" fill-rule="evenodd"/>\n   </svg>'):"close"===t?'<svg fill="'.concat(e,'" width="100pt" height="100pt" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">\n    <path d="m72.812 33.02l-5.832-5.832-16.98 16.875-16.98-16.875-5.832 5.832 16.875 16.98-16.875 16.98 5.832 5.832 16.98-16.875 16.98 16.875 5.832-5.832-16.875-16.98z"/>\n   </svg>'):"undo"===t?'<svg width="62px" height="60px" viewBox="0 0 62 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n    <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n      <g class="bb-svg-path" transform="translate(-0.000500, 0.001926)" fill-rule="nonzero">\n        <path d="M28.0005,51.6270739 C24.9653,51.0684839 22.0825,49.8731739 19.5396,48.1192739 L13.8208,53.8380739 C17.9536,57.0060739 22.8403,59.0333739 28.0008,59.7286739 L28.0005,51.6270739 Z" id="Path"></path>\n        <path d="M2.2705,33.9980739 C2.96581,39.1582739 4.9932,44.0450739 8.1611,48.1780739 L13.8799,42.4592739 C12.126,39.9162739 10.9307,37.0334739 10.3721,33.9983739 L2.2705,33.9980739 Z" id="Path"></path>\n        <path d="M61.7305,33.9980739 L53.6289,33.9980739 C53.07031,37.0332739 51.875,39.9160739 50.1211,42.4589739 L55.8399,48.1777739 C59.0079,44.0449739 61.0352,39.1582739 61.7305,33.9977739 L61.7305,33.9980739 Z" id="Path"></path>\n        <path d="M4.0005,24.9980739 L24.0005,24.9980739 L24.0005,16.9980739 L14.27,16.9980739 C17.6762,12.3613739 22.7622,9.24417393 28.442,8.31057393 C34.1178,7.38088393 39.934,8.70901393 44.645,12.0175739 C49.352,15.3222739 52.5786,20.3417739 53.6294,25.9975739 L61.731,25.9975739 C60.6646,18.0834739 56.4888,10.9235739 50.129,6.09957393 C43.7657,1.27147393 35.746,-0.818426068 27.836,0.290973932 C19.9298,1.39647393 12.793,5.61127393 8,11.9979739 L8,0.997973932 L-3.55271368e-15,0.997973932 L-3.55271368e-15,20.9979739 C-3.55271368e-15,22.0604739 0.42188,23.0760739 1.1719,23.8260739 C1.92192,24.5760739 2.9375,24.9979739 4,24.9979739 L4.0005,24.9980739 Z" id="Path"></path>\n        <path d="M36.0005,51.6270739 L36.0005,59.7286739 C41.1607,59.0333639 46.0475,57.0059739 50.1805,53.8380739 L44.4617,48.1192739 C41.9187,49.8731739 39.0359,51.0684739 36.0008,51.6270739 L36.0005,51.6270739 Z" id="Path"></path>\n      </g>\n    </g>\n  </svg>':""};function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,m(r.key),r)}}function v(t,e,n){return(e=m(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function m(t){var e=function(t,e){if("object"!=d(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==d(e)?e:String(e)}var g=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),v(this,"startTimestamp",Date.now()),v(this,"requestId",0),v(this,"requests",{}),v(this,"externalRequests",[]),v(this,"maxRequests",30),v(this,"filters",[]),v(this,"defaultBlacklist",["gleap.io"]),v(this,"blacklist",[]),v(this,"initialized",!1),v(this,"stopped",!1),v(this,"loadAllResources",!1)}var e,n,o;return e=t,n=[{key:"setLoadAllResources",value:function(t){this.loadAllResources=t}},{key:"isContentTypeSupported",value:function(t){if("string"!=typeof t)return!1;if(""===t)return!0;t=t.toLocaleLowerCase();for(var e=["text/","xml","json"],n=0;n<e.length;n++)if(t.includes(e[n]))return!0;return!1}},{key:"getRequests",value:function(){var t=JSON.parse(JSON.stringify(Object.values(this.requests)));if(this.externalRequests&&this.externalRequests.length>0&&(t=t.concat(this.externalRequests)),this.filters&&this.filters.length>0)for(var e=0;e<t.length;e++){var n=t[e];if(n&&n.request&&n.request.headers)for(var r=0;r<this.filters.length;r++)delete n.request.headers[this.filters[r]];if(n&&n.request&&n.request.payload){var o=n.request.payload;try{o=JSON.parse(n.request.payload)}catch(u){}if(o){for(r=0;r<this.filters.length;r++)delete o[this.filters[r]];n.request.payload=JSON.stringify(o)}}if(n&&n.response&&n.response.responseText)try{var i=JSON.parse(n.response.responseText);for(r=0;r<this.filters.length;r++)delete i[this.filters[r]];n.response.responseText=JSON.stringify(i)}catch(u){}}try{if("undefined"!=typeof window&&window.performance){var a=window.performance.getEntriesByType("resource");for(e=0;e<a.length;e++){var s=a[e];s&&s.name&&(this.loadAllResources||["xmlhttprequest","fetch"].indexOf(s.initiatorType)>-1)&&!t.find((function(t){return t.url===s.name}))&&t.push({type:"RESOURCE",date:new Date(this.startTimestamp+s.startTime),url:s.name,duration:Math.round(s.duration),initiatorType:s.initiatorType})}}}catch(l){}var c=this.blacklist.concat(this.defaultBlacklist);if(c&&c.length>0)try{t=t.filter((function(t){for(var e=0;e<c.length;e++)if(t&&t.url&&t.url.includes(c[e]))return!1;return!0}))}catch(l){}return t}},{key:"setMaxRequests",value:function(t){t>70&&(t=70),this.maxRequests=t}},{key:"setStopped",value:function(t){this.stopped=t}},{key:"setFilters",value:function(t){this.filters=this.filters.concat(t||[])}},{key:"setBlacklist",value:function(t){this.blacklist=this.blacklist.concat(t||[])}},{key:"cleanRequests",value:function(){var t=Object.keys(this.requests);if(t.length>this.maxRequests)for(var e=t.slice(0,t.length-this.maxRequests),n=0;n<e.length;n++)delete this.requests[e[n]]}},{key:"calcRequestTime",value:function(t){if(t&&this.requests&&this.requests[t]){var e=this.requests[t].date;e&&(this.requests[t].duration=(new Date).getTime()-e.getTime())}}},{key:"getTextContentSize",value:function(t){var e=0;try{e=(new TextEncoder).encode(t).length}catch(n){try{e=encodeURI(s).split(/%..|./).length-1}catch(n){try{e=new Blob([t]).size}catch(n){e=t.length}}}return e/1024/1024}},{key:"cleanupContentSize",value:function(t){return this.getTextContentSize(t)>.15?"<content_too_large>":t}},{key:"cleanupPayload",value:function(t){if(null==t)return"{}";try{if(void 0!==("undefined"==typeof TextDecoder?"undefined":d(TextDecoder))&&ArrayBuffer.isView(t))return(new TextDecoder).decode(t)}catch(e){}return t}},{key:"preparePayload",value:function(t){var e=this.cleanupPayload(t);return this.cleanupContentSize(e)}},{key:"start",value:function(){var t=this;if(!this.initialized){this.initialized=!0;var e=this;this.interceptNetworkRequests({onFetch:function(n,r){if(!t.stopped&&r&&t.requests){if(n.length>0&&void 0!==n[0]&&void 0!==n[0].url)t.requests[r]={url:n[0].url,date:new Date,request:{payload:"",headers:void 0!==n[0].headers?Object.fromEntries(n[0].headers.entries()):{}},type:void 0!==n[0].method?n[0].method:""};else if(n.length>=2&&n[1]){var o=n[1]&&n[1].method?n[1].method:"GET";t.requests[r]={request:{payload:e.preparePayload(n[1].body),headers:n[1].headers},type:o,url:n[0],date:new Date}}else t.requests[r]={url:n[0],date:new Date};t.cleanRequests()}},onFetchLoad:function(n,o){if(!t.stopped&&o&&t.requests&&t.requests[o]){try{t.requests[o].success=!0,t.requests[o].response={status:n.status,statusText:"",responseText:"<request_still_open>"},t.calcRequestTime(o)}catch(r){}try{var i="";n.headers&&void 0!==n.headers.get&&(i=n.headers.get("content-type")),t.isContentTypeSupported(i)?n.text().then((function(r){t.requests[o]&&(t.requests[o].success=!0,t.requests[o].response={status:n.status,statusText:n.statusText,responseText:e.cleanupContentSize(r)}),t.calcRequestTime(o),t.cleanRequests()})).catch((function(e){t.cleanRequests()})):(t.requests[o]&&(t.requests[o].success=!0,t.requests[o].response={status:n.status,statusText:n.statusText,responseText:"<content_type_not_supported>"}),t.calcRequestTime(o),t.cleanRequests())}catch(r){}}},onFetchFailed:function(e,n){!t.stopped&&n&&t.requests&&t.requests[n]&&(t.requests[n].success=!1,t.calcRequestTime(n),t.cleanRequests())},onOpen:function(e,n){t.stopped||(e&&e.bbRequestId&&n.length>=2&&t.requests&&(t.requests[e.bbRequestId]={type:n[0],url:n[1],date:new Date}),t.cleanRequests())},onSend:function(e,n){t.stopped||(e&&e.bbRequestId&&t.requests&&t.requests[e.bbRequestId]&&(t.requests[e.bbRequestId].request={payload:t.preparePayload(n.length>0?n[0]:"{}"),headers:e.requestHeaders}),t.cleanRequests())},onError:function(e,n){!t.stopped&&t.requests&&e&&e.currentTarget&&e.currentTarget.bbRequestId&&t.requests[e.currentTarget.bbRequestId]&&(t.requests[e.currentTarget.bbRequestId].success=!1,t.calcRequestTime(e.bbRequestId)),t.cleanRequests()},onLoad:function(e,n){if(!t.stopped){if(e&&e.currentTarget&&e.currentTarget.bbRequestId&&t.requests&&t.requests[e.currentTarget.bbRequestId]){var r=e.currentTarget,o=r.responseType,i="<"+o+">";""!==o&&"text"!==o||(i=t.cleanupContentSize(r.responseText)),t.requests[r.bbRequestId].success=!0,t.requests[r.bbRequestId].response={status:r.status,statusText:r.statusText,responseText:i},t.calcRequestTime(r.bbRequestId)}t.cleanRequests()}}})}}},{key:"interceptNetworkRequests",value:function(t){var e,n=this,r=XMLHttpRequest.prototype.open,o=XMLHttpRequest.prototype.send;return void 0===XMLHttpRequest.prototype.gleapSetRequestHeader&&(XMLHttpRequest.prototype.gleapSetRequestHeader=XMLHttpRequest.prototype.setRequestHeader),XMLHttpRequest.prototype.gleapSetRequestHeader&&(XMLHttpRequest.prototype.setRequestHeader=function(t,e){this.requestHeaders||(this.requestHeaders={}),this.requestHeaders&&this.requestHeaders.hasOwnProperty(t)||(this.requestHeaders[t]||(this.requestHeaders[t]=[]),this.requestHeaders[t].push(e),this.gleapSetRequestHeader(t,e))}),XMLHttpRequest.prototype.open=function(){return this.bbRequestId=++n.requestId,t.onOpen&&t.onOpen(this,arguments),t.onLoad&&this.addEventListener("load",t.onLoad.bind(t)),t.onError&&this.addEventListener("error",t.onError.bind(t)),r.apply(this,arguments)},XMLHttpRequest.prototype.send=function(){return t.onSend&&t.onSend(this,arguments),o.apply(this,arguments)},window.fetch&&(e=window.fetch,window.fetch=function(){var r=++n.requestId;return t.onFetch(arguments,r),e.apply(this,arguments).then((function(e){if(e&&"function"==typeof e.clone){var n=e.clone();t.onFetchLoad(n,r)}return e})).catch((function(e){throw t.onFetchFailed(e,r),e}))}),t}},{key:"blobToTextPromise",value:function(t){return new Promise((function(e,n){var r=new FileReader;r.onload=function(t){t&&t.target&&t.target.result?e(t.target.result):n()},r.onerror=function(t){n(t)},r.readAsText(t)}))}}],o=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],n&&h(e.prototype,n),o&&h(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();v(g,"instance",void 0);const y=g;var b=function(){return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))},w=function(t){if("string"==typeof t||t instanceof String)try{return JSON.parse(t)}catch(e){return{}}return t},x=function(t,e){return t.length>e?t.slice(0,e)+"...":t},S=function(t){try{var e=t.split("."),r=!1,o=e[e.length-2];return"co"!==o&&"com"!==o&&"gv"!==o&&"ac"!==o&&"edu"!==o&&"gov"!==o&&"mil"!==o&&"net"!==o&&"org"!==o||(r=!0),(e=e.slice(r?-3:-2)).join(".")}catch(n){}return t},k=function(t){try{var e=localStorage.getItem("gleap-widget-".concat(t));if(e)return JSON.parse(e)}catch(i){}return null},_=function(t,e){var n="gleap-widget-".concat(t);if(e)try{localStorage.setItem(n,JSON.stringify(e))}catch(a){}else localStorage.removeItem(n)},C=function(t){"complete"===document.readyState||"loaded"===document.readyState||"interactive"===document.readyState?t():document.addEventListener("DOMContentLoaded",(function(){t()}))};function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?O(Object(n),!0).forEach((function(e){A(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,L(r.key),r)}}function A(t,e,n){return(e=L(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L(t){var e=function(t,e){if("object"!=E(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=E(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==E(e)?e:String(e)}var M=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),A(this,"apiUrl","https://api.gleap.io"),A(this,"wsApiUrl","wss://ws.gleap.io"),A(this,"sdkKey",null),A(this,"updatingSession",!1),A(this,"useCookies",!1),A(this,"session",{gleapId:null,gleapHash:null,name:"",email:"",userId:"",phone:"",value:0}),A(this,"ready",!1),A(this,"onSessionReadyListener",[]),A(this,"setOnSessionReady",(function(t){e.ready?t():e.onSessionReadyListener.push(t)})),A(this,"injectSession",(function(t){t&&e.session&&(t.setRequestHeader("Api-Token",e.sdkKey),t.setRequestHeader("Gleap-Id",e.session.gleapId),t.setRequestHeader("Gleap-Hash",e.session.gleapHash))})),A(this,"clearSession",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.session&&e.session.gleapHash&&Gt.notifyEvent("unregister-pushmessage-group","gleapuser-".concat(e.session.gleapHash));try{_("session-".concat(e.sdkKey),null)}catch(n){}if(e.useCookies)try{!function(t){try{var e=S(window.location.host.split(":")[0]);document.cookie=t+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT; Domain="+e}catch(n){}}("session-".concat(e.sdkKey))}catch(n){}if(e.ready=!1,e.session={gleapId:null,gleapHash:null,name:"",email:"",userId:"",phone:"",value:0},bt.getInstance().sendMessage({name:"session-cleared"},!0),en.getInstance().clearAllNotifications(!1),en.getInstance().setNotificationCount(0),un.getInstance().removeBannerUI(),r&&!isNaN(t)){var o=10*Math.pow(t,2);setTimeout((function(){e.startSession(t+1)}),1e3*o)}})),A(this,"validateSession",(function(t){t&&t.gleapId&&(e.session&&e.session.gleapHash&&Gt.notifyEvent("unregister-pushmessage-group","gleapuser-".concat(e.session.gleapHash)),_("session-".concat(e.sdkKey),t),e.useCookies&&function(t,e,n){try{var r="";if(n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3),r="; expires="+i.toUTCString()}var a=S(window.location.host.split(":")[0]);document.cookie=t+"="+(e||"")+r+"; path=/; domain="+a}catch(o){}}("session-".concat(e.sdkKey),encodeURIComponent(JSON.stringify(t)),365),e.session=t,e.ready=!0,e.session&&e.session.gleapHash&&Gt.notifyEvent("register-pushmessage-group","gleapuser-".concat(e.session.gleapHash)),e.notifySessionReady())})),A(this,"startSession",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;try{if(e.useCookies){var n=function(t){try{for(var e=t+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(e))return o.substring(e.length,o.length)}}catch(i){}return null}("session-".concat(e.sdkKey));if(n){var r=JSON.parse(decodeURIComponent(n));e.validateSession(r)}}}catch(s){}if(!(e.session&&e.session.gleapId&&e.session.gleapId.length>0)){var o=k("session-".concat(e.sdkKey));o&&e.validateSession(o)}var i=e,a=new XMLHttpRequest;a.open("POST",i.apiUrl+"/sessions"),a.setRequestHeader("Content-Type","application/json;charset=UTF-8"),a.setRequestHeader("Api-Token",i.sdkKey);try{e.session&&e.session.gleapId&&e.session.gleapHash&&(a.setRequestHeader("Gleap-Id",e.session.gleapId),a.setRequestHeader("Gleap-Hash",e.session.gleapHash))}catch(s){}a.onreadystatechange=function(e){if(4===a.readyState)if(200===a.status||201===a.status)try{var n=JSON.parse(a.responseText);i.validateSession(n),D.getInstance().restart()}catch(s){}else 429!==a.status&&i.clearSession(t,!0)},a.send(JSON.stringify({lang:He.getInstance().getActiveLanguage()}))})),A(this,"checkIfSessionNeedsUpdate",(function(t,n){if(!e.session||!e.session.userId||!t)return!0;try{if(e.session.userId.toString()!==t.toString())return!0}catch(o){}if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var a=r[i];if(JSON.stringify(e.session[a])!==JSON.stringify(n[a])&&(!e.session.customData||JSON.stringify(e.session.customData[a])!==JSON.stringify(n[a])))return!0}return!1})),A(this,"updateSession",(function(t){var n=e;return new Promise((function(o,i){e.setOnSessionReady((function(){if(!n.session.gleapId||!n.session.gleapHash)return i("Session not ready yet.");var e=new XMLHttpRequest;e.open("POST",n.apiUrl+"/sessions/partialupdate"),e.setRequestHeader("Content-Type","application/json;charset=UTF-8"),e.setRequestHeader("Api-Token",n.sdkKey);try{e.setRequestHeader("Gleap-Id",n.session.gleapId),e.setRequestHeader("Gleap-Hash",n.session.gleapHash)}catch(r){}e.onerror=function(){i()},e.onreadystatechange=function(t){if(4===e.readyState)if(200===e.status||201===e.status)try{var a=JSON.parse(e.responseText);n.validateSession(a),o(a)}catch(r){i(r)}else i()},e.send(JSON.stringify({data:I(I({},t),{},{lang:He.getInstance().getActiveLanguage()}),type:"js",sdkVersion:"13.5.16",ws:!0}))}))}))})),A(this,"identifySession",(function(t,n,r){if(e.checkIfSessionNeedsUpdate(t,n)){var o=e;return new Promise((function(i,a){e.setOnSessionReady((function(){if(!o.session.gleapId||!o.session.gleapHash)return a("Session not ready yet.");var e=new XMLHttpRequest;e.open("POST",o.apiUrl+"/sessions/identify"),e.setRequestHeader("Content-Type","application/json;charset=UTF-8"),e.setRequestHeader("Api-Token",o.sdkKey);try{e.setRequestHeader("Gleap-Id",o.session.gleapId),e.setRequestHeader("Gleap-Hash",o.session.gleapHash)}catch(c){}e.onerror=function(){a()},e.onreadystatechange=function(t){if(4===e.readyState)if(200===e.status||201===e.status)try{var n=JSON.parse(e.responseText);o.validateSession(n),D.getInstance().restart(),i(n)}catch(c){a(c)}else a()};var s=I({},n);n.customData&&(delete s.customData,s=I(I({},s),n.customData)),e.send(JSON.stringify(I(I({},s),{},{userId:t,userHash:r,lang:He.getInstance().getActiveLanguage()})))}))}))}})),A(this,"startProductTourConfig",(function(t){var n=e;return new Promise((function(o,i){e.setOnSessionReady((function(){if(!n.session.gleapId||!n.session.gleapHash)return i("Session not ready yet.");var e=new XMLHttpRequest;e.open("POST",n.apiUrl+"/outbound/producttours"),e.setRequestHeader("Content-Type","application/json;charset=UTF-8"),e.setRequestHeader("Api-Token",n.sdkKey);try{e.setRequestHeader("Gleap-Id",n.session.gleapId),e.setRequestHeader("Gleap-Hash",n.session.gleapHash)}catch(r){}e.onerror=function(){i()},e.onreadystatechange=function(t){if(4===e.readyState)if(200===e.status||201===e.status)try{var n=JSON.parse(e.responseText);n&&n.config&&o(n.config)}catch(r){i(r)}else i()},e.send(JSON.stringify({outboundId:t}))}))}))}))}var e,i,a;return e=t,i=[{key:"getName",value:function(){try{return this.session.name?this.session.name.split(" ")[0].split("@")[0].split(".")[0].split("+")[0]:""}catch(t){return this.session.name}}},{key:"getSession",value:function(){return this.session}},{key:"getGleapId",value:function(){return this.session&&this.session.gleapId?this.session.gleapId:null}},{key:"isUser",value:function(){return!(!this.session||!this.session.userId)}},{key:"notifySessionReady",value:function(){if(this.onSessionReadyListener.length>0)for(var t=0;t<this.onSessionReadyListener.length;t++)this.onSessionReadyListener[t]();this.onSessionReadyListener=[],bt.getInstance().sendSessionUpdate()}}],a=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],i&&T(e.prototype,i),a&&T(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}();function R(t){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},R(t)}function P(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,N(r.key),r)}}function j(t,e,n){return(e=N(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function N(t){var e=function(t,e){if("object"!=R(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=R(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==R(e)?e:String(e)}A(M,"instance",void 0);var D=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),j(this,"eventArray",[]),j(this,"streamedEventArray",[]),j(this,"eventMaxLength",500),j(this,"errorCount",0),j(this,"streamingEvents",!1),j(this,"lastUrl",void 0),j(this,"mainLoopTimeout",null),j(this,"socket",null),j(this,"connectedWebSocketGleapId",null),j(this,"connectionTimeout",null),j(this,"pingWS",null),j(this,"handleOpenBound",null),j(this,"handleErrorBound",null),j(this,"handleMessageBound",null),j(this,"handleCloseBound",null),j(this,"runEventStreamLoop",(function(){var t=e;e.streamEvents(),e.mainLoopTimeout=setTimeout((function(){t.runEventStreamLoop()}),2500)})),j(this,"streamEvents",(function(){if(!(!M.getInstance().ready||e.streamingEvents||e.errorCount>2)&&0!==e.streamedEventArray.length&&e.socket&&e.socket.readyState===e.socket.OPEN){var t=e;e.streamingEvents=!0;var n=new XMLHttpRequest;n.open("POST",M.getInstance().apiUrl+"/sessions/ping"),n.setRequestHeader("Content-Type","application/json;charset=UTF-8"),M.getInstance().injectSession(n),n.onerror=function(){t.errorCount++,t.streamingEvents=!1},n.onreadystatechange=function(e){4===n.readyState&&(200===n.status||201===n.status?t.errorCount=0:t.errorCount++,t.streamingEvents=!1)};var r=_t.getInstance().getSessionDuration();n.send(JSON.stringify({time:r,events:e.streamedEventArray,opened:bt.getInstance().isOpened(),type:"js",sdkVersion:"13.5.16",ws:!0})),e.streamedEventArray=[]}})),this.handleOpenBound=this.handleOpen.bind(this),this.handleErrorBound=this.handleError.bind(this),this.handleMessageBound=this.handleMessage.bind(this),this.handleCloseBound=this.handleClose.bind(this)}var e,r,o;return e=t,o=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],(r=[{key:"cleanupWebSocket",value:function(){this.connectionTimeout&&(clearTimeout(this.connectionTimeout),this.connectionTimeout=null),this.pingWS&&clearInterval(this.pingWS),this.socket&&(this.socket.removeEventListener("open",this.handleOpenBound),this.socket.removeEventListener("error",this.handleErrorBound),this.socket.removeEventListener("message",this.handleMessageBound),this.socket.removeEventListener("close",this.handleCloseBound),this.socket.close(),this.socket=null)}},{key:"initWebSocket",value:function(){this.cleanupWebSocket(),this.connectedWebSocketGleapId=M.getInstance().session.gleapId,M.getInstance().session&&M.getInstance().sdkKey&&(this.socket=new WebSocket("".concat(M.getInstance().wsApiUrl,"?gleapId=").concat(M.getInstance().session.gleapId,"&gleapHash=").concat(M.getInstance().session.gleapHash,"&apiKey=").concat(M.getInstance().sdkKey,"&sdkVersion=").concat("13.5.16")),this.socket.addEventListener("open",this.handleOpenBound),this.socket.addEventListener("message",this.handleMessageBound),this.socket.addEventListener("error",this.handleErrorBound),this.socket.addEventListener("close",this.handleCloseBound))}},{key:"handleOpen",value:function(t){var e=this;this.pingWS=setInterval((function(){e.socket.readyState===e.socket.OPEN&&(e.socket.send("PING"),e.socket.send(9))}),1e4),this.connectionTimeout&&(clearTimeout(this.connectionTimeout),this.connectionTimeout=null)}},{key:"handleMessage",value:function(t){this.processMessage(JSON.parse(t.data))}},{key:"handleError",value:function(t){}},{key:"handleClose",value:function(t){var e=this;setTimeout((function(){e.initWebSocket()}),5e3)}},{key:"processMessage",value:function(t){try{if("update"===t.name){var e=t.data,r=e.a,o=e.u;bt.getInstance().isOpened()||(r&&sr.getInstance().performActions(r),null!=o&&en.getInstance().setNotificationCount(o))}}catch(n){}}},{key:"getEventArray",value:function(){return this.eventArray}},{key:"stop",value:function(){this.cleanupMainLoop()}},{key:"resetErrorCountLoop",value:function(){var t=this;setInterval((function(){t.errorCount=0}),6e4)}},{key:"cleanupMainLoop",value:function(){this.mainLoopTimeout&&(clearInterval(this.mainLoopTimeout),this.mainLoopTimeout=null)}},{key:"restart",value:function(){this.connectedWebSocketGleapId!==M.getInstance().session.gleapId&&this.initWebSocket(),this.cleanupMainLoop(),this.trackInitialEvents(),this.runEventStreamLoop()}},{key:"start",value:function(){this.startPageListener(),this.resetErrorCountLoop()}},{key:"trackInitialEvents",value:function(){t.getInstance().logEvent("sessionStarted"),t.getInstance().logCurrentPage()}},{key:"logCurrentPage",value:function(){if(!sr.getInstance().disablePageTracking){var t=window.location.href;t&&t!==this.lastUrl&&(this.lastUrl=t,this.logEvent("pageView",{page:t}))}}},{key:"startPageListener",value:function(){var t=this;setInterval((function(){t.logCurrentPage()}),1e3)}},{key:"logEvent",value:function(t,e){var n={name:t,date:new Date};e&&(n.data=w(e)),this.eventArray.push(n),this.streamedEventArray.push(n),this.eventArray.length>this.eventMaxLength&&this.eventArray.shift(),this.streamedEventArray.length>this.eventMaxLength&&this.streamedEventArray.shift()}}])&&P(e.prototype,r),o&&P(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();function F(t){return F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},F(t)}function B(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,U(r.key),r)}}function H(t,e,n){return(e=U(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function U(t){var e=function(t,e){if("object"!=F(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=F(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==F(e)?e:String(e)}j(D,"instance",void 0);var z=function(t,e){var n=parseInt(t);return isNaN(n)?e:n},W=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),H(this,"flowConfig",null),H(this,"projectActions",null),H(this,"onConfigLoadedListener",[]),H(this,"aiTools",[]),H(this,"onConfigLoaded",(function(t){null!==e.flowConfig?t():e.onConfigLoadedListener.push(t)})),H(this,"setAiTools",(function(t){e.aiTools=t})),H(this,"getAiTools",(function(){return e.aiTools})),H(this,"start",(function(){var t=M.getInstance(),n=k("config-".concat(t.sdkKey,"-").concat(He.getInstance().getActiveLanguage()));return n?(e.applyConfig(n),e.loadConfigFromServer().catch((function(t){})),Promise.resolve()):e.loadConfigFromServer()})),H(this,"loadConfigFromServer",(function(){var t=e;return new Promise((function(e,n){var r=M.getInstance(),o=new XMLHttpRequest,i=He.getInstance().getActiveLanguage();o.open("GET",r.apiUrl+"/config/"+r.sdkKey+"?lang="+i),o.setRequestHeader("Content-Type","application/json;charset=UTF-8"),r.injectSession(o),o.onerror=function(){n()},o.onreadystatechange=function(i){if(4===o.readyState){if(200===o.status||201===o.status)try{var a=JSON.parse(o.responseText);try{_("config-".concat(r.sdkKey,"-lang"),a)}catch(s){}return t.applyConfig(a),e()}catch(i){}n()}},o.send()}))}))}var e,n,r;return e=t,n=[{key:"getFlowConfig",value:function(){return this.flowConfig}},{key:"applyStylesFromConfig",value:function(){var t=this.flowConfig;sr.setStyles(t.color?t.color:"#485BFF",t.headerColor?t.headerColor:"#485BFF",t.buttonColor?t.buttonColor:"#485BFF",t.backgroundColor?t.backgroundColor:"#FFFFFF",z(t.borderRadius,20),z(t.buttonX,20),z(t.buttonY,20),t.feedbackButtonPosition)}},{key:"notifyConfigLoaded",value:function(){if(this.onConfigLoadedListener.length>0)for(var t=0;t<this.onConfigLoadedListener.length;t++)this.onConfigLoadedListener[t]();this.onConfigLoadedListener=[]}},{key:"applyConfig",value:function(t){try{var e=t.flowConfig;this.flowConfig=e,this.applyStylesFromConfig(),bt.getInstance().sendConfigUpdate(),o.getInstance().updateFeedbackButtonState(),en.getInstance().updateContainerStyle(),e.enableWebReplays?we.getInstance().start():we.getInstance().stop(),e.enableNetworkLogs&&y.getInstance().start(),y.getInstance().setLoadAllResources(!!e.sendNetworkResources),e.networkLogPropsToIgnore&&y.getInstance().setFilters(e.networkLogPropsToIgnore),e.networkLogBlacklist&&y.getInstance().setBlacklist(e.networkLogBlacklist),He.getInstance().updateRTLSupport(),sr.enableShortcuts(!!e.enableShortcuts),this.notifyConfigLoaded()}catch(n){}}}],r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],n&&B(e.prototype,n),r&&B(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();H(W,"instance",void 0);var $=["//fonts.googleapis.com","//cdn.jsdelivr.net","//cdnjs.cloudflare.com","//ajax.googleapis.com","//use.typekit.net",".amazonaws.com","//jssdk.gleap.io",".gstatic.com"],q=function(t,e,n){return r=t,o=/url\((.*?)\)/g,i=function(t){return new Promise((function(r,o){if(!t)return r(t);var i=t.substr(4,t.length-5).replaceAll("'","").replaceAll('"',"");if(0===i.indexOf("http")||0===i.indexOf("//")||0===i.indexOf("data"))return r(t);try{var a=i;return e&&(a=e+"/"+i),n?r("url("+a+")"):V(a).then((function(t){return r("url("+t+")")}))}catch(s){return r(t)}}))},new Promise((function(t,e){var n=[];r.replace(o,(function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];var a=i.apply(void 0,[t].concat(r));n.push(a)})),Promise.all(n).then((function(e){t(r.replace(o,(function(){return e.shift()})))})).catch((function(){e()}))}));var r,o,i},V=function(t){return new Promise((function(e,n){if(t){var r=new XMLHttpRequest;r.onload=function(){var t=new FileReader;t.onloadend=function(){e(t.result)},t.onerror=function(){n()},t.readAsDataURL(r.response)},r.onerror=function(t){e()},r.open("GET",t),r.responseType="blob",r.send()}else e()}))},X=function(t,e,n,r){(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:400,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:400;return new Promise((function(r,o){var i=0===t.indexOf("data:image/jpeg"),a=new Image;a.src=t,a.onerror=function(){o()},a.onload=function(){var t=document.createElement("canvas"),o=e,s=n;e>a.width/4&&(o=a.width/4),n>a.height/4&&(s=a.height/4);var c=a.width,u=a.height;c>u?c>o&&(u*=o/c,c=o):u>s&&(c*=s/u,u=s),t.width=c,t.height=u,t.getContext("2d").drawImage(a,0,0,c,u),r(i?t.toDataURL("image/jpeg",.7):t.toDataURL())}}))})(t,500,500).then((function(t){e.src=t,n()})).catch((function(){console.warn("BB: Image resize failed."),n()}))},G=function(t){return new Promise((function(e,n){if(t&&t.src){if(function(t){if(!t)return!1;for(var e=0;e<$.length;e++)if(-1!==t.indexOf($[e]))return!0;return!1}(t.src))return e();var r=new XMLHttpRequest;r.onload=function(){var n=new FileReader;n.onloadend=function(){X(n.result,t,e)},n.onerror=function(){e()},n.readAsDataURL(r.response)},r.onerror=function(t){e()};var o=t.src;r.open("GET",o),r.responseType="blob",r.send()}else e()}))},K=function(t,e,n,r){var o=null;e.ownerNode&&(o=t.querySelector('[bb-styleid="'+r+'"]'));try{if(o){var i=null;if(""!=n){var a=t.querySelector("head"),s=window.document.createElement("style");a.appendChild(s),s.type="text/css",s.styleSheet?s.styleSheet.cssText=n:s.appendChild(window.document.createTextNode(n)),i=s}else{var c=window.document.createElement("link");c.rel="stylesheet",c.type=e.type,c.href=e.href,c.media=e.media,i=c}i&&(o.parentNode.insertBefore(i,o),o.remove())}}catch(u){}},Y=function(t){var e=null;try{t.cssRules?e=t.cssRules:t.rules&&(e=t.rules)}catch(n){}var r="";if(e)for(var o in e)e[o].cssText&&(r+=e[o].cssText);return r},Z=function(t,e){for(var n,r=[],o=function(){var t=document.styleSheets[i];if(t.media&&"print"===t.media.mediaText)return 1;var o=Y(t);if(t&&t.ownerNode)if(""!=o){var a=document.getElementsByTagName("base");n=a.length?a[0].href.substr(location.origin.length,999):window.location.href,t.href&&(n=t.href);var s=n.substring(0,n.lastIndexOf("/"));r.push(q(o,s,e).then((function(e){return{styletext:e,stylesheet:t,styleId:t.ownerNode.getAttribute("bb-styleid")}})))}else r.push(Promise.resolve({styletext:o,stylesheet:t,styleId:t.ownerNode.getAttribute("bb-styleid")}))},i=0;i<document.styleSheets.length;i++)o();return Promise.all(r).then((function(e){if(e)for(var n=0;n<e.length;n++)K(t,e[n].stylesheet,e[n].styletext,e[n].styleId);return!0}))},J=function(t,e){return new Promise((function(n,r){return e?Z(t,e).then((function(){n()})).catch((function(){n()})):function(t){for(var e=t.querySelectorAll("img"),n=[],r=0;r<e.length;r++){var o=e[r];n.push(G(o))}return Promise.all(n)}(t).then((function(){return Z(t,e).then((function(){n()}))})).catch((function(){console.warn("Gleap: Failed with resolving local resources. Please contact the Gleap support team."),n()}))}))},Q=function(t,e,n){if(void 0!==t.adoptedStyleSheets)for(var r=0;r<t.adoptedStyleSheets.length;r++){var o=t.adoptedStyleSheets[r],i=Y(o),a=window.document.createElement("style");a.type="text/css",a.styleSheet?a.styleSheet.cssText=i:a.appendChild(window.document.createTextNode(i)),n&&a.setAttribute("bb-shadow-child",n),e.insertBefore(a,e.firstElementChild)}},tt=function(t){return new Promise((function(e,n){for(var r=window.document.querySelectorAll("style, link"),o=0;o<r.length;++o)r[o].setAttribute("bb-styleid",o);var i=function(t){var e=1,n=document.createDocumentFragment();!function t(n,r,o){var i=function(e,n,r){for(;e;)t(e,n,r),e=e.nextSibling},a=n.cloneNode();if(void 0!==a.setAttribute){if(o&&a.setAttribute("bb-shadow-child",o),n instanceof HTMLCanvasElement)try{a.setAttribute("bb-canvas-data",n.toDataURL())}catch(f){console.warn("Gleap: Failed to clone canvas data.",f)}if(n instanceof HTMLCanvasElement)try{a.setAttribute("bb-canvas-data",n.toDataURL())}catch(f){console.warn("Gleap: Failed to clone canvas data.",f)}}if(n.nodeType==Node.ELEMENT_NODE){var s=n.tagName?n.tagName.toUpperCase():n.tagName;if("IFRAME"==s||"VIDEO"==s||"EMBED"==s||"IMG"==s||"SVG"==s){var c=n.getBoundingClientRect();a.setAttribute("bb-element",!0),a.setAttribute("bb-height",c.height),a.setAttribute("bb-width",c.width)}if((n.scrollTop>0||n.scrollLeft>0)&&(a.setAttribute("bb-scrollpos",!0),a.setAttribute("bb-scrolltop",n.scrollTop),a.setAttribute("bb-scrollleft",n.scrollLeft)),"SELECT"===s||"TEXTAREA"===s||"INPUT"===s){var u=n.value;("value"===n.getAttribute("gleap-ignore")||n.classList.contains("gl-mask"))&&(u=new Array(u.length+1).join("*")),a.setAttribute("bb-data-value",u),"checkbox"!==n.type&&"radio"!==n.type||!n.checked||a.setAttribute("bb-data-checked",!0)}}if(r.appendChild(a),n.shadowRoot){var l=e;e++,i(n.shadowRoot.firstChild,a,l),Q(n.shadowRoot,a,l),void 0!==a.setAttribute&&a.setAttribute("bb-shadow-parent",l)}i(n.firstChild,a)}(t,n);var r=n.querySelector("head");return r||(r=n),Q(window.document,r),n}(window.document.documentElement),a=i.querySelectorAll("link[rel=import]");for(o=0;o<a.length;++o){var s=a[o];if(s&&s.childNodes&&s.childNodes.length>0){for(var c=s.childNodes;c.length>0;)s.parentNode.insertBefore(c[0],s);s.remove()}}var u=i.querySelectorAll("script, noscript");for(o=0;o<u.length;++o)u[o].remove();var l="",f=i.querySelectorAll("base");for(o=0;o<f.length;++o)f[o].href&&(l=f[o].href),f[o].remove();var p=window.location.href.substring(0,window.location.href.lastIndexOf("/")),d=p+"/";l&&(l.startsWith("http")?d=l:(d=p+l).endsWith("/")||(d+="/"));var h=window.document.createElement("base");h.href=d;var v=i.querySelector("head");v.insertBefore(h,v.firstChild);var m=i.querySelectorAll(".bb-feedback-dialog-container, .bb-capture-editor-borderlayer");for(o=0;o<m.length;++o)m[o].remove();var g=i.querySelectorAll("[bb-element=true]");for(o=0;o<g.length;++o)g[o]&&(g[o].style.height=g[o].getAttribute("bb-height")+"px");J(i,t).then((function(){var t=function(t){var e="",n=window.document.doctype;if(n&&(e="<!DOCTYPE "+n.name+(n.publicId?' PUBLIC "'+n.publicId+'"':"")+(!n.publicId&&n.systemId?" SYSTEM":"")+(n.systemId?' "'+n.systemId+'"':"")+">"),t&&t.childNodes&&t.childNodes.length>0)for(var r=0;r<t.childNodes.length;r++)t.childNodes[r]&&(e+=t.childNodes[r].outerHTML);return e}(i);e({html:t,baseUrl:p,width:window.innerWidth,height:window.innerHeight,isMobile:b()})}))}))};function et(t){return et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},et(t)}function nt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ot(r.key),r)}}function rt(t,e,n){return(e=ot(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t){var e=function(t,e){if("object"!=et(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=et(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==et(e)?e:String(e)}var it=function(){function t(e,n){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),rt(this,"rerender",void 0),rt(this,"stream",void 0),rt(this,"mediaRecorder",void 0),rt(this,"audioMuted",!1),rt(this,"audioAvailable",!0),rt(this,"available",!0),rt(this,"isRecording",!1),rt(this,"file",null),rt(this,"maxRecordTime",120),rt(this,"recordTime",0),rt(this,"recordingTimer",null),rt(this,"permissionErrorText",""),rt(this,"startScreenRecording",(function(){var t=this;if(!navigator.mediaDevices||!navigator.mediaDevices.getDisplayMedia||this.isRecording)return this.available=!1,void this.rerender();navigator.mediaDevices.getDisplayMedia({video:{width:{ideal:Math.min(window.screen.width,3072)},height:{ideal:Math.min(window.screen.height,1728)},frameRate:{ideal:10,max:24},displaySurface:"monitor"},selfBrowserSurface:"include",audio:!0}).then((function(e){t.stream=e,t.audioMuted?(t.audioAvailable=!1,t.handleRecord({stream:e})):t.startAudioRecording(),t.rerender()})).catch((function(e){window.alert(t.permissionErrorText),t.rerender()}))})),rt(this,"stopScreenRecording",(function(){this.mediaRecorder&&this.stream&&this.isRecording&&(this.recordingTimer&&(clearInterval(this.recordingTimer),this.recordingTimer=null),this.mediaRecorder.stop(),this.stream.getTracks().forEach((function(t){t.stop()})),this.rerender())})),rt(this,"startAudioRecording",(function(){var t=this;this.stream&&navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then((function(e){for(var n=0;n<e.getAudioTracks().length;n++)t.stream.addTrack(e.getAudioTracks()[n]);t.audioMuted=!1,t.audioAvailable=!0,t.handleRecord({stream:t.stream}),t.rerender()})).catch((function(e){t.audioAvailable=!1,t.handleRecord({stream:t.stream}),t.rerender()}))})),rt(this,"toggleAudio",(function(){if(this.audioMuted=!this.audioMuted,this.rerender(),this.stream)for(var t=this.stream.getAudioTracks(),e=0;e<t.length;e++)t[e].enabled=!this.audioMuted})),rt(this,"clearPreview",(function(){document.querySelector(".bb-capture-preview video").src=null,this.file=null,this.rerender()})),rt(this,"handleRecord",(function(t){var e=t.stream,n=this,r=[];this.mediaRecorder=new MediaRecorder(e,{mimeType:this.getSupportedMimeType()}),this.isRecording=!0,this.recordTime=0;var o=document.querySelector(".bb-capture-toolbar-item-timer");this.recordingTimer=setInterval((function(){n.recordTime++;var t=n.maxRecordTime-n.recordTime;t>0?o.innerHTML=n.formatTime(t):(o.innerHTML="2:00",n.stopScreenRecording())}),1e3),this.mediaRecorder.ondataavailable=function(t){t.data.size>0&&r.push(t.data)},e.getVideoTracks()[0].onended=function(){n.prepareRecording(r)},this.mediaRecorder.onstop=function(){n.prepareRecording(r)},this.mediaRecorder.start(200),n.rerender()})),rt(this,"prepareRecording",(function(t){var e=new Blob(t,{type:this.getSupportedMimeType()});this.file=new File([e],"screen-recording.".concat("video/mp4"===this.getSupportedMimeType()?"mp4":"webm"),{type:this.getSupportedMimeType()});var n=document.querySelector(".bb-capture-preview video");n&&(n.src=URL.createObjectURL(e),this.audioAvailable=!0,this.isRecording=!1,this.rerender())})),this.rerender=e,this.permissionErrorText=n,navigator.mediaDevices&&navigator.mediaDevices.getDisplayMedia||(this.available=!1),setTimeout((function(){r.rerender()}),100)}var e,n,r;return e=t,(n=[{key:"getSupportedMimeType",value:function(){return MediaRecorder.isTypeSupported("video/mp4")?"video/mp4":MediaRecorder.isTypeSupported("video/webm;codecs=h264")?"video/webm;codecs=h264":"video/webm"}},{key:"formatTime",value:function(t){return(t-(t%=60))/60+(9<t?":":":0")+t}}])&&nt(e.prototype,n),r&&nt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function at(t){return at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(t)}function st(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?st(Object(n),!0).forEach((function(e){lt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ut(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ft(r.key),r)}}function lt(t,e,n){return(e=ft(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ft(t){var e=function(t,e){if("object"!=at(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=at(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==at(e)?e:String(e)}rt(it,"uploadScreenRecording",(function(t){return new Promise((function(e,n){null==t&&e(null);var r=new XMLHttpRequest;r.open("POST",M.getInstance().apiUrl+"/uploads/sdk"),M.getInstance().injectSession(r);var o=new FormData;o.append("file",t),r.send(o),r.onerror=function(){n()},r.onreadystatechange=function(){4==r.readyState&&(200==r.status?e(JSON.parse(r.response).fileUrl):n())}}))}));var pt=function(){function t(e,n,r,o,i,a,s){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),lt(this,"excludeData",{}),lt(this,"type","BUG"),lt(this,"priority","LOW"),lt(this,"customData",{}),lt(this,"ticketAttributes",{}),lt(this,"metaData",{}),lt(this,"consoleLog",[]),lt(this,"networkLogs",[]),lt(this,"customEventLog",[]),lt(this,"formData",{}),lt(this,"isSilent",!1),lt(this,"outboundId",void 0),lt(this,"screenshotData",void 0),lt(this,"webReplay",void 0),lt(this,"screenRecordingUrl",void 0),lt(this,"spamToken",void 0),this.type=e,this.priority=n,this.formData=r,this.isSilent=o,this.excludeData=i,this.outboundId=a,this.spamToken=s}var e,n,o;return e=t,n=[{key:"takeSnapshot",value:function(){var t=this,e=sr.getInstance();this.customData=Wt.getInstance().getCustomData(),this.metaData=_t.getInstance().getMetaData(),this.consoleLog=Lt.getInstance().getLogs(),this.networkLogs=y.getInstance().getRequests(),this.customEventLog=D.getInstance().getEventArray(),this.ticketAttributes=Wt.getInstance().getTicketAttributes();var n=[],r=e.getGlobalDataItem("webReplay");null!==r&&(this.webReplay=r);var o,i=e.getGlobalDataItem("screenRecordingData");if(null!=i){var a=it.uploadScreenRecording(i).then((function(e){e&&(t.screenRecordingUrl=e)}));n.push(a)}if(!this.excludeData||!this.excludeData.screenshot){var s=(o=e.isLiveMode(),tt(o)).then((function(n){if(n){var r=e.getGlobalDataItem("snapshotPosition");n.x=r.x,n.y=r.y,t.screenshotData=n}}));n.push(s)}return Promise.all(n)}},{key:"getData",value:function(){var t={type:this.type,priority:this.priority,customData:this.customData,metaData:this.metaData,consoleLog:this.consoleLog,networkLogs:this.networkLogs,customEventLog:this.customEventLog,formData:ct(ct({},this.ticketAttributes),this.formData),isSilent:this.isSilent,outbound:this.outboundId,screenshotData:this.screenshotData,webReplay:this.webReplay,screenRecordingUrl:this.screenRecordingUrl,spamToken:this.spamToken},e=bn.getInstance().getTags();if(e&&e.length>0&&(t.tags=e),this.excludeData)for(var n=Object.keys(this.excludeData),r=0;r<n.length;r++){var o=n[r];!0===this.excludeData[o]&&(t[o]&&delete t[o],"screenshot"===o&&delete t.screenshotData,"replays"===o&&delete t.webReplay)}return t}},{key:"getTicketData",value:function(){var t=this;return new Promise((function(e,n){t.takeSnapshot().then((function(){var n=t.getData();e(n)})).catch((function(t){console.log("Failed to take snapshot",t),n()}))}))}},{key:"sendFeedback",value:function(){var t=this;return new Promise((function(e,n){t.takeSnapshot().then((function(){var o=t.getData(),i=new XMLHttpRequest;i.open("POST",M.getInstance().apiUrl+"/bugs/v2"),i.setRequestHeader("Content-Type","application/json;charset=UTF-8"),M.getInstance().injectSession(i),i.onerror=function(t){n()},i.onreadystatechange=function(t){if(4===i.readyState)if(200===i.status||201===i.status)try{var o=JSON.parse(i.responseText);e(o)}catch(r){n()}else n()},i.send(JSON.stringify(o))})).catch((function(t){console.log("Failed to take snapshot",t),n()}))}))}}],n&&ut(e.prototype,n),o&&ut(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();function dt(t){return dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dt(t)}function ht(t){return function(t){if(Array.isArray(t))return vt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return vt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function mt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,yt(r.key),r)}}function gt(t,e,n){return(e=yt(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yt(t){var e=function(t,e){if("object"!=dt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=dt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==dt(e)?e:String(e)}var bt=function(){function t(){var e=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),gt(this,"frameUrl","https://messenger-app.gleap.io"),gt(this,"gleapFrameContainer",null),gt(this,"gleapFrame",null),gt(this,"injectedFrame",!1),gt(this,"widgetOpened",!1),gt(this,"listeners",[]),gt(this,"appMode","widget"),gt(this,"markerManager",void 0),gt(this,"escListener",void 0),gt(this,"frameHeight",0),gt(this,"queue",[]),gt(this,"urlHandler",(function(t,e){t&&t.length>0&&(e?window.open(t,"_blank").focus():window.location.href=t)})),gt(this,"autoWhiteListCookieManager",(function(){window&&window.cmp_block_ignoredomains&&window.cmp_block_ignoredomains.concat(["messenger-app.gleap.io"])})),gt(this,"injectFrame",(function(){e.injectedFrame||(e.injectedFrame=!0,e.autoWhiteListCookieManager(),C((function(){W.getInstance().onConfigLoaded((function(){W.getInstance().applyStylesFromConfig();var t=document.createElement("div");t.className="gleap-frame-container gleap-frame-container--hidden gl-block",t.innerHTML='<div class="gleap-frame-container-inner"><iframe src="'.concat(e.frameUrl,'" class="gleap-frame" scrolling="yes" title="Gleap Widget Window" allow="autoplay; encrypted-media; fullscreen;" frameborder="0"></iframe></div>'),document.body.appendChild(t),e.gleapFrameContainer=t,e.gleapFrame=document.querySelector(".gleap-frame"),e.updateFrameStyle(),"widget"===e.appMode&&e.showFrameContainer(!0)}))})))})),gt(this,"showImage",(function(t){C((function(){var e=document.createElement("div");e.className="gleap-image-view",e.innerHTML='<div class="gleap-image-view-close">\n      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm97.9-320l-17 17-47 47 47 47 17 17L320 353.9l-17-17-47-47-47 47-17 17L158.1 320l17-17 47-47-47-47-17-17L192 158.1l17 17 47 47 47-47 17-17L353.9 192z"/></svg>\n      </div><img class="gleap-image-view-image" src="'.concat(t,'" />'),document.body.appendChild(e);var n=function(){e.remove()};e.querySelector(".gleap-image-view-close").addEventListener("click",(function(){n()})),e.addEventListener("click",(function(t){t.target===e&&n()}))}))})),gt(this,"updateFrameStyle",(function(){if(e.gleapFrameContainer){for(var t="gleap-frame-container--survey",n="gleap-frame-container--extended",r="gleap-frame-container--survey-full",i="gleap-frame-container--classic",a="gleap-frame-container--classic-left",s="gleap-frame-container--modern-left",c="gleap-frame-container--no-button",u=[i,a,n,s,c,t,r],l=0;l<u.length;l++)e.gleapFrameContainer.classList.remove(u[l]);var f=void 0,p=W.getInstance().getFlowConfig();p.feedbackButtonPosition!==o.FEEDBACK_BUTTON_CLASSIC&&p.feedbackButtonPosition!==o.FEEDBACK_BUTTON_CLASSIC_BOTTOM||(f=i),p.feedbackButtonPosition===o.FEEDBACK_BUTTON_CLASSIC_LEFT&&(f=a),p.feedbackButtonPosition===o.FEEDBACK_BUTTON_BOTTOM_LEFT&&(f=s),null===o.getInstance().buttonHidden?p.feedbackButtonPosition===o.FEEDBACK_BUTTON_NONE&&(f=c):o.getInstance().buttonHidden&&(f=c),f&&e.gleapFrameContainer.classList.add(f),"survey"===e.appMode&&e.gleapFrameContainer.classList.add(t),"survey_full"!==e.appMode&&"survey_web"!==e.appMode||e.gleapFrameContainer.classList.add(r),"extended"===e.appMode&&e.gleapFrameContainer.classList.add(n),e.gleapFrameContainer.setAttribute("dir",He.getInstance().isRTLLayout?"rtl":"ltr")}})),this.startCommunication(),"undefined"!=typeof window){var n=function(){try{document.documentElement.style.setProperty("--glvh",.01*window.innerHeight+"px")}catch(t){}};try{window.addEventListener("resize",n),n()}catch(i){}}}var e,r,i;return e=t,r=[{key:"setUrlHandler",value:function(t){this.urlHandler=t}},{key:"isSurvey",value:function(){return"survey"===this.appMode||"survey_full"===this.appMode||"survey_web"===this.appMode}},{key:"setAppMode",value:function(t){this.appMode=t,this.updateFrameStyle();var e=document.querySelector(".gleap-frame-container-inner");"widget"!==this.appMode&&"survey_full"!==this.appMode&&"survey_web"!==this.appMode||!e||(e.style.maxHeight="".concat(700,"px"))}},{key:"registerEscListener",value:function(){var t=this;this.escListener||(this.escListener=function(e){"Escape"===(e=e||window.event).key&&t.hideWidget()},document.addEventListener("keydown",this.escListener))}},{key:"unregisterEscListener",value:function(){this.escListener&&(document.removeEventListener("keydown",this.escListener),this.escListener=null)}},{key:"destroy",value:function(){this.gleapFrame&&this.gleapFrame.remove(),this.gleapFrameContainer&&this.gleapFrameContainer.remove(),this.injectedFrame=!1,this.widgetOpened=!1,this.markerManager=void 0,this.gleapFrameContainer=null,this.gleapFrame=null}},{key:"isOpened",value:function(){return this.widgetOpened||null!=this.markerManager}},{key:"showFrameContainer",value:function(t){var e=this;if(this.gleapFrameContainer){var n=W.getInstance().getFlowConfig(),r="gleap-frame-container--loading";this.gleapFrameContainer.classList&&(this.gleapFrameContainer.classList.remove("gleap-frame-container--hidden"),t?(this.gleapFrameContainer.classList.add(r),n.disableBGFade&&this.gleapFrameContainer.classList.add("gleap-frame-container--loading-nofade"),n.disableBGGradient&&this.gleapFrameContainer.classList.add("gleap-frame-container--loading-nogradient")):this.gleapFrameContainer.classList.remove(r),setTimeout((function(){e.gleapFrameContainer.classList.add("gleap-frame-container--animate")}),500)),this.widgetOpened=!0,this.updateUI()}}},{key:"runWidgetShouldOpenCallback",value:function(){this.gleapFrameContainer&&(this.workThroughQueue(),sr.getInstance().setGlobalDataItem("snapshotPosition",{x:window.scrollX,y:window.scrollY}),this.showFrameContainer(!1),this.updateWidgetStatus(),Gt.notifyEvent("open"),this.registerEscListener())}},{key:"updateUI",value:function(){en.getInstance().clearAllNotifications(this.isSurvey()),en.getInstance().setNotificationCount(0),o.getInstance().updateFeedbackButtonState()}},{key:"showWidget",value:function(){var e=this;setTimeout((function(){e.gleapFrameContainer?e.runWidgetShouldOpenCallback():t.getInstance().injectFrame(),e.updateUI()}),0)}},{key:"updateWidgetStatus",value:function(){this.sendMessage({name:"widget-status-update",data:{isWidgetOpen:this.widgetOpened}})}},{key:"hideMarkerManager",value:function(){this.markerManager&&(this.markerManager.clear(),this.markerManager=null)}},{key:"hideWidget",value:function(){"survey_web"!==this.appMode&&(this.hideMarkerManager(),this.gleapFrameContainer&&(this.gleapFrameContainer.classList.add("gleap-frame-container--hidden"),this.gleapFrameContainer.classList.remove("gleap-frame-container--animate")),this.widgetOpened=!1,this.updateWidgetStatus(),o.getInstance().updateFeedbackButtonState(),Gt.notifyEvent("close"),en.getInstance().reloadNotificationsFromCache(),this.unregisterEscListener(),"undefined"!=typeof window&&void 0!==window.focus&&window.focus())}},{key:"sendMessage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{this.gleapFrame=document.querySelector(".gleap-frame"),this.gleapFrame&&this.gleapFrame.contentWindow?this.gleapFrame.contentWindow.postMessage(JSON.stringify(t),"*"):e&&this.queue.push(t)}catch(r){}}},{key:"sendSessionUpdate",value:function(){this.sendMessage({name:"session-update",data:{sessionData:M.getInstance().getSession(),apiUrl:M.getInstance().apiUrl,sdkKey:M.getInstance().sdkKey}})}},{key:"sendConfigUpdate",value:function(){this.sendMessage({name:"config-update",data:{config:W.getInstance().getFlowConfig(),aiTools:W.getInstance().getAiTools(),overrideLanguage:He.getInstance().getOverrideLanguage()}}),this.updateFrameStyle()}},{key:"showDrawingScreen",value:function(t){var e=this;this.hideWidget(),this.markerManager=new je(t),this.markerManager.show((function(t){t||e.hideMarkerManager(),e.showWidget()}))}},{key:"workThroughQueue",value:function(){var t=ht(this.queue);this.queue=[];for(var e=0;e<t.length;e++)this.sendMessage(t[e],!0)}},{key:"startCommunication",value:function(){var t=this;this.addMessageListener((function(e){if("ping"===e.name&&(t.sendConfigUpdate(),t.sendSessionUpdate(),t.workThroughQueue(),setTimeout((function(){t.runWidgetShouldOpenCallback()}),300)),"play-ping"===e.name&&hn.ping(),"open-image"===e.name&&t.showImage(e.data.url),"page-changed"===e.name&&(!e.data||"newsdetails"!==e.data.name&&"appextended"!==e.data.name?"extended"===t.appMode&&t.setAppMode("widget"):t.setAppMode("extended")),"collect-ticket-data"===e.name){var n={customData:Wt.getInstance().getCustomData(),metaData:_t.getInstance().getMetaData(),consoleLog:Lt.getInstance().getLogs(),networkLogs:y.getInstance().getRequests(),customEventLog:D.getInstance().getEventArray(),formData:Wt.getInstance().getTicketAttributes()},r=bn.getInstance().getTags();r&&r.length>0&&(n.tags=r),t.sendMessage({name:"collect-ticket-data",data:n})}if("height-update"===e.name){t.frameHeight=e.data;var o=document.querySelector(".gleap-frame-container-inner");"survey"!==t.appMode&&"survey_full"!==t.appMode&&"survey_web"!==t.appMode||!o||(o.style.maxHeight="".concat(t.frameHeight,"px"))}if("notify-event"===e.name&&Gt.notifyEvent(e.data.type,e.data.data),"cleanup-drawings"===e.name&&t.hideMarkerManager(),"open-url"===e.name){var i=e.data,a=!!e.newTab;t.urlHandler(i,a)}if("run-custom-action"===e.name&&Qt.triggerCustomAction(e.data),"close-widget"===e.name&&t.hideWidget(),"tool-execution"===e.name&&Gt.notifyEvent("tool-execution",e.data),"send-feedback"===e.name){var s=e.data.formData,c=e.data.action,u=e.data.outboundId,l=e.data.spamToken;new pt(c.feedbackType,"MEDIUM",s,!1,c.excludeData,u,l).sendFeedback().then((function(e){t.sendMessage({name:"feedback-sent",data:e}),Gt.notifyEvent("feedback-sent",s)})).catch((function(e){t.sendMessage({name:"feedback-sending-failed",data:"Something went wrong, please try again."}),Gt.notifyEvent("error-while-sending")}))}"start-screen-drawing"===e.name&&t.showDrawingScreen(e.data)})),window.addEventListener("message",(function(e){if(e.origin===t.frameUrl||e.origin===un.getInstance().bannerUrl)try{for(var r=JSON.parse(e.data),o=0;o<t.listeners.length;o++)t.listeners[o]&&t.listeners[o](r)}catch(n){}}))}},{key:"addMessageListener",value:function(t){this.listeners.push(t)}}],i=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],r&&mt(e.prototype,r),i&&mt(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function wt(t){return wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wt(t)}function xt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,kt(r.key),r)}}function St(t,e,n){return(e=kt(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kt(t){var e=function(t,e){if("object"!=wt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=wt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==wt(e)?e:String(e)}gt(bt,"instance",void 0);var _t=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),St(this,"sessionStart",new Date),St(this,"appBuildNumber",""),St(this,"appVersionCode",""),St(this,"environment","prod")}var e,n,r;return e=t,r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}},{key:"setAppVersionCode",value:function(t){this.getInstance().appVersionCode=t}},{key:"setAppBuildNumber",value:function(t){this.getInstance().appBuildNumber=t}}],(n=[{key:"getSessionDuration",value:function(){var t=new Date;return Math.round((t.getTime()-this.sessionStart.getTime())/1e3)}},{key:"getMetaData",value:function(){var t,e,n,r=navigator.userAgent,o=navigator.appName,i=""+parseFloat(navigator.appVersion),a=parseInt(navigator.appVersion,10);-1!==(e=r.indexOf("Opera"))?(o="Opera",i=r.substring(e+6),-1!==(e=r.indexOf("Version"))&&(i=r.substring(e+8))):-1!==(e=r.indexOf("MSIE"))?(o="Microsoft Internet Explorer",i=r.substring(e+5)):-1!==(e=r.indexOf("Chrome"))?(o="Chrome",i=r.substring(e+7)):-1!==(e=r.indexOf("Safari"))?(o="Safari",i=r.substring(e+7),-1!==(e=r.indexOf("Version"))&&(i=r.substring(e+8))):-1!==(e=r.indexOf("Firefox"))?(o="Firefox",i=r.substring(e+8)):(t=r.lastIndexOf(" ")+1)<(e=r.lastIndexOf("/"))&&(o=r.substring(t,e),i=r.substring(e+1),o.toLowerCase()===o.toUpperCase()&&(o=navigator.appName)),-1!==(n=i.indexOf(";"))&&(i=i.substring(0,n)),-1!==(n=i.indexOf(" "))&&(i=i.substring(0,n)),a=parseInt(""+i,10),isNaN(a)&&(i=""+parseFloat(navigator.appVersion),a=parseInt(navigator.appVersion,10));var s="Unknown OS";return-1!==navigator.appVersion.indexOf("Win")&&(s="Windows"),-1!==navigator.appVersion.indexOf("Mac")&&(s="MacOS"),-1!==navigator.appVersion.indexOf("X11")&&(s="UNIX"),-1!==navigator.appVersion.indexOf("Linux")&&(s="Linux"),-1!==navigator.appVersion.indexOf("iPad")&&(s="iPad"),-1!==navigator.appVersion.indexOf("iPhone")&&(s="iPhone"),-1!==navigator.appVersion.indexOf("Android")&&(s="Android"),{browserName:o+"("+i+")",userAgent:r,browser:o,systemName:s,buildVersionNumber:this.appBuildNumber,releaseVersionNumber:this.appVersionCode,sessionDuration:this.getSessionDuration(),devicePixelRatio:window.devicePixelRatio,screenWidth:window.screen.width,screenHeight:window.screen.height,innerWidth:window.innerWidth,innerHeight:window.innerHeight,currentUrl:window.location.href,language:navigator.language||navigator.userLanguage,mobile:b(),sdkVersion:"13.5.16",sdkType:"javascript",environment:this.environment}}}])&&xt(e.prototype,n),r&&xt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Ct(t){return Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ct(t)}function Et(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ot(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Et(Object(n),!0).forEach((function(e){Tt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Et(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function It(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,At(r.key),r)}}function Tt(t,e,n){return(e=At(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function At(t){var e=function(t,e){if("object"!=Ct(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Ct(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ct(e)?e:String(e)}St(_t,"instance",void 0);var Lt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Tt(this,"logArray",[]),Tt(this,"disabled",!1),Tt(this,"originalConsoleLog",void 0),Tt(this,"logMaxLength",500)}var e,r,o;return e=t,r=[{key:"getLogs",value:function(){return this.logArray}},{key:"stop",value:function(){this.disabled=!0,this.originalConsoleLog&&(window.console=this.originalConsoleLog)}},{key:"addLog",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"INFO";!t||t.length<=0||(this.logArray.push({log:x(t,1e3),date:new Date,priority:e}),this.logArray.length>this.logMaxLength&&this.logArray.shift())}},{key:"addLogWithArgs",value:function(t,e){if(t&&!(t.length<=0)){var r="";try{for(var o=0;o<t.length;o++)r+=t[o]+" "}catch(n){}this.addLog(r,e)}}},{key:"start",value:function(){if(!this.disabled){var t,e=this;window.console=(t=window.console,window.console&&t||(t={}),e.originalConsoleLog=t,Ot(Ot({},t),{},{log:function(){e.addLogWithArgs(arguments,"INFO"),t.log&&t.log.apply(t,arguments)},warn:function(){e.addLogWithArgs(arguments,"WARNING"),t.warn&&t.warn.apply(t,arguments)},error:function(){e.addLogWithArgs(arguments,"ERROR"),t.error&&t.error.apply(t,arguments)},info:function(n){e.addLogWithArgs(arguments,"INFO"),t.info&&t.info.apply(t,arguments)}}))}}}],o=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],r&&It(e.prototype,r),o&&It(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Mt(t){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(t)}function Rt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Pt(r.key),r)}}function Pt(t){var e=function(t,e){if("object"!=Mt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Mt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Mt(e)?e:String(e)}Tt(Lt,"instance",void 0);var jt,Nt,Dt,Ft=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,n=[{key:"start",value:function(){document.addEventListener("click",(function(t){t.target&&(bt.getInstance().isOpened()||Lt.getInstance().addLog(function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=x(t.innerText||"",40).replace(/(\r\n|\n|\r)/gm,"").replace(/ +(?= )/g,""),r="",o="";if(void 0!==t.getAttribute){var i=t.getAttribute("id");i&&(r=' id="'.concat(i,'"'));var a=t.getAttribute("class");a&&(o=' class="'.concat(a,'"'))}var s=(t.tagName||"").toLowerCase(),c="<",u=">";return e||(c="[",u="]"),"".concat(c).concat(s).concat(r).concat(o).concat(u).concat(n).concat(c,"/").concat(s).concat(u)}(t.target),"CLICK"))}))}}],r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],n&&Rt(e.prototype,n),r&&Rt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Bt(t){return Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bt(t)}function Ht(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,zt(r.key),r)}}function Ut(t,e,n){return(e=zt(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zt(t){var e=function(t,e){if("object"!=Bt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Bt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Bt(e)?e:String(e)}jt=Ft,Dt=void 0,(Nt=Pt(Nt="instance"))in jt?Object.defineProperty(jt,Nt,{value:Dt,enumerable:!0,configurable:!0,writable:!0}):jt[Nt]=Dt;var Wt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Ut(this,"customData",{}),Ut(this,"ticketAttributes",{})}var e,n,r;return e=t,n=[{key:"getCustomData",value:function(){return this.customData}},{key:"attachCustomData",value:function(t){this.customData=Object.assign(this.customData,w(t))}},{key:"setCustomData",value:function(t,e){this.customData[t]=e}},{key:"removeCustomData",value:function(t){delete this.customData[t]}},{key:"clearCustomData",value:function(){this.customData={}}},{key:"setTicketAttribute",value:function(t,e){this.ticketAttributes[t]=e}},{key:"getTicketAttributes",value:function(){return this.ticketAttributes}}],r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],n&&Ht(e.prototype,n),r&&Ht(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function $t(t){return $t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$t(t)}function qt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Xt(r.key),r)}}function Vt(t,e,n){return(e=Xt(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xt(t){var e=function(t,e){if("object"!=$t(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=$t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==$t(e)?e:String(e)}Ut(Wt,"instance",void 0);var Gt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Vt(this,"eventListeners",{})}var e,n,r;return e=t,r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}},{key:"notifyEvent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("flow-started"===t){var n=sr.getInstance();n.setGlobalDataItem("webReplay",null),n.setGlobalDataItem("screenRecordingData",null),n.takeCurrentReplay()}var r=this.getInstance().eventListeners[t];if(r)for(var o=0;o<r.length;o++){var i=r[o];i&&i(e)}}},{key:"on",value:function(t,e){var n=this.getInstance();n.eventListeners[t]||(n.eventListeners[t]=[]),n.eventListeners[t].push(e)}}],(n=null)&&qt(e.prototype,n),r&&qt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Kt(t){return Kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kt(t)}function Yt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Jt(r.key),r)}}function Zt(t,e,n){return(e=Jt(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jt(t){var e=function(t,e){if("object"!=Kt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Kt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Kt(e)?e:String(e)}Vt(Gt,"instance",void 0);var Qt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Zt(this,"customActionCallbacks",[])}var e,n,r;return e=t,r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}},{key:"registerCustomAction",value:function(t){var e=this.getInstance();e.customActionCallbacks&&e.customActionCallbacks.push(t)}},{key:"triggerCustomAction",value:function(t){var e=this.getInstance();if(e.customActionCallbacks)for(var n=0;n<e.customActionCallbacks.length;n++){var r=e.customActionCallbacks[n];r&&r({name:t})}}}],(n=null)&&Yt(e.prototype,n),r&&Yt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function te(){te=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),s=new A(r||[]);return o(a,"_invoke",{value:E(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var p="suspendedStart",d="suspendedYield",h="executing",v="completed",m={};function g(){}function y(){}function b(){}var w={};u(w,a,(function(){return this}));var x=Object.getPrototypeOf,S=x&&x(x(L([])));S&&S!==n&&r.call(S,a)&&(w=S);var k=b.prototype=g.prototype=Object.create(w);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,e){function n(o,i,a,s){var c=f(t[o],t,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==le(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function E(e,n,r){var o=p;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var c=O(s,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var u=f(e,n,r);if("normal"===u.type){if(o=r.done?v:d,u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=v,r.method="throw",r.arg=u.arg)}}}function O(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=f(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(le(e)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=u(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,c,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},_(C.prototype),u(C.prototype,s,(function(){return this})),e.AsyncIterator=C,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new C(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(k),u(k,c,"Generator"),u(k,a,(function(){return this})),u(k,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=L,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function ee(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,e)||oe(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(t){return function(t){if(Array.isArray(t))return ie(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||oe(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=oe(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function oe(t,e){if(t){if("string"==typeof t)return ie(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ie(t,e):void 0}}function ie(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function se(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ue(r.key),r)}}function ce(t,e,n){return e&&se(t.prototype,e),n&&se(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function ue(t){var e=function(t,e){if("object"!=le(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=le(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==le(e)?e:String(e)}function le(t){return le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},le(t)}Zt(Qt,"instance",void 0);var fe=function(){var t,e;function n(t){var e=null==t?void 0:t.host;return Boolean((null==e?void 0:e.shadowRoot)===t)}function r(t){return"[object ShadowRoot]"===Object.prototype.toString.call(t)}function o(t){try{var e=t.rules||t.cssRules;return e?function(t){return t.includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),t}(Array.from(e).map(i).join("")):null}catch(n){return null}}function i(t){var e=t.cssText;if(function(t){return"styleSheet"in t}(t))try{e=o(t.styleSheet)||e}catch(n){}return e}(e=t||(t={}))[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment";var a=function(){function t(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}return t.prototype.getId=function(t){var e;if(!t)return-1;var n=null===(e=this.getMeta(t))||void 0===e?void 0:e.id;return null!=n?n:-1},t.prototype.getNode=function(t){return this.idNodeMap.get(t)||null},t.prototype.getIds=function(){return Array.from(this.idNodeMap.keys())},t.prototype.getMeta=function(t){return this.nodeMetaMap.get(t)||null},t.prototype.removeNodeFromMap=function(t){var e=this,n=this.getId(t);this.idNodeMap.delete(n),t.childNodes&&t.childNodes.forEach((function(t){return e.removeNodeFromMap(t)}))},t.prototype.has=function(t){return this.idNodeMap.has(t)},t.prototype.hasNode=function(t){return this.nodeMetaMap.has(t)},t.prototype.add=function(t,e){var n=e.id;this.idNodeMap.set(n,t),this.nodeMetaMap.set(t,e)},t.prototype.replace=function(t,e){var n=this.getNode(t);if(n){var r=this.nodeMetaMap.get(n);r&&this.nodeMetaMap.set(e,r)}this.idNodeMap.set(t,e)},t.prototype.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},t}();function s(t){var e=t.maskInputOptions,n=t.tagName,r=t.type,o=t.value,i=t.maskInputFn,a=o||"";return(e[n.toLowerCase()]||e[r])&&(a=i?i(a):"*".repeat(a.length)),a}var c="__rrweb_original__",u=1,l=new RegExp("[^a-z0-9-_:]"),f=-2;function p(){return u++}var d,h,v=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,m=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,g=/^(data:)([^,]*),(.*)/i;function y(t,e){return(t||"").replace(v,(function(t,n,r,o,i,a){var s=r||i||a,c=n||o||"";if(!s)return t;if(!m.test(s)||g.test(s))return"url(".concat(c).concat(s).concat(c,")");if("/"===s[0])return"url(".concat(c).concat(function(t){return(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]}(e)+s).concat(c,")");var u=e.split("/"),l=s.split("/");u.pop();for(var f=0,p=l;f<p.length;f++){var d=p[f];"."!==d&&(".."===d?u.pop():u.push(d))}return"url(".concat(c).concat(u.join("/")).concat(c,")")}))}var b=/^[^ \t\n\r\u000c]+/,w=/^[, \t\n\r\u000c]+/;function x(t,e){if(!e||""===e.trim())return e;var n=t.createElement("a");return n.href=e,n.href}function S(t){return Boolean("svg"===t.tagName||t.ownerSVGElement)}function k(){var t=document.createElement("a");return t.href="",t.href}function _(t,e,n,r){return"src"===n||"href"===n&&r&&("use"!==e||"#"!==r[0])||"xlink:href"===n&&r&&"#"!==r[0]||"background"===n&&r&&("table"===e||"td"===e||"th"===e)?x(t,r):"srcset"===n&&r?function(t,e){if(""===e.trim())return e;var n=0;function r(t){var r,o=t.exec(e.substring(n));return o?(r=o[0],n+=r.length,r):""}for(var o=[];r(w),!(n>=e.length);){var i=r(b);if(","===i.slice(-1))i=x(t,i.substring(0,i.length-1)),o.push(i);else{var a="";i=x(t,i);for(var s=!1;;){var c=e.charAt(n);if(""===c){o.push((i+a).trim());break}if(s)")"===c&&(s=!1);else{if(","===c){n+=1,o.push((i+a).trim());break}"("===c&&(s=!0)}a+=c,n+=1}}}return o.join(", ")}(t,r):"style"===n&&r?y(r,k()):"object"===e&&"data"===n&&r?x(t,r):r}function C(t,e,n){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return!!n&&C(t.parentNode,e,n);for(var r=t.classList.length;r--;){var o=t.classList[r];if(e.test(o))return!0}return!!n&&C(t.parentNode,e,n)}function E(t,e,n){var r=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(null===r)return!1;if("string"==typeof e){if(r.classList.contains(e)||r.closest(".".concat(e)))return!0}else if(C(r,e,!0))return!0;return!(!n||!r.matches(n)&&!r.closest(n))}function O(e,n){var r=n.doc,i=n.mirror,a=n.blockClass,u=n.blockSelector,f=n.maskTextClass,p=n.maskTextSelector,v=n.inlineStylesheet,m=n.maskInputOptions,g=void 0===m?{}:m,b=n.maskTextFn,w=n.maskInputFn,x=n.dataURLOptions,C=void 0===x?{}:x,O=n.inlineImages,I=n.recordCanvas,T=n.keepIframeSrcFn,A=n.newlyAddedElement,L=void 0!==A&&A,M=function(t,e){if(e.hasNode(t)){var n=e.getId(t);return 1===n?void 0:n}}(r,i);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:t.Document,childNodes:[],compatMode:e.compatMode}:{type:t.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:t.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:M};case e.ELEMENT_NODE:return function(e,n){for(var r=n.doc,i=n.blockClass,a=n.blockSelector,u=n.inlineStylesheet,f=n.maskInputOptions,p=void 0===f?{}:f,v=n.maskInputFn,m=n.dataURLOptions,g=void 0===m?{}:m,b=n.inlineImages,w=n.recordCanvas,x=n.keepIframeSrcFn,C=n.newlyAddedElement,E=void 0!==C&&C,O=n.rootId,I=function(t,e,n){if("string"==typeof e){if(t.classList.contains(e))return!0}else for(var r=t.classList.length;r--;){var o=t.classList[r];if(e.test(o))return!0}return!!n&&t.matches(n)}(e,i,a),T=function(t){if(t instanceof HTMLFormElement)return"form";var e=t.tagName.toLowerCase().trim();return l.test(e)?"div":e}(e),A={},L=e.attributes.length,M=0;M<L;M++){var R=e.attributes[M];A[R.name]=_(r,T,R.name,R.value)}if("link"===T&&u){var P=Array.from(r.styleSheets).find((function(t){return t.href===e.href})),j=null;P&&(j=o(P)),j&&(delete A.rel,delete A.href,A._cssText=y(j,P.href))}if("style"===T&&e.sheet&&!(e.innerText||e.textContent||"").trim().length&&(j=o(e.sheet))&&(A._cssText=y(j,k())),"input"===T||"textarea"===T||"select"===T){var N=e.value,D=e.checked;"radio"!==A.type&&"checkbox"!==A.type&&"submit"!==A.type&&"button"!==A.type&&N?A.value=s({type:A.type,tagName:T,value:N,maskInputOptions:p,maskInputFn:v}):D&&(A.checked=D)}if("option"===T&&(e.selected&&!p.select?A.selected=!0:delete A.selected),"canvas"===T&&w)if("2d"===e.__context)(function(t){var e=t.getContext("2d");if(!e)return!0;for(var n=0;n<t.width;n+=50)for(var r=0;r<t.height;r+=50){var o=e.getImageData,i=c in o?o[c]:o;if(new Uint32Array(i.call(e,n,r,Math.min(50,t.width-n),Math.min(50,t.height-r)).data.buffer).some((function(t){return 0!==t})))return!1}return!0})(e)||(A.rr_dataURL=e.toDataURL(g.type,g.quality));else if(!("__context"in e)){var F=e.toDataURL(g.type,g.quality),B=document.createElement("canvas");B.width=e.width,B.height=e.height,F!==B.toDataURL(g.type,g.quality)&&(A.rr_dataURL=F)}if("img"===T&&b){d||(d=r.createElement("canvas"),h=d.getContext("2d"));var H=e,U=H.crossOrigin;H.crossOrigin="anonymous";var z=function(){try{d.width=H.naturalWidth,d.height=H.naturalHeight,h.drawImage(H,0,0),A.rr_dataURL=d.toDataURL(g.type,g.quality)}catch(t){console.warn("Cannot inline img src=".concat(H.currentSrc,"! Error: ").concat(t))}U?A.crossOrigin=U:H.removeAttribute("crossorigin")};H.complete&&0!==H.naturalWidth?z():H.onload=z}if(("audio"===T||"video"===T)&&(A.rr_mediaState=e.paused?"paused":"played",A.rr_mediaCurrentTime=e.currentTime),E||(e.scrollLeft&&(A.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(A.rr_scrollTop=e.scrollTop)),I){var W=e.getBoundingClientRect(),$=W.width,q=W.height;A={class:A.class,rr_width:"".concat($,"px"),rr_height:"".concat(q,"px")}}return"iframe"===T&&!x(A.src)&&(e.contentDocument||(A.rr_src=A.src),delete A.src),{type:t.Element,tagName:T,attributes:A,childNodes:[],isSVG:S(e)||void 0,needBlock:I,rootId:O}}(e,{doc:r,blockClass:a,blockSelector:u,inlineStylesheet:v,maskInputOptions:g,maskInputFn:w,dataURLOptions:C,inlineImages:O,recordCanvas:I,keepIframeSrcFn:T,newlyAddedElement:L,rootId:M});case e.TEXT_NODE:return function(e,n){var r,o=n.maskTextClass,i=n.maskTextSelector,a=n.maskTextFn,s=n.rootId,c=e.parentNode&&e.parentNode.tagName,u=e.textContent,l="STYLE"===c||void 0,f="SCRIPT"===c||void 0;if(l&&u){try{e.nextSibling||e.previousSibling||null!==(r=e.parentNode.sheet)&&void 0!==r&&r.cssRules&&(u=function(t){return t.cssRules?Array.from(t.cssRules).map((function(t){return t.cssText||""})).join(""):""}(e.parentNode.sheet))}catch(b){console.warn("Cannot get CSS styles from text's parentNode. Error: ".concat(b),e)}u=y(u,k())}return f&&(u="SCRIPT_PLACEHOLDER"),!l&&!f&&u&&E(e,o,i)&&(u=a?a(u):u.replace(/[\S]/g,"*")),{type:t.Text,textContent:u||"",isStyle:l,rootId:s}}(e,{maskTextClass:f,maskTextSelector:p,maskTextFn:b,rootId:M});case e.CDATA_SECTION_NODE:return{type:t.CDATA,textContent:"",rootId:M};case e.COMMENT_NODE:return{type:t.Comment,textContent:e.textContent||"",rootId:M};default:return!1}}function I(t){return void 0===t?"":t.toLowerCase()}function T(e,o){var i,a=o.doc,s=o.mirror,c=o.blockClass,u=o.blockSelector,l=o.maskTextClass,d=o.maskTextSelector,h=o.skipChild,v=void 0!==h&&h,m=o.inlineStylesheet,g=void 0===m||m,y=o.maskInputOptions,b=void 0===y?{}:y,w=o.maskTextFn,x=o.maskInputFn,S=o.slimDOMOptions,k=o.dataURLOptions,_=void 0===k?{}:k,C=o.inlineImages,E=void 0!==C&&C,A=o.recordCanvas,L=void 0!==A&&A,M=o.onSerialize,R=o.onIframeLoad,P=o.iframeLoadTimeout,j=void 0===P?5e3:P,N=o.onStylesheetLoad,D=o.stylesheetLoadTimeout,F=void 0===D?5e3:D,B=o.keepIframeSrcFn,H=void 0===B?function(){return!1}:B,U=o.newlyAddedElement,z=void 0!==U&&U,W=o.preserveWhiteSpace,$=void 0===W||W,q=O(e,{doc:a,mirror:s,blockClass:c,blockSelector:u,maskTextClass:l,maskTextSelector:d,inlineStylesheet:g,maskInputOptions:b,maskTextFn:w,maskInputFn:x,dataURLOptions:_,inlineImages:E,recordCanvas:L,keepIframeSrcFn:H,newlyAddedElement:z});if(!q)return console.warn(e,"not serialized"),null;i=s.hasNode(e)?s.getId(e):function(e,n){return!!(n.comment&&e.type===t.Comment||e.type===t.Element&&(n.script&&("script"===e.tagName||"link"===e.tagName&&"preload"===e.attributes.rel&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js"))||n.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(I(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===I(e.attributes.name)||"icon"===I(e.attributes.rel)||"apple-touch-icon"===I(e.attributes.rel)||"shortcut icon"===I(e.attributes.rel)))||"meta"===e.tagName&&(n.headMetaDescKeywords&&I(e.attributes.name).match(/^description|keywords$/)||n.headMetaSocial&&(I(e.attributes.property).match(/^(og|twitter|fb):/)||I(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===I(e.attributes.name))||n.headMetaRobots&&("robots"===I(e.attributes.name)||"googlebot"===I(e.attributes.name)||"bingbot"===I(e.attributes.name))||n.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"]||n.headMetaAuthorship&&("author"===I(e.attributes.name)||"generator"===I(e.attributes.name)||"framework"===I(e.attributes.name)||"publisher"===I(e.attributes.name)||"progid"===I(e.attributes.name)||I(e.attributes.property).match(/^article:/)||I(e.attributes.property).match(/^product:/))||n.headMetaVerification&&("google-site-verification"===I(e.attributes.name)||"yandex-verification"===I(e.attributes.name)||"csrf-token"===I(e.attributes.name)||"p:domain_verify"===I(e.attributes.name)||"verify-v1"===I(e.attributes.name)||"verification"===I(e.attributes.name)||"shopify-checkout-api-token"===I(e.attributes.name)))))}(q,S)||!$&&q.type===t.Text&&!q.isStyle&&!q.textContent.replace(/^\s+|\s+$/gm,"").length?f:p();var V=Object.assign(q,{id:i});if(s.add(e,V),i===f)return null;M&&M(e);var X=!v;if(V.type===t.Element){X=X&&!V.needBlock,delete V.needBlock;var G=e.shadowRoot;G&&r(G)&&(V.isShadowHost=!0)}if((V.type===t.Document||V.type===t.Element)&&X){S.headWhitespace&&V.type===t.Element&&"head"===V.tagName&&($=!1);for(var K={doc:a,mirror:s,blockClass:c,blockSelector:u,maskTextClass:l,maskTextSelector:d,skipChild:v,inlineStylesheet:g,maskInputOptions:b,maskTextFn:w,maskInputFn:x,slimDOMOptions:S,dataURLOptions:_,inlineImages:E,recordCanvas:L,preserveWhiteSpace:$,onSerialize:M,onIframeLoad:R,iframeLoadTimeout:j,onStylesheetLoad:N,stylesheetLoadTimeout:F,keepIframeSrcFn:H},Y=0,Z=Array.from(e.childNodes);Y<Z.length;Y++)(tt=T(Z[Y],K))&&V.childNodes.push(tt);if(function(t){return t.nodeType===t.ELEMENT_NODE}(e)&&e.shadowRoot)for(var J=0,Q=Array.from(e.shadowRoot.childNodes);J<Q.length;J++){var tt;(tt=T(Q[J],K))&&(r(e.shadowRoot)&&(tt.isShadow=!0),V.childNodes.push(tt))}}return e.parentNode&&n(e.parentNode)&&r(e.parentNode)&&(V.isShadow=!0),V.type===t.Element&&"iframe"===V.tagName&&function(t,e,n){var r=t.contentWindow;if(r){var o,i=!1;try{o=r.document.readyState}catch(c){return}if("complete"!==o){var a=setTimeout((function(){i||(e(),i=!0)}),n);return void t.addEventListener("load",(function(){clearTimeout(a),i=!0,e()}))}var s="about:blank";if(r.location.href!==s||t.src===s||""===t.src)return setTimeout(e,0),t.addEventListener("load",e);t.addEventListener("load",e)}}(e,(function(){var t=e.contentDocument;if(t&&R){var n=T(t,{doc:t,mirror:s,blockClass:c,blockSelector:u,maskTextClass:l,maskTextSelector:d,skipChild:!1,inlineStylesheet:g,maskInputOptions:b,maskTextFn:w,maskInputFn:x,slimDOMOptions:S,dataURLOptions:_,inlineImages:E,recordCanvas:L,preserveWhiteSpace:$,onSerialize:M,onIframeLoad:R,iframeLoadTimeout:j,onStylesheetLoad:N,stylesheetLoadTimeout:F,keepIframeSrcFn:H});n&&R(e,n)}}),j),V.type===t.Element&&"link"===V.tagName&&"stylesheet"===V.attributes.rel&&function(t,e,n){var r,o=!1;try{r=t.sheet}catch(a){return}if(!r){var i=setTimeout((function(){o||(e(),o=!0)}),n);t.addEventListener("load",(function(){clearTimeout(i),o=!0,e()}))}}(e,(function(){if(N){var t=T(e,{doc:a,mirror:s,blockClass:c,blockSelector:u,maskTextClass:l,maskTextSelector:d,skipChild:!1,inlineStylesheet:g,maskInputOptions:b,maskTextFn:w,maskInputFn:x,slimDOMOptions:S,dataURLOptions:_,inlineImages:E,recordCanvas:L,preserveWhiteSpace:$,onSerialize:M,onIframeLoad:R,iframeLoadTimeout:j,onStylesheetLoad:N,stylesheetLoadTimeout:F,keepIframeSrcFn:H});t&&N(e,t)}}),F),V}function A(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,r={capture:!0,passive:!0};return n.addEventListener(t,e,r),function(){return n.removeEventListener(t,e,r)}}var L="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",M={map:{},getId:function(){return console.error(L),-1},getNode:function(){return console.error(L),null},removeNodeFromMap:function(){console.error(L)},has:function(){return console.error(L),!1},reset:function(){console.error(L)}};function R(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=null,o=0;return function(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];var c=Date.now();!o&&!1===n.leading&&(o=c);var u=e-(c-o),l=this;u<=0||u>e?(r&&(clearTimeout(r),r=null),o=c,t.apply(l,a)):!r&&!1!==n.trailing&&(r=setTimeout((function(){o=!1===n.leading?0:Date.now(),r=null,t.apply(l,a)}),u))}}function P(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window,i=o.Object.getOwnPropertyDescriptor(t,e);return o.Object.defineProperty(t,e,r?n:{set:function(t){var e=this;setTimeout((function(){n.set.call(e,t)}),0),i&&i.set&&i.set.call(this,t)}}),function(){return P(t,e,i||{},!0)}}function j(t,e,n){try{if(!(e in t))return function(){};var r=t[e],o=n(r);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),t[e]=o,function(){t[e]=r}}catch(i){return function(){}}}function N(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function D(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function F(t,e,n,r){if(!t)return!1;var o=t.nodeType===t.ELEMENT_NODE?t:t.parentElement;if(!o)return!1;if("string"==typeof e){if(o.classList.contains(e)||r&&null!==o.closest("."+e))return!0}else if(C(o,e,r))return!0;return!(!n||!(t.matches(n)||r&&null!==o.closest(n)))}function B(t,e){return e.getId(t)===f}function H(t,e){if(n(t))return!1;var r=e.getId(t);return!e.has(r)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||H(t.parentNode,e))}function U(t){return Boolean(t.changedTouches)}function z(t,e){return Boolean("IFRAME"===t.nodeName&&e.getMeta(t))}function W(t,e){return Boolean("LINK"===t.nodeName&&t.nodeType===t.ELEMENT_NODE&&t.getAttribute&&"stylesheet"===t.getAttribute("rel")&&e.getMeta(t))}function $(t){return Boolean(null==t?void 0:t.shadowRoot)}("undefined"==typeof window?"undefined":le(window))<"u"&&window.Proxy&&window.Reflect&&(M=new Proxy(M,{get:function(t,e,n){return"map"===e&&console.error(L),Reflect.get(t,e,n)}}));var q=function(){function t(){ae(this,t),this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}return ce(t,[{key:"getId",value:function(t){var e;return null!=(e=this.styleIDMap.get(t))?e:-1}},{key:"has",value:function(t){return this.styleIDMap.has(t)}},{key:"add",value:function(t,e){return this.has(t)?this.getId(t):(n=void 0===e?this.id++:e,this.styleIDMap.set(t,n),this.idStyleMap.set(n,t),n);var n}},{key:"getStyle",value:function(t){return this.idStyleMap.get(t)||null}},{key:"reset",value:function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}},{key:"generateId",value:function(){return this.id++}}]),t}(),V=function(t){return t[t.DomContentLoaded=0]="DomContentLoaded",t[t.Load=1]="Load",t[t.FullSnapshot=2]="FullSnapshot",t[t.IncrementalSnapshot=3]="IncrementalSnapshot",t[t.Meta=4]="Meta",t[t.Custom=5]="Custom",t[t.Plugin=6]="Plugin",t}(V||{}),X=function(t){return t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.Input=5]="Input",t[t.TouchMove=6]="TouchMove",t[t.MediaInteraction=7]="MediaInteraction",t[t.StyleSheetRule=8]="StyleSheetRule",t[t.CanvasMutation=9]="CanvasMutation",t[t.Font=10]="Font",t[t.Log=11]="Log",t[t.Drag=12]="Drag",t[t.StyleDeclaration=13]="StyleDeclaration",t[t.Selection=14]="Selection",t[t.AdoptedStyleSheet=15]="AdoptedStyleSheet",t}(X||{}),G=function(t){return t[t.MouseUp=0]="MouseUp",t[t.MouseDown=1]="MouseDown",t[t.Click=2]="Click",t[t.ContextMenu=3]="ContextMenu",t[t.DblClick=4]="DblClick",t[t.Focus=5]="Focus",t[t.Blur=6]="Blur",t[t.TouchStart=7]="TouchStart",t[t.TouchMove_Departed=8]="TouchMove_Departed",t[t.TouchEnd=9]="TouchEnd",t[t.TouchCancel=10]="TouchCancel",t}(G||{}),K=function(t){return t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2",t}(K||{}),Y=function(t){return t[t.Play=0]="Play",t[t.Pause=1]="Pause",t[t.Seeked=2]="Seeked",t[t.VolumeChange=3]="VolumeChange",t[t.RateChange=4]="RateChange",t}(Y||{}),Z=function(t){return t.Start="start",t.Pause="pause",t.Resume="resume",t.Resize="resize",t.Finish="finish",t.FullsnapshotRebuilded="fullsnapshot-rebuilded",t.LoadStylesheetStart="load-stylesheet-start",t.LoadStylesheetEnd="load-stylesheet-end",t.SkipStart="skip-start",t.SkipEnd="skip-end",t.MouseInteraction="mouse-interaction",t.EventCast="event-cast",t.CustomEvent="custom-event",t.Flush="flush",t.StateChange="state-change",t.PlayBack="play-back",t.Destroy="destroy",t}(Z||{});function J(t){return"__ln"in t}var Q=function(){function t(){ae(this,t),this.length=0,this.head=null}return ce(t,[{key:"get",value:function(t){if(t>=this.length)throw new Error("Position outside of list range");for(var e=this.head,n=0;n<t;n++){var r;e=(null===(r=e)||void 0===r?void 0:r.next)||null}return e}},{key:"addNode",value:function(t){var e={value:t,previous:null,next:null};if(t.__ln=e,t.previousSibling&&J(t.previousSibling)){var n=t.previousSibling.__ln.next;e.next=n,e.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=e,n&&(n.previous=e)}else if(t.nextSibling&&J(t.nextSibling)&&t.nextSibling.__ln.previous){var r=t.nextSibling.__ln.previous;e.previous=r,e.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=e,r&&(r.next=e)}else this.head&&(this.head.previous=e),e.next=this.head,this.head=e;this.length++}},{key:"removeNode",value:function(t){var e=t.__ln;!this.head||(e.previous?(e.previous.next=e.next,e.next&&(e.next.previous=e.previous)):(this.head=e.next,this.head&&(this.head.previous=null)),t.__ln&&delete t.__ln,this.length--)}}]),t}(),tt=function(t,e){return"".concat(t,"@").concat(e)},et=function(){function t(){var e=this;ae(this,t),this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=function(t){t.forEach(e.processMutation),e.emit()},this.emit=function(){if(!e.frozen&&!e.locked){for(var t=[],r=new Q,o=function(t){for(var n=t,r=f;r===f;)r=(n=n&&n.nextSibling)&&e.mirror.getId(n);return r},i=function(i){var a,s,c,u,l=null;(null==(s=null==(a=i.getRootNode)?void 0:a.call(i))?void 0:s.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&i.getRootNode().host&&(l=i.getRootNode().host);for(var f=l;(null==(u=null==(c=null===(p=f)||void 0===p?void 0:p.getRootNode)?void 0:c.call(f))?void 0:u.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&f.getRootNode().host;){var p;f=f.getRootNode().host}var d=!(e.doc.contains(i)||f&&e.doc.contains(f));if(i.parentNode&&!d){var h=n(i.parentNode)?e.mirror.getId(l):e.mirror.getId(i.parentNode),v=o(i);if(-1===h||-1===v)return r.addNode(i);var m=T(i,{doc:e.doc,mirror:e.mirror,blockClass:e.blockClass,blockSelector:e.blockSelector,maskTextClass:e.maskTextClass,maskTextSelector:e.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:e.inlineStylesheet,maskInputOptions:e.maskInputOptions,maskTextFn:e.maskTextFn,maskInputFn:e.maskInputFn,slimDOMOptions:e.slimDOMOptions,dataURLOptions:e.dataURLOptions,recordCanvas:e.recordCanvas,inlineImages:e.inlineImages,onSerialize:function(t){z(t,e.mirror)&&e.iframeManager.addIframe(t),W(t,e.mirror)&&e.stylesheetManager.trackLinkElement(t),$(i)&&e.shadowDomManager.addShadowRoot(i.shadowRoot,e.doc)},onIframeLoad:function(t,n){e.iframeManager.attachIframe(t,n),e.shadowDomManager.observeAttachShadow(t)},onStylesheetLoad:function(t,n){e.stylesheetManager.attachLinkElement(t,n)}});m&&t.push({parentId:h,nextId:v,node:m})}};e.mapRemoves.length;)e.mirror.removeNodeFromMap(e.mapRemoves.shift());for(var a=0,s=Array.from(e.movedSet.values());a<s.length;a++){var c=s[a];rt(e.removes,c,e.mirror)&&!e.movedSet.has(c.parentNode)||i(c)}for(var u=0,l=Array.from(e.addedSet.values());u<l.length;u++){var p=l[u];!it(e.droppedSet,p)&&!rt(e.removes,p,e.mirror)||it(e.movedSet,p)?i(p):e.droppedSet.add(p)}for(var d=null;r.length;){var h=null;if(d){var v=e.mirror.getId(d.value.parentNode),m=o(d.value);-1!==v&&-1!==m&&(h=d)}if(!h)for(var g=r.length-1;g>=0;g--){var y=r.get(g);if(y){var b=e.mirror.getId(y.value.parentNode);if(-1===o(y.value))continue;if(-1!==b){h=y;break}var w=y.value;if(w.parentNode&&w.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var x=w.parentNode.host;if(-1!==e.mirror.getId(x)){h=y;break}}}}if(!h){for(;r.head;)r.removeNode(r.head.value);break}d=h.previous,r.removeNode(h.value),i(h.value)}var S={texts:e.texts.map((function(t){return{id:e.mirror.getId(t.node),value:t.value}})).filter((function(t){return e.mirror.has(t.id)})),attributes:e.attributes.map((function(t){return{id:e.mirror.getId(t.node),attributes:t.attributes}})).filter((function(t){return e.mirror.has(t.id)})),removes:e.removes,adds:t};!S.texts.length&&!S.attributes.length&&!S.removes.length&&!S.adds.length||(e.texts=[],e.attributes=[],e.removes=[],e.addedSet=new Set,e.movedSet=new Set,e.droppedSet=new Set,e.movedMap={},e.mutationCb(S))}},this.processMutation=function(t){if(!B(t.target,e.mirror))switch(t.type){case"characterData":var o=t.target.textContent;!F(t.target,e.blockClass,e.blockSelector,!1)&&o!==t.oldValue&&e.texts.push({value:E(t.target,e.maskTextClass,e.maskTextSelector)&&o?e.maskTextFn?e.maskTextFn(o):o.replace(/[\S]/g,"*"):o,node:t.target});break;case"attributes":var i=t.target,a=t.target.getAttribute(t.attributeName);if("value"===t.attributeName&&(a=s({maskInputOptions:e.maskInputOptions,tagName:t.target.tagName,type:t.target.getAttribute("type"),value:a,maskInputFn:e.maskInputFn})),F(t.target,e.blockClass,e.blockSelector,!1)||a===t.oldValue)return;var c=e.attributes.find((function(e){return e.node===t.target}));if("IFRAME"===i.tagName&&"src"===t.attributeName&&!e.keepIframeSrcFn(a)){if(i.contentDocument)return;t.attributeName="rr_src"}if(c||(c={node:t.target,attributes:{}},e.attributes.push(c)),"style"===t.attributeName){var u=e.doc.createElement("span");t.oldValue&&u.setAttribute("style",t.oldValue),(void 0===c.attributes.style||null===c.attributes.style)&&(c.attributes.style={});for(var l=c.attributes.style,f=0,p=Array.from(i.style);f<p.length;f++){var d=p[f],h=i.style.getPropertyValue(d),v=i.style.getPropertyPriority(d);(h!==u.style.getPropertyValue(d)||v!==u.style.getPropertyPriority(d))&&(l[d]=""===v?h:[h,v])}for(var m=0,g=Array.from(u.style);m<g.length;m++){var y=g[m];""===i.style.getPropertyValue(y)&&(l[y]=!1)}}else c.attributes[t.attributeName]=_(e.doc,i.tagName,t.attributeName,a);break;case"childList":if(F(t.target,e.blockClass,e.blockSelector,!0))return;t.addedNodes.forEach((function(n){return e.genAdds(n,t.target)})),t.removedNodes.forEach((function(o){var i=e.mirror.getId(o),a=n(t.target)?e.mirror.getId(t.target.host):e.mirror.getId(t.target);F(t.target,e.blockClass,e.blockSelector,!1)||B(o,e.mirror)||!function(t,e){return-1!==e.getId(t)}(o,e.mirror)||(e.addedSet.has(o)?(nt(e.addedSet,o),e.droppedSet.add(o)):e.addedSet.has(t.target)&&-1===i||H(t.target,e.mirror)||(e.movedSet.has(o)&&e.movedMap[tt(i,a)]?nt(e.movedSet,o):e.removes.push({parentId:a,id:i,isShadow:!(!n(t.target)||!r(t.target))||void 0})),e.mapRemoves.push(o))}))}},this.genAdds=function(t,n){if(e.mirror.hasNode(t)){if(B(t,e.mirror))return;e.movedSet.add(t);var r=null;n&&e.mirror.hasNode(n)&&(r=e.mirror.getId(n)),r&&-1!==r&&(e.movedMap[tt(e.mirror.getId(t),r)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);F(t,e.blockClass,e.blockSelector,!1)||t.childNodes.forEach((function(t){return e.genAdds(t)}))}}return ce(t,[{key:"init",value:function(t){var e=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager"].forEach((function(n){e[n]=t[n]}))}},{key:"freeze",value:function(){this.frozen=!0,this.canvasManager.freeze()}},{key:"unfreeze",value:function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}},{key:"isFrozen",value:function(){return this.frozen}},{key:"lock",value:function(){this.locked=!0,this.canvasManager.lock()}},{key:"unlock",value:function(){this.locked=!1,this.canvasManager.unlock(),this.emit()}},{key:"reset",value:function(){this.shadowDomManager.reset(),this.canvasManager.reset()}}]),t}();function nt(t,e){t.delete(e),e.childNodes.forEach((function(e){return nt(t,e)}))}function rt(t,e,n){return 0!==t.length&&ot(t,e,n)}function ot(t,e,n){var r=e.parentNode;if(!r)return!1;var o=n.getId(r);return!!t.some((function(t){return t.id===o}))||ot(t,r,n)}function it(t,e){return 0!==t.size&&at(t,e)}function at(t,e){var n=e.parentNode;return!!n&&(!!t.has(n)||at(t,n))}var st=Object.defineProperty,ct=Object.defineProperties,ut=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,dt=function(t,e,n){return e in t?st(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},ht=function(t,e){for(var n in e||(e={}))ft.call(e,n)&&dt(t,n,e[n]);if(lt){var r,o=re(lt(e));try{for(o.s();!(r=o.n()).done;)n=r.value,pt.call(e,n)&&dt(t,n,e[n])}catch(i){o.e(i)}finally{o.f()}}return t},vt=function(t,e){return ct(t,ut(e))},mt=[],gt=("undefined"==typeof CSSGroupingRule?"undefined":le(CSSGroupingRule))<"u",yt=("undefined"==typeof CSSMediaRule?"undefined":le(CSSMediaRule))<"u",bt=("undefined"==typeof CSSSupportsRule?"undefined":le(CSSSupportsRule))<"u",wt=("undefined"==typeof CSSConditionRule?"undefined":le(CSSConditionRule))<"u";function xt(t){try{if("composedPath"in t){var e=t.composedPath();if(e.length)return e[0]}else if("path"in t&&t.path.length)return t.path[0];return t.target}catch(n){return t.target}}function St(t,e){var n,r,o,i=new et;mt.push(i),i.init(t);var a=window.MutationObserver||window.__rrMutationObserver,s=null==(o=null==(r=null===(n=window)||void 0===n?void 0:n.Zone)?void 0:r.__symbol__)?void 0:o.call(r,"MutationObserver");s&&window[s]&&(a=window[s]);var c=new a(i.processMutations.bind(i));return c.observe(e,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),c}function kt(t){var e=t.mouseInteractionCb,n=t.doc,r=t.mirror,o=t.blockClass,i=t.blockSelector,a=t.sampling;if(!1===a.mouseInteraction)return function(){};var s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,c=[];return Object.keys(G).filter((function(t){return Number.isNaN(Number(t))&&!t.endsWith("_Departed")&&!1!==s[t]})).forEach((function(t){var a=t.toLowerCase(),s=function(t){return function(n){var a=xt(n);if(!F(a,o,i,!0)){var s=U(n)?n.changedTouches[0]:n;if(s){var c=r.getId(a),u=s.clientX,l=s.clientY;e({type:G[t],id:c,x:u,y:l})}}}}(t);c.push(A(a,s,n))})),function(){c.forEach((function(t){return t()}))}}function _t(t){var e=t.scrollCb,n=t.doc,r=t.mirror,o=t.blockClass,i=t.blockSelector,a=R((function(t){var a=xt(t);if(a&&!F(a,o,i,!0)){var s=r.getId(a);if(a===n){var c=n.scrollingElement||n.documentElement;e({id:s,x:c.scrollLeft,y:c.scrollTop})}else e({id:s,x:a.scrollLeft,y:a.scrollTop})}}),t.sampling.scroll||100);return A("scroll",a,n)}function Ct(t,e){var n=ht({},t);return e||delete n.userTriggered,n}var Et=["INPUT","TEXTAREA","SELECT"],Ot=new WeakMap;function It(t){return function(t,e){if(gt&&t.parentRule instanceof CSSGroupingRule||yt&&t.parentRule instanceof CSSMediaRule||bt&&t.parentRule instanceof CSSSupportsRule||wt&&t.parentRule instanceof CSSConditionRule){var n=Array.from(t.parentRule.cssRules).indexOf(t);e.unshift(n)}else if(t.parentStyleSheet){var r=Array.from(t.parentStyleSheet.cssRules).indexOf(t);e.unshift(r)}return e}(t,[])}function Tt(t,e,n){var r,o;return t?(t.ownerNode?r=e.getId(t.ownerNode):o=n.getId(t),{styleId:o,id:r}):{}}function At(t,e){var n,r,o,i=t.mirror,a=t.stylesheetManager,s=null;s="#document"===e.nodeName?i.getId(e):i.getId(e.host);var c="#document"===e.nodeName?null==(n=e.defaultView)?void 0:n.Document:null==(o=null==(r=e.ownerDocument)?void 0:r.defaultView)?void 0:o.ShadowRoot,u=Object.getOwnPropertyDescriptor(null==c?void 0:c.prototype,"adoptedStyleSheets");return null!==s&&-1!==s&&c&&u?(Object.defineProperty(e,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:function(){var t;return null==(t=u.get)?void 0:t.call(this)},set:function(t){var e,n=null==(e=u.set)?void 0:e.call(this,t);if(null!==s&&-1!==s)try{a.adoptStyleSheets(t,s)}catch(r){}return n}}),function(){Object.defineProperty(e,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:u.get,set:u.set})}):function(){}}function Lt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.doc.defaultView;if(!n)return function(){};!function(t,e){var n=t.mutationCb,r=t.mousemoveCb,o=t.mouseInteractionCb,i=t.scrollCb,a=t.viewportResizeCb,s=t.inputCb,c=t.mediaInteractionCb,u=t.styleSheetRuleCb,l=t.styleDeclarationCb,f=t.canvasMutationCb,p=t.fontCb,d=t.selectionCb;t.mutationCb=function(){e.mutation&&e.mutation.apply(e,arguments),n.apply(void 0,arguments)},t.mousemoveCb=function(){e.mousemove&&e.mousemove.apply(e,arguments),r.apply(void 0,arguments)},t.mouseInteractionCb=function(){e.mouseInteraction&&e.mouseInteraction.apply(e,arguments),o.apply(void 0,arguments)},t.scrollCb=function(){e.scroll&&e.scroll.apply(e,arguments),i.apply(void 0,arguments)},t.viewportResizeCb=function(){e.viewportResize&&e.viewportResize.apply(e,arguments),a.apply(void 0,arguments)},t.inputCb=function(){e.input&&e.input.apply(e,arguments),s.apply(void 0,arguments)},t.mediaInteractionCb=function(){e.mediaInteaction&&e.mediaInteaction.apply(e,arguments),c.apply(void 0,arguments)},t.styleSheetRuleCb=function(){e.styleSheetRule&&e.styleSheetRule.apply(e,arguments),u.apply(void 0,arguments)},t.styleDeclarationCb=function(){e.styleDeclaration&&e.styleDeclaration.apply(e,arguments),l.apply(void 0,arguments)},t.canvasMutationCb=function(){e.canvasMutation&&e.canvasMutation.apply(e,arguments),f.apply(void 0,arguments)},t.fontCb=function(){e.font&&e.font.apply(e,arguments),p.apply(void 0,arguments)},t.selectionCb=function(){e.selection&&e.selection.apply(e,arguments),d.apply(void 0,arguments)}}(t,e);var r,o=St(t,t.doc),i=function(t){var e=t.mousemoveCb,n=t.sampling,r=t.doc,o=t.mirror;if(!1===n.mousemove)return function(){};var i,a="number"==typeof n.mousemove?n.mousemove:50,s="number"==typeof n.mousemoveCallback?n.mousemoveCallback:500,c=[],u=R((function(t){var n=Date.now()-i;e(c.map((function(t){return t.timeOffset-=n,t})),t),c=[],i=null}),s),l=R((function(t){var e=xt(t),n=U(t)?t.changedTouches[0]:t,r=n.clientX,a=n.clientY;i||(i=Date.now()),c.push({x:r,y:a,id:o.getId(e),timeOffset:Date.now()-i}),u(("undefined"==typeof DragEvent?"undefined":le(DragEvent))<"u"&&t instanceof DragEvent?X.Drag:t instanceof MouseEvent?X.MouseMove:X.TouchMove)}),a,{trailing:!1}),f=[A("mousemove",l,r),A("touchmove",l,r),A("drag",l,r)];return function(){f.forEach((function(t){return t()}))}}(t),a=kt(t),c=_t(t),u=function(t){var e=t.viewportResizeCb,n=-1,r=-1;return A("resize",R((function(){var t=N(),o=D();(n!==t||r!==o)&&(e({width:Number(o),height:Number(t)}),n=t,r=o)}),200),window)}(t),l=function(t){var e=t.inputCb,n=t.doc,r=t.mirror,o=t.blockClass,i=t.blockSelector,a=t.ignoreClass,c=t.maskInputOptions,u=t.maskInputFn,l=t.sampling,f=t.userTriggeredOnInput;function p(t){var e=xt(t),r=t.isTrusted;if(e&&"OPTION"===e.tagName&&(e=e.parentElement),e&&e.tagName&&!(Et.indexOf(e.tagName)<0)&&!F(e,o,i,!0)){var l=e.type;if(!e.classList.contains(a)){var p=e.value,h=!1;"radio"===l||"checkbox"===l?h=e.checked:(c[e.tagName.toLowerCase()]||c[l])&&(p=s({maskInputOptions:c,tagName:e.tagName,type:l,value:p,maskInputFn:u})),d(e,Ct({text:p,isChecked:h,userTriggered:r},f));var v=e.name;"radio"===l&&v&&h&&n.querySelectorAll('input[type="radio"][name="'.concat(v,'"]')).forEach((function(t){t!==e&&d(t,Ct({text:t.value,isChecked:!h,userTriggered:!1},f))}))}}}function d(t,n){var o=Ot.get(t);if(!o||o.text!==n.text||o.isChecked!==n.isChecked){Ot.set(t,n);var i=r.getId(t);e(vt(ht({},n),{id:i}))}}var h=("last"===l.input?["change"]:["input","change"]).map((function(t){return A(t,p,n)})),v=n.defaultView;if(!v)return function(){h.forEach((function(t){return t()}))};var m=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),g=[[v.HTMLInputElement.prototype,"value"],[v.HTMLInputElement.prototype,"checked"],[v.HTMLSelectElement.prototype,"value"],[v.HTMLTextAreaElement.prototype,"value"],[v.HTMLSelectElement.prototype,"selectedIndex"],[v.HTMLOptionElement.prototype,"selected"]];return m&&m.set&&h.push.apply(h,ne(g.map((function(t){return P(t[0],t[1],{set:function(){p({target:this})}},!1,v)})))),function(){h.forEach((function(t){return t()}))}}(t),f=function(t){var e=t.mediaInteractionCb,n=t.blockClass,r=t.blockSelector,o=t.mirror,i=t.sampling,a=function(t){return R((function(i){var a=xt(i);if(a&&!F(a,n,r,!0)){var s=a.currentTime,c=a.volume,u=a.muted,l=a.playbackRate;e({type:t,id:o.getId(a),currentTime:s,volume:c,muted:u,playbackRate:l})}}),i.media||500)},s=[A("play",a(Y.Play)),A("pause",a(Y.Pause)),A("seeked",a(Y.Seeked)),A("volumechange",a(Y.VolumeChange)),A("ratechange",a(Y.RateChange))];return function(){s.forEach((function(t){return t()}))}}(t),p=function(t,e){var n=t.styleSheetRuleCb,r=t.mirror,o=t.stylesheetManager,i=e.win,a=i.CSSStyleSheet.prototype.insertRule;i.CSSStyleSheet.prototype.insertRule=function(t,e){var i=Tt(this,r,o.styleMirror),s=i.id,c=i.styleId;return(s&&-1!==s||c&&-1!==c)&&n({id:s,styleId:c,adds:[{rule:t,index:e}]}),a.apply(this,[t,e])};var s,c,u=i.CSSStyleSheet.prototype.deleteRule;i.CSSStyleSheet.prototype.deleteRule=function(t){var e=Tt(this,r,o.styleMirror),i=e.id,a=e.styleId;return(i&&-1!==i||a&&-1!==a)&&n({id:i,styleId:a,removes:[{index:t}]}),u.apply(this,[t])},i.CSSStyleSheet.prototype.replace&&(s=i.CSSStyleSheet.prototype.replace,i.CSSStyleSheet.prototype.replace=function(t){var e=Tt(this,r,o.styleMirror),i=e.id,a=e.styleId;return(i&&-1!==i||a&&-1!==a)&&n({id:i,styleId:a,replace:t}),s.apply(this,[t])}),i.CSSStyleSheet.prototype.replaceSync&&(c=i.CSSStyleSheet.prototype.replaceSync,i.CSSStyleSheet.prototype.replaceSync=function(t){var e=Tt(this,r,o.styleMirror),i=e.id,a=e.styleId;return(i&&-1!==i||a&&-1!==a)&&n({id:i,styleId:a,replaceSync:t}),c.apply(this,[t])});var l={};gt?l.CSSGroupingRule=i.CSSGroupingRule:(yt&&(l.CSSMediaRule=i.CSSMediaRule),wt&&(l.CSSConditionRule=i.CSSConditionRule),bt&&(l.CSSSupportsRule=i.CSSSupportsRule));var f={};return Object.entries(l).forEach((function(t){var e=ee(t,2),i=e[0],a=e[1];f[i]={insertRule:a.prototype.insertRule,deleteRule:a.prototype.deleteRule},a.prototype.insertRule=function(t,e){var a=Tt(this.parentStyleSheet,r,o.styleMirror),s=a.id,c=a.styleId;return(s&&-1!==s||c&&-1!==c)&&n({id:s,styleId:c,adds:[{rule:t,index:[].concat(ne(It(this)),[e||0])}]}),f[i].insertRule.apply(this,[t,e])},a.prototype.deleteRule=function(t){var e=Tt(this.parentStyleSheet,r,o.styleMirror),a=e.id,s=e.styleId;return(a&&-1!==a||s&&-1!==s)&&n({id:a,styleId:s,removes:[{index:[].concat(ne(It(this)),[t])}]}),f[i].deleteRule.apply(this,[t])}})),function(){i.CSSStyleSheet.prototype.insertRule=a,i.CSSStyleSheet.prototype.deleteRule=u,s&&(i.CSSStyleSheet.prototype.replace=s),c&&(i.CSSStyleSheet.prototype.replaceSync=c),Object.entries(l).forEach((function(t){var e=ee(t,2),n=e[0],r=e[1];r.prototype.insertRule=f[n].insertRule,r.prototype.deleteRule=f[n].deleteRule}))}}(t,{win:n}),d=At(t,t.doc),h=function(t,e){var n=t.styleDeclarationCb,r=t.mirror,o=t.ignoreCSSAttributes,i=t.stylesheetManager,a=e.win,s=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=function(t,e,a){var c;if(o.has(t))return s.apply(this,[t,e,a]);var u=Tt(null==(c=this.parentRule)?void 0:c.parentStyleSheet,r,i.styleMirror),l=u.id,f=u.styleId;return(l&&-1!==l||f&&-1!==f)&&n({id:l,styleId:f,set:{property:t,value:e,priority:a},index:It(this.parentRule)}),s.apply(this,[t,e,a])};var c=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=function(t){var e;if(o.has(t))return c.apply(this,[t]);var a=Tt(null==(e=this.parentRule)?void 0:e.parentStyleSheet,r,i.styleMirror),s=a.id,u=a.styleId;return(s&&-1!==s||u&&-1!==u)&&n({id:s,styleId:u,remove:{property:t},index:It(this.parentRule)}),c.apply(this,[t])},function(){a.CSSStyleDeclaration.prototype.setProperty=s,a.CSSStyleDeclaration.prototype.removeProperty=c}}(t,{win:n}),v=t.collectFonts?function(t){var e=t.fontCb,n=t.doc,r=n.defaultView;if(!r)return function(){};var o=[],i=new WeakMap,a=r.FontFace;r.FontFace=function(t,e,n){var r=new a(t,e,n);return i.set(r,{family:t,buffer:"string"!=typeof e,descriptors:n,fontSource:"string"==typeof e?e:JSON.stringify(Array.from(new Uint8Array(e)))}),r};var s=j(n.fonts,"add",(function(t){return function(n){return setTimeout((function(){var t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}}));return o.push((function(){r.FontFace=a})),o.push(s),function(){o.forEach((function(t){return t()}))}}(t):function(){},m=function(t){var e=t.doc,n=t.mirror,r=t.blockClass,o=t.blockSelector,i=t.selectionCb,a=!0,s=function(){var t=e.getSelection();if(!(!t||a&&null!=t&&t.isCollapsed)){a=t.isCollapsed||!1;for(var s=[],c=t.rangeCount||0,u=0;u<c;u++){var l=t.getRangeAt(u),f=l.startContainer,p=l.startOffset,d=l.endContainer,h=l.endOffset;F(f,r,o,!0)||F(d,r,o,!0)||s.push({start:n.getId(f),startOffset:p,end:n.getId(d),endOffset:h})}i({ranges:s})}};return s(),A("selectionchange",s)}(t),g=[],y=re(t.plugins);try{for(y.s();!(r=y.n()).done;){var b=r.value;g.push(b.observer(b.callback,n,b.options))}}catch(w){y.e(w)}finally{y.f()}return function(){mt.forEach((function(t){return t.reset()})),o.disconnect(),i(),a(),c(),u(),l(),f(),p(),d(),h(),v(),m(),g.forEach((function(t){return t()}))}}for(var Mt=function(){function t(e){ae(this,t),this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}return ce(t,[{key:"getId",value:function(t,e,n,r){var o=n||this.getIdToRemoteIdMap(t),i=r||this.getRemoteIdToIdMap(t),a=o.get(e);return a||(a=this.generateIdFn(),o.set(e,a),i.set(a,e)),a}},{key:"getIds",value:function(t,e){var n=this,r=this.getIdToRemoteIdMap(t),o=this.getRemoteIdToIdMap(t);return e.map((function(e){return n.getId(t,e,r,o)}))}},{key:"getRemoteId",value:function(t,e,n){var r=n||this.getRemoteIdToIdMap(t);return"number"!=typeof e?e:r.get(e)||-1}},{key:"getRemoteIds",value:function(t,e){var n=this,r=this.getRemoteIdToIdMap(t);return e.map((function(e){return n.getRemoteId(t,e,r)}))}},{key:"reset",value:function(t){if(!t)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}},{key:"getIdToRemoteIdMap",value:function(t){var e=this.iframeIdToRemoteIdMap.get(t);return e||(e=new Map,this.iframeIdToRemoteIdMap.set(t,e)),e}},{key:"getRemoteIdToIdMap",value:function(t){var e=this.iframeRemoteIdToIdMap.get(t);return e||(e=new Map,this.iframeRemoteIdToIdMap.set(t,e)),e}}]),t}(),Rt=function(){function t(e){ae(this,t),this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new Mt(p),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Mt(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}return ce(t,[{key:"addIframe",value:function(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}},{key:"addLoadListener",value:function(t){this.loadListener=t}},{key:"attachIframe",value:function(t,e){var n;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:e}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null==(n=this.loadListener)||n.call(this,t),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}},{key:"handleMessage",value:function(t){if("rrweb"===t.data.type){if(!t.source)return;var e=this.crossOriginIframeMap.get(t.source);if(!e)return;var n=this.transformCrossOriginEvent(e,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}}},{key:"transformCrossOriginEvent",value:function(t,e){var n,r=this;switch(e.type){case V.FullSnapshot:return this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(e.data.node,t),{timestamp:e.timestamp,type:V.IncrementalSnapshot,data:{source:X.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:e.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case V.Meta:case V.Load:case V.DomContentLoaded:return!1;case V.Plugin:return e;case V.Custom:return this.replaceIds(e.data.payload,t,["id","parentId","previousId","nextId"]),e;case V.IncrementalSnapshot:switch(e.data.source){case X.Mutation:return e.data.adds.forEach((function(e){r.replaceIds(e,t,["parentId","nextId","previousId"]),r.replaceIdOnNode(e.node,t)})),e.data.removes.forEach((function(e){r.replaceIds(e,t,["parentId","id"])})),e.data.attributes.forEach((function(e){r.replaceIds(e,t,["id"])})),e.data.texts.forEach((function(e){r.replaceIds(e,t,["id"])})),e;case X.Drag:case X.TouchMove:case X.MouseMove:return e.data.positions.forEach((function(e){r.replaceIds(e,t,["id"])})),e;case X.ViewportResize:return!1;case X.MediaInteraction:case X.MouseInteraction:case X.Scroll:case X.CanvasMutation:case X.Input:return this.replaceIds(e.data,t,["id"]),e;case X.StyleSheetRule:case X.StyleDeclaration:return this.replaceIds(e.data,t,["id"]),this.replaceStyleIds(e.data,t,["styleId"]),e;case X.Font:return e;case X.Selection:return e.data.ranges.forEach((function(e){r.replaceIds(e,t,["start","end"])})),e;case X.AdoptedStyleSheet:return this.replaceIds(e.data,t,["id"]),this.replaceStyleIds(e.data,t,["styleIds"]),null==(n=e.data.styles)||n.forEach((function(e){r.replaceStyleIds(e,t,["styleId"])})),e}}}},{key:"replace",value:function(t,e,n,r){var o,i=re(r);try{for(i.s();!(o=i.n()).done;){var a=o.value;!Array.isArray(e[a])&&"number"!=typeof e[a]||(Array.isArray(e[a])?e[a]=t.getIds(n,e[a]):e[a]=t.getId(n,e[a]))}}catch(s){i.e(s)}finally{i.f()}return e}},{key:"replaceIds",value:function(t,e,n){return this.replace(this.crossOriginIframeMirror,t,e,n)}},{key:"replaceStyleIds",value:function(t,e,n){return this.replace(this.crossOriginIframeStyleMirror,t,e,n)}},{key:"replaceIdOnNode",value:function(t,e){var n=this;this.replaceIds(t,e,["id"]),"childNodes"in t&&t.childNodes.forEach((function(t){n.replaceIdOnNode(t,e)}))}}]),t}(),Pt=Object.defineProperty,jt=Object.defineProperties,Nt=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,Ht=function(t,e,n){return e in t?Pt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},Ut=function(t,e){for(var n in e||(e={}))Ft.call(e,n)&&Ht(t,n,e[n]);if(Dt){var r,o=re(Dt(e));try{for(o.s();!(r=o.n()).done;)n=r.value,Bt.call(e,n)&&Ht(t,n,e[n])}catch(i){o.e(i)}finally{o.f()}}return t},zt=function(t,e){return jt(t,Nt(e))},Wt=function(){function t(e){ae(this,t),this.shadowDoms=new WeakSet,this.restorePatches=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror;var n=this;this.restorePatches.push(j(Element.prototype,"attachShadow",(function(t){return function(e){var r=t.call(this,e);return this.shadowRoot&&n.addShadowRoot(this.shadowRoot,this.ownerDocument),r}})))}return ce(t,[{key:"addShadowRoot",value:function(t,e){var n=this;!r(t)||this.shadowDoms.has(t)||(this.shadowDoms.add(t),St(zt(Ut({},this.bypassOptions),{doc:e,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t),_t(zt(Ut({},this.bypassOptions),{scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),setTimeout((function(){t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&n.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,n.mirror.getId(t.host)),At({mirror:n.mirror,stylesheetManager:n.bypassOptions.stylesheetManager},t)}),0))}},{key:"observeAttachShadow",value:function(t){if(t.contentWindow){var e=this;this.restorePatches.push(j(t.contentWindow.HTMLElement.prototype,"attachShadow",(function(n){return function(r){var o=n.call(this,r);return this.shadowRoot&&e.addShadowRoot(this.shadowRoot,t.contentDocument),o}})))}}},{key:"reset",value:function(){this.restorePatches.forEach((function(t){return t()})),this.shadowDoms=new WeakSet}}]),t}(),$t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qt=("undefined"==typeof Uint8Array?"undefined":le(Uint8Array))>"u"?[]:new Uint8Array(256),Vt=0;Vt<64;Vt++)qt[$t.charCodeAt(Vt)]=Vt;var Xt=new Map,Gt=function(t,e,n){if(t&&(Zt(t,e)||"object"==le(t))){var r=function(t,e){var n=Xt.get(t);return n||(n=new Map,Xt.set(t,n)),n.has(e)||n.set(e,[]),n.get(e)}(n,t.constructor.name),o=r.indexOf(t);return-1===o&&(o=r.length,r.push(t)),o}};function Kt(t,e,n){if(t instanceof Array)return t.map((function(t){return Kt(t,e,n)}));if(null===t)return t;if(t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray)return{rr_type:t.constructor.name,args:[Object.values(t)]};if(t instanceof ArrayBuffer){var r=t.constructor.name,o=function(t){var e,n=new Uint8Array(t),r=n.length,o="";for(e=0;e<r;e+=3)o+=$t[n[e]>>2],o+=$t[(3&n[e])<<4|n[e+1]>>4],o+=$t[(15&n[e+1])<<2|n[e+2]>>6],o+=$t[63&n[e+2]];return r%3==2?o=o.substring(0,o.length-1)+"=":r%3==1&&(o=o.substring(0,o.length-2)+"=="),o}(t);return{rr_type:r,base64:o}}return t instanceof DataView?{rr_type:t.constructor.name,args:[Kt(t.buffer,e,n),t.byteOffset,t.byteLength]}:t instanceof HTMLImageElement?{rr_type:t.constructor.name,src:t.src}:t instanceof HTMLCanvasElement?{rr_type:"HTMLImageElement",src:t.toDataURL()}:t instanceof ImageData?{rr_type:t.constructor.name,args:[Kt(t.data,e,n),t.width,t.height]}:Zt(t,e)||"object"==le(t)?{rr_type:t.constructor.name,index:Gt(t,e,n)}:t}var Yt=function(t,e,n){return ne(t).map((function(t){return Kt(t,e,n)}))},Zt=function(t,e){var n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((function(t){return"function"==typeof e[t]}));return Boolean(n.find((function(n){return t instanceof e[n]})))};function Jt(t,e,n){var r=[];try{var o=j(t.HTMLCanvasElement.prototype,"getContext",(function(t){return function(r){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return F(this,e,n,!0)||"__context"in this||(this.__context=r),t.apply(this,[r].concat(i))}}));r.push(o)}catch(i){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){r.forEach((function(t){return t()}))}}function Qt(t,e,n,r,o,i,a){var s,c=[],u=re(Object.getOwnPropertyNames(t));try{var l=function(){var i=s.value;if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(i))try{if("function"!=typeof t[i])return 1;var u=j(t,i,(function(t){return function(){for(var s=arguments.length,c=new Array(s),u=0;u<s;u++)c[u]=arguments[u];var l=t.apply(this,c);if(Gt(l,a,this),!F(this.canvas,r,o,!0)){var f=Yt([].concat(c),a,this),p={type:e,property:i,args:f};n(this.canvas,p)}return l}}));c.push(u)}catch(f){var l=P(t,i,{set:function(t){n(this.canvas,{type:e,property:i,args:[t],setter:!0})}});c.push(l)}};for(u.s();!(s=u.n()).done;)l()}catch(f){u.e(f)}finally{u.f()}return c}function oe(t,e,n){var r=void 0===e?null:e,o=function(t,e){var n=atob(t);if(e){for(var r=new Uint8Array(n.length),o=0,i=n.length;o<i;++o)r[o]=n.charCodeAt(o);return String.fromCharCode.apply(null,new Uint16Array(r.buffer))}return n}(t,void 0!==n&&n),i=o.indexOf("\n",10)+1,a=o.substring(i)+(r?"//# sourceMappingURL="+r:""),s=new Blob([a],{type:"application/javascript"});return URL.createObjectURL(s)}var ie=function(t,e,n){var r;return function(o){return r=r||oe(t,e,n),new Worker(r,o)}}("Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwooZnVuY3Rpb24oKXsidXNlIHN0cmljdCI7Zm9yKHZhciByPSJBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsvIixwPXR5cGVvZiBVaW50OEFycmF5PiJ1Ij9bXTpuZXcgVWludDhBcnJheSgyNTYpLGY9MDtmPHIubGVuZ3RoO2YrKylwW3IuY2hhckNvZGVBdChmKV09Zjt2YXIgdT1mdW5jdGlvbihzKXt2YXIgZT1uZXcgVWludDhBcnJheShzKSxuLGE9ZS5sZW5ndGgsdD0iIjtmb3Iobj0wO248YTtuKz0zKXQrPXJbZVtuXT4+Ml0sdCs9clsoZVtuXSYzKTw8NHxlW24rMV0+PjRdLHQrPXJbKGVbbisxXSYxNSk8PDJ8ZVtuKzJdPj42XSx0Kz1yW2VbbisyXSY2M107cmV0dXJuIGElMz09PTI/dD10LnN1YnN0cmluZygwLHQubGVuZ3RoLTEpKyI9IjphJTM9PT0xJiYodD10LnN1YnN0cmluZygwLHQubGVuZ3RoLTIpKyI9PSIpLHR9O2NvbnN0IGM9bmV3IE1hcCxsPW5ldyBNYXA7YXN5bmMgZnVuY3Rpb24gdihzLGUsbil7Y29uc3QgYT1gJHtzfS0ke2V9YDtpZigiT2Zmc2NyZWVuQ2FudmFzImluIGdsb2JhbFRoaXMpe2lmKGwuaGFzKGEpKXJldHVybiBsLmdldChhKTtjb25zdCB0PW5ldyBPZmZzY3JlZW5DYW52YXMocyxlKTt0LmdldENvbnRleHQoIjJkIik7Y29uc3QgZz1hd2FpdChhd2FpdCB0LmNvbnZlcnRUb0Jsb2IobikpLmFycmF5QnVmZmVyKCksZD11KGcpO3JldHVybiBsLnNldChhLGQpLGR9ZWxzZSByZXR1cm4iIn1jb25zdCBpPXNlbGY7aS5vbm1lc3NhZ2U9YXN5bmMgZnVuY3Rpb24ocyl7aWYoIk9mZnNjcmVlbkNhbnZhcyJpbiBnbG9iYWxUaGlzKXtjb25zdHtpZDplLGJpdG1hcDpuLHdpZHRoOmEsaGVpZ2h0OnQsZGF0YVVSTE9wdGlvbnM6Z309cy5kYXRhLGQ9dihhLHQsZyksaD1uZXcgT2Zmc2NyZWVuQ2FudmFzKGEsdCk7aC5nZXRDb250ZXh0KCIyZCIpLmRyYXdJbWFnZShuLDAsMCksbi5jbG9zZSgpO2NvbnN0IHc9YXdhaXQgaC5jb252ZXJ0VG9CbG9iKGcpLHk9dy50eXBlLGI9YXdhaXQgdy5hcnJheUJ1ZmZlcigpLG89dShiKTtpZighYy5oYXMoZSkmJmF3YWl0IGQ9PT1vKXJldHVybiBjLnNldChlLG8pLGkucG9zdE1lc3NhZ2Uoe2lkOmV9KTtpZihjLmdldChlKT09PW8pcmV0dXJuIGkucG9zdE1lc3NhZ2Uoe2lkOmV9KTtpLnBvc3RNZXNzYWdlKHtpZDplLHR5cGU6eSxiYXNlNjQ6byx3aWR0aDphLGhlaWdodDp0fSksYy5zZXQoZSxvKX1lbHNlIHJldHVybiBpLnBvc3RNZXNzYWdlKHtpZDpzLmRhdGEuaWR9KX19KSgpOwoK",null,!1),se=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,pe=function(){function t(e){var n=this;ae(this,t),this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(t,e){(n.rafStamps.invokeId&&n.rafStamps.latestId!==n.rafStamps.invokeId||!n.rafStamps.invokeId)&&(n.rafStamps.invokeId=n.rafStamps.latestId),n.pendingCanvasMutations.has(t)||n.pendingCanvasMutations.set(t,[]),n.pendingCanvasMutations.get(t).push(e)};var r=e.sampling,o=void 0===r?"all":r,i=e.win,a=e.blockClass,s=e.blockSelector,c=e.recordCanvas,u=e.dataURLOptions;this.mutationCb=e.mutationCb,this.mirror=e.mirror,c&&"all"===o&&this.initCanvasMutationObserver(i,a,s),c&&"number"==typeof o&&this.initCanvasFPSObserver(o,i,a,s,{dataURLOptions:u})}return ce(t,[{key:"reset",value:function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}},{key:"freeze",value:function(){this.frozen=!0}},{key:"unfreeze",value:function(){this.frozen=!1}},{key:"lock",value:function(){this.locked=!0}},{key:"unlock",value:function(){this.locked=!1}},{key:"initCanvasFPSObserver",value:function(t,e,n,r,o){var i=this,a=Jt(e,n,r),s=new Map,c=new ie;c.onmessage=function(t){var e=t.data.id;if(s.set(e,!1),"base64"in t.data){var n=t.data,r=n.base64,o=n.type,a=n.width,c=n.height;i.mutationCb({id:e,type:K["2D"],commands:[{property:"clearRect",args:[0,0,a,c]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:o}]},0,0]}]})}};var u,l=1e3/t,f=0;u=requestAnimationFrame((function t(a){f&&a-f<l||(f=a,function(){var t=[];return e.document.querySelectorAll("canvas").forEach((function(e){F(e,n,r,!0)||t.push(e)})),t}().forEach((function(t){return function(t,e,n){return new Promise((function(r,o){var i=function(t){try{s(n.next(t))}catch(l){o(l)}},a=function(t){try{s(n.throw(t))}catch(l){o(l)}},s=function(t){return t.done?r(t.value):Promise.resolve(t.value).then(i,a)};s((n=n.apply(t,e)).next())}))}(i,null,te().mark((function e(){var n,r,i,a;return te().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.mirror.getId(t),!s.get(r)){e.next=3;break}return e.abrupt("return");case 3:return s.set(r,!0),["webgl","webgl2"].includes(t.__context)&&(i=t.getContext(t.__context),!1===(null==(n=null==i?void 0:i.getContextAttributes())?void 0:n.preserveDrawingBuffer)&&(null==i||i.clear(i.COLOR_BUFFER_BIT))),e.next=6,createImageBitmap(t);case 6:a=e.sent,c.postMessage({id:r,bitmap:a,width:t.width,height:t.height,dataURLOptions:o.dataURLOptions},[a]);case 8:case"end":return e.stop()}}),e,this)})))}))),u=requestAnimationFrame(t)})),this.resetObservers=function(){a(),cancelAnimationFrame(u)}}},{key:"initCanvasMutationObserver",value:function(t,e,n){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var r=Jt(t,e,n),o=function(t,e,n,r){var o,i=[],a=re(Object.getOwnPropertyNames(e.CanvasRenderingContext2D.prototype));try{var s=function(){var a=o.value;try{if("function"!=typeof e.CanvasRenderingContext2D.prototype[a])return 1;var s=j(e.CanvasRenderingContext2D.prototype,a,(function(o){return function(){for(var i=this,s=arguments.length,c=new Array(s),u=0;u<s;u++)c[u]=arguments[u];return F(this.canvas,n,r,!0)||setTimeout((function(){var n=Yt([].concat(c),e,i);t(i.canvas,{type:K["2D"],property:a,args:n})}),0),o.apply(this,c)}}));i.push(s)}catch(u){var c=P(e.CanvasRenderingContext2D.prototype,a,{set:function(e){t(this.canvas,{type:K["2D"],property:a,args:[e],setter:!0})}});i.push(c)}};for(a.s();!(o=a.n()).done;)s()}catch(c){a.e(c)}finally{a.f()}return function(){i.forEach((function(t){return t()}))}}(this.processMutation.bind(this),t,e,n),i=function(t,e,n,r,o){var i=[];return i.push.apply(i,ne(Qt(e.WebGLRenderingContext.prototype,K.WebGL,t,n,r,0,e))),le(e.WebGL2RenderingContext)<"u"&&i.push.apply(i,ne(Qt(e.WebGL2RenderingContext.prototype,K.WebGL2,t,n,r,0,e))),function(){i.forEach((function(t){return t()}))}}(this.processMutation.bind(this),t,e,n,this.mirror);this.resetObservers=function(){r(),o(),i()}}},{key:"startPendingCanvasMutationFlusher",value:function(){var t=this;requestAnimationFrame((function(){return t.flushPendingCanvasMutations()}))}},{key:"startRAFTimestamping",value:function(){var t=this;requestAnimationFrame((function e(n){t.rafStamps.latestId=n,requestAnimationFrame(e)}))}},{key:"flushPendingCanvasMutations",value:function(){var t=this;this.pendingCanvasMutations.forEach((function(e,n){var r=t.mirror.getId(n);t.flushPendingCanvasMutationFor(n,r)})),requestAnimationFrame((function(){return t.flushPendingCanvasMutations()}))}},{key:"flushPendingCanvasMutationFor",value:function(t,e){if(!this.frozen&&!this.locked){var n=this.pendingCanvasMutations.get(t);if(n&&-1!==e){var r=n.map((function(t){return function(t,e){var n={};for(var r in t)ue.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&se){var o,i=re(se(t));try{for(i.s();!(o=i.n()).done;)r=o.value,e.indexOf(r)<0&&fe.call(t,r)&&(n[r]=t[r])}catch(a){i.e(a)}finally{i.f()}}return n}(t,["type"])})),o=n[0].type;this.mutationCb({id:e,type:o,commands:r}),this.pendingCanvasMutations.delete(t)}}}}]),t}(),de=function(){function t(e){ae(this,t),this.trackedLinkElements=new WeakSet,this.styleMirror=new q,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}return ce(t,[{key:"attachLinkElement",value:function(t,e){"_cssText"in e.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:e.id,attributes:e.attributes}]}),this.trackLinkElement(t)}},{key:"trackLinkElement",value:function(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}},{key:"adoptStyleSheets",value:function(t,e){if(0!==t.length){var n,r={id:e,styleIds:[]},o=[],a=re(t);try{for(a.s();!(n=a.n()).done;){var s=n.value,c=void 0;if(this.styleMirror.has(s))c=this.styleMirror.getId(s);else{c=this.styleMirror.add(s);var u=Array.from(s.rules||CSSRule);o.push({styleId:c,rules:u.map((function(t,e){return{rule:i(t),index:e}}))})}r.styleIds.push(c)}}catch(l){a.e(l)}finally{a.f()}o.length>0&&(r.styles=o),this.adoptedStyleSheetCb(r)}}},{key:"reset",value:function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}},{key:"trackStylesheetInLinkElement",value:function(t){}}]),t}(),he=Object.defineProperty,ve=Object.defineProperties,me=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,we=function(t,e,n){return e in t?he(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},xe=function(t,e){for(var n in e||(e={}))ye.call(e,n)&&we(t,n,e[n]);if(ge){var r,o=re(ge(e));try{for(o.s();!(r=o.n()).done;)n=r.value,be.call(e,n)&&we(t,n,e[n])}catch(i){o.e(i)}finally{o.f()}}return t},Se=function(t,e){return ve(t,me(e))};function ke(t){return Se(xe({},t),{timestamp:Date.now()})}var _e,Ce,Ee,Oe=!1,Ie=new a;function Te(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.emit,n=t.checkoutEveryNms,r=t.checkoutEveryNth,o=t.blockClass,i=void 0===o?"rr-block":o,s=t.blockSelector,c=void 0===s?null:s,u=t.ignoreClass,l=void 0===u?"rr-ignore":u,f=t.maskTextClass,p=void 0===f?"rr-mask":f,d=t.maskTextSelector,h=void 0===d?null:d,v=t.inlineStylesheet,m=void 0===v||v,g=t.maskAllInputs,y=t.maskInputOptions,b=t.slimDOMOptions,w=t.maskInputFn,x=t.maskTextFn,S=t.hooks,k=t.packFn,_=t.sampling,C=void 0===_?{}:_,E=t.dataURLOptions,O=void 0===E?{}:E,I=t.mousemoveWait,L=t.recordCanvas,M=void 0!==L&&L,R=t.recordCrossOriginIframes,P=void 0!==R&&R,j=t.userTriggeredOnInput,F=void 0!==j&&j,B=t.collectFonts,H=void 0!==B&&B,U=t.inlineImages,q=void 0!==U&&U,G=t.plugins,K=t.keepIframeSrcFn,Y=void 0===K?function(){return!1}:K,Z=t.ignoreCSSAttributes,J=void 0===Z?new Set([]):Z,Q=!P||window.parent===window,tt=!1;if(!Q)try{window.parent.document,tt=!1}catch(bt){tt=!0}if(Q&&!e)throw new Error("emit function is required");void 0!==I&&void 0===C.mousemove&&(C.mousemove=I),Ie.reset();var et=!0===g?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==y?y:{password:!0},nt=!0===b||"all"===b?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===b,headMetaDescKeywords:"all"===b}:b||{};!function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=n[0];if(!(0 in n))throw new TypeError("1 argument is required");do{if(t===o)return!0}while(o=o&&o.parentNode);return!1})}();var rt,ot=0,it=function(t){var e,n=re(G||[]);try{for(n.s();!(e=n.n()).done;){var r=e.value;r.eventProcessor&&(t=r.eventProcessor(t))}}catch(o){n.e(o)}finally{n.f()}return k&&(t=k(t)),t};_e=function(t,o){var i;if((null==(i=mt[0])?void 0:i.isFrozen())&&t.type!==V.FullSnapshot&&!(t.type===V.IncrementalSnapshot&&t.data.source===X.Mutation)&&mt.forEach((function(t){return t.unfreeze()})),Q)null==e||e(it(t),o);else if(tt){var a={type:"rrweb",event:it(t),isCheckout:o};window.parent.postMessage(a,"*")}if(t.type===V.FullSnapshot)rt=t,ot=0;else if(t.type===V.IncrementalSnapshot){if(t.data.source===X.Mutation&&t.data.isAttachIframe)return;ot++;var s=r&&ot>=r,c=n&&t.timestamp-rt.timestamp>n;(s||c)&&Ce(!0)}};var at,st=function(t){_e(ke({type:V.IncrementalSnapshot,data:xe({source:X.Mutation},t)}))},ct=function(t){return _e(ke({type:V.IncrementalSnapshot,data:xe({source:X.Scroll},t)}))},ut=function(t){return _e(ke({type:V.IncrementalSnapshot,data:xe({source:X.CanvasMutation},t)}))},lt=new de({mutationCb:st,adoptedStyleSheetCb:function(t){return _e(ke({type:V.IncrementalSnapshot,data:xe({source:X.AdoptedStyleSheet},t)}))}}),ft=new Rt({mirror:Ie,mutationCb:st,stylesheetManager:lt,recordCrossOriginIframes:P,wrappedEmit:_e}),pt=re(G||[]);try{for(pt.s();!(at=pt.n()).done;){var dt=at.value;dt.getMirror&&dt.getMirror({nodeMirror:Ie,crossOriginIframeMirror:ft.crossOriginIframeMirror,crossOriginIframeStyleMirror:ft.crossOriginIframeStyleMirror})}}catch(wt){pt.e(wt)}finally{pt.f()}Ee=new pe({recordCanvas:M,mutationCb:ut,win:window,blockClass:i,blockSelector:c,mirror:Ie,sampling:C.canvas,dataURLOptions:O});var ht=new Wt({mutationCb:st,scrollCb:ct,bypassOptions:{blockClass:i,blockSelector:c,maskTextClass:p,maskTextSelector:h,inlineStylesheet:m,maskInputOptions:et,dataURLOptions:O,maskTextFn:x,maskInputFn:w,recordCanvas:M,inlineImages:q,sampling:C,slimDOMOptions:nt,iframeManager:ft,stylesheetManager:lt,canvasManager:Ee,keepIframeSrcFn:Y},mirror:Ie});Ce=function(){var t,e,n,r,o,s,u,l,f,d,v,g,y=arguments.length>0&&void 0!==arguments[0]&&arguments[0];_e(ke({type:V.Meta,data:{href:window.location.href,width:D(),height:N()}}),y),lt.reset(),mt.forEach((function(t){return t.lock()}));var b=function(t,e){var n=e||{},r=n.mirror,o=void 0===r?new a:r,i=n.blockClass,s=void 0===i?"rr-block":i,c=n.blockSelector,u=void 0===c?null:c,l=n.maskTextClass,f=void 0===l?"rr-mask":l,p=n.maskTextSelector,d=void 0===p?null:p,h=n.inlineStylesheet,v=void 0===h||h,m=n.inlineImages,g=void 0!==m&&m,y=n.recordCanvas,b=void 0!==y&&y,w=n.maskAllInputs,x=void 0!==w&&w,S=n.maskTextFn,k=n.maskInputFn,_=n.slimDOM,C=void 0!==_&&_,E=n.dataURLOptions,O=n.preserveWhiteSpace,I=n.onSerialize,A=n.onIframeLoad,L=n.iframeLoadTimeout,M=n.onStylesheetLoad,R=n.stylesheetLoadTimeout,P=n.keepIframeSrcFn;return T(t,{doc:t,mirror:o,blockClass:s,blockSelector:u,maskTextClass:f,maskTextSelector:d,skipChild:!1,inlineStylesheet:v,maskInputOptions:!0===x?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===x?{password:!0}:x,maskTextFn:S,maskInputFn:k,slimDOMOptions:!0===C||"all"===C?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===C,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===C?{}:C,dataURLOptions:E,inlineImages:g,recordCanvas:b,preserveWhiteSpace:O,onSerialize:I,onIframeLoad:A,iframeLoadTimeout:L,onStylesheetLoad:M,stylesheetLoadTimeout:R,keepIframeSrcFn:void 0===P?function(){return!1}:P,newlyAddedElement:!1})}(document,{mirror:Ie,blockClass:i,blockSelector:c,maskTextClass:p,maskTextSelector:h,inlineStylesheet:m,maskAllInputs:et,maskTextFn:x,slimDOM:nt,dataURLOptions:O,recordCanvas:M,inlineImages:q,onSerialize:function(t){z(t,Ie)&&ft.addIframe(t),W(t,Ie)&&lt.trackLinkElement(t),$(t)&&ht.addShadowRoot(t.shadowRoot,document)},onIframeLoad:function(t,e){ft.attachIframe(t,e),ht.observeAttachShadow(t)},onStylesheetLoad:function(t,e){lt.attachLinkElement(t,e)},keepIframeSrcFn:Y});if(!b)return console.warn("Failed to snapshot the document");_e(ke({type:V.FullSnapshot,data:{node:b,initialOffset:{left:void 0!==window.pageXOffset?window.pageXOffset:(null===(t=document)||void 0===t?void 0:t.documentElement.scrollLeft)||(null==(l=null==(u=null===(e=document)||void 0===e?void 0:e.body)?void 0:u.parentElement)?void 0:l.scrollLeft)||(null==(f=null===(n=document)||void 0===n?void 0:n.body)?void 0:f.scrollLeft)||0,top:void 0!==window.pageYOffset?window.pageYOffset:(null===(r=document)||void 0===r?void 0:r.documentElement.scrollTop)||(null==(v=null==(d=null===(o=document)||void 0===o?void 0:o.body)?void 0:d.parentElement)?void 0:v.scrollTop)||(null==(g=null===(s=document)||void 0===s?void 0:s.body)?void 0:g.scrollTop)||0}}})),mt.forEach((function(t){return t.unlock()})),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&lt.adoptStyleSheets(document.adoptedStyleSheets,Ie.getId(document))};try{var vt=[];vt.push(A("DOMContentLoaded",(function(){_e(ke({type:V.DomContentLoaded,data:{}}))})));var gt=function(t){var e;return Lt({mutationCb:st,mousemoveCb:function(t,e){return _e(ke({type:V.IncrementalSnapshot,data:{source:e,positions:t}}))},mouseInteractionCb:function(t){return _e(ke({type:V.IncrementalSnapshot,data:xe({source:X.MouseInteraction},t)}))},scrollCb:ct,viewportResizeCb:function(t){return _e(ke({type:V.IncrementalSnapshot,data:xe({source:X.ViewportResize},t)}))},inputCb:function(t){return _e(ke({type:V.IncrementalSnapshot,data:xe({source:X.Input},t)}))},mediaInteractionCb:function(t){return _e(ke({type:V.IncrementalSnapshot,data:xe({source:X.MediaInteraction},t)}))},styleSheetRuleCb:function(t){return _e(ke({type:V.IncrementalSnapshot,data:xe({source:X.StyleSheetRule},t)}))},styleDeclarationCb:function(t){return _e(ke({type:V.IncrementalSnapshot,data:xe({source:X.StyleDeclaration},t)}))},canvasMutationCb:ut,fontCb:function(t){return _e(ke({type:V.IncrementalSnapshot,data:xe({source:X.Font},t)}))},selectionCb:function(t){_e(ke({type:V.IncrementalSnapshot,data:xe({source:X.Selection},t)}))},blockClass:i,ignoreClass:l,maskTextClass:p,maskTextSelector:h,maskInputOptions:et,inlineStylesheet:m,sampling:C,recordCanvas:M,inlineImages:q,userTriggeredOnInput:F,collectFonts:H,doc:t,maskInputFn:w,maskTextFn:x,keepIframeSrcFn:Y,blockSelector:c,slimDOMOptions:nt,dataURLOptions:O,mirror:Ie,iframeManager:ft,stylesheetManager:lt,shadowDomManager:ht,canvasManager:Ee,ignoreCSSAttributes:J,plugins:(null==(e=null==G?void 0:G.filter((function(t){return t.observer})))?void 0:e.map((function(t){return{observer:t.observer,options:t.options,callback:function(e){return _e(ke({type:V.Plugin,data:{plugin:t.name,payload:e}}))}}})))||[]},S)};ft.addLoadListener((function(t){vt.push(gt(t.contentDocument))}));var yt=function(){Ce(),vt.push(gt(document)),Oe=!0};return"interactive"===document.readyState||"complete"===document.readyState?yt():vt.push(A("load",(function(){_e(ke({type:V.Load,data:{}})),yt()}),window)),function(){vt.forEach((function(t){return t()})),Oe=!1}}catch(vt){console.warn(vt)}}return Te.addCustomEvent=function(t,e){if(!Oe)throw new Error("please add custom event after start recording");_e(ke({type:V.Custom,data:{tag:t,payload:e}}))},Te.freezePage=function(){mt.forEach((function(t){return t.freeze()}))},Te.takeFullSnapshot=function(t){if(!Oe)throw new Error("please take full snapshot after start recording");Ce(t)},Te.mirror=Ie,Te}();function pe(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return de(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?de(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function de(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function he(t){return he="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},he(t)}function ve(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function me(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ve(Object(n),!0).forEach((function(e){ye(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ge(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,be(r.key),r)}}function ye(t,e,n){return(e=be(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function be(t){var e=function(t,e){if("object"!=he(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=he(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==he(e)?e:String(e)}var we=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),ye(this,"startDate",void 0),ye(this,"events",[]),ye(this,"bufferSize",0),ye(this,"stopFunction",void 0),ye(this,"customOptions",{})}var e,n,r;return e=t,r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],(n=[{key:"setOptions",value:function(t){this.customOptions=t}},{key:"start",value:function(){this.stop(),this.startDate=Date.now();var t=this.events;try{this.stopFunction=fe(me(me(me({},{inlineStylesheet:!0,blockClass:"gl-block",ignoreClass:"gl-ignore",maskTextClass:"gl-mask",dataURLOptions:{quality:.7},recordCanvas:!1,sampling:{scroll:150,mouseInteraction:{MouseUp:!1,MouseDown:!1,Click:!0,ContextMenu:!0,DblClick:!0,Focus:!0,Blur:!0,TouchStart:!0,TouchEnd:!1}},collectFonts:!1,recordCrossOriginIframes:!1}),this.customOptions),{},{emit:function(e){var n=function(t){var e=JSON.stringify(t);if(e.length>4e6){var n,r=/data:([\w\/\-\.]+);(\w+),([^)"]*)/gim,i=pe(e.matchAll(r));try{for(i.s();!(n=i.n()).done;){var a=n.value;e="image/"===a[1].toLocaleLowerCase().slice(0,6)?e.replace(a[0],"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAQSURBVHgBAQUA+v8ABRg5/wHSAVZN1mnaAAAAAElFTkSuQmCC"):e.replace(a[0],"")}}catch(o){i.e(o)}finally{i.f()}}return{event:JSON.parse(e),size:e.length}}(e).event;t.push(n)}}))}catch(e){console.error(e)}}},{key:"stop",value:function(){this.stopFunction&&this.stopFunction(),this.startDate=void 0,this.events=[],this.bufferSize=0}},{key:"getReplayData",value:function(){return{startDate:this.startDate,events:this.events,baseUrl:window.location.origin,width:window.innerWidth,height:window.innerHeight,isMobile:b(),type:"rrweb"}}}])&&ge(e.prototype,n),r&&ge(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function xe(t){return xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xe(t)}function Se(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,_e(r.key),r)}}function ke(t,e,n){return(e=_e(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _e(t){var e=function(t,e){if("object"!=xe(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=xe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==xe(e)?e:String(e)}ye(we,"instance",void 0);var Ce=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),ke(this,"rerender",void 0),ke(this,"svgElement",null),ke(this,"path",null),ke(this,"strPath",void 0),ke(this,"strokeWidth",12),ke(this,"strokeWidthRect",6),ke(this,"bufferSize",4),ke(this,"buffer",[]),ke(this,"startPoint",null),ke(this,"tool","rect"),ke(this,"color","#EB144C"),ke(this,"mouseDown",null),ke(this,"mouseMove",null),ke(this,"mouseUp",null),ke(this,"resizeListener",null),ke(this,"pathBuffer",[]);var r=this;this.rerender=e,this.svgElement=document.querySelector(".bb-capture-svg"),this.svgElement.style.minHeight="".concat(document.documentElement.scrollHeight,"px"),this.resizeListener=function(t){r.svgElement.style.minHeight="".concat(document.documentElement.scrollHeight,"px")},window.addEventListener("resize",this.resizeListener,!0),this.mouseDown=function(t){t.preventDefault();var e=document.querySelector(".bb-capture-toolbar-item-colorpicker");e&&(e.style.display="none"),r.fadeOutToolbar(),"pen"!==r.tool&&"blur"!==r.tool||r.mouseDownPen(t),"rect"===r.tool&&r.mouseDownRect(t)},this.mouseMove=function(t){t.preventDefault(),"pen"!==r.tool&&"blur"!==r.tool||r.mouseMovePen(t),"rect"===r.tool&&r.mouseMoveRect(t)},this.mouseUp=function(t){t.preventDefault(),r.fadeInToolbar(),"pen"!==r.tool&&"blur"!==r.tool||r.mouseUpPen(t),"rect"===r.tool&&r.mouseUpRect(t)},this.svgElement.addEventListener("mousedown",this.mouseDown),this.svgElement.addEventListener("mousemove",this.mouseMove),this.svgElement.addEventListener("mouseup",this.mouseUp),this.svgElement.addEventListener("touchstart",this.mouseDown,!1),this.svgElement.addEventListener("touchmove",this.mouseMove,!1),this.svgElement.addEventListener("touchend",this.mouseUp,!1),setTimeout((function(){n.rerender()}),100)}var e,n,r;return e=t,n=[{key:"clear",value:function(){if(this.svgElement)for(;this.svgElement.firstChild;)this.svgElement.firstChild.remove()}},{key:"destroy",value:function(){this.svgElement.removeEventListener("mousedown",this.mouseDown),this.svgElement.removeEventListener("mousemove",this.mouseMove),this.svgElement.removeEventListener("mouseup",this.mouseUp),this.svgElement.removeEventListener("touchstart",this.mouseDown),this.svgElement.removeEventListener("touchmove",this.mouseMove),this.svgElement.removeEventListener("touchend",this.mouseUp),window.removeEventListener("resize",this.resizeListener)}},{key:"mouseUpPen",value:function(){this.path&&(this.path=null)}},{key:"mouseUpRect",value:function(){this.path&&(this.path=null)}},{key:"mouseMovePen",value:function(t){this.path&&(this.appendToBuffer(this.getMousePosition(t)),this.updateSvgPath())}},{key:"mouseMoveRect",value:function(t){if(this.path){var e=this.getMousePosition(t),n=Math.abs(e.x-this.startPoint.x),r=Math.abs(e.y-this.startPoint.y),o=e.x,i=e.y;e.x>this.startPoint.x&&(o=this.startPoint.x),e.y>this.startPoint.y&&(i=this.startPoint.y),this.path.setAttributeNS(null,"x",o),this.path.setAttributeNS(null,"y",i),this.path.setAttributeNS(null,"width",n),this.path.setAttributeNS(null,"height",r)}}},{key:"mouseDownRect",value:function(t){this.path=document.createElementNS("http://www.w3.org/2000/svg","rect"),this.path.setAttribute("fill","none"),this.path.setAttribute("stroke",this.color),this.path.setAttribute("stroke-linecap","round"),this.path.setAttribute("stroke-width",this.strokeWidthRect),this.startPoint=this.getMousePosition(t),this.appendPathToSvg(this.path)}},{key:"mouseDownPen",value:function(t){var e=this.color+"AA",n=this.strokeWidth;"blur"===this.tool&&(e="#000000",n=40),this.path=document.createElementNS("http://www.w3.org/2000/svg","path"),this.path.setAttribute("fill","none"),this.path.setAttribute("stroke",e),this.path.setAttribute("stroke-linecap","round"),this.path.setAttribute("stroke-width",n),this.buffer=[];var r=this.getMousePosition(t);this.appendToBuffer(r),this.strPath="M"+r.x+" "+r.y,this.path.setAttribute("d",this.strPath),this.appendPathToSvg(this.path)}},{key:"setTool",value:function(t){this.tool=t}},{key:"setColor",value:function(t){this.color=t}},{key:"getMousePosition",value:function(t){return t.touches&&t.touches.length>0?{x:t.touches[0].clientX,y:t.touches[0].clientY}:{x:t.clientX,y:t.clientY}}},{key:"getAveragePoint",value:function(t){var e=this.buffer.length;if(e%2==1||e>=this.bufferSize){var n,r,o=0,i=0,a=0;for(r=t;r<e;r++)a++,o+=(n=this.buffer[r]).x,i+=n.y;return{x:o/a,y:i/a}}return null}},{key:"updateSvgPath",value:function(){var t=this.getAveragePoint(0);if(t){this.strPath+=" L"+t.x+" "+t.y;for(var e="",n=2;n<this.buffer.length;n+=2)e+=" L"+(t=this.getAveragePoint(n)).x+" "+t.y;this.path.setAttribute("d",this.strPath+e)}}},{key:"appendToBuffer",value:function(t){for(this.buffer.push(t);this.buffer.length>this.bufferSize;)this.buffer.shift()}},{key:"appendPathToSvg",value:function(t){this.svgElement.appendChild(t),this.pathBuffer.push(t),this.rerender()}},{key:"removeLastAddedPathFromSvg",value:function(){this.pathBuffer.length<=0||!this.svgElement||(this.svgElement.removeChild(this.pathBuffer[this.pathBuffer.length-1]),this.pathBuffer.pop(),this.rerender())}},{key:"fadeOutToolbar",value:function(){var t=document.querySelector(".bb-capture-toolbar");t&&(t.style.opacity=0,t.style.pointerEvents="none")}},{key:"fadeInToolbar",value:function(){var t=document.querySelector(".bb-capture-toolbar");t&&(t.style.opacity=1,t.style.pointerEvents="auto")}}],n&&Se(e.prototype,n),r&&Se(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Ee(t){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ee(t)}function Oe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Te(r.key),r)}}function Ie(t,e,n){return(e=Te(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Te(t){var e=function(t,e){if("object"!=Ee(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Ee(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ee(e)?e:String(e)}var Ae=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Ie(this,"keys",{37:1,38:1,39:1,40:1}),Ie(this,"supportsPassive",!1),Ie(this,"wheelOpt",!!this.supportsPassive&&{passive:!1}),Ie(this,"wheelEvent","onwheel"in document.createElement("div")?"wheel":"mousewheel"),Ie(this,"scrollDisabled",!1);var e=this;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e.supportsPassive=!0,e.wheelOpt=!!e.supportsPassive&&{passive:!1}}}))}catch(n){}}var e,n,r;return e=t,r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}},{key:"disableScroll",value:function(){var t=this.getInstance();t.scrollDisabled||(t.scrollDisabled=!0,window.addEventListener("DOMMouseScroll",t.preventDefault,!1),window.addEventListener(t.wheelEvent,t.preventDefault,t.wheelOpt),window.addEventListener("touchmove",t.preventDefault,t.wheelOpt),window.addEventListener("keydown",t.preventDefaultForScrollKeys,!1))}},{key:"enableScroll",value:function(){var t=this.getInstance();t.scrollDisabled&&(t.scrollDisabled=!1,window.removeEventListener("DOMMouseScroll",t.preventDefault,!1),window.removeEventListener(t.wheelEvent,t.preventDefault,t.wheelOpt),window.removeEventListener("touchmove",t.preventDefault,t.wheelOpt),window.removeEventListener("keydown",t.preventDefaultForScrollKeys,!1))}}],(n=[{key:"preventDefault",value:function(t){t.preventDefault()}},{key:"preventDefaultForScrollKeys",value:function(t){if(this.keys&&this.keys[t.keyCode])return this.preventDefault(t),!1}}])&&Oe(e.prototype,n),r&&Oe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Le(t){return Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Le(t)}function Me(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Pe(r.key),r)}}function Re(t,e,n){return(e=Pe(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pe(t){var e=function(t,e){if("object"!=Le(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Le(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Le(e)?e:String(e)}Ie(Ae,"instance",void 0);var je=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Re(this,"type","screenshot"),Re(this,"dragCursor",null),Re(this,"screenRecorder",null),Re(this,"callback",null),Re(this,"screenDrawer",null),Re(this,"escListener",null),Re(this,"pageLeaveListener",null),Re(this,"overrideLanguage",sr.getInstance().overrideLanguage),Re(this,"showNextStep",(function(){this.showWidgetUI(),this.callback&&(bt.getInstance().sendMessage({name:"set-form-data",data:{formKey:"capture",data:{value:this.type,dirty:!0}}}),this.callback(!0))})),this.type=e}var e,n,r;return e=t,n=[{key:"hideWidgetUI",value:function(){var t=document.querySelector(".bb-feedback-button");t&&(t.style.display="none");var e=document.querySelector(".bb-feedback-dialog-container");e&&(e.style.display="none")}},{key:"showWidgetUI",value:function(){"screenshot"===this.type&&Ae.enableScroll(),this.screenRecorder&&this.screenRecorder.stopScreenRecording(),this.unregisterListeners(),this.cleanupMousePointer(),this.screenDrawer&&this.screenDrawer.destroy();var t=document.querySelector(".bb-capture-toolbar");t&&t.remove();var e=document.querySelector(".bb-capture-svg");e&&e.classList.add("bb-capture-svg--preview");var n=document.querySelector(".bb-capture-preview");n&&n.remove();var r=document.querySelector(".bb-feedback-button");r&&(r.style.display="flex");var o=document.querySelector(".bb-feedback-dialog-container");o&&(o.style.display="block");var i=document.querySelector(".bb-capture-dismiss");i&&(i.style.display="none");var a=document.querySelector(".bb-capture-toolbar-item-colorpicker");a&&(a.style.display="none");var s=document.querySelector(".bb-capture-editor-borderlayer");s&&(s.style.display="none")}},{key:"clear",value:function(){var t=document.querySelector(".bb-capture-editor");t&&t.remove()}},{key:"setMouseMove",value:function(t,e){this.dragCursor&&(this.dragCursor.style.left="".concat(t+6,"px"),this.dragCursor.style.top="".concat(e-26,"px"),this.dragCursor.style.right=null)}},{key:"mouseMoveEventHandler",value:function(t){var e=t.clientX,n=t.clientY;this.setMouseMove(e,n)}},{key:"touchMoveEventHandler",value:function(t){var e=t.touches[0].clientX,n=t.touches[0].clientY;this.setMouseMove(e,n)}},{key:"setupMousePointer",value:function(){var t=this;this.dragCursor=document.querySelector(".bb-capture-editor-drag-info");var e=document.querySelector(".bb-capture-svg");e.addEventListener("mouseenter",(function(e){t.dragCursor.style.opacity=1})),e.addEventListener("mouseleave",(function(e){t.dragCursor.style.opacity=0})),document.documentElement.addEventListener("mousemove",this.mouseMoveEventHandler.bind(this)),document.documentElement.addEventListener("touchmove",this.touchMoveEventHandler.bind(this))}},{key:"cleanupMousePointer",value:function(){document.documentElement.removeEventListener("mousemove",this.mouseMoveEventHandler),document.documentElement.removeEventListener("touchmove",this.touchMoveEventHandler),this.dragCursor&&this.dragCursor.remove()}},{key:"createEditorUI",value:function(){var t=document.createElement("div");t.className="bb-capture-editor",t.innerHTML='\n          <div class="bb-capture-editor-borderlayer"></div>\n          <svg class="bb-capture-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" xml:space="preserve"></svg>\n          <div class="bb-capture-dismiss">'.concat(p("dismiss"),"</div>\n          <div class='bb-capture-editor-drag-info'>").concat(p("rect"),'</div>\n          <div class="bb-capture-toolbar">\n            ').concat("capture"===this.type?'<div class="bb-capture-toolbar-item bb-capture-item-rec bb-capture-toolbar-item-recording" data-type="recording">\n                  '.concat(p("recorderon"),"\n                  ").concat(p("recorderoff"),'\n                  <span class="bb-tooltip bb-tooltip-screen-recording"></span>\n                </div>\n                <div class="bb-capture-toolbar-item bb-capture-item-rec" data-type="mic">\n                  ').concat(p("mic"),'\n                  <span class="bb-tooltip bb-tooltip-audio-recording"></span>\n                </div>\n                <div class="bb-capture-toolbar-item-timer bb-capture-item-rec">2:00</div>\n                <div class="bb-capture-toolbar-item-spacer"></div>\n                <div class="bb-capture-toolbar-item bb-capture-toolbar-drawingitem bb-capture-toolbar-item-tool" data-type="pointer">\n                  ').concat(p("pointer"),"\n                </div>"):"",'\n            <div class="bb-capture-toolbar-item bb-capture-toolbar-drawingitem bb-capture-toolbar-item-tool bb-capture-toolbar-item--active" data-type="rect">\n              ').concat(p("rect"),'\n            </div>\n            <div class="bb-capture-toolbar-item bb-capture-toolbar-drawingitem bb-capture-toolbar-item-tool" data-type="pen">\n              ').concat(p("pen"),'\n            </div>\n            <div class="bb-capture-toolbar-item bb-capture-toolbar-drawingitem bb-capture-toolbar-item-tool" data-type="blur">\n              ').concat(p("blur"),'\n            </div>\n            <div class="bb-capture-toolbar-item bb-capture-toolbar-drawingitem" data-type="colorpicker">\n              <div class="bb-capture-toolbar-item-selectedcolor"></div>\n              <span class="bb-tooltip">').concat(He.translateText("pickAColor"),'</span>\n            </div>\n            <div class="bb-capture-toolbar-item bb-capture-toolbar-drawingitem bb-capture-toolbar-item-tool" data-type="undo">\n              ').concat(p("undo"),'\n              <span class="bb-tooltip">').concat(He.translateText("undo"),"</span>\n            </div>\n            ").concat("capture"!==this.type?'<div class="bb-capture-button-next">'.concat(He.translateText("next"),"</div>"):"",'\n          </div>\n          <div class="bb-capture-toolbar-item-colorpicker">\n            <div class="bb-capture-toolbar-item-color" data-color="#EB144C"></div>\n            <div class="bb-capture-toolbar-item-color" data-color="#FF6705"></div>\n            <div class="bb-capture-toolbar-item-color" data-color="#FDB903"></div>\n            <div class="bb-capture-toolbar-item-color" data-color="#9900EE"></div>\n            <div class="bb-capture-toolbar-item-color" data-color="#00D082"></div>\n            <div class="bb-capture-toolbar-item-color" data-color="#0A93E4"></div>\n            <div class="bb-capture-toolbar-item-color" data-color="#CCCCCC"></div>\n          </div>\n          <div class="bb-capture-preview">\n            <div class="bb-capture-preview-inner">\n              <video controls muted autoplay></video>\n              <div class="bb-capture-preview-buttons">\n                <div class="bb-capture-preview-retrybutton">').concat(He.translateText("retry"),'</div>\n                <div class="bb-capture-preview-sendbutton">').concat(He.translateText("next"),"</div>\n              </div>\n            </div>\n          </div>\n        "),document.body.appendChild(t),t.setAttribute("dir",He.getInstance().isRTLLayout?"rtl":"ltr")}},{key:"unregisterListeners",value:function(){this.escListener&&document.removeEventListener("keydown",this.escListener),this.pageLeaveListener&&window.removeEventListener("beforeunload",this.pageLeaveListener)}},{key:"registerListeners",value:function(){var t=this;this.escListener=function(e){var n=!1,r=!1;"key"in(e=e||window.event)&&(n="Escape"===e.key,r="Enter"===e.key),n&&t.dismiss(),"screenshot"===t.type&&r&&t.showNextStep()},document.addEventListener("keydown",this.escListener),this.pageLeaveListener=function(t){t.preventDefault(),t.returnValue=""},window.addEventListener("beforeunload",this.pageLeaveListener)}},{key:"show",value:function(t){this.callback=t,this.registerListeners(),this.hideWidgetUI(),this.createEditorUI(),this.setupMousePointer(),"screenshot"===this.type?(sr.getInstance().setGlobalDataItem("snapshotPosition",{x:window.scrollX,y:window.scrollY}),Ae.disableScroll()):this.setupScreenRecording(),this.screenDrawer=new Ce(this.captureScreenDrawerRerender.bind(this)),this.setupColorPicker(),this.setupToolbar()}},{key:"setupColorPicker",value:function(){for(var e=this,n=document.querySelector(".bb-capture-toolbar-item-selectedcolor"),r=document.querySelectorAll(".bb-capture-toolbar-item-color"),o=document.querySelector(".bb-capture-toolbar-item-colorpicker"),i=function(){var i=r[a],s=i.getAttribute("data-color");i.style.backgroundColor=s,i.onclick=function(){i&&(e.screenDrawer.setColor(s),o&&(o.style.display="none"),n.style.backgroundColor=i.style.backgroundColor,t.setPenColor(s))}},a=0;a<r.length;a++)i()}},{key:"dismiss",value:function(){this.showWidgetUI(),this.callback&&this.callback(!1)}},{key:"setupToolbar",value:function(){var t=this;document.querySelector(".bb-capture-dismiss").onclick=function(){t.dismiss()};var e=document.querySelector(".bb-capture-button-next");e&&(e.onclick=this.showNextStep.bind(this));for(var n=document.querySelector(".bb-capture-toolbar-item-colorpicker"),r=document.querySelector(".bb-capture-svg"),o=function(e,n){for(var o=document.querySelectorAll(".bb-capture-toolbar-item-tool"),i=0;i<o.length;i++)o[i].classList.remove("bb-capture-toolbar-item--active");if(n.classList.add("bb-capture-toolbar-item--active"),t.screenDrawer.setTool(e),t.dragCursor.innerHTML="","pointer"===e)r.style.pointerEvents="none";else{r.style.pointerEvents="auto";try{var a=n.querySelector("svg").cloneNode(!0);a&&t.dragCursor&&t.dragCursor.appendChild(a)}catch(s){}}},i=document.querySelectorAll(".bb-capture-toolbar-item"),a=function(){var e=i[s];e.onclick=function(){var r=e.getAttribute("data-type");n&&"colorpicker"!==r&&(n.style.display="none"),"mic"===r&&t.screenRecorder.toggleAudio(),"recording"===r&&(t.screenRecorder.isRecording?t.screenRecorder.stopScreenRecording():(t.screenRecorder.startScreenRecording(),o("pointer",document.querySelector(".bb-capture-toolbar-item[data-type='pointer']")))),("capture"!==t.type||t.screenRecorder.isRecording)&&("pen"!==r&&"blur"!==r&&"rect"!==r&&"pointer"!==r||o(r,e),"colorpicker"===r&&("flex"===n.style.display?n.style.display="none":n.style.display="flex"),"undo"===r&&t.screenDrawer.removeLastAddedPathFromSvg())}},s=0;s<i.length;s++)a()}},{key:"captureScreenDrawerRerender",value:function(){if(this.screenDrawer)for(var t="bb-capture-editor-item-inactive",e=document.querySelectorAll(".bb-capture-toolbar-item"),n=0;n<e.length;n++){var r=e[n];"undo"===r.getAttribute("data-type")&&(null!=this.screenDrawer.pathBuffer&&this.screenDrawer.pathBuffer.length>0?r.classList.remove(t):r.classList.add(t))}}},{key:"captureRenderer",value:function(){if(this.screenRecorder){this.screenRecorder.file&&sr.getInstance().setGlobalDataItem("screenRecordingData",this.screenRecorder.file);var t="bb-capture-editor-item-inactive",e=document.querySelector(".bb-capture-toolbar-item-timer"),n=document.querySelectorAll(".bb-capture-toolbar-item"),r=document.querySelector(".bb-tooltip-screen-recording"),o=document.querySelector(".bb-tooltip-audio-recording"),i=document.querySelector(".bb-capture-editor"),a="bb-capture-editor-recording",s="bb-capture-editor-notrecording";this.screenRecorder.isRecording?(i.classList.add(a),i.classList.remove(s)):(i.classList.add(s),i.classList.remove(a));var c=document.querySelector(".bb-capture-toolbar");document.querySelector(".bb-capture-preview").style.display=this.screenRecorder.file?"flex":"none",c.style.display=this.screenRecorder.file?"none":"flex";for(var u=0;u<n.length;u++){var l=n[u];switch(l.getAttribute("data-type")){case"mic":this.screenRecorder.audioAvailable&&this.screenRecorder.available?(l.classList.remove(t),this.screenRecorder.audioMuted?(l.classList.add("bb-capture-toolbar-item--inactivecross"),o.innerHTML=He.translateText("unmute")):(l.classList.remove("bb-capture-toolbar-item--inactivecross"),o.innerHTML=He.translateText("mute"))):(l.classList.add(t),l.classList.add("bb-capture-toolbar-item--inactivecross"),o.innerHTML=He.translateText("browserNotSupported"));break;case"recording":this.screenRecorder.available?(l.classList.remove(t),this.screenRecorder.isRecording?(l.setAttribute("data-active","true"),r.innerHTML=He.translateText("stopRecording"),e.style.display="block"):(l.setAttribute("data-active","false"),r.innerHTML=He.translateText("startRecording"),e.style.display="none")):(l.classList.add(t),r.innerHTML=He.translateText("browserNotSupported"))}}}}},{key:"setupScreenRecording",value:function(){var t=this;document.querySelector(".bb-capture-preview-sendbutton").onclick=this.showNextStep.bind(this),document.querySelector(".bb-capture-preview-retrybutton").onclick=function(){t.screenRecorder.clearPreview(),t.screenDrawer&&t.screenDrawer.clear()},this.screenRecorder=new it(this.captureRenderer.bind(this),He.translateText("accessToScreenSharingDenied"))}}],r=[{key:"setPenColor",value:function(t){for(var e=document.querySelectorAll(".bb-pen-tip"),n=0;n<e.length;n++)e[n].style.fill=t}}],n&&Me(e.prototype,n),r&&Me(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Ne(t){return Ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ne(t)}function De(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Be(r.key),r)}}function Fe(t,e,n){return(e=Be(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Be(t){var e=function(t,e){if("object"!=Ne(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Ne(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ne(e)?e:String(e)}var He=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Fe(this,"overrideLanguage",""),Fe(this,"isRTLLayout",!1)}var e,n,r;return e=t,r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}},{key:"translateText",value:function(t){if(!t)return"";var e=W.getInstance().getFlowConfig().staticTranslations;return e&&e[t]?e[t]:t}}],(n=[{key:"getOverrideLanguage",value:function(){return this.overrideLanguage}},{key:"setOverrideLanguage",value:function(t){this.overrideLanguage=t}},{key:"updateRTLSupport",value:function(){var t=W.getInstance().getFlowConfig();this.isRTLLayout=!1,t&&t.localizationOptions&&t.localizationOptions.rtl&&(this.isRTLLayout=!0),o.getInstance().updateFeedbackButtonState(),bt.getInstance().updateFrameStyle()}},{key:"getActiveLanguage",value:function(){var t="en";return"undefined"!=typeof navigator&&(t=navigator.language.substring(0,2).toLowerCase()),this.overrideLanguage&&""!==this.overrideLanguage&&(t=this.overrideLanguage.toLowerCase()),t}}])&&De(e.prototype,n),r&&De(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Ue(t){return Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ue(t)}function ze(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,$e(r.key),r)}}function We(t,e,n){return(e=$e(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $e(t){var e=function(t,e){if("object"!=Ue(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Ue(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ue(e)?e:String(e)}Fe(He,"instance",void 0);var qe=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),We(this,"shortCutListener",void 0)}var e,n,r;return e=t,r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],(n=[{key:"start",value:function(){this.shortCutListener||(this.shortCutListener=document.addEventListener("keyup",(function(t){var e,n,r=(void 0!==(e=t).key?n=e.key:void 0!==e.keyIdentifier?n=e.keyIdentifier:void 0!==e.keyCode&&(n=e.keyCode),n);!t.ctrlKey||"u"!==r&&"U"!==r&&85!==r||sr.startFeedbackFlowWithOptions("bugreporting",{autostartDrawing:!0})})))}},{key:"stop",value:function(){this.shortCutListener&&(document.removeEventListener("keyup",this.shortCutListener),this.shortCutListener=void 0)}}])&&ze(e.prototype,n),r&&ze(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Ve(t){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ve(t)}function Xe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ke(r.key),r)}}function Ge(t,e,n){return(e=Ke(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t){var e=function(t,e){if("object"!=Ve(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Ve(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ve(e)?e:String(e)}We(qe,"instance",void 0);var Ye=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Ge(this,"formPreFill",{})}var e,n,r;return e=t,r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],(n=null)&&Xe(e.prototype,n),r&&Xe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Ze(t){return Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ze(t)}function Je(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,tn(r.key),r)}}function Qe(t,e,n){return(e=tn(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tn(t){var e=function(t,e){if("object"!=Ze(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Ze(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ze(e)?e:String(e)}Ge(Ye,"instance",void 0);var en=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Qe(this,"notificationContainer",null),Qe(this,"notifications",[]),Qe(this,"unreadCount",0),Qe(this,"unreadNotificationsKey","unread-notifications"),Qe(this,"isTabActive",!0),Qe(this,"showNotificationBadge",!0)}var e,n,r;return e=t,n=[{key:"updateTabBarNotificationCount",value:function(){Gt.notifyEvent("unread-count-changed",this.unreadCount)}},{key:"injectNotificationUI",value:function(){if(!this.notificationContainer){var t=document.createElement("div");t.className="gleap-notification-container gleap-font",document.body.appendChild(t),this.notificationContainer=t,this.updateContainerStyle(),this.reloadNotificationsFromCache()}}},{key:"reloadNotificationsFromCache",value:function(){var t=k(this.unreadNotificationsKey);t&&t.length>0&&(this.notifications=t,this.renderNotifications())}},{key:"setNotificationCount",value:function(t){bt.getInstance().isOpened()?(this.unreadCount=0,this.updateTabBarNotificationCount()):this.unreadCount=t,this.updateTabBarNotificationCount(),o.getInstance().updateNotificationBadge(this.unreadCount)}},{key:"showNotification",value:function(t){this.notificationContainer&&t&&t.data&&(this.notifications.find((function(e){return t.outbound===e.outbound}))||(this.notifications.push(t),t.sound&&hn.ping()),this.notifications.length>3&&this.notifications.shift(),_(this.unreadNotificationsKey,this.notifications),this.renderNotifications())}},{key:"renderNotifications",value:function(){var t=this;if(this.notificationContainer){this.clearAllNotifications(!0);var e=document.createElement("div");e.onclick=function(){t.clearAllNotifications()},e.className="gleap-notification-close",e.innerHTML=p("dismiss"),this.notificationContainer.appendChild(e);for(var n,r,o=function(){var e=t.notifications[i];n=(n=e.data.text).replaceAll("{{name}}",M.getInstance().getName());var o=document.createElement("div");o.onclick=function(){e.data.conversation?sr.openConversation(e.data.conversation.shareToken):e.data.news?sr.openNewsArticle(e.data.news.id):e.data.checklist?sr.openChecklist(e.data.checklist.id):sr.open()},e.data.news?(o.className="gleap-notification-item-news",o.innerHTML='\n        <div class="gleap-notification-item-news-container">\n          '.concat(e.data.coverImageUrl&&""!==e.data.coverImageUrl&&!e.data.coverImageUrl.includes("NewsImagePlaceholder")?'<img class="gleap-notification-item-news-image" src="'.concat(e.data.coverImageUrl,'" />'):"",'\n          <div class="gleap-notification-item-news-content">\n          <div class="gleap-notification-item-news-content-title">').concat(n,"</div>\n          ").concat(e.data.previewText&&e.data.previewText.length>0?'<div class="gleap-notification-item-news-preview">'.concat(e.data.previewText,"</div>"):"".concat(e.data.sender?'\n          <div class="gleap-notification-item-news-sender">\n            '.concat(e.data.sender.profileImageUrl&&'<img src="'.concat(e.data.sender.profileImageUrl,'" />')," ").concat(e.data.sender.name,"</div>"):""),"\n          </div>\n        </div>")):e.data.checklist?((r=Math.round(e.data.currentStep/e.data.totalSteps*100))<100&&(r+=4),o.className="gleap-notification-item-checklist",o.innerHTML='\n        <div class="gleap-notification-item-checklist-container">\n          <div class="gleap-notification-item-checklist-content">\n            <div class="gleap-notification-item-checklist-content-title">'.concat(e.data.text,'</div>\n            <div class="gleap-notification-item-checklist-content-progress">\n              <div class="gleap-notification-item-checklist-content-progress-inner" style="width: ').concat(r,'%;"></div>\n            </div>\n            <div class="gleap-notification-item-checklist-content-next">\n              <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n                <path d="M4 12H20M20 12L14 6M20 12L14 18" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n              </svg>\n              ').concat(e.data.nextStepTitle,"\n            </div>\n          </div>\n        </div>")):(o.className="gleap-notification-item",o.innerHTML="\n            ".concat(e.data.sender&&e.data.sender.profileImageUrl&&'<img src="'.concat(e.data.sender.profileImageUrl,'" />'),'\n            <div class="gleap-notification-item-container">\n                ').concat(e.data.sender?'<div  class="gleap-notification-item-sender">'.concat(e.data.sender.name,"</div>"):"",'\n                <div class="gleap-notification-item-content">').concat(n,"</div>\n            </div>")),t.notificationContainer.appendChild(o)},i=0;i<this.notifications.length;i++)o()}}},{key:"clearAllNotifications",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.notificationContainer)for(t||(this.notifications=[],_(this.unreadNotificationsKey,this.notifications));this.notificationContainer.firstChild;)this.notificationContainer.removeChild(this.notificationContainer.firstChild)}},{key:"updateContainerStyle",value:function(){if(this.notificationContainer){var t=W.getInstance().getFlowConfig(),e="gleap-notification-container--left",n="gleap-notification-container--no-button";this.notificationContainer.classList.remove(e),this.notificationContainer.classList.remove(n),t.feedbackButtonPosition!==o.FEEDBACK_BUTTON_CLASSIC_LEFT&&t.feedbackButtonPosition!==o.FEEDBACK_BUTTON_BOTTOM_LEFT||this.notificationContainer.classList.add(e),null===o.getInstance().buttonHidden?t.feedbackButtonPosition===o.FEEDBACK_BUTTON_NONE&&this.notificationContainer.classList.add(n):o.getInstance().buttonHidden&&this.notificationContainer.classList.add(n),this.notificationContainer.setAttribute("dir",He.getInstance().isRTLLayout?"rtl":"ltr")}}}],r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],n&&Je(e.prototype,n),r&&Je(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function nn(t){return nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nn(t)}function rn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function on(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?rn(Object(n),!0).forEach((function(e){sn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function an(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,cn(r.key),r)}}function sn(t,e,n){return(e=cn(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cn(t){var e=function(t,e){if("object"!=nn(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=nn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==nn(e)?e:String(e)}Qe(en,"instance",void 0);var un=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),sn(this,"bannerUrl","https://outboundmedia.gleap.io"),sn(this,"bannerContainer",null),sn(this,"bannerData",null),this.startCommunication()}var e,n,r;return e=t,r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],(n=[{key:"setBannerUrl",value:function(t){this.bannerUrl=t}},{key:"startCommunication",value:function(){var t=this;window.addEventListener("message",(function(e){if(e.origin===t.bannerUrl)try{var n,r,o,i,a,s,c,u,l=JSON.parse(e.data);"banner-loaded"===l.name&&t.bannerData&&t.sendMessage({name:"banner-data",data:t.bannerData}),"banner-height"===l.name&&document.documentElement.style.setProperty("--gleap-margin-top",l.data.height+"px"),"banner-data-set"===l.name&&(document.body.classList.add("gleap-b-shown"),"floating"===(null===(n=t.bannerData)||void 0===n?void 0:n.format)&&document.body.classList.add("gleap-b-f")),"banner-close"===l.name&&t.removeBannerUI(),"start-conversation"===l.name&&sr.startBot(null===(r=l.data)||void 0===r?void 0:r.botId),"start-custom-action"===l.name&&sr.triggerCustomAction(null===(o=l.data)||void 0===o?void 0:o.action),"show-form"===l.name&&sr.startFeedbackFlow(null===(i=l.data)||void 0===i?void 0:i.formId),"show-survey"===l.name&&sr.showSurvey(null===(a=l.data)||void 0===a?void 0:a.formId,null===(s=l.data)||void 0===s?void 0:s.surveyFormat),"show-news-article"===l.name&&sr.openNewsArticle(null===(c=l.data)||void 0===c?void 0:c.articleId),"show-help-article"===l.name&&sr.openHelpCenterArticle(null===(u=l.data)||void 0===u?void 0:u.articleId)}catch(f){}}))}},{key:"removeBannerUI",value:function(){this.bannerContainer&&(document.body.removeChild(this.bannerContainer),this.bannerContainer=null),document.body.classList.remove("gleap-b-shown"),document.body.classList.remove("gleap-b-f")}},{key:"injectBannerUI",value:function(t){if(this.bannerContainer||!document.body)return!1;this.bannerData=t;var e=document.createElement("div");e.className="gleap-b",e.innerHTML='<iframe src="'.concat(this.bannerUrl,'" class="gleap-b-frame" scrolling="no" title="Gleap Banner" role="dialog" frameborder="0"></iframe>'),document.body.appendChild(e),this.bannerContainer=e}},{key:"sendMessage",value:function(t){try{var e=document.querySelector(".gleap-b-frame");e&&e.contentWindow&&e.contentWindow.postMessage(JSON.stringify(on(on({},t),{},{type:"banner"})),"*")}catch(n){}}},{key:"showBanner",value:function(t){this.injectBannerUI(t)}}])&&an(e.prototype,n),r&&an(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function ln(t){return ln="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ln(t)}function fn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,dn(r.key),r)}}function pn(t,e,n){return(e=dn(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dn(t){var e=function(t,e){if("object"!=ln(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=ln(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ln(e)?e:String(e)}sn(un,"instance",void 0);var hn=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,r=[{key:"playSound",value:function(t){this.settings.play=t}},{key:"ping",value:function(){try{if(!this.settings.play)return;this.audio||(this.audio=new Audio("https://js.gleap.io/res/ping.mp3"));var t=this.audio.play();void 0!==t&&t.then((function(t){})).catch((function(t){}))}catch(e){}}}],(n=null)&&fn(e.prototype,n),r&&fn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function vn(t){return vn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vn(t)}function mn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,yn(r.key),r)}}function gn(t,e,n){return(e=yn(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yn(t){var e=function(t,e){if("object"!=vn(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=vn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==vn(e)?e:String(e)}pn(hn,"audio",void 0),pn(hn,"settings",{play:!0});var bn=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),gn(this,"tags",[])}var e,n,r;return e=t,r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],(n=[{key:"getTags",value:function(){return this.tags}},{key:"setTags",value:function(t){this.tags=t}}])&&mn(e.prototype,n),r&&mn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();gn(bn,"instance",void 0);class wn{constructor(t){var e,n,r,o,i,a,s,c,u,l,f;this.overlay=document.createElement("div"),this.overlay.className=t.className||"_ext-element-overlay",this.overlay.style.background=(null===(e=t.style)||void 0===e?void 0:e.background)||"rgba(250, 240, 202, 0.2)",this.overlay.style.borderColor=(null===(n=t.style)||void 0===n?void 0:n.borderColor)||"#F95738",this.overlay.style.borderStyle=(null===(r=t.style)||void 0===r?void 0:r.borderStyle)||"solid",this.overlay.style.borderRadius=(null===(o=t.style)||void 0===o?void 0:o.borderRadius)||"1px",this.overlay.style.borderWidth=(null===(i=t.style)||void 0===i?void 0:i.borderWidth)||"1px",this.overlay.style.boxSizing=(null===(a=t.style)||void 0===a?void 0:a.boxSizing)||"border-box",this.overlay.style.cursor=(null===(s=t.style)||void 0===s?void 0:s.cursor)||"crosshair",this.overlay.style.position=(null===(c=t.style)||void 0===c?void 0:c.position)||"absolute",this.overlay.style.zIndex=(null===(u=t.style)||void 0===u?void 0:u.zIndex)||"2147483647",this.overlay.style.margin=(null===(l=t.style)||void 0===l?void 0:l.margin)||"0px",this.overlay.style.padding=(null===(f=t.style)||void 0===f?void 0:f.padding)||"0px",this.shadowContainer=document.createElement("div"),this.shadowContainer.className="_ext-element-overlay-container",this.shadowContainer.style.position="absolute",this.shadowContainer.style.top="0px",this.shadowContainer.style.left="0px",this.shadowContainer.style.margin="0px",this.shadowContainer.style.padding="0px",this.shadowRoot=this.shadowContainer.attachShadow({mode:"open"})}addToDOM(t,e){this.usingShadowDOM=e,e?(t.insertBefore(this.shadowContainer,t.firstChild),this.shadowRoot.appendChild(this.overlay)):t.appendChild(this.overlay)}removeFromDOM(){this.setBounds({x:0,y:0,width:0,height:0}),this.overlay.remove(),this.usingShadowDOM&&this.shadowContainer.remove()}captureCursor(){this.overlay.style.pointerEvents="auto"}ignoreCursor(){this.overlay.style.pointerEvents="none"}setBounds({x:t,y:e,width:n,height:r}){this.overlay.style.left=t+"px",this.overlay.style.top=e+"px",this.overlay.style.width=n+"px",this.overlay.style.height=r+"px"}}class xn{constructor(t){this.handleMouseMove=t=>{this.mouseX=t.clientX,this.mouseY=t.clientY},this.handleClick=t=>{var e;this.target&&(null===(e=this.options)||void 0===e?void 0:e.onClick)&&this.options.onClick(this.target),t.preventDefault()},this.tick=()=>{this.updateTarget(),this.tickReq=window.requestAnimationFrame(this.tick)},this.active=!1,this.overlay=new wn(null!=t?t:{})}start(t){var e,n;return!this.active&&(this.active=!0,this.options=t,document.addEventListener("mousemove",this.handleMouseMove,!0),document.addEventListener("click",this.handleClick,!0),this.overlay.addToDOM(null!==(e=t.parentElement)&&void 0!==e?e:document.body,null===(n=t.useShadowDOM)||void 0===n||n),this.tick(),!0)}stop(){this.active=!1,this.options=void 0,document.removeEventListener("mousemove",this.handleMouseMove,!0),document.removeEventListener("click",this.handleClick,!0),this.overlay.removeFromDOM(),this.target=void 0,this.mouseX=void 0,this.mouseY=void 0,this.tickReq&&window.cancelAnimationFrame(this.tickReq)}updateTarget(){var t,e;if(void 0===this.mouseX||void 0===this.mouseY)return;this.overlay.ignoreCursor();const n=document.elementFromPoint(this.mouseX,this.mouseY);if(this.overlay.captureCursor(),!n||n===this.target)return;if((null===(t=this.options)||void 0===t?void 0:t.elementFilter)&&!this.options.elementFilter(n))return this.target=void 0,void this.overlay.setBounds({x:0,y:0,width:0,height:0});this.target=n;const r=(t=>{const e=t.getBoundingClientRect();return{x:window.pageXOffset+e.left,y:window.pageYOffset+e.top,width:t.offsetWidth,height:t.offsetHeight}})(n);this.overlay.setBounds(r),(null===(e=this.options)||void 0===e?void 0:e.onHover)&&this.options.onHover(n)}}var Sn=i(924);function kn(t){return kn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kn(t)}function _n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,On(r.key),r)}}function Cn(t,e,n){return e&&_n(t.prototype,e),n&&_n(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function En(t,e,n){return(e=On(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function On(t){var e=function(t,e){if("object"!=kn(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=kn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==kn(e)?e:String(e)}const In=Cn((function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),En(this,"picker",null),En(this,"onElementPicked",null),En(this,"stopPicker",(function(){if(e.picker)return e.picker.stop(),void(e.picker=null)})),En(this,"startPicker",(function(){e.stopPicker();var t=e;e.picker=new xn({style:{borderColor:"#2142E7",background:"transparent",borderWidth:"4px",borderRadius:"5px"}}),e.picker.start({useShadowDOM:!1,onClick:function(e){try{var n=(0,Sn.A)(e);t.onElementPicked&&t.onElementPicked(n)}catch(a){console.error("Error while getting unique selector",a)}},elementFilter:function(t){return!t.classList.contains("gleap-admin-collapse-ui")&&!t.closest(".gleap-admin-collapse-ui")}})})),En(this,"setMode",(function(t){e.mode=t,"navigate"===t&&e.stopPicker(),"picker"===t&&e.startPicker()}))}));function Tn(t){return Tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tn(t)}function An(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ln(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?An(Object(n),!0).forEach((function(e){Rn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):An(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Mn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Pn(r.key),r)}}function Rn(t,e,n){return(e=Pn(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pn(t){var e=function(t,e){if("object"!=Tn(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Tn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Tn(e)?e:String(e)}var jn=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Rn(this,"libraryInstance",null),Rn(this,"lastUrl",void 0),Rn(this,"injectedFrame",!1),Rn(this,"gleapFrameContainer",null),Rn(this,"gleapCollapseUI",null),Rn(this,"injectedCollapseUI",!1),Rn(this,"gleapFrame",null),Rn(this,"configData",null),Rn(this,"adminHelper",null),Rn(this,"status","navigate"),Rn(this,"toggleCollapseUI",(function(){var t="gleap-admin-collapse-ui-active",n="gleap-admin-frame-container-active",r=function(t,e){return t&&t.classList.contains(e)};(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0])||r(e.gleapCollapseUI,t)&&r(e.gleapFrameContainer,n))&&(e.gleapCollapseUI&&e.gleapCollapseUI.classList.toggle(t),e.gleapFrameContainer&&e.gleapFrameContainer.classList.toggle(n))})),Rn(this,"injectCollapseUI",(function(){if(!e.injectedCollapseUI){e.injectedCollapseUI=!0;var t=document.createElement("div");t.className="gleap-admin-collapse-ui",t.innerHTML='<div class="gleap-admin-collapse-ui-icon">\n    '.concat(p("arrowdown"),"\n    </div>"),document.body.appendChild(t),e.gleapCollapseUI=t,t.addEventListener("click",(function(){e.toggleCollapseUI()}))}})),Rn(this,"injectFrame",(function(){if(!e.injectedFrame){e.injectedFrame=!0;var t=document.createElement("div");t.className="gleap-admin-frame-container",t.innerHTML='<iframe src="https://app.gleap.io/producttourbuilder" class="gleap-admin-frame" scrolling="no" title="Gleap Admin Window" allow="autoplay; encrypted-media; fullscreen;" frameborder="0"></iframe>',document.body.appendChild(t),e.gleapFrameContainer=t,e.gleapFrame=document.querySelector(".gleap-admin-frame")}}))}var e,o,i;return e=t,i=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],(o=[{key:"logCurrentPage",value:function(){var t=window.location.href;t&&t!==this.lastUrl&&(this.lastUrl=t,this.sendMessageToTourBuilder({name:"page-changed",data:{page:t}}))}},{key:"startPageListener",value:function(){var t=this;setInterval((function(){t.logCurrentPage()}),1e3)}},{key:"initAdminHelper",value:function(){var t=this;t.adminHelper=new In;try{t.adminHelper.onElementPicked=function(e){t.toggleCollapseUI(!0),t.sendMessageToTourBuilder({name:"element-picked",data:{selector:e}})}}catch(e){console.log(e)}t.injectFrame(),t.injectCollapseUI(),t.setFrameHeight("loading")}},{key:"setFrameHeight",value:function(t){if(this.gleapFrameContainer){var e="";e="picker"===t||"navigate"===t?"65px":"editor"===t?"100vh":"0px",this.gleapFrameContainer.style.height=e}}},{key:"start",value:function(){var t=this;if("undefined"!=typeof window&&!window.gleapAdminDisabled){var e=this;window.addEventListener("message",(function(o){if(o.origin&&"https://app.gleap.io"!==!o.origin)try{var i=JSON.parse(o.data);if("admin"===i.type&&"load"===i.name&&(e.configData=i.data,e.initAdminHelper()),"tourbuilder"===i.type){if("loaddata"===i.name&&t.sendMessageToTourBuilder({name:"data",data:e.configData}),"save"===i.name&&t.sendMessage({name:"save",data:i.data}),"click"===i.name)try{document.querySelector(i.data.selector).click()}catch(n){console.log(n)}"status-changed"===i.name&&(e.status=i.data,t.setFrameHeight(e.status),e.adminHelper.stopPicker(),"picker"===e.status&&e.adminHelper.startPicker())}}catch(r){}})),this.sendMessage({name:"init"}),this.startPageListener()}}},{key:"sendMessage",value:function(t){try{window&&window.opener&&window.opener.postMessage(JSON.stringify(Ln(Ln({},t),{},{type:"admin"})),"*")}catch(e){}}},{key:"sendMessageToTourBuilder",value:function(t){try{this.gleapFrame&&this.gleapFrame.contentWindow&&this.gleapFrame.contentWindow.postMessage(JSON.stringify(Ln(Ln({},t),{},{type:"tourbuilder"})),"*")}catch(e){}}}])&&Mn(e.prototype,o),i&&Mn(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Nn(t){return Nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nn(t)}function Dn(t){return function(t){if(Array.isArray(t))return Fn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Fn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fn(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Bn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Hn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bn(Object(n),!0).forEach((function(e){Un(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Un(t,e,n){return e=function(t){var e=function(t,e){if("object"!=Nn(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Nn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Nn(e)?e:String(e)}(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Rn(jn,"instance",void 0);var zn=function(){var t={};function e(){t=Hn({animate:!0,allowClose:!0,overlayOpacity:.7,smoothScroll:!1,disableActiveInteraction:!1,showProgress:!1,stagePadding:10,stageRadius:5,popoverOffset:10,showButtons:["next","previous","close"],disableButtons:[],overlayColor:"#000"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}function n(e){return e?t[e]:t}function r(t,e,n,r){return(t/=r/2)<1?n/2*t*t+e:-n/2*(--t*(t-2)-1)+e}function o(t){var e='a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])';return t.flatMap((function(t){var n=t.matches(e),r=Array.from(t.querySelectorAll(e));return[].concat(Dn(n?[t]:[]),r)})).filter((function(t){return"none"!==getComputedStyle(t).pointerEvents&&function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}(t)}))}function i(t){if(t&&!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}(t)){var e=n("smoothScroll");t.scrollIntoView({behavior:!e||a(t)?"auto":"smooth",inline:"center",block:"center"})}}function a(t){if(t&&t.parentElement){var e=t.parentElement;return e.scrollHeight>e.clientHeight}}var s={};function c(t,e){s[t]=e}function u(t){return t?s[t]:s}function l(){s={}}var f={};function p(t,e){f[t]=e}function d(t){var e;null==(e=f[t])||e.call(f)}function h(t){if(t){var e=t.getBoundingClientRect(),n={x:e.x,y:e.y,width:e.width,height:e.height};c("__activeStagePosition",n),m(n)}}function v(t){var e=function(t){var e=window.innerWidth,r=window.innerHeight,o=document.createElementNS("http://www.w3.org/2000/svg","svg");o.classList.add("gleap-tour-overlay","gleap-tour-overlay-animated"),o.setAttribute("viewBox","0 0 ".concat(e," ").concat(r)),o.setAttribute("xmlSpace","preserve"),o.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),o.setAttribute("version","1.1"),o.setAttribute("preserveAspectRatio","xMinYMin slice"),o.style.fillRule="evenodd",o.style.clipRule="evenodd",o.style.strokeLinejoin="round",o.style.strokeMiterlimit="2",o.style.zIndex="10000",o.style.position="fixed",o.style.top="0",o.style.left="0",o.style.width="100%",o.style.height="100%";var i=document.createElementNS("http://www.w3.org/2000/svg","path");return i.setAttribute("d",g(t)),i.style.fill=n("overlayColor")||"rgb(0,0,0)",i.style.opacity="".concat(n("overlayOpacity")),i.style.pointerEvents="auto",i.style.cursor="auto",o.appendChild(i),o}(t);document.body.appendChild(e),k(e,(function(t){"path"===t.target.tagName&&d("overlayClick")})),c("__overlaySvg",e)}function m(t){var e=u("__overlaySvg");if(e){var n=e.firstElementChild;if("path"!==(null==n?void 0:n.tagName))throw new Error("no path element found in stage svg");n.setAttribute("d",g(t))}else v(t)}function g(t){var e=window.innerWidth,r=window.innerHeight,o=n("stagePadding")||0,i=n("stageRadius")||0,a=t.width+2*o,s=t.height+2*o,c=Math.min(i,a/2,s/2),u=Math.floor(Math.max(c,0)),l=t.x-o+u,f=t.y-o,p=a-2*u,d=s-2*u;return"M".concat(e,",0L0,0L0,").concat(r,"L").concat(e,",").concat(r,"L").concat(e,",0Z\n    M").concat(l,",").concat(f," h").concat(p," a").concat(u,",").concat(u," 0 0 1 ").concat(u,",").concat(u," v").concat(d," a").concat(u,",").concat(u," 0 0 1 -").concat(u,",").concat(u," h-").concat(p," a").concat(u,",").concat(u," 0 0 1 -").concat(u,",-").concat(u," v-").concat(d," a").concat(u,",").concat(u," 0 0 1 ").concat(u,",-").concat(u," z")}function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,o=t.element,a="string"==typeof o?document.querySelector(o):o;o&&!a&&e>=0?setTimeout((function(){_(),y(t,e-100)}),100):(a||(a=function(){var t=document.getElementById("gleap-tour-dummy-element");if(t)return t;var e=document.createElement("div");return e.id="gleap-tour-dummy-element",e.style.width="0",e.style.height="0",e.style.pointerEvents="none",e.style.opacity="0",e.style.position="fixed",e.style.top="50%",e.style.left="50%",document.body.appendChild(e),e}()),function(t,e){var o,a,s=400,l=Date.now(),f=u("__activeStep"),p=u("__activeElement")||t,d=!p||p===t,v="gleap-tour-dummy-element"===t.id,g="gleap-tour-dummy-element"===p.id,y=n("animate"),b=e.onHighlightStarted||n("onHighlightStarted"),w=(null==e?void 0:e.onHighlighted)||n("onHighlighted"),x=(null==f?void 0:f.onDeselected)||n("onDeselected"),S=n(),k=u();!d&&x&&x(g?void 0:p,f,{config:S,state:k}),b&&b(v?void 0:t,e,{config:S,state:k});var E=!d&&y,O=!1;_(),c("previousStep",f),c("previousElement",p),c("activeStep",e),c("activeElement",t);var I=function o(){if(u("__transitionCallback")===o){var i=Date.now()-l,a=s-i<=s/2;e.popover&&a&&!O&&E&&(C(t,e),O=!0),n("animate")&&i<s?function(t,e,n,o){var i=u("__activeStagePosition"),a=i||n.getBoundingClientRect(),s=o.getBoundingClientRect();m(i={x:r(t,a.x,s.x-a.x,e),y:r(t,a.y,s.y-a.y,e),width:r(t,a.width,s.width-a.width,e),height:r(t,a.height,s.height-a.height,e)}),c("__activeStagePosition",i)}(i,s,p,t):(h(t),w&&w(v?void 0:t,e,{config:n(),state:u()}),c("__transitionCallback",void 0),c("__previousStep",f),c("__previousElement",p),c("__activeStep",e),c("__activeElement",t)),window.requestAnimationFrame(o)}};c("__transitionCallback",I),window.requestAnimationFrame(I),i(t),!E&&e.popover&&C(t,e),p.classList.remove("gleap-tour-active-element","gleap-tour-no-interaction"),p.removeAttribute("aria-haspopup"),p.removeAttribute("aria-expanded"),p.removeAttribute("aria-controls"),null!==(o=null!==(a=e.disableActiveInteraction)&&void 0!==a?a:n("disableActiveInteraction"))&&void 0!==o&&o&&t.classList.add("gleap-tour-no-interaction"),t.classList.add("gleap-tour-active-element"),t.setAttribute("aria-haspopup","dialog"),t.setAttribute("aria-expanded","true"),t.setAttribute("aria-controls","gleap-tour-popover-content")}(a,t))}function b(){var t=u("__activeElement"),e=u("__activeStep");t&&(h(t),function(){var t=u("__activeStagePosition"),e=u("__overlaySvg");if(t)if(e){var n=window.innerWidth,r=window.innerHeight;e.setAttribute("viewBox","0 0 ".concat(n," ").concat(r))}else console.warn("No stage svg found.")}(),T(t,e))}function w(){var t=u("__resizeTimeout");t&&window.cancelAnimationFrame(t),c("__resizeTimeout",window.requestAnimationFrame(b))}function x(t){var e;if(u("isInitialized")&&("Tab"===t.key||9===t.keyCode)){var n=u("__activeElement"),r=null==(e=u("popover"))?void 0:e.wrapper,i=o([].concat(Dn(r?[r]:[]),Dn(n?[n]:[]))),a=i[0],s=i[i.length-1];if(t.preventDefault(),t.shiftKey){var c=i[i.indexOf(document.activeElement)-1]||s;null==c||c.focus()}else{var l=i[i.indexOf(document.activeElement)+1]||a;null==l||l.focus()}}}function S(t){var e;(null==(e=n("allowKeyboardControl"))||e)&&("Escape"===t.key?d("escapePress"):"ArrowRight"===t.key?d("arrowRightPress"):"ArrowLeft"===t.key&&d("arrowLeftPress"))}function k(t,e,n){var r=function(e,r){var o=e.target;t.contains(o)&&(n&&!n(o)||(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()),null==r||r(e))},o=!0;document.addEventListener("pointerdown",r,o),document.addEventListener("mousedown",r,o),document.addEventListener("pointerup",r,o),document.addEventListener("mouseup",r,o),document.addEventListener("click",(function(t){r(t,e)}),o)}function _(){var t=u("popover");t&&(t.wrapper.style.display="none")}function C(t,e){var r,a,s=u("popover");s&&document.body.removeChild(s.wrapper),s=function(){var t=document.createElement("div");t.classList.add("gleap-tour-popover");var e=document.createElement("div");e.classList.add("gleap-tour-popover-arrow");var n=document.createElement("header");n.id="gleap-tour-popover-title",n.classList.add("gleap-tour-popover-title"),n.style.display="none",n.innerText="Popover Title";var r=document.createElement("div");r.id="gleap-tour-popover-description",r.classList.add("gleap-tour-popover-description"),r.style.display="none",r.innerText="Popover description is here";var o=document.createElement("button");o.type="button",o.classList.add("gleap-tour-popover-close-btn"),o.setAttribute("aria-label","Close"),o.innerHTML="&times;";var i=document.createElement("footer");i.classList.add("gleap-tour-popover-footer");var a=document.createElement("span");a.classList.add("gleap-tour-popover-progress-text"),a.innerText="";var s=document.createElement("span");s.classList.add("gleap-tour-popover-navigation-btns");var c=document.createElement("button");c.type="button",c.classList.add("gleap-tour-popover-prev-btn"),c.innerHTML="&larr; Previous";var u=document.createElement("button");return u.type="button",u.classList.add("gleap-tour-popover-next-btn"),u.innerHTML="Next &rarr;",s.appendChild(c),s.appendChild(u),i.appendChild(a),i.appendChild(s),t.appendChild(o),t.appendChild(e),t.appendChild(n),t.appendChild(r),t.appendChild(i),{wrapper:t,arrow:e,title:n,description:r,footer:i,previousButton:c,nextButton:u,closeButton:o,footerButtons:s,progress:a}}(),document.body.appendChild(s.wrapper);var l=e.popover||{},f=l.title,p=l.description,h=l.showButtons,v=l.disableButtons,m=l.showProgress,g=l.nextBtnText,y=void 0===g?n("nextBtnText")||"Next":g,b=l.prevBtnText,w=void 0===b?n("prevBtnText")||"Previous":b,x=l.progressText,S=void 0===x?n("progressText")||"{current} of {total}":x;s.nextButton.innerHTML=y,s.previousButton.innerHTML=w,s.progress.innerHTML=S,f?(s.title.innerHTML=f,s.title.style.display="block"):s.title.style.display="none",p?(s.description.innerHTML=p,s.description.style.display="block"):s.description.style.display="none";var _=h||n("showButtons"),C=m||n("showProgress")||!1,E=(null==_?void 0:_.includes("next"))||(null==_?void 0:_.includes("previous"))||C;s.closeButton.style.display=_.includes("close")?"block":"none",E?(s.footer.style.display="flex",s.progress.style.display=C?"block":"none",s.nextButton.style.display=_.includes("next")?"block":"none",s.previousButton.style.display=_.includes("previous")?"block":"none"):s.footer.style.display="none";var O=v||n("disableButtons")||[];(null==O?void 0:O.includes("next"))&&(s.nextButton.disabled=!0,s.nextButton.classList.add("gleap-tour-popover-btn-disabled")),(null==O?void 0:O.includes("previous"))&&(s.previousButton.disabled=!0,s.previousButton.classList.add("gleap-tour-popover-btn-disabled")),(null==O?void 0:O.includes("close"))&&(s.closeButton.disabled=!0,s.closeButton.classList.add("gleap-tour-popover-btn-disabled"));var I=s.wrapper;I.style.display="block",I.style.left="",I.style.top="",I.style.bottom="",I.style.right="",I.id="gleap-tour-popover-content",I.setAttribute("role","dialog"),I.setAttribute("aria-labelledby","gleap-tour-popover-title"),I.setAttribute("aria-describedby","gleap-tour-popover-description"),s.arrow.className="gleap-tour-popover-arrow";var A=(null==(r=e.popover)?void 0:r.popoverClass)||n("popoverClass")||"";I.className="gleap-tour-popover ".concat(A).trim(),k(s.wrapper,(function(r){var o,i,a,s=r.target,c=(null==(o=e.popover)?void 0:o.onNextClick)||n("onNextClick"),l=(null==(i=e.popover)?void 0:i.onPrevClick)||n("onPrevClick"),f=(null==(a=e.popover)?void 0:a.onCloseClick)||n("onCloseClick");return s.classList.contains("gleap-tour-popover-next-btn")?c?c(t,e,{config:n(),state:u()}):d("nextClick"):s.classList.contains("gleap-tour-popover-prev-btn")?l?l(t,e,{config:n(),state:u()}):d("prevClick"):s.classList.contains("gleap-tour-popover-close-btn")?f?f(t,e,{config:n(),state:u()}):d("closeClick"):void 0}),(function(t){return!(null==s?void 0:s.description.contains(t))&&!(null==s?void 0:s.title.contains(t))&&"string"==typeof t.className&&t.className.includes("gleap-tour-popover")})),c("popover",s);var L=(null==(a=e.popover)?void 0:a.onPopoverRender)||n("onPopoverRender");L&&L(s,{config:n(),state:u()}),T(t,e),i(I);var M=t.classList.contains("gleap-tour-dummy-element"),R=o([I].concat(Dn(M?[]:[t])));R.length>0&&R[0].focus()}function E(){var t=u("popover");if(null==t?void 0:t.wrapper){var e=t.wrapper.getBoundingClientRect(),r=n("stagePadding")||0,o=n("popoverOffset")||0;return{width:e.width+r+o,height:e.height+r+o,realWidth:e.width,realHeight:e.height}}}function O(t,e){var n=e.elementDimensions,r=e.popoverDimensions,o=e.popoverPadding,i=e.popoverArrowDimensions;return"start"===t?Math.max(Math.min(n.top-o,window.innerHeight-r.realHeight-i.width),i.width):"end"===t?Math.max(Math.min(n.top-(null==r?void 0:r.realHeight)+n.height+o,window.innerHeight-(null==r?void 0:r.realHeight)-i.width),i.width):"center"===t?Math.max(Math.min(n.top+n.height/2-(null==r?void 0:r.realHeight)/2,window.innerHeight-(null==r?void 0:r.realHeight)-i.width),i.width):0}function I(t,e){var n=e.elementDimensions,r=e.popoverDimensions,o=e.popoverPadding,i=e.popoverArrowDimensions;return"start"===t?Math.max(Math.min(n.left-o,window.innerWidth-r.realWidth-i.width),i.width):"end"===t?Math.max(Math.min(n.left-(null==r?void 0:r.realWidth)+n.width+o,window.innerWidth-(null==r?void 0:r.realWidth)-i.width),i.width):"center"===t?Math.max(Math.min(n.left+n.width/2-(null==r?void 0:r.realWidth)/2,window.innerWidth-(null==r?void 0:r.realWidth)-i.width),i.width):0}function T(t,e){var r=u("popover");if(r){var o=(null==e?void 0:e.popover)||{},i=o.align,a=void 0===i?"start":i,s=o.side,c=void 0===s?"left":s,l=a,f="gleap-tour-dummy-element"===t.id?"over":c,p=n("stagePadding")||0,d=E(),h=r.arrow.getBoundingClientRect(),v=t.getBoundingClientRect(),m=v.top-d.height,g=m>=0,y=window.innerHeight-(v.bottom+d.height),b=y>=0,w=v.left-d.width,x=w>=0,S=window.innerWidth-(v.right+d.width),k=S>=0,_=!(g||b||x||k),C=f;if("top"===f&&g?k=x=b=!1:"bottom"===f&&b?k=x=g=!1:"left"===f&&x?k=g=b=!1:"right"===f&&k&&(x=g=b=!1),"over"===f){var T=window.innerWidth/2-d.realWidth/2,A=window.innerHeight/2-d.realHeight/2;r.wrapper.style.left="".concat(T,"px"),r.wrapper.style.right="auto",r.wrapper.style.top="".concat(A,"px"),r.wrapper.style.bottom="auto"}else if(_){var L=window.innerWidth/2-(null==d?void 0:d.realWidth)/2;r.wrapper.style.left="".concat(L,"px"),r.wrapper.style.right="auto",r.wrapper.style.bottom="".concat(10,"px"),r.wrapper.style.top="auto"}else if(x){var M=Math.min(w,window.innerWidth-(null==d?void 0:d.realWidth)-h.width),R=O(l,{elementDimensions:v,popoverDimensions:d,popoverPadding:p,popoverArrowDimensions:h});r.wrapper.style.left="".concat(M,"px"),r.wrapper.style.top="".concat(R,"px"),r.wrapper.style.bottom="auto",r.wrapper.style.right="auto",C="left"}else if(k){var P=Math.min(S,window.innerWidth-(null==d?void 0:d.realWidth)-h.width),j=O(l,{elementDimensions:v,popoverDimensions:d,popoverPadding:p,popoverArrowDimensions:h});r.wrapper.style.right="".concat(P,"px"),r.wrapper.style.top="".concat(j,"px"),r.wrapper.style.bottom="auto",r.wrapper.style.left="auto",C="right"}else if(g){var N=Math.min(m,window.innerHeight-d.realHeight-h.width),D=I(l,{elementDimensions:v,popoverDimensions:d,popoverPadding:p,popoverArrowDimensions:h});r.wrapper.style.top="".concat(N,"px"),r.wrapper.style.left="".concat(D,"px"),r.wrapper.style.bottom="auto",r.wrapper.style.right="auto",C="top"}else if(b){var F=Math.min(y,window.innerHeight-(null==d?void 0:d.realHeight)-h.width),B=I(l,{elementDimensions:v,popoverDimensions:d,popoverPadding:p,popoverArrowDimensions:h});r.wrapper.style.left="".concat(B,"px"),r.wrapper.style.bottom="".concat(F,"px"),r.wrapper.style.top="auto",r.wrapper.style.right="auto",C="bottom"}_?r.arrow.classList.add("gleap-tour-popover-arrow-none"):function(t,e,n){var r=u("popover");if(r){var o=n.getBoundingClientRect(),i=E(),a=r.arrow,s=i.width,c=window.innerWidth,l=o.width,f=o.left,p=i.height,d=window.innerHeight,h=o.top,v=o.height;a.className="gleap-tour-popover-arrow";var m=e,g=t;"top"===e?(f+l<=0?(m="right",g="end"):f+l-s<=0&&(m="top",g="start"),f>=c?(m="left",g="end"):f+s>=c&&(m="top",g="end")):"bottom"===e?(f+l<=0?(m="right",g="start"):f+l-s<=0&&(m="bottom",g="start"),f>=c?(m="left",g="start"):f+s>=c&&(m="bottom",g="end")):"left"===e?(h+v<=0?(m="bottom",g="end"):h+v-p<=0&&(m="left",g="start"),h>=d?(m="top",g="end"):h+p>=d&&(m="left",g="end")):"right"===e&&(h+v<=0?(m="bottom",g="start"):h+v-p<=0&&(m="right",g="start"),h>=d?(m="top",g="start"):h+p>=d&&(m="right",g="end")),m?(a.classList.add("gleap-tour-popover-arrow-side-".concat(m)),a.classList.add("gleap-tour-popover-arrow-align-".concat(g))):a.classList.add("gleap-tour-popover-arrow-none")}}(l,C,t)}}return function(){function t(){n("allowClose")&&h()}function r(){var t=u("activeIndex"),e=n("steps")||[];if(void 0!==t){var r=t+1;e[r]?d(r):h()}}function o(){var t=u("activeIndex"),e=n("steps")||[];if(void 0!==t){var r=t-1;e[r]?d(r):h()}}function i(){var t;if(!u("__transitionCallback")){var e=u("activeIndex"),r=u("__activeStep"),i=u("__activeElement");if(void 0!==e&&void 0!==r&&void 0!==u("activeIndex")){var a=(null==(t=r.popover)?void 0:t.onPrevClick)||n("onPrevClick");if(a)return a(i,r,{config:n(),state:u()});o()}}}function a(){var t;if(!u("__transitionCallback")){var e=u("activeIndex"),o=u("__activeStep"),i=u("__activeElement");if(void 0!==e&&void 0!==o){var a=(null==(t=o.popover)?void 0:t.onNextClick)||n("onNextClick");if(a)return a(i,o,{config:n(),state:u()});r()}}}function s(){u("isInitialized")||(c("isInitialized",!0),document.body.classList.add("gleap-tour-active",n("animate")?"gleap-tour-fade":"gleap-tour-simple"),window.addEventListener("keyup",S,!1),window.addEventListener("keydown",x,!1),window.addEventListener("resize",w),window.addEventListener("scroll",w),p("overlayClick",t),p("escapePress",t),p("arrowLeftPress",i),p("arrowRightPress",a))}function d(){var t,e,r,o,i,a,s,u,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,f=n("steps");if(!f)return console.error("No steps to drive through"),void h();if(f[l]){c("__activeOnDestroyed",document.activeElement),c("activeIndex",l);var p=f[l],v=f[l+1],m=f[l-1],g=(null==(t=p.popover)?void 0:t.doneBtnText)||n("doneBtnText")||"Done",b=n("allowClose"),w=void 0!==(null==(e=p.popover)?void 0:e.showProgress)?null==(r=p.popover)?void 0:r.showProgress:n("showProgress"),x=((null==(o=p.popover)?void 0:o.progressText)||n("progressText")||"{{current}} of {{total}}").replace("{{current}}","".concat(l+1)).replace("{{total}}","".concat(f.length)),S=(null==(i=p.popover)?void 0:i.showButtons)||n("showButtons"),k=["next","previous"].concat(Dn(b?["close"]:[])).filter((function(t){return!(null==S?void 0:S.length)||S.includes(t)})),_=(null==(a=p.popover)?void 0:a.onNextClick)||n("onNextClick"),C=(null==(s=p.popover)?void 0:s.onPrevClick)||n("onPrevClick"),E=(null==(u=p.popover)?void 0:u.onCloseClick)||n("onCloseClick");y(Hn(Hn({},p),{},{popover:Hn({showButtons:k,nextBtnText:v?void 0:g,disableButtons:Dn(m?[]:["previous"]),showProgress:w,progressText:x,onNextClick:_||function(){v?d(l+1):h()},onPrevClick:C||function(){d(l-1)},onCloseClick:E||function(){h()}},(null==p?void 0:p.popover)||{})}))}else h()}function h(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=u("__activeElement"),r=u("__activeStep"),o=u("__activeOnDestroyed"),i=n("onDestroyStarted");if(t&&i)i(e&&"gleap-tour-dummy-element"!==(null==e?void 0:e.id)?e:void 0,r,{config:n(),state:u()});else{var a,s,c,p=(null==r?void 0:r.onDeselected)||n("onDeselected"),d=n("onDestroyed");if(document.body.classList.remove("gleap-tour-active","gleap-tour-fade","gleap-tour-simple"),window.removeEventListener("keyup",S),window.removeEventListener("resize",w),window.removeEventListener("scroll",w),(s=u("popover"))&&(null==(a=s.wrapper.parentElement)||a.removeChild(s.wrapper)),function(){var t;null==(t=document.getElementById("gleap-tour-dummy-element"))||t.remove(),document.querySelectorAll(".gleap-tour-active-element").forEach((function(t){t.classList.remove("gleap-tour-active-element","gleap-tour-no-interaction"),t.removeAttribute("aria-haspopup"),t.removeAttribute("aria-expanded"),t.removeAttribute("aria-controls")}))}(),(c=u("__overlaySvg"))&&c.remove(),f={},l(),e&&r){var h="gleap-tour-dummy-element"===e.id;p&&p(h?void 0:e,r,{config:n(),state:u()}),d&&d(h?void 0:e,r,{config:n(),state:u()})}o&&o.focus()}}return e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),{isActive:function(){return u("isInitialized")||!1},refresh:w,drive:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;s(),d(t)},setConfig:e,setSteps:function(t){l(),e(Hn(Hn({},n()),{},{steps:t}))},getConfig:n,getState:u,getActiveIndex:function(){return u("activeIndex")},isFirstStep:function(){return 0===u("activeIndex")},isLastStep:function(){var t=n("steps")||[],e=u("activeIndex");return void 0!==e&&e===t.length-1},getActiveStep:function(){return u("activeStep")},getActiveElement:function(){return u("activeElement")},getPreviousElement:function(){return u("previousElement")},getPreviousStep:function(){return u("previousStep")},moveNext:r,movePrevious:o,moveTo:function(t){(n("steps")||[])[t]?d(t):h()},hasNextStep:function(){var t=n("steps")||[],e=u("activeIndex");return void 0!==e&&t[e+1]},hasPreviousStep:function(){var t=n("steps")||[],e=u("activeIndex");return void 0!==e&&t[e-1]},highlight:function(t){s(),y(Hn(Hn({},t),{},{popover:t.popover?Hn({showButtons:[],showProgress:!1,progressText:""},t.popover):void 0}))},destroy:function(){h(!1)}}}}();const Wn=zn;function $n(t){return $n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$n(t)}function qn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Vn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qn(Object(n),!0).forEach((function(e){Gn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Xn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Kn(r.key),r)}}function Gn(t,e,n){return(e=Kn(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){var e=function(t,e){if("object"!=$n(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=$n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==$n(e)?e:String(e)}var Yn=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Gn(this,"productTourData",void 0),Gn(this,"productTourId",void 0),Gn(this,"onCompletion",void 0),Gn(this,"unmuted",!1)}var e,n,r;return e=t,n=[{key:"startWithConfig",value:function(t,e,n){return this.productTourId=t,this.productTourData=e,this.onCompletion=n,this.start()}},{key:"start",value:function(){var t=this.productTourData;if(t){this.unmuted=!1;for(var e=t.steps,n=this,r=[],o=0;o<e.length;o++){var i=e[o],a="CLICK"===i.mode,s="",c=!1;if("video-pointer"===i.type)s='<div class="gleap-tour-video">\n              <video class="gleap-tour-video-obj" muted autoplay>\n                <source src="'.concat(i.videoUrl,'" type="video/mp4">\n              </video>\n              <div class="gleap-tour-video-playpause">').concat(p("unmute"),"</div>\n            </div>");else{var u="";t.sender&&t.sender.firstName&&(c=!0,u='<div class="gleap-tour-sender">\n                <div class="gleap-tour-sender-image" style="background-image: url(\''.concat(t.sender.profileImageUrl,'\');"></div>\n                <div class="gleap-tour-sender-name">').concat(t.sender.firstName,"</div>\n              </div>")),s="".concat(u,'<div class="gleap-tour-message">').concat(i.message,"</div>")}var l={disableActiveInteraction:!a,popover:Vn({description:s,popoverClass:"gleap-tour-popover-".concat(i.type," ").concat(!c&&"gleap-tour-popover-no-sender"," ").concat(t.allowClose&&"gleap-tour-popover-can-close")},a?{showButtons:[]}:{})};i.selector&&i.selector.length>0&&(l.element=i.selector),r.push(l)}var f=["next","close"];t.backButton&&f.push("previous");var d=Wn(Gn(Gn(Gn(Gn(Gn(Gn(Gn(Gn({showProgress:!0,steps:r},"showProgress",e.length>1),"allowClose",t.allowClose),"nextBtnText",t.nextText),"doneBtnText",t.doneText),"prevBtnText",t.prevText),"showButtons",f),"onDestroyStarted",(function(){d.hasNextStep()?d.destroy():(d.destroy(),n.onCompletion&&n.onCompletion({tourId:n.productTourId})),document.removeEventListener("click",h)})),"onPopoverRender",(function(t){if(t)for(var e=document.querySelectorAll(".gleap-tour-popover-description img, .gleap-tour-popover-description video"),r=function(){setTimeout((function(){d.refresh()}),500),setTimeout((function(){d.refresh()}),750)},o=0;o<e.length;o++){var i=e[o];"IMG"===i.tagName?(i.addEventListener("load",(function(){r()})),i.addEventListener("error",(function(){r()}))):"VIDEO"===i.tagName&&(i.addEventListener("canplaythrough",(function(){r()})),i.addEventListener("error",(function(){r()})))}var a="gleap-tour-video--playing",s=document.querySelector(".gleap-tour-video-obj");if(s){var c=s.closest(".gleap-tour-video");n.unmuted&&s&&(s.pause(),s.muted=!1,s.play(),c.classList.add(a)),s.addEventListener("ended",(function(){u.innerHTML=p("replay"),c.classList.remove(a)}));var u=document.querySelector(".gleap-tour-video-playpause");u&&u.addEventListener("click",(function(){s.muted?(n.unmuted=!0,s.pause(),s.currentTime=0,s.muted=!1,s.play(),u.innerHTML=p("mute"),c.classList.add(a)):s.paused?(s.muted=!1,s.play(),u.innerHTML=p("mute"),c.classList.add(a)):(s.pause(),u.innerHTML=p("unmute"),c.classList.remove(a))}))}})));d.drive(),document.addEventListener("click",h)}function h(t){document.querySelector(".gleap-tour-popover").contains(t.target)||d.moveNext()}}}],r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}}],n&&Xn(e.prototype,n),r&&Xn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Zn(t){return Zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zn(t)}function Jn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,nr(r.key),r)}}function Qn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function tr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qn(Object(n),!0).forEach((function(e){er(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function er(t,e,n){return(e=nr(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nr(t){var e=function(t,e){if("object"!=Zn(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Zn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Zn(e)?e:String(e)}Gn(Yn,"instance",void 0),"undefined"!=typeof HTMLCanvasElement&&HTMLCanvasElement.prototype&&void 0===HTMLCanvasElement.prototype.__originalGetContext&&(HTMLCanvasElement.prototype.__originalGetContext=HTMLCanvasElement.prototype.getContext,HTMLCanvasElement.prototype.getContext=function(t,e){return this.__originalGetContext(t,tr(tr({},e),{},{preserveDrawingBuffer:!0}))});var rr=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),er(this,"initialized",!1),er(this,"offlineMode",!1),er(this,"disablePageTracking",!1),er(this,"disableInAppNotifications",!1),er(this,"globalData",{screenRecordingData:null,webReplay:null,snapshotPosition:{x:0,y:0}}),"undefined"!=typeof window&&(_t.getInstance(),Lt.getInstance().start(),Ft.getInstance().start(),jn.getInstance().start())}var e,n,r;return e=t,n=[{key:"isLiveMode",value:function(){if(!0===this.offlineMode)return!1;var t=window.location.hostname;return!(["localhost","127.0.0.1","0.0.0.0","","::1"].includes(t)||t.startsWith("192.168.")||t.startsWith("10.0.")||t.endsWith(".local")||!t.includes("."))}},{key:"softReInitialize",value:function(){bt.getInstance().destroy(),W.getInstance().start().then((function(){o.getInstance().refresh(),en.getInstance().injectNotificationUI()})).catch((function(t){console.warn("Failed to initialize Gleap.")}))}},{key:"performActions",value:function(e){for(var n=0;n<e.length;n++){var r=e[n];r&&r.actionType&&("notification"===r.actionType?this.disableInAppNotifications||t.showNotification(r):"banner"===r.actionType?t.showBanner(r):"tour"===r.actionType?t.startProductTourWithConfig(r.outbound,r.data):t.showSurvey(r.actionType,r.format))}}},{key:"setGlobalDataItem",value:function(t,e){this.globalData[t]=e}},{key:"getGlobalDataItem",value:function(t){return this.globalData[t]}},{key:"takeCurrentReplay",value:function(){var t=we.getInstance().getReplayData();this.setGlobalDataItem("webReplay",t)}}],r=[{key:"getInstance",value:function(){return this.instance||(this.instance=new t),this.instance}},{key:"setEnvironment",value:function(t){_t.getInstance().environment=t}},{key:"setTags",value:function(t){bn.getInstance().setTags(t)}},{key:"setUrlHandler",value:function(t){bt.getInstance().setUrlHandler(t)}},{key:"setOfflineMode",value:function(t){this.getInstance().offlineMode=t}},{key:"setDisableInAppNotifications",value:function(t){this.getInstance().disableInAppNotifications=t}},{key:"setDisablePageTracking",value:function(t){this.getInstance().disablePageTracking=t}},{key:"disableConsoleLogOverwrite",value:function(){Lt.getInstance().stop()}},{key:"setAiTools",value:function(t){W.getInstance().setAiTools(t)}},{key:"attachNetworkLogs",value:function(t){y.getInstance().externalRequests=w(t)}},{key:"log",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"INFO";Lt.getInstance().addLog(t,e)}},{key:"initialize",value:function(e){var n=this.getInstance();if(n.initialized)console.warn("Gleap already initialized.");else{n.initialized=!0;var r=M.getInstance();r.sdkKey=e,r.setOnSessionReady((function(){setTimeout((function(){W.getInstance().start().then((function(){D.getInstance().start(),C((function(){o.getInstance().injectFeedbackButton(),en.getInstance().injectNotificationUI(),t.checkForUrlParams(),Gt.notifyEvent("initialized")}))})).catch((function(t){console.warn("Failed to initialize Gleap.")}))}),0)})),r.startSession()}}},{key:"checkForUrlParams",value:function(){if("undefined"!=typeof window&&window.location.search)try{var e=new URLSearchParams(window.location.search),n=e.get("gleap_feedback");n&&n.length>0&&t.startFeedbackFlow(n);var r=e.get("gleap_survey"),o=e.get("gleap_survey_format");r&&r.length>0&&t.showSurvey(r,"survey_full"===o?"survey_full":"survey");var i=e.get("gleap_tour");if(i&&i.length>0){var a=parseInt(e.get("gleap_tour_delay"));isNaN(a)&&(a=4),setTimeout((function(){t.startProductTour(i)}),1e3*a)}}catch(s){}}},{key:"destroy",value:function(){we.getInstance().stop(),D.getInstance().stop(),bt.getInstance().destroy(),o.getInstance().toggleFeedbackButton(!1),en.getInstance().clearAllNotifications(!0),M.getInstance().clearSession(0,!1),un.getInstance().removeBannerUI()}},{key:"closeBanner",value:function(){un.getInstance().removeBannerUI()}},{key:"setUseCookies",value:function(t){M.getInstance().useCookies=t}},{key:"identify",value:function(t,e,n){return M.getInstance().identifySession(t,w(e),n)}},{key:"updateContact",value:function(t){return M.getInstance().updateSession(w(t))}},{key:"clearIdentity",value:function(){M.getInstance().clearSession()}},{key:"getIdentity",value:function(){return M.getInstance().getSession()}},{key:"isUserIdentified",value:function(){var t=M.getInstance().session;return!!(t&&t.userId&&t.userId.length>0)}},{key:"isOpened",value:function(){return bt.getInstance().isOpened()}},{key:"hide",value:function(){bt.getInstance().hideWidget()}},{key:"setMaxNetworkRequests",value:function(t){y.getInstance().setMaxRequests(t)}},{key:"startNetworkLogger",value:function(){y.getInstance().start()}},{key:"setNetworkLogsBlacklist",value:function(t){y.getInstance().setBlacklist(t)}},{key:"setNetworkLogPropsToIgnore",value:function(t){y.getInstance().setFilters(t)}},{key:"setReplayOptions",value:function(t){we.getInstance().setOptions(t)}},{key:"close",value:function(){bt.getInstance().hideWidget()}},{key:"open",value:function(){bt.getInstance().setAppMode("widget"),bt.getInstance().showWidget()}},{key:"trackEvent",value:function(t,e){D.getInstance().logEvent(t,e)}},{key:"logEvent",value:function(t,e){D.getInstance().logEvent(t,e)}},{key:"preFillForm",value:function(t){var e=w(t);Ye.getInstance().formPreFill=e,bt.getInstance().sendMessage({name:"prefill-form-data",data:e},!0)}},{key:"on",value:function(t,e){Gt.on(t,e)}},{key:"enableShortcuts",value:function(t){t?qe.getInstance().start():qe.getInstance().stop()}},{key:"showFeedbackButton",value:function(t){o.getInstance().toggleFeedbackButton(t)}},{key:"setAppVersionCode",value:function(t){_t.setAppVersionCode(t)}},{key:"setAppBuildNumber",value:function(t){_t.setAppBuildNumber(t)}},{key:"setWSApiUrl",value:function(t){M.getInstance().wsApiUrl=t}},{key:"setApiUrl",value:function(t){M.getInstance().apiUrl=t}},{key:"setBannerUrl",value:function(t){un.getInstance().setBannerUrl(t)}},{key:"setFrameUrl",value:function(t){bt.getInstance().frameUrl=t}},{key:"setTicketAttribute",value:function(t,e){Wt.getInstance().setTicketAttribute(t,e)}},{key:"attachCustomData",value:function(t){Wt.getInstance().attachCustomData(t)}},{key:"setCustomData",value:function(t,e){Wt.getInstance().setCustomData(t,e)}},{key:"removeCustomData",value:function(t){Wt.getInstance().removeCustomData(t)}},{key:"clearCustomData",value:function(){Wt.getInstance().clearCustomData()}},{key:"playSound",value:function(t){hn.playSound(t)}},{key:"showTabNotificationBadge",value:function(t){var e=en.getInstance();e.showNotificationBadge=t,e.updateTabBarNotificationCount()}},{key:"setLanguage",value:function(e){He.getInstance().setOverrideLanguage(e),t.getInstance().initialized&&setTimeout((function(){t.getInstance().softReInitialize(),t.updateContact({lang:e})}),1e3)}},{key:"registerCustomAction",value:function(t){Qt.registerCustomAction(t)}},{key:"triggerCustomAction",value:function(t){Qt.triggerCustomAction(t)}},{key:"setStyles",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#ffffff",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:20,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:20,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:20,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:o.FEEDBACK_BUTTON_BOTTOM_LEFT;C((function(){!function(t,e,n,r,i,a,s,c){var u=f(t),p=f(n),d=f(i),h=f(e),v="#ffffff"===d,m=l(e,"#ffffff"===h?-35:-15),g=l(i,v?100:-120),y=l(i,v?30:-12),b=l(i,v?80:-30),w=(r=parseInt(r,10),Math.round(1.05*r)),x=Math.round(.8*r),S=Math.round(.6*r),k=Math.round(.4*r),_=Math.round(.25*r),C=57+s;c===o.FEEDBACK_BUTTON_CLASSIC_BOTTOM?C=s+15:(c&&c.includes("CLASSIC")||c===o.FEEDBACK_BUTTON_NONE)&&(C=s);var E='\n    .gleap-font, .gleap-font * {\n      font-style: normal;\n      font-variant-caps: normal;\n      font-variant-ligatures: normal;\n      font-variant-numeric: normal;\n      font-variant-east-asian: normal;\n      font-weight: normal;\n      font-stretch: normal;\n      font-size: 100%;\n      line-height: 1;\n      font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n    }\n    .gleap-frame-container {\n      right: '.concat(a,"px;\n      bottom: ").concat(61+s,"px;\n      width: calc(100% - 40px);\n      max-width: 400px;\n      position: fixed;\n      z-index: ").concat(2147483631,";\n      visibility: visible;\n      box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.16);\n      border-radius: ").concat(x,"px;\n      overflow: hidden;\n      animation-duration: .3s;\n      animation-fill-mode: both;\n      animation-name: gleapFadeInUp;\n      user-select: none;\n      pointer-events: none;\n      transition: max-width 0.3s ease-out;\n    }\n\n    :root {\n      --gleap-margin-top: 50px;\n    }\n\n    .gleap-b-frame {\n      width: 100%;\n      height: 100%;\n      border: none;\n      pointer-events: auto;\n      padding: 0px;\n      margin: 0px;\n    }\n\n    .gleap-b-shown {\n      transition: margin 0.3s ease-out;\n      margin-top: var(--gleap-margin-top);\n      position: relative;\n      z-index: 10000;\n    }\n\n    .gleap-b-f {\n      margin-top: 0px;\n    }\n\n    .gleap-b {\n      display: none;\n      position: absolute;\n      top: calc(-1 * var(--gleap-margin-top));\n      left: 0px;\n      width: 100vw;\n      height: var(--gleap-margin-top);\n    }\n\n    @keyframes gleapSlideIn {\n      from {\n          top: calc(-1 * var(--gleap-margin-top));\n      }\n      to {\n          top: 10px;\n      }\n    }\n\n    .gleap-b-f .gleap-b {\n      position: fixed;\n      top: 10px;\n      animation: gleapSlideIn .25s ease-out forwards;\n      max-width: 800px;\n      width: calc(100% - 20px);\n      left: 50%;\n      z-index: ").concat(2147483699,";\n      transform: translateX(-50%);\n      border-radius: ").concat(k,"px;\n      overflow: hidden;\n      box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15), 0px 5px 5px rgba(0, 0, 0, 0.05);\n    }\n\n    .gleap-b-shown .gleap-b {\n      display: block;\n    }\n\n    .gleap-image-view {\n      position: fixed;\n      top: 0px;\n      left: 0px;\n      width: 100vw;\n      height: 100vh;\n      z-index: ").concat(2147483699,";\n      background-color: ").concat(d,"cc;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n    }\n\n    .gleap-image-view-image {\n      width: 90%;\n      height: auto;\n      max-width: 90%;\n      max-height: 90%;\n      object-fit: contain;\n    }\n\n    .gleap-image-view-close {\n      position: fixed;\n      top: 20px;\n      right: 20px;\n      width: 32px;\n      height: 32px;\n      opacity: 0.8;\n      z-index: ").concat(2147483740,";\n      box-shadow: 0px 5px 18px rgba(0, 0, 0, 0.16);\n      cursor: pointer;\n    }\n\n    .gleap-image-view-close:hover {\n      opacity: 1;\n    }\n\n    .gleap-image-view-close svg path {\n      fill: ").concat(i,";\n    }\n\n    [dir=rtl].gleap-frame-container {\n      right: auto;\n      left: ").concat(a,"px;\n      bottom: ").concat(61+s,'px;\n    }\n\n    .gleap-frame-container--loading iframe {\n      opacity: 0;\n    }\n\n    .gleap-frame-container--loading::before {\n      content: " ";\n      position: fixed;\n      top: 0px;\n      left: 0px;\n      right: 0px;\n      height: 100%;\n      max-height: 380px;\n      background: linear-gradient(\n        130deg,\n        ').concat(m," 0%,\n        ").concat(e,' 100%\n      );\n    }\n    \n    .gleap-frame-container--loading::after {\n      content: " ";\n      position: fixed;\n      top: 0px;\n      left: 0px;\n      right: 0px;\n      height: 100%;\n      height: 100%;\n      max-height: 380px;\n      background: linear-gradient(\n        180deg,\n        transparent 60%,\n        ').concat(i,"1A 70%,\n        ").concat(i," 100%\n      );\n    }\n\n    .gleap-frame-container--loading-nogradient::before {\n      max-height: 340px;\n      background: ").concat(e," !important;\n    }\n\n    .gleap-frame-container--loading-nofade::after {\n      display: none !important;\n    }\n\n    .gleap-frame-container--survey {\n      bottom: ").concat(s,"px !important;\n    }\n\n    .gleap-frame-container--extended {\n      max-width: 690px !important;\n    }\n\n    .gleap-frame-container--survey-full {\n      position: fixed;\n      top: 0 !important;\n      left: 0 !important;\n      bottom: 0 !important;\n      right: 0 !important;\n      width: 100vw !important;\n      max-width: 100vw !important;\n      height: 100vh !important;\n      background-color: rgba(0, 0, 0, 0.5);\n      backdrop-filter: blur(6px);\n      display: flex !important;\n      justify-content: center !important;\n      align-items: center !important;\n      max-height: 100vh !important;\n      border-radius: 0 !important;\n      animation-name: none !important;\n    }\n\n    .gleap-frame-container--survey-full .gleap-frame-container-inner {\n      max-width: 640px !important;\n      width: calc(100% - 24px);\n      border-radius: ").concat(x,"px;\n      overflow: hidden;\n    }\n\n    .gleap-frame-container--classic {\n      right: ").concat(a,"px;\n      bottom: ").concat(s,"px;\n    }\n\n    [dir=rtl].gleap-frame-container--classic {\n      right: auto;\n      left: ").concat(a,"px;\n      bottom: ").concat(s,"px;\n    }\n\n    .gleap-frame-container--no-button {\n      bottom: ").concat(s,"px;\n    }\n\n    [dir=rtl].gleap-frame-container--classic-left {\n      bottom: ").concat(s,"px;\n    }\n\n    .gleap-frame-container--classic-left {\n      right: auto;\n      left: ").concat(a,"px;\n      bottom: ").concat(s,"px;\n    }\n\n    [dir=rtl].gleap-frame-container--classic-left {\n      left: auto;\n      right: ").concat(a,"px;\n      bottom: ").concat(s,"px;\n    }\n\n    .gleap-frame-container--modern-left {\n      right: auto;\n      left: ").concat(a,"px;\n      bottom: ").concat(61+s,"px;\n    }\n\n    [dir=rtl].gleap-frame-container--modern-left {\n      left: auto;\n      right: ").concat(a,"px;\n      bottom: ").concat(61+s,"px;\n    }\n\n    .gleap-frame-container--animate {\n      pointer-events: auto !important;\n    }\n\n    @keyframes gleapFadeInUp {\n      from {\n          opacity: 0;\n          transform: translate3d(0, 100%, 0);\n      }\n      to {\n          opacity: 1;\n          transform: translate3d(0, 0, 0);\n      }\n    }\n\n    @keyframes gleapFadeInUpMobile {\n      from {\n          opacity: 0;\n          transform: translate3d(0, 10%, 0);\n      }\n      to {\n          opacity: 1;\n          transform: translate3d(0, 0, 0);\n      }\n    }\n\n    .gleap-notification-container {\n      position: fixed;\n      bottom: ").concat(C,"px;\n      right: ").concat(a,"px;\n      z-index: ").concat(2147483630,";\n      display: flex;\n      flex-direction: column;\n      align-items: flex-end;\n      width: 100%;\n      max-width: min(340px, 80vw);\n    }\n\n    .gleap-notification-container--left {\n      left: ").concat(4+a,"px;\n      right: initial !important;\n    }\n\n    [dir=rtl].gleap-notification-container {\n      left: ").concat(4+a,"px;\n      right: initial !important;\n    }\n\n    [dir=rtl].gleap-notification-container--left {\n      left: initial !important;\n      right: ").concat(a,"px !important;\n      align-items: flex-start !important;\n    }\n\n    .gleap-notification-container--no-button {\n      bottom: ").concat(s,"px;\n    }\n\n    .gleap-notification-item {\n      animation-duration: 0.7s;\n      animation-fill-mode: both;\n      animation-name: bbFadeInOpacity;\n    }\n\n    .gleap-notification-close {\n      border-radius: 100%;\n      width: 28px;\n      height: 28px;\n      background-color: ").concat(g,";\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      margin-bottom: 8px;\n      cursor: pointer;\n      visibility: hidden;\n      pointer-events: none;\n    }\n\n    .gleap-notification-container:hover .gleap-notification-close {\n      visibility: visible;\n      pointer-events: auto;\n      animation-duration: 0.7s;\n      animation-fill-mode: both;\n      animation-name: bbFadeInOpacity;\n    }\n\n    @media only screen and (max-width: 450px) {\n      .gleap-notification-close {\n        visibility: visible;\n        pointer-events: auto;\n        animation-duration: 0.7s;\n        animation-fill-mode: both;\n        animation-name: bbFadeInOpacity;\n      }\n    }\n\n    .gleap-notification-close svg {\n      width: 45%;\n      height: 45%;\n      object-fit: contain;\n      fill: ").concat(i,";\n    }\n\n    .gleap-notification-item-checklist-container {\n      display: flex;\n      animation: fadeIn;\n      animation-duration: .45s;\n      background-color: ").concat(i,";\n      border-radius: ").concat(g,";\n      box-sizing: border-box;\n      cursor: pointer;\n      flex-direction: column;\n      overflow: hidden;\n      box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.2);\n      border-radius: ").concat(S,"px;\n      margin-bottom: 12px;\n    }\n\n    .gleap-notification-item-checklist-content {\n      align-items: flex-start;\n      display: flex;\n      flex-direction: column;\n      padding: 15px;\n      width: 100%;\n      width: min(310px, 70vw);\n      max-width: min(310px, 70vw);\n    }\n\n    .gleap-notification-item-checklist-content-title {\n      color: ").concat(d,";\n      font-size: 15px;\n      font-weight: 500;\n      line-height: 21px;\n      margin-bottom: 10px;\n      max-width: 100%;\n      -webkit-line-clamp: 3;\n      -webkit-box-orient: vertical;\n      overflow: hidden;\n    }\n\n    .gleap-notification-item-checklist-content-progress {\n      width: 100%;\n      height: 8px;\n      border-radius: 8px;\n      background-color: ").concat(y,";\n    }\n\n    .gleap-notification-item-checklist-content-progress-inner {\n      height: 100%;\n      border-radius: 8px;\n      background-color: ").concat(t,";\n    }\n\n    .gleap-notification-item-checklist-content-next {\n      color: ").concat(g,";\n      font-size: 15px;\n      font-weight: normal;\n      line-height: 21px;\n      margin-top: 10px;\n      max-width: 100%;\n      white-space: nowrap;\n      overflow: hidden;\n      text-overflow: ellipsis;\n      display: flex;\n      align-items: center;\n    }\n\n    .gleap-notification-item-checklist-content-next svg {\n      height: 18px;\n      margin-right: 5px;\n      width: auto;\n    }\n\n    .gleap-notification-item-checklist-content-next b {\n      font-size: 15px;\n      font-weight: normal;\n      color: ").concat(d,";\n    }\n\n    .gleap-notification-item-news {\n      width: 100%;\n      cursor: pointer;\n    }\n\n    .gleap-notification-item-news-content {\n      align-items: flex-start;\n      display: flex;\n      flex-direction: column;\n      padding: 15px;\n    }\n\n    .gleap-notification-item-news-preview {\n      color: ").concat(g,";\n      font-size: 15px;\n      line-height: 21px;\n      font-weight: 400;\n      overflow-wrap: break-word;\n      word-break: break-word;\n      display: block;\n      display: -webkit-box;\n      -webkit-line-clamp: 2;\n      -webkit-box-orient: vertical;\n      overflow: hidden;\n    }\n\n    .gleap-notification-item-news-sender {\n      display: flex;\n      align-items: center;\n      color: ").concat(g,";\n      font-size: 15px;\n      line-height: 21px;\n      font-weight: 400;\n    }\n    \n    .gleap-notification-item-news-content-title {\n      color: ").concat(d,";\n      font-size: 15px;\n      font-weight: 500;\n      line-height: 21px;\n      margin-bottom: 6px;\n      max-width: 100%;\n      -webkit-line-clamp: 3;\n      -webkit-box-orient: vertical;\n      overflow: hidden;\n    }\n\n    .gleap-notification-item-news-sender img {\n      border-radius: 100%;\n      height: 20px;\n      margin-right: 8px;\n      object-fit: cover;\n      width: 20px;\n    }\n\n    [dir=rtl] .gleap-notification-item-news-sender img {\n      margin-left: 8px;\n      margin-right: 0px !important;\n    }\n\n    .gleap-notification-item-news-container {\n      display: flex;\n      animation: fadeIn;\n      animation-duration: .45s;\n      background-color: ").concat(i,";\n      border-radius: ").concat(g,";\n      box-sizing: border-box;\n      cursor: pointer;\n      flex-direction: column;\n      overflow: hidden;\n      box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.2);\n      border-radius: ").concat(S,"px;\n      margin-bottom: 12px;\n    }\n\n    .gleap-notification-item-news-image {\n      background-color: ").concat(g,";\n      height: 170px;\n      object-fit: cover;\n      width: 100%;\n    }\n\n    .gleap-notification-item-news:hover .gleap-notification-item-news-content-title {\n      color: ").concat(t,";\n    }\n\n    .gleap-notification-item {\n      display: flex;\n      align-items: flex-end;\n      cursor: pointer;\n    }\n\n    .gleap-notification-item img {\n      width: 32px;\n      height: 32px;\n      min-width: 32px;\n      border-radius: 100%;\n      object-fit: cover;\n      margin-right: 8px;\n      margin-bottom: 12px;\n      cursor: pointer;\n    }\n\n    [dir=rtl] .gleap-notification-item img {\n      margin-left: 8px;\n      margin-right: 0px !important;\n    }\n\n    .gleap-notification-item-container {\n      box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.2);\n      border-radius: ").concat(S,"px;\n      border-bottom-left-radius: 0px;\n      padding: 20px;\n      background-color: ").concat(i,";\n      margin-bottom: 12px;\n      cursor: pointer;\n      font-size: 15px;\n      line-height: 21px;\n      color: ").concat(d,';\n      position: relative;\n    }\n\n    .gleap-notification-item-container::after {\n      content: " ";\n      position: absolute;\n      bottom: 0px;\n      width: 0px;\n      height: 0px;\n      left: -6px;\n      border-style: solid;\n      border-width: 0px 0px 10px 6px;\n      border-color: transparent transparent ').concat(i,";\n    }\n\n    .gleap-notification-item-sender {\n      color: ").concat(g,";\n      line-height: 20px;\n    }\n\n    .gleap-notification-item-content {\n      line-height: 20px;\n      color: ").concat(d,";\n      margin-top: 4px;\n      min-width: min(200px, 50vw);\n      word-wrap: break-word;\n      word-break: break-word;\n    }\n\n    .gleap-frame-container-inner {\n      position: relative;\n      width: 100%;\n      height: calc(100vh - ").concat(130+s,"px);\n      max-height: ").concat(700,'px;\n    }\n\n    .gleap-frame-container--survey .gleap-frame-container-inner {\n      height: calc(100vh - 40px);\n    }\n    \n    .gleap-frame-container-inner:before {\n      content: " ";\n      position: absolute;\n      width: 100%;\n      height: calc(100% - ').concat(x,"px);\n      top: ").concat(x,"px;\n      background-color: ").concat(i,";\n      z-index: -1;\n    }\n    \n    .gleap-frame-container iframe {\n      height: 100% !important;\n      width: 100% !important;\n      max-width: 100% !important;\n      display: block;\n      pointer-events: auto;\n    }\n    \n    .gleap-frame-container--hidden {\n      display: none !important;\n      pointer-events: none;\n      animation: none !important;\n    }\n    \n    .bb-feedback-button {\n      margin: 0px;\n      position: fixed;\n      bottom: ").concat(s,"px;\n      right: ").concat(a,"px;\n      border-radius: 30px;\n      cursor: pointer;\n      -webkit-tap-highlight-color: transparent;\n      background-color: transparent;\n      color: #000000;\n      z-index: ").concat(2147483630,";\n      box-sizing: border-box;\n      display: flex;\n      align-items: center;\n      padding: 0px;\n    }\n\n    [dir=rtl].bb-feedback-button {\n      bottom: ").concat(s,"px;\n      right: auto;\n      left: ").concat(a,"px;\n    }\n    \n    .bb-feedback-button--bottomleft {\n      bottom: ").concat(s,"px;\n      right: auto;\n      left: ").concat(a,"px;\n    }\n\n    [dir=rtl].bb-feedback-button--bottomleft {\n      bottom: ").concat(s,"px;\n      right: ").concat(a,'px;\n      left: auto;\n    }\n    \n    .bb-feedback-button--disabled {\n      display: none !important;\n    }\n\n    .bb-feedback-button--hidden {\n      display: none !important;\n    }\n    \n    .bb-feedback-button-text {\n      padding: 8px 12px;\n      display: flex;\n      flex-direction: column;\n      align-items: flex-start;\n      justify-content: center;\n      background-color: #fff;\n      border-radius: 8px;\n      box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.15);\n      position: relative;\n      z-index: 99;\n    }\n    \n    .bb-feedback-button-text:before {\n      content: "";\n      position: absolute;\n      box-shadow: rgba(0, 0, 0, 0.04) 6px 6px 5px;\n      transform: rotate(315deg);\n      bottom: 16px;\n      right: -4px;\n      border-width: 10px;\n      border-style: solid;\n      border-color: transparent #fff #fff transparent;\n    }\n    \n    .bb-feedback-button--bottomleft .bb-feedback-button-text:before {\n      display: none;\n    }\n    \n    .bb-feedback-button-text:after {\n      content: "";\n      position: absolute;\n      bottom: 12px;\n      right: 0px;\n      background-color: #fff;\n      width: 5px;\n      height: 30px;\n    }\n    \n    .bb-feedback-button-text-title {\n      font-family: sans-serif;\n      font-size: 14px;\n      color: #666;\n      line-height: 18px;\n      max-width: 220px;\n    }\n    \n    .bb-feedback-button-text-title b {\n      color: #000000;\n      font-weight: 600;\n    }\n\n    .bb-notification-bubble {\n      position: absolute;\n      top: -5px;\n      right: -5px;\n      min-width: 20px;\n      padding: 0px 4px;\n      height: 20px;\n      border-radius: 20px;\n      background-color: red;\n      color: #fff;\n      font-size: 11px;\n      font-family: sans-serif;\n      text-align: center;\n      line-height: 20px;\n    }\n\n    .bb-notification-bubble--hidden {\n      display: none;\n    }\n    \n    .bb-feedback-button-icon {\n      width: 48px;\n      height: 48px;\n      border-radius: 48px;\n      background-color: #485bff;\n      transition: box-shadow, transform 0.2s ease-in-out;\n      box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15), 0px 0px 20px rgba(0, 0, 0, 0.1);\n      position: relative;\n    }\n    \n    .bb-feedback-button-classic {\n      cursor: pointer;\n      -webkit-tap-highlight-color: transparent;\n      top: 50%;\n      right: 0px;\n      position: fixed;\n      transform: rotate(-90deg) translate(50%, -50%);\n      transform-origin: 100% 50%;\n      padding: 9px 20px;\n      text-align: center;\n      background-color: #485bff;\n      border-top-left-radius: 8px;\n      border-top-right-radius: 8px;\n      font-family: sans-serif;\n      font-size: 16px;\n      color: #fff;\n      box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.25);\n    }\n\n    [dir=rtl].bb-feedback-button .bb-feedback-button-classic {\n      top: 50%;\n      left: 0px;\n      right: auto;\n      transform: rotate(90deg) translate(-50%, -100%);\n      transform-origin: 0% 0%;\n    }\n    \n    .bb-feedback-button-classic--left {\n      top: 50%;\n      left: 0px;\n      right: auto;\n      transform: rotate(90deg) translate(-50%, -100%);\n      transform-origin: 0% 0%;\n    }\n\n    [dir=rtl].bb-feedback-button .bb-feedback-button-classic--left {\n      top: 50%;\n      right: 0px;\n      left: auto;\n      transform: rotate(-90deg) translate(50%, -50%);\n      transform-origin: 100% 50%;\n    }\n    \n    .bb-feedback-button-classic--bottom {\n      top: auto;\n      bottom: 0px;\n      transform: none;\n      right: ').concat(a,"px;\n      left: auto;\n    }\n    \n    [dir=rtl].bb-feedback-button .bb-feedback-button-classic--bottom {\n      top: auto;\n      bottom: 0px;\n      transform: none;\n      left: ").concat(a,"px;\n      right: auto;\n    }\n\n    .bb-feedback-button--classic-button-style {\n      animation-duration: 0.2s;\n      animation-fill-mode: both;\n      animation-name: bbFadeInOpacity;\n    }\n    \n    .bb-feedback-button--open.bb-feedback-button--classic-button-style {\n      animation-duration: 0.2s;\n      animation-fill-mode: both;\n      animation-name: bbFadeOutRight;\n    }\n    \n    .bb-feedback-button .bb-logo-logo {\n      position: absolute;\n      width: 30px;\n      height: 30px;\n      top: 9px;\n      left: 9px;\n      object-fit: contain;\n      animation-duration: 0.3s;\n      animation-fill-mode: both;\n      animation-name: bbZoomIn;\n    }\n    \n    .bb-feedback-button .bb-logo-arrowdown {\n      position: absolute;\n      width: 14px;\n      height: 14px;\n      top: 17px;\n      left: 17px;\n      object-fit: contain;\n      animation-duration: 0.3s;\n      animation-fill-mode: both;\n    }\n    \n    .bb-feedback-button .bb-logo-arrowdown {\n      animation-name: bbZoomOut;\n    }\n    \n    .bb-feedback-button--open .bb-logo-arrowdown {\n      animation-name: bbZoomIn;\n    }\n    \n    .bb-feedback-button--open .bb-logo-logo {\n      animation-name: bbZoomOut;\n    }\n    \n    .bb-feedback-button-icon:hover {\n      box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25), 0px 0px 20px rgba(0, 0, 0, 0.2);\n      transform: scale(1.1);\n    }\n    \n    .bb-feedback-button--open .bb-feedback-button-text {\n      animation-name: bbFadeOutDown;\n    }\n    \n    .bb-feedback-button--open .bb-feedback-button-icon {\n      display: flex;\n    }\n    \n    .bb-capture-svg {\n      position: fixed;\n      z-index: ").concat(2147483614,";\n      top: 0px;\n      left: 0px;\n      right: 0px;\n      width: 100%;\n      height: 100%;\n      padding: 0px;\n      margin: 0px;\n      cursor: crosshair;\n    }\n\n    .bb-capture-svg--preview {\n      cursor: auto !important;\n    }\n    \n    .bb-rec-on-circle {\n      animation-name: bbRecIconFade;\n      animation-duration: 2s;\n      animation-iteration-count: infinite;\n      animation-direction: alternate;\n    }\n    \n    .bb-rec-on-cont {\n      animation-name: bbRecIconContFade;\n      animation-duration: 2s;\n      animation-iteration-count: infinite;\n      animation-direction: alternate;\n    }\n    \n    .bb-capture-editor-drag-info {\n      position: fixed;\n      top: -200px;\n      left: 0px;\n      z-index: ").concat(2147483616,";\n      transition: opacity 0.3s ease-in-out;\n    }\n    \n    .bb-capture-editor-drag-info svg {\n      width: 24px;\n      height: 24px;\n    }\n    \n    .bb-capture-editor-borderlayer {\n      position: fixed;\n      top: 0px;\n      left: 0px;\n      width: 100vw;\n      height: 100vh;\n      border: 4px solid ").concat(t,";\n      cursor: crosshair;\n      z-index: ").concat(2147483610,";\n      box-sizing: border-box;\n      pointer-events: none;\n    }\n    \n    .bb-capture-editor-notrecording .bb-capture-editor-borderlayer {\n      background-color: rgba(0, 0, 0, 0.8);\n    }\n\n    .bb-capture-editor-recording .bb-capture-editor-borderlayer {\n      border: 4px solid #eb144c !important;\n    }\n    \n    .bb-capture-editor-recording .bb-capture-dismiss {\n      display: none;\n    }\n    \n    .bb-capture-editor-item-inactive {\n      opacity: 0.3;\n      cursor: not-allowed !important;\n    }\n    \n    .bb-capture-editor-notrecording .bb-capture-toolbar-drawingitem {\n      opacity: 0.3;\n      cursor: not-allowed !important;\n    }\n    \n    .bb-capture-editor-notrecording .bb-capture-editor-drag-info {\n      display: none;\n    }\n    \n    .bb-capture-editor-notrecording .bb-capture-svg {\n      pointer-events: none !important;\n    }\n    \n    .bb-capture-toolbar {\n      position: fixed;\n      top: 20px;\n      left: 50%;\n      transform: translateX(-50%);\n      z-index: ").concat(2147483618,";\n      background-color: #fff;\n      padding: 5px;\n      display: flex;\n      align-items: center;\n      border-radius: 8px;\n      box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15), 0px 0px 20px rgba(0, 0, 0, 0.1);\n      transition: opacity 0.3s ease-in-out;\n    }\n    \n    .bb-capture-dismiss {\n      position: fixed;\n      top: 0px;\n      right: 0px;\n      z-index: ").concat(2147483618,";\n      cursor: pointer;\n      -webkit-tap-highlight-color: transparent;\n      width: 36px;\n      height: 36px;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      background-color: ").concat(t,";\n      border-bottom-left-radius: ").concat(_,"px;\n    }\n\n    [dir=rtl] .bb-capture-dismiss {\n      top: 0px;\n      left: 0px;\n      right: auto;\n      border-bottom-left-radius: 0px !important;\n      border-bottom-right-radius: ").concat(_,"px;\n    }\n    \n    .bb-capture-dismiss svg path {\n      fill: ").concat(u,';\n    }\n    \n    .bb-capture-dismiss svg {\n      width: 20px;\n      height: 20px;\n      object-fit: contain;\n    }\n    \n    .bb-capture-button-next {\n      font-family: sans-serif;\n      box-sizing: border-box;\n      font-weight: 600;\n      text-align: center;\n      width: auto;\n      cursor: pointer;\n      -webkit-tap-highlight-color: transparent;\n      margin: 0px;\n      line-height: 36px;\n      padding: 0px 12px;\n      font-size: 15px;\n      margin-left: 12px;\n    }\n\n    [dir=rtl].bb-capture-editor .bb-capture-button-next {\n      margin-left: auto;\n      margin-right: 12px;\n    }\n    \n    .bb-capture-toolbar-item-spacer {\n      width: 1px;\n      height: 38px;\n      min-width: 1px;\n      margin: 0px 5px;\n    }\n    \n    .bb-capture-toolbar-item {\n      width: 42px;\n      height: 38px;\n      min-width: 42px;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      cursor: pointer;\n      -webkit-tap-highlight-color: transparent;\n      position: relative;\n      margin-right: 5px;\n    }\n    \n    .bb-capture-toolbar-item svg {\n      width: 23px;\n      height: 23px;\n      object-fit: contain;\n    }\n    \n    .bb-capture-toolbar-item-selectedcolor {\n      border-radius: 100%;\n      width: 20px;\n      height: 20px;\n      background-color: #db4035;\n    }\n    \n    .bb-capture-toolbar-item[data-type="undo"] svg {\n      width: 18px;\n      height: 18px;\n    }\n    \n    .bb-capture-toolbar-item[data-active="true"] {\n      position: relative;\n    }\n    \n    .bb-capture-preview {\n      display: none;\n      background-color: rgba(0, 0, 0, 0.6);\n      position: fixed;\n      top: 0px;\n      left: 0px;\n      width: 100vw;\n      height: 100vh;\n      justify-content: center;\n      align-items: center;\n      z-index: ').concat(2147483620,";\n    }\n    \n    .bb-capture-preview-inner {\n      background-color: #fff;\n      padding: 0px;\n      box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15), 0px 0px 20px rgba(0, 0, 0, 0.1);\n      border-radius: 8px;\n      flex-direction: column;\n      max-width: 640px;\n      width: 100%;\n      margin: 20px;\n    }\n    \n    .bb-capture-preview-inner video {\n      border-radius: 8px 8px 0px 0px;\n      display: block;\n      border: 0px;\n      outline: none;\n      width: 100%;\n      max-height: 60vh;\n    }\n    \n    .bb-capture-preview-buttons {\n      display: flex;\n      justify-content: space-between;\n      padding: 14px;\n    }\n    \n    .bb-capture-preview-retrybutton {\n      font-family: sans-serif;\n      border-radius: 21px;\n      box-sizing: border-box;\n      padding: 12px 26px;\n      font-size: 16px;\n      line-height: 19px;\n      font-weight: 600;\n      text-align: center;\n      margin-top: 0px;\n      margin-bottom: 0px;\n      cursor: pointer;\n      -webkit-tap-highlight-color: transparent;\n    }\n    \n    .bb-capture-preview-sendbutton {\n      font-family: sans-serif;\n      border-radius: 21px;\n      box-sizing: border-box;\n      padding: 12px 26px;\n      font-size: 16px;\n      line-height: 19px;\n      font-weight: 600;\n      text-align: center;\n      margin-top: 0px;\n      margin-bottom: 0px;\n      cursor: pointer;\n      -webkit-tap-highlight-color: transparent;\n    }\n    \n    .bb-capture-preview-retrybutton:hover,\n    .bb-capture-preview-sendbutton:hover {\n      opacity: 0.9;\n    }\n    \n    .bb-capture-toolbar-item-recording {\n      margin-right: 0px;\n    }\n    \n    .bb-capture-toolbar-item-recording svg {\n      width: 33px;\n      height: 33px;\n    }\n    \n    .bb-capture-toolbar-item-colorpicker {\n      position: fixed;\n      top: 70px;\n      left: 50%;\n      transform: translateX(-50%);\n      z-index: ").concat(2147483618,';\n      background-color: #fff;\n      display: none;\n      padding: 10px;\n      box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15), 0px 0px 20px rgba(0, 0, 0, 0.1);\n      border-radius: 8px;\n    }\n    \n    .bb-capture-toolbar-item-color {\n      width: 20px;\n      height: 20px;\n      border-radius: 100%;\n      margin-right: 12px;\n      box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);\n      cursor: pointer;\n      -webkit-tap-highlight-color: transparent;\n    }\n    \n    .bb-capture-toolbar-item-color:hover {\n      box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.25);\n    }\n    \n    .bb-capture-toolbar-item-color:last-of-type {\n      margin-right: 0px;\n    }\n    \n    [dir=rtl].bb-capture-editor .bb-capture-toolbar-item-color {\n      margin-right: auto;\n      margin-left: 12px;\n    }\n    \n    [dir=rtl].bb-capture-editor .bb-capture-toolbar-item-color:last-of-type {\n      margin-right: auto;\n      margin-left: 0px;\n    }\n    \n    .bb-capture-toolbar-item-recording[data-active="true"] svg:first-of-type {\n      display: none;\n    }\n    \n    .bb-capture-toolbar-item-recording[data-active="true"] svg:nth-of-type(2) {\n      display: block;\n    }\n    \n    .bb-capture-toolbar-item-recording[data-active="false"] svg:first-of-type {\n      display: block;\n    }\n    \n    .bb-capture-toolbar-item-recording[data-active="false"] svg:nth-of-type(2) {\n      display: none;\n    }\n    \n    .bb-capture-toolbar-item--active {\n      background-color: #eee;\n    }\n    \n    .bb-capture-toolbar-item:hover svg {\n      opacity: 1;\n    }\n    \n    .bb-capture-toolbar-item--active {\n      background-color: #f8f8f8;\n    }\n    \n    .bb-capture-toolbar-item--active svg {\n      opacity: 1;\n    }\n    \n    .bb-capture-toolbar-item--inactivecross::before {\n      content: "";\n      position: absolute;\n      top: 0;\n      right: 0;\n      bottom: 0;\n      left: 0;\n      height: 3px;\n      width: 26px;\n      margin: auto;\n      border-radius: 4px;\n      background-color: #e80000;\n      transform: rotate(45deg);\n    }\n    \n    .bb-capture-toolbar-item--inactivecross svg {\n      fill: #eee;\n    }\n    \n    .bb-capture-toolbar-item-timer {\n      text-align: left;\n      line-height: 32px;\n      font-size: 14px;\n      font-family: sans-serif;\n      margin: 5px;\n      min-width: 40px;\n      display: none;\n    }\n    \n    .bb-capture-toolbar-item .bb-tooltip {\n      background-color: #555;\n      color: #fff;\n      visibility: hidden;\n      font-size: 14px;\n      font-family: sans-serif;\n      text-align: center;\n      padding: 5px 10px;\n      position: absolute;\n      z-index: 1;\n      top: 45px;\n      left: 0px;\n      transform: translateX(calc(-50% + 21px));\n      opacity: 0;\n      transition: opacity 0.3s;\n      white-space: nowrap;\n    }\n    \n    .bb-capture-toolbar-item .bb-tooltip::after {\n      content: "";\n      position: absolute;\n      bottom: 100%;\n      left: 50%;\n      margin-left: -5px;\n      border-width: 5px;\n      border-style: solid;\n      transform: rotate(180deg);\n      border-color: #555 transparent transparent transparent;\n    }\n    \n    .bb-capture-toolbar-item:hover .bb-tooltip {\n      visibility: visible;\n      opacity: 1;\n    }\n    \n    .bb-capture-options {\n      display: none;\n    }\n    \n    .bb-capture-options--active {\n      display: flex;\n    }\n\n    @keyframes bbFadeOutRight {\n      from {\n        opacity: 1;\n      }\n    \n      to {\n        opacity: 0;\n      }\n    }\n    \n    @keyframes bbFadeOutDown {\n      from {\n        opacity: 1;\n      }\n    \n      to {\n        opacity: 0;\n        transform: translate3d(0, 100%, 0);\n      }\n    }\n    \n    @keyframes bbFadeInOpacity {\n      from {\n        opacity: 0;\n      }\n    \n      to {\n        opacity: 1;\n      }\n    }\n    \n    @keyframes bbZoomOut {\n      from {\n        opacity: 1;\n      }\n    \n      50% {\n        opacity: 0;\n        transform: scale3d(0.3, 0.3, 0.3);\n      }\n    \n      to {\n        opacity: 0;\n      }\n    }\n    \n    @keyframes bbZoomIn {\n      from {\n        opacity: 0;\n        transform: scale3d(0.3, 0.3, 0.3);\n      }\n    \n      50% {\n        opacity: 1;\n      }\n    }\n    \n    @keyframes bbRecIconContFade {\n      0% {\n        fill: #b10802;\n      }\n      50% {\n        fill: #ff0000;\n      }\n      100% {\n        fill: #b10802;\n      }\n    }  \n    .bb-capture-preview-retrybutton {\n      color: ').concat(d,";\n      border-radius: ").concat(w,"px;\n      background-color: ").concat(y,";\n    }\n    .bb-capture-preview-retrybutton:hover {\n      background-color: ").concat(b,";\n    }\n    @keyframes bb-suc-fill {\n      100% {\n        box-shadow: inset 0px 0px 0px 30px ").concat(t,";\n      }\n    }\n    .bb-capture-toolbar-item-spacer {\n      background-color: ").concat(y,";\n    }\n    .bb-tooltip {\n      border-radius: ").concat(k,"px;\n    }\n    @keyframes bbRecIconFade {\n      0% {\n        fill: transparent;\n      }\n      50% {\n        fill: ").concat(b,";\n      }\n      100% {\n        fill: transparent;\n      }\n    }\n    .bb-capture-preview-sendbutton {\n      color: ").concat(u,";\n      background-color: ").concat(t,";\n      border-radius: ").concat(w,"px;\n    }\n    .bb-capture-button-next {\n      color: ").concat(u,";\n      background-color: ").concat(t,";\n      border-radius: ").concat(_,"px;\n    }\n    .bb-capture-preview-inner {\n      background-color: ").concat(i,";\n      border-radius: ").concat(k,"px;\n    }\n    .bb-capture-toolbar-item-timer {\n      color: ").concat(g,";\n    }\n    .bb-svg-path {\n      fill: ").concat(d,";\n    }\n    .bb-capture-toolbar-item {\n      border-radius: ").concat(k,"px;\n    }\n    .bb-capture-toolbar {\n      background-color: ").concat(i,";\n      border-radius: ").concat(k,"px;\n    }\n    .bb-capture-toolbar-item-colorpicker {\n      background-color: ").concat(i,";\n    }\n    .bb-capture-toolbar-item--active {\n      background-color: ").concat(y,";\n    }\n    .bb-feedback-button-classic {\n      border-top-left-radius: ").concat(k,"px;\n      border-top-right-radius: ").concat(k,"px;\n    }\n    .bb-logo-logo--default path {\n      fill: ").concat(p,";\n    }\n    .bb-logo-arrowdown {\n      fill: ").concat(p,";\n    }\n    .bb-feedback-button-icon {\n        background-color: ").concat(n,";\n    }\n    .bb-feedback-button-classic {\n      background-color: ").concat(n,";\n      color: ").concat(p,";\n    }\n\n    @media only screen and (max-width: 450px) {\n      [dir=rtl].gleap-frame-container,\n      .gleap-frame-container {\n        left: 0px;\n        right: 0px;\n        width: 100vw;\n        max-width: 100vw;\n        min-height: 100vh;\n        min-height: -webkit-fill-available;\n        max-height: -webkit-fill-available;\n        top: 0px;\n        bottom: 0px;\n        border-radius: 0px;\n        animation-name: gleapFadeInUpMobile;\n      }\n\n      .gleap-frame-container-inner {\n        width: 100vw;\n        height: 100%;\n      }\n\n      .gleap-frame-container:not(.gleap-frame-container--survey):not(.gleap-frame-container--survey-full) .gleap-frame-container-inner {\n        max-height: calc(var(--glvh, 1vh) * 100) !important;\n      }\n\n      .gleap-frame-container--survey {\n        height: auto !important;\n        top: initial !important;\n        bottom: 0px !important;\n        min-height: initial !important;\n      }\n\n      .gleap-frame-container--survey .gleap-frame-container-inner {\n        height: 100vh !important;\n      }\n\n      .bb-tooltip {\n        display: none !important;\n      }\n    \n      .bb-capture-toolbar-item-colorpicker {\n        top: 75px;\n      }\n    \n      .bb-capture-button-next {\n        margin-left: auto;\n      }\n    \n      .bb-capture-dismiss {\n        display: none;\n      }\n    \n      .bb-capture-toolbar {\n        top: 15px;\n        right: 15px;\n        left: 15px;\n        width: auto;\n        transform: none;\n      }\n\n      .bb-capture-editor-drag-info {\n        display: none;\n      }\n    \n      .bb-capture-editor-borderlayer {\n        border-width: 4px;\n      }\n    }\n    \n    @media print {\n      .bb-feedback-button {\n        display: none !important;\n      }\n      \n      .gleap-frame-container {\n        display: none !important;\n      }\n    }\n\n    .gleap-tour-sender {\n      display: flex;\n      align-items: center;\n      justify-content: flex-start;\n      margin-bottom: 20px;\n    }\n\n    .gleap-tour-sender-image {\n      width: 32px;\n      height: 32px;\n      border-radius: 32px;\n      margin-right: 10px;\n      background-size: cover;\n      background-repeat: no-repeat;\n    }\n\n    .gleap-tour-popover.gleap-tour-popover-post {\n      min-width: 550px;\n      max-width: 550px;\n    }\n\n    @media only screen and (max-width: 450px) {\n      .gleap-tour-popover.gleap-tour-popover-post {\n        min-width: calc(100vw - 40px);\n        max-width: calc(100vw - 40px);\n      }\n    }\n\n    .gleap-tour-message,\n    .gleap-tour-message p,\n    .gleap-tour-message ul {\n      color: ").concat(d,";\n    }\n\n    .gleap-tour-message p {\n      line-height: 1.3;\n    }\n\n    .gleap-tour-message ul {\n      line-height: 1.3;\n      padding-left: 20px;\n      margin-top: 10px;\n      margin-bottom: 10px;\n    }\n\n    .gleap-tour-message {\n      max-height: calc(80vh - 100px) !important;\n      overflow-y: auto;\n      min-width: 270px;\n    }\n\n    .gleap-tour-message iframe {\n      width: 100%;\n      height: 300px;\n      margin-top: 10px;\n      margin-bottom: 10px;\n      border: none;\n      outline: none;\n      display: block;\n    }\n\n    .gleap-tour-sender-name {\n      font-size: 15px;\n    }\n\n    .gleap-tour-video {\n      width: 100%;\n      max-width: 100%;\n    }\n\n    .gleap-tour-video--playing .gleap-tour-video-playpause {\n      opacity: 0;\n    }\n    \n    .gleap-tour-video--playing:hover .gleap-tour-video-playpause {\n      opacity: 1;\n    }\n\n    .gleap-tour-popover-video-pointer {\n      padding: 0px !important;\n      border-radius: 8px;\n      position: relative;\n      background-color: transparent !important;\n    }\n\n    .gleap-tour-popover-video-pointer .gleap-tour-popover-footer {\n      position: absolute;\n      top: 0px;\n      left: 20px;\n      right: 20px;\n      opacity: 0;\n      transition: opacity 200ms ease-in-out;\n    }\n\n    .gleap-tour-popover-video-pointer .gleap-tour-popover-footer button {\n      padding: 5px 12px;\n    }\n\n    .gleap-tour-popover-video-pointer.gleap-tour-popover-can-close .gleap-tour-popover-footer {\n      right: 40px !important;\n    }\n\n    .gleap-tour-popover-video-pointer:hover .gleap-tour-popover-footer {\n      opacity: 1;\n    }\n\n    .gleap-tour-popover-pointer.gleap-tour-popover-no-sender .gleap-tour-message {\n      padding-right: 20px;\n    }\n\n    .gleap-tour-video video {\n      width: 100%;\n      max-width: 100%;\n      height: auto;\n      border: none;\n      outline: none;\n      display: block;\n      border-radius: 8px;\n    }\n\n    .gleap-admin-collapse-ui {\n      z-index: ").concat(2147483635,";\n      cursor: pointer;\n      position: fixed;\n      bottom: 75px;\n      right: 20px;\n      width: 32px;\n      height: 32px;\n      border-radius: 100%;\n      background-color: #fff;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;\n    }\n\n    .gleap-admin-collapse-ui svg {\n      width: 20px;\n      height: 14px;\n      margin-top: 6px;\n      fill: #000 !important;\n    }\n\n    .gleap-admin-collapse-ui-active {\n      bottom: 20px !important;\n    }\n\n    .gleap-admin-collapse-ui-active svg {\n      transform: rotate(180deg);\n    }\n\n    .gleap-admin-frame-container-active {\n      display: none !important;\n    }\n\n    .gleap-admin-frame-container {\n      position: fixed;\n      bottom: 0px;\n      left: 0px;\n      right: 0px;\n      width: 100vw;\n      z-index: ").concat(2147483640,";\n    }\n\n    .gleap-admin-frame {\n      width: 100%;\n      height: 100%;\n      border: none;\n      outline: none;\n      display: block;\n    }\n    \n    .gleap-tour-message .linktype-link {\n      display: inline-block !important;\n      background-color: transparent !important;\n      color: ").concat(n," !important;\n    }\n\n    .gleap-tour-message .linktype-button {\n      display: inline-block !important;\n      border-radius: 5px;\n      box-sizing: border-box;\n      padding: 10px 20px;\n      background-color: ").concat(n," !important;\n      color: ").concat(p," !important;\n    }\n\n    .gleap-tour-message img {\n      width: 100%;\n      max-width: 100%;\n      min-height: 260px;\n      height: auto;\n      margin-top: 10px;\n      margin-bottom: 10px;\n      object-fit: cover;\n    }\n\n    .gleap-tour-active .gleap-tour-overlay {\n      pointer-events: none;\n    }\n    \n    .gleap-tour-active * {\n      pointer-events: none;\n    }\n    \n    .gleap-tour-active .gleap-tour-active-element,\n    .gleap-tour-active .gleap-tour-active-element *,\n    .gleap-tour-popover,\n    .gleap-tour-popover * {\n      pointer-events: auto;\n    }\n    \n    @keyframes animate-fade-in {\n      0% {\n        opacity: 0;\n      }\n    \n      to {\n        opacity: 1;\n      }\n    }\n    \n    .gleap-tour-fade .gleap-tour-overlay {\n      animation: animate-fade-in 200ms ease-in-out;\n    }\n    \n    .gleap-tour-fade .gleap-tour-popover {\n      animation: animate-fade-in 200ms;\n    }\n\n    .gleap-tour-video-playpause {\n      position: absolute;\n      top: 0px;\n      left: 0px;\n      right: 0px;\n      width: 100%;\n      height: 100%;\n      background-color: rgba(0,0,0,0.5);\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      cursor: pointer;\n      border-radius: 8px;\n      transition: opacity 200ms ease-in-out;\n    }\n\n    .gleap-tour-popover-video-pointer .gleap-tour-popover-arrow {\n      display: none !important;\n    }\n\n    .gleap-tour-video-playpause svg {\n      width: 34px;\n      height: auto;\n      fill: #fff;\n    }\n    \n    /* Popover styles */\n    .gleap-tour-popover {\n      all: unset;\n      box-sizing: border-box;\n      color: #2d2d2d;\n      margin: 0;\n      padding: 15px;\n      border-radius: ").concat(k,'px;\n      min-width: 250px;\n      max-width: 300px;\n      box-shadow: 0 1px 10px #0006;\n      z-index: 1000000000;\n      position: fixed;\n      top: 0;\n      right: 0;\n      background-color: #fff;\n    }\n    \n    .gleap-tour-popover * {\n      font-family: "Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif;\n    }\n    \n    .gleap-tour-popover-title {\n      font: 19px / normal sans-serif;\n      font-weight: 700;\n      display: block;\n      position: relative;\n      line-height: 1.5;\n      zoom: 1;\n      margin: 0;\n    }\n    \n    .gleap-tour-popover-close-btn {\n      all: unset;\n      position: absolute;\n      top: 5px;\n      right: 5px;\n      width: 32px;\n      height: 32px;\n      cursor: pointer;\n      font-size: 30px;\n      font-weight: 500;\n      line-height: 32px;\n      color: #d2d2d2;\n      z-index: 1;\n      text-align: center;\n      transition: color;\n      transition-duration: 200ms;\n    }\n    \n    .gleap-tour-popover-close-btn:hover,\n    .gleap-tour-popover-close-btn:focus {\n      color: #2d2d2d;\n    }\n    \n    .gleap-tour-popover-title[style*="block"] + .gleap-tour-popover-description {\n      margin-top: 5px;\n    }\n    \n    .gleap-tour-popover-description {\n      margin-bottom: 0;\n      font: 15px / normal sans-serif;\n      line-height: 1.5;\n      font-weight: 400;\n      zoom: 1;\n    }\n    \n    .gleap-tour-popover-footer {\n      margin-top: 15px;\n      text-align: right;\n      zoom: 1;\n      display: flex;\n      align-items: center;\n      justify-content: space-between;\n    }\n    \n    .gleap-tour-popover-progress-text {\n      font-size: 13px;\n      font-weight: 400;\n      color: #727272;\n      zoom: 1;\n    }\n    \n    .gleap-tour-popover-footer button {\n      background-color: ').concat(t,";\n      color: ").concat(u,";\n      border-radius: ").concat(_,"px;\n      box-sizing: border-box;\n      padding: 10px 20px;\n      font-size: 14px;\n      font-weight: bold;\n      line-height: 21px;\n      border: none;\n      text-align: center;\n      cursor: pointer;\n      -webkit-tap-highlight-color: transparent;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      box-shadow: none !important;\n      outline: none !important;\n    }\n\n    .gleap-tour-popover-prev-btn {\n      color: ").concat(d," !important;\n      background-color: ").concat(y," !important;\n      margin-right: 3px;\n    }\n\n    .gleap-tour-popover-prev-btn:hover {\n      background-color: ").concat(t,"22 !important;\n      color: ").concat(t,' !important;\n    }\n    \n    .gleap-tour-popover-footer .gleap-tour-popover-btn-disabled {\n      opacity: 0.5;\n      pointer-events: none;\n    }\n    \n    /* Disable the scrolling of parent element if it has an active element*/\n    :not(body):has(> .gleap-tour-active-element) {\n      overflow: hidden !important;\n    }\n    \n    .gleap-tour-no-interaction, .gleap-tour-no-interaction * {\n      pointer-events: none !important;\n    }\n    \n    .gleap-tour-popover-navigation-btns {\n      display: flex;\n      flex-grow: 1;\n      justify-content: flex-end;\n    }\n    \n    .gleap-tour-popover-navigation-btns button + button {\n      margin-left: 4px;\n    }\n    \n    .gleap-tour-popover-arrow {\n      content: "";\n      position: absolute;\n      border: 5px solid #fff;\n    }\n    \n    .gleap-tour-popover-arrow-side-over {\n      display: none;\n    }\n    \n    /** Popover Arrow Sides **/\n    .gleap-tour-popover-arrow-side-left {\n      left: 100%;\n      border-right-color: transparent;\n      border-bottom-color: transparent;\n      border-top-color: transparent;\n    }\n    \n    .gleap-tour-popover-arrow-side-right {\n      right: 100%;\n      border-left-color: transparent;\n      border-bottom-color: transparent;\n      border-top-color: transparent;\n    }\n    \n    .gleap-tour-popover-arrow-side-top {\n      top: 100%;\n      border-right-color: transparent;\n      border-bottom-color: transparent;\n      border-left-color: transparent;\n    }\n    \n    .gleap-tour-popover-arrow-side-bottom {\n      bottom: 100%;\n      border-left-color: transparent;\n      border-top-color: transparent;\n      border-right-color: transparent;\n    }\n    \n    .gleap-tour-popover-arrow-side-center {\n      display: none;\n    }\n    \n    /* Left/Start + Right/Start */\n    .gleap-tour-popover-arrow-side-left.gleap-tour-popover-arrow-align-start,\n    .gleap-tour-popover-arrow-side-right.gleap-tour-popover-arrow-align-start {\n      top: 15px;\n    }\n    \n    /* Top/Start + Bottom/Start */\n    .gleap-tour-popover-arrow-side-top.gleap-tour-popover-arrow-align-start,\n    .gleap-tour-popover-arrow-side-bottom.gleap-tour-popover-arrow-align-start {\n      left: 15px;\n    }\n    \n    /* End/Left + End/Right */\n    .gleap-tour-popover-arrow-align-end.gleap-tour-popover-arrow-side-left,\n    .gleap-tour-popover-arrow-align-end.gleap-tour-popover-arrow-side-right {\n      bottom: 15px;\n    }\n    \n    /* Top/End + Bottom/End */\n    .gleap-tour-popover-arrow-side-top.gleap-tour-popover-arrow-align-end,\n    .gleap-tour-popover-arrow-side-bottom.gleap-tour-popover-arrow-align-end {\n      right: 15px;\n    }\n    \n    /* Left/Center + Right/Center */\n    .gleap-tour-popover-arrow-side-left.gleap-tour-popover-arrow-align-center,\n    .gleap-tour-popover-arrow-side-right.gleap-tour-popover-arrow-align-center {\n      top: 50%;\n      margin-top: -5px;\n    }\n    \n    /* Top/Center + Bottom/Center */\n    .gleap-tour-popover-arrow-side-top.gleap-tour-popover-arrow-align-center,\n    .gleap-tour-popover-arrow-side-bottom.gleap-tour-popover-arrow-align-center {\n      left: 50%;\n      margin-left: -5px;\n    }\n    \n    /* No arrow */\n    .gleap-tour-popover-arrow-none {\n      display: none;\n    }    \n    '),O=document.querySelector(".gleap-styles");O&&O.remove();var I=document.createElement("style");I.innerHTML=E,I.className="gleap-styles",document.body.appendChild(I)}(t,e,n,i,r,a,s,c)}))}},{key:"sendSilentCrashReport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MEDIUM",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{screenshot:!0,replays:!0,attachments:!0};return t.sendSilentCrashReportWithFormData({description:e},n,r)}},{key:"sendSilentCrashReportWithFormData",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MEDIUM",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{screenshot:!0,replays:!0,attachments:!0};if(!this.silentCrashReportSent){this.silentCrashReportSent=!0,setTimeout((function(){e.silentCrashReportSent=!1}),1e4);var o=r?w(r):{},i=M.getInstance();if(i.ready){var a=t||{};i.session.email&&(a.reportedBy=i.session.email),new pt("CRASH",n,a,!0,o).sendFeedback().then((function(){})).catch((function(t){}))}}}},{key:"showSurvey",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"survey";t.startFeedbackFlowWithOptions(e,{hideBackButton:!0,format:n},!0)}},{key:"startClassicForm",value:function(e,n){t.startFeedbackFlowWithOptions(e,{hideBackButton:!n})}},{key:"startFeedbackFlow",value:function(e,n){t.startFeedbackFlowWithOptions(e,{hideBackButton:!n})}},{key:"startFeedbackFlowWithOptions",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=n.autostartDrawing,i=n.hideBackButton,a=n.format;if(M.getInstance().ready){t.getInstance().setGlobalDataItem("snapshotPosition",{x:window.scrollX,y:window.scrollY});var s="start-feedbackflow";r&&(s="start-survey"),bt.getInstance().setAppMode(r?a:"widget"),bt.getInstance().sendMessage({name:s,data:{flow:e,hideBackButton:i,format:a}},!0),o?bt.getInstance().showDrawingScreen("screenshot"):bt.getInstance().showWidget()}}},{key:"openConversations",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"open-conversations",data:{hideBackButton:!t}},!0),bt.getInstance().showWidget()}},{key:"openConversation",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"open-conversation",data:{shareToken:t,hideBackButton:!e}},!0),bt.getInstance().showWidget())}},{key:"startConversation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];t.startBot("",e)}},{key:"startBot",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"start-bot",data:{botId:t||"",hideBackButton:!e}},!0),bt.getInstance().showWidget()}},{key:"openHelpCenterCollection",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"open-help-collection",data:{collectionId:t,hideBackButton:!e}},!0),bt.getInstance().showWidget())}},{key:"openHelpCenterArticle",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"open-help-article",data:{articleId:t,hideBackButton:!e}},!0),bt.getInstance().showWidget())}},{key:"openHelpCenter",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"open-helpcenter",data:{hideBackButton:!t}},!0),bt.getInstance().showWidget()}},{key:"searchHelpCenter",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"open-helpcenter-search",data:{term:t,hideBackButton:!e}},!0),bt.getInstance().showWidget())}},{key:"openNewsArticle",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"open-news-article",data:{id:t,hideBackButton:!e}},!0),bt.getInstance().showWidget())}},{key:"openChecklists",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"open-checklists",data:{hideBackButton:!t}},!0),bt.getInstance().showWidget()}},{key:"startChecklist",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!!t&&(bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"start-checklist",data:{outboundId:t,hideBackButton:!e}},!0),bt.getInstance().showWidget(),!0)}},{key:"openChecklist",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"open-checklist",data:{id:t,hideBackButton:!e}},!0),bt.getInstance().showWidget())}},{key:"openNews",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"open-news",data:{hideBackButton:!t}},!0),bt.getInstance().showWidget()}},{key:"openFeatureRequests",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];bt.getInstance().setAppMode("widget"),bt.getInstance().sendMessage({name:"open-feature-requests",data:{hideBackButton:!t}},!0),bt.getInstance().showWidget()}},{key:"startProductTour",value:function(t){var e=this;M.getInstance().startProductTourConfig(t).then((function(n){e.startProductTourWithConfig(t,n)})).catch((function(t){}))}},{key:"startProductTourWithConfig",value:function(e,n){Yn.getInstance().startWithConfig(e,n,(function(e){var n={tourId:e.tourId};Gt.notifyEvent("productTourCompleted",n),t.trackEvent("tour-".concat(e.tourId,"-completed"),n)}))}},{key:"showBanner",value:function(t){try{un.getInstance().showBanner(t)}catch(e){}}},{key:"showNotification",value:function(t){en.getInstance().showNotification(t)}}],n&&Jn(e.prototype,n),r&&Jn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();if(er(rr,"invoked",!0),er(rr,"silentCrashReportSent",!1),er(rr,"instance",void 0),"undefined"!=typeof window){var or=window.GleapActions;if(or&&or.length>0)for(var ir=0;ir<or.length;ir++){var ar=or[ir];ar&&ar.e&&rr[ar.e]&&rr[ar.e].apply(rr,ar.a)}}const sr=rr,cr=rr})();var c=a.A},18987:function(t,e,n){"use strict";
/*! js-cookie v3.0.5 | MIT */
function r(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}n.d(e,{A:function(){return a}});var o={read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function i(t,e){function n(n,o,i){if("undefined"!==typeof document){i=r({},e,i),"number"===typeof i.expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=n+"="+t.write(o,n)+a}}function o(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=t.read(a,s),e===s)break}catch(c){}}return e?r[e]:r}}return Object.create({set:n,get:o,remove:function(t,e){n(t,"",r({},e,{expires:-1}))},withAttributes:function(t){return i(this.converter,r({},this.attributes,t))},withConverter:function(t){return i(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var a=i(o,{path:"/"})}}]);
//# sourceMappingURL=chunk-vendors-legacy.df7d99b8.js.map