1/*! For license information please see chat-box-8e6e51f86571700e24e6.js.LICENSE.txt */ 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="21148bc7-817b-43c9-80b1-302726154d2a",e._sentryDebugIdIdentifier="sentry-dbid-21148bc7-817b-43c9-80b1-302726154d2a")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"780d26113b47d393c47cb1c05c242ac1d5ec2b22"},(self.webpackChunknew_icloudready_website_ui=self.webpackChunknew_icloudready_website_ui||[]).push([[6573],{85165:function(e,t,r){"use strict";var n=r(84903),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,n.A)((function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t.A=i},84903:function(e,t){"use strict";t.A=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}},14954:function(e){"use strict";var t="%[a-f0-9]{2}",r=new RegExp("("+t+")|([^%]+?)","gi"),n=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(i){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],o(r),o(n))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(r)||[],n=1;n<t.length;n++)t=(e=o(t,n).join("")).match(r)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var r={"%FE%FF":"��","%FF%FE":"��"},o=n.exec(e);o;){try{r[o[0]]=decodeURIComponent(o[0])}catch(t){var a=i(o[0]);a!==o[0]&&(r[o[0]]=a)}o=n.exec(e)}r["%C2"]="�";for(var s=Object.keys(r),c=0;c<s.length;c++){var l=s[c];e=e.replace(new RegExp(l,"g"),r[l])}return e}(e)}}},74651:function(e){"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),i=0;i<n.length;i++){var a=n[i],s=e[a];(o?-1!==t.indexOf(a):t(a,s,e))&&(r[a]=s)}return r}},78403:function(e,t,r){"use strict";const n=r(24280),o=r(14954),i=r(82796),a=r(74651);function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function l(e,t){return t.decode?o(e):e}function u(e){return Array.isArray(e)?e.sort():"object"==typeof e?u(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function d(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=d(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function p(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,n)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return(e,r,n)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"comma":case"separator":return(t,r,n)=>{const o="string"==typeof r&&r.includes(e.arrayFormatSeparator),i="string"==typeof r&&!o&&l(r,e).includes(e.arrayFormatSeparator);r=i?l(r,e):r;const a=o||i?r.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===r?r:l(r,e);n[t]=a};default:return(e,t,r)=>{void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t),n=Object.create(null);if("string"!=typeof e)return n;if(!(e=e.trim().replace(/^[?#&]/,"")))return n;for(const o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator"].includes(t.arrayFormat)?a:l(a,t),r(l(e,t),a,n)}for(const o of Object.keys(n)){const e=n[o];if("object"==typeof e&&null!==e)for(const r of Object.keys(e))e[r]=p(e[r],t);else n[o]=p(e,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce(((e,t)=>{const r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=u(r):e[t]=r,e}
2),Object.create(null))}t.extract=f,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const r=r=>t.skipNull&&null==e[r]||t.skipEmptyString&&""===e[r],n=function(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{const o=r.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[",o,"]"].join("")]:[...r,[c(t,e),"[",c(o,e),"]=",c(n,e)].join("")]};case"bracket":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[]"].join("")]:[...r,[c(t,e),"[]=",c(n,e)].join("")];case"comma":case"separator":return t=>(r,n)=>null==n||0===n.length?r:0===r.length?[[c(t,e),"=",c(n,e)].join("")]:[[r,c(n,e)].join(e.arrayFormatSeparator)];default:return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,c(t,e)]:[...r,[c(t,e),"=",c(n,e)].join("")]}}(t),o={};for(const a of Object.keys(e))r(a)||(o[a]=e[a]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((r=>{const o=e[r];return void 0===o?"":null===o?c(r,t):Array.isArray(o)?o.reduce(n(r),[]).join("&"):c(r,t)+"="+c(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>
2{t=Object.assign({decode:!0},t);const[r,n]=i(e,"#");return Object.assign({url:r.split("?")[0]||"",query:h(f(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:l(n,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0},r);const n=d(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let s=t.stringify(a,r);s&&(s=`?${s}`);let l=function(e){let t="";const r=e.indexOf("#");return-1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(l=`#${c(e.fragmentIdentifier,r)}`),`${n}${s}${l}`},t.pick=(e,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0},n);const{url:o,query:i,fragmentIdentifier:s}=t.parseUrl(e,n);return t.stringifyUrl({url:o,query:a(i,r),fragmentIdentifier:s},n)},t.exclude=(e,r,n)=>{const o=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,o,n)}},82796:function(e){"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},18803:function(e,t,r){"use strict";r.d(t,{C6:function(){return o},Cl:function(){return i},Ju:function(){return s},Tt:function(){return a},gz:function(){return l},zs:function(){return c}});
2var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)};function o(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function s(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function l(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e}},5971:function(e){function t(e){if(e)return function(e){for(var r in t.prototype)e[r]=t.prototype[r];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<n.length;o++)if((r=n[o])===t||r.fn===t){n.splice(o,1);break}return 0===n.length&&delete this._callbacks["$"+e],this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){n=0;for(var o=(r=r.slice(0)).length;n<o;++n)r[n].apply(this,t)}return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},14744:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function o(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(r){return!1}}function s(e,t,r){var o={};return r.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=n(e[t],r)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&r.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return c;var r=t.customMerge(e);return"function"==typeof r?r:c}(i,r)(e[i],t[i],r):o[i]=n(t[i],r))})),o}function c(e,r,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=n;var a=Array.isArray(r);return a===Array.isArray(e)?a?i.arrayMerge(e,r,i):s(e,r,i):n(r,i)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return c(e,r,t)}),{})};var l=c;e.exports=l},78463:function(e){e.exports=a,a.default=a,a.stable=u,a.stableStringify=u;var t="[...]",r="[Circular]",n=[],o=[];function i(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(e,t,r,a){var s;void 0===a&&(a=i()),c(e,"",0,[],void 0,0,a);try{s=0===o.length?JSON.stringify(e,t,r):JSON.stringify(e,f(t),r)}catch(u){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var l=n.pop();4===l.length?Object.defineProperty(l[0],l[1],l[3]):l[0][l[1]]=l[2]}}return s}function s(e,t,r,i){var a=Object.getOwnPropertyDescriptor(i,r);void 0!==a.get?a.configurable?(Object.defineProperty(i,r,{value:e}),n.push([i,r,t,a])):o.push([t,r,e]):(i[r]=e,n.push([i,r,t]))}function c(e,n,o,i,a,l,u){var d;if(l+=1,"object"==typeof e&&null!==e){for(d=0;d<i.length;d++)if(i[d]===e)return void s(r,e,n,a);if(void 0!==u.depthLimit&&l>u.depthLimit)return void s(t,e,n,a);if(void 0!==u.edgesLimit&&o+1>u.edgesLimit)return void s(t,e,n,a);if(i.push(e),Array.isArray(e))for(d=0;d<e.length;d++)c(e[d],d,d,i,e,l,u);else{var f=Object.keys(e);for(d=0;d<f.length;d++){var p=f[d];c(e[p],p,d,i,e,l,u)}}i.pop()}}function l(e,t){return e<t?-1:e>t?1:0}function u(e,t,r,a){void 0===a&&(a=i());var s,c=d(e,"",0,[],void 0,0,a)||e;try{s=0===o.length?JSON.stringify(c,t,r):JSON.stringify(c,f(t),r)}catch(u){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==n.length;){var l=n.pop();4===l.length?Object.defineProperty(l[0],l[1],l[3]):l[0][l[1]]=l[2]}}return s}function d(e,o,i,a,c,u,f){var p;if(u+=1,"object"==typeof e&&null!==e){for(p=0;p<a.length;p++)if(a[p]===e)return void s(r,e,o,c);try{if("function"==typeof e.toJSON)return}catch(y){return}if(void 0!==f.depthLimit&&u>f.depthLimit)return void s(t,e,o,c);if(void 0!==f.edgesLimit&&i+1>f.edgesLimit)return void s(t,e,o,c);if(a.push(e),Array.isArray(e))for(p=0;p<e.length;p++)d(e[p],p,p,a,e,u,f);else{var h={},g=Object.keys(e).sort(l);for(p=0;p<g.length;p++){var m=g[p];d(e[m],m,p,a,e,u,f),h[m]=e[m]}if(void 0===c)return h;n.push([c,o,e]),c[o]=h}a.pop()}}function f(e){return e=void 0!==e?e:function(e,t){return t},function(t,r){if(o.length>0)for(var n=0;n<o.length;n++){var i=o[n];if(i[1]===t&&i[0]===r){r=i[2],o.splice(n,1);break}}return e.call(this,t,r)}}},84696:function(e,t,r){"use strict";r.d(t,{KK:function(){return v},eO:function(){return g}});var n=r(53e3),o=0,i="undefined"!=typeof window&&void 0!==window.requestAnimationFrame?function(e){return window.requestAnimationFrame(e)}:function(e){var t=Date.now(),r=Math.max(0,16.7-(t-o));o=t+r,setTimeout((function(){return e(o)}),r)},a=1/60*1e3,s=!0,c=!1,l=!1,u={delta:0,timestamp:0},d=["read","update","preRender","render","postRender"],f=function(e){return c=e},p=d.reduce((function(e,t){return e[t]=function(e){var t=[],r=[],o=0,i=!1,a=0,s=new WeakSet,c=new WeakSet,l={cancel:function(e){var t=r.indexOf(e);s.add(e),-1!==t&&r.splice(t,1)},process:function(n){var u,d;if(i=!0,t=(u=[r,t])[0],(r=u[1]).length=0,o=t.length)for(a=0;a<o;a++)(d=t[a])(n),!0!==c.has(d)||s.has(d)||(l.schedule(d),e(!0));i=!1},schedule:function(e,a,l){void 0===a&&(a=!1),void 0===l&&(l=!1),(0,n.V)("function"==typeof e,"Argument must be a function");var u=l&&i,d=u?t:r;s.delete(e),a&&c.add(e),-1===d.indexOf(e)&&(d.push(e),u&&(o=t.length))}};return l}(f),e}),{}),h=d.reduce((function(e,t){var r=p[t];return e[t]=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!1),c||b(),r.schedule(e,t,n),e},e}),{}),g=d.reduce((function(e,t){return e[t]=p[t].cancel,e}),{}),m=function(e){return p[e].process(u)},y=function(e){c=!1,u.delta=s?a:Math.max(Math.min(e-u.timestamp,40),1),s||(a=u.delta),u.timestamp=e,l=!0,d.forEach(m),l=!1,c&&(s=!1,i(y))},b=function(){c=!0,s=!0,l||i(y)},v=function(){return u};t.Ay=h},18828:function(e){"use strict";e.exports=Object.assign},53e3:function(e,t,r){"use strict";r.d(t,{$:function(){return n},V:function(){return o}});var n=function(){},o=function(){}},4146:function(e,t,r){"use strict";var n=r(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=c(t),g=c(r),m=0;m<a.length;++m){var y=a[m];if(!(i[y]||n&&n[y]||g&&g[y]||s&&s[y])){var b=f(r,y);try{l(t,y,b)}catch(v){}}}}return t}},9352:function(e,t,r){"use strict";r.d(t,{i0:function(){return he},bt:function(){return re},dg:function(){return Z},ZZ:function(){return te},Sz:function(){return ee},ip:function(){return se},wm:function(){return ce},Te:function(){return ae},po:function(){return J},tn:function(){return Q},yT:function(){return K},qE:function(){return c},AK:function(){return je},Io:function(){return Se},a6:function(){return G},am:function(){return V},vT:function(){return Y},Bu:function(){return me},sn:function(){return X},jh:function(){return _},Fs:function(){return R},qB:function(){return S},fj:function(){return ge}});var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};function o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}var i=r(53e3),a=r(49117),s=r(84696),c=function(e,t,r){return Math.min(Math.max(r,e),t)},l=.001,u=.01,d=10,f=.05,p=1;function h(e){var t,r,n=e.duration,o=void 0===n?800:n,a=e.bounce,s=void 0===a?.25:a,h=e.velocity,y=void 0===h?0:h,b=e.mass,v=void 0===b?1:b;(0,i.$)(o<=1e3*d,"Spring duration must be 10 seconds or less");var w=1-s;w=c(f,p,w),o=c(u,d,o/1e3),w<1?(t=function(e){var t=e*w,r=t*o,n=t-y,i=m(e,w),a=Math.exp(-r);return l-n/i*a},r=function(e){var r=e*w*o,n=r*y+y,i=Math.pow(w,2)*Math.pow(e,2)*o,a=Math.exp(-r),s=m(Math.pow(e,2),w);return(-t(e)+l>0?-1:1)*((n-i)*a)/s}):(t=function(e){return Math.exp(-e*o)*((e-y)*o+1)-l},r=function(e){return Math.exp(-e*o)*(o*o*(y-e))});var x=function(e,t,r){for(var n=r,o=1;o<g;o++)n-=e(n)/t(n);return n}(t,r,5/o);if(isNaN(x))return{stiffness:100,damping:10};var S=Math.pow(x,2)*v;return{stiffness:S,damping:2*w*Math.sqrt(v*S)}}var g=12;function m(e,t){return e*Math.sqrt(1-t*t)}var y=["duration","bounce"],b=["stiffness","damping","mass"];function v(e,t){return t.some((function(t){return void 0!==e[t]}))}function w(e){var t=e.from,r=void 0===t?0:t,i=e.to,a=void 0===i?1:i,s=e.restSpeed,c=void 0===s?2:s,l=e.restDelta,u=o(e,["from","to","restSpeed","restDelta"]),d={done:!1,value:r},f=function(e){var t=n({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!v(e,b)&&v(e,y)){var r=h(e);(t=n(n(n({},t),r),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(u),p=f.stiffness,g=f.damping,w=f.mass,S=f.velocity,_=f.isResolvedFromDuration,k=x,C=x;function O(){var e=S?-S/1e3:0,t=a-r,n=g/(2*Math.sqrt(p*w)),o=Math.sqrt(p/w)/1e3;if(null!=l||(l=Math.abs(a-r)<=1?.01:.4),n<1){var i=m(o,n);k=function(r){var s=Math.exp(-n*o*r);return a-s*((e+n*o*t)/i*Math.sin(i*r)+t*Math.cos(i*r))},C=function(r){var a=Math.exp(-n*o*r);return n*o*a*(Math.sin(i*r)*(e+n*o*t)/i+t*Math.cos(i*r))-a*(Math.cos(i*r)*(e+n*o*t)-i*t*Math.sin(i*r))}}else if(1===n)k=function(r){return a-Math.exp(-o*r)*(t+(e+o*t)*r)};else{var s=o*Math.sqrt(n*n-1);k=function(r){var i=Math.exp(-n*o*r),c=Math.min(s*r,300);return a-i*((e+n*o*t)*Math.sinh(c)+s*t*Math.cosh(c))/s}}}return O(),{next:function(e){var t=k(e);if(_)d.done=e>=u.duration;else{var r=1e3*C(e),n=Math.abs(r)<=c,o=Math.abs(a-t)<=l;d.done=n&&o}return d.value=d.done?a:t,d},flipTarget:function(){var e;S=-S,r=(e=[a,r])[0],a=e[1],O()}}}w.needsInterpolation=function(e,t){return"string"==typeof e||"string"==typeof t};var x=function(e){return 0},S=function(e,t,r){var n=t-e;return 0===n?1:(r-e)/n},_=function(e,t,r){return-r*e+r*t+e},k=function(e,t,r){var n=e*e,o=t*t;return Math.sqrt(Math.max(0,r*(o-n)+n))},C=[a.uh,a.B3,a.V$],O=function(e){return C.find((function(t){return t.test(e)}))},T=function(e){return"'"+e+"' is not an animatable color. Use the equivalent color code instead."},E=function(e,t){var r=O(e),o=O(t);(0,i.V)(!!r,T(e)),(0,i.V)(!!o,T(t)),(0,i.V)(r.transform===o.transform,"Both colors must be hex/RGBA, OR both must be HSLA.");var s=r.parse(e),c=o.parse(t),l=n({},s),u=r===a.V$?_:k;return function(e){for(var t in l)"alpha"!==t&&(l[t]=u(s[t],c[t],e));
2return l.alpha=_(s.alpha,c.alpha,e),r.transform(l)}},A=function(e){return"number"==typeof e},M=function(e,t){return function(r){return t(e(r))}},R=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.reduce(M)};function I(e,t){return A(e)?function(r){return _(e,t,r)}:a.yW.test(e)?E(e,t):L(e,t)}var P=function(e,t){var r=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}(e),n=r.length,o=e.map((function(e,r){return I(e,t[r])}));return function(e){for(var t=0;t<n;t++)r[t]=o[t](e);return r}},j=function(e,t){var r=n(n({},e),t),o={};for(var i in r)void 0!==e[i]&&void 0!==t[i]&&(o[i]=I(e[i],t[i]));return function(e){for(var t in o)r[t]=o[t](e);return r}};function B(e){for(var t=a.f.parse(e),r=t.length,n=0,o=0,i=0,s=0;s<r;s++)n||"number"==typeof t[s]?n++:void 0!==t[s].hue?i++:o++;return{parsed:t,numNumbers:n,numRGB:o,numHSL:i}}var L=function(e,t){var r=a.f.createTransformer(t),n=B(e),o=B(t);return(0,i.V)(n.numHSL===o.numHSL&&n.numRGB===o.numRGB&&n.numNumbers>=o.numNumbers,"Complex values '"+e+"' and '"+t+"' too different to mix. Ensure all colors are of the same type."),R(P(n.parsed,o.parsed),r)},N=function(e,t){return function(r){return _(e,t,r)}};function z(e,t,r){for(var n,o=[],i=r||("number"==typeof(n=e[0])?N:"string"==typeof n?a.yW.test(n)?E:L:Array.isArray(n)?P:"object"==typeof n?j:void 0),s=e.length-1,c=0;c<s;c++){var l=i(e[c],e[c+1]);if(t){var u=Array.isArray(t)?t[c]:t;l=R(u,l)}o.push(l)}return o}function F(e,t,r){var n=void 0===r?{}:r,o=n.clamp,a=void 0===o||o,s=n.ease,l=n.mixer,u=e.length;(0,i.V)(u===t.length,"Both input and output ranges must be the same length"),(0,i.V)(!s||!Array.isArray(s)||s.length===u-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var d=z(t,s,l),f=2===u?function(e,t){var r=e[0],n=e[1],o=t[0];return function(e){return o(S(r,n,e))}}(e,d):function(e,t){var r=e.length,n=r-1;return function(o){var i=0,a=!1;if(o<=e[0]?a=!0:o>=e[n]&&(i=n-1,a=!0),!a){for(var s=1;s<r&&!(e[s]>o||s===n);s++);i=s-1}var c=S(e[i],e[i+1],o);return t[i](c)}}(e,d);return a?function(t){return f(c(e[0],e[u-1],t))}:f}var W=function(e){return function(t){return 1-e(1-t)}},D=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},H=function(e){return function(t){return t*t*((e+1)*t-e)}},U=function(e){var t=H(e);return function(e){return(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))}},$=4/11,q=8/11,X=function(e){return e},G=function(e){return function(t){return Math.pow(t,e)}}(2),Y=W(G),V=D(G),J=function(e){return 1-Math.sin(Math.acos(e))},K=W(J),Q=D(K),Z=H(1.525),ee=W(Z),te=D(Z),re=U(1.525),ne=4356/361,oe=35442/1805,ie=16061/1805,ae=function(e){if(1===e||0===e)return e;var t=e*e;return e<$?7.5625*t:e<q?9.075*t-9.9*e+3.4:e<.9?ne*t-oe*e+ie:10.8*e*e-20.52*e+10.72},se=W(ae),ce=function(e){return e<.5?.5*(1-ae(1-2*e)):.5*ae(2*e-1)+.5};function le(e,t){return e.map((function(){return t||V})).splice(0,e.length-1)}function ue(e){var t=e.from,r=void 0===t?0:t,n=e.to,o=void 0===n?1:n,i=e.ease,a=e.offset,s=e.duration,c=void 0===s?300:s,l={done:!1,value:r},u=Array.isArray(o)?o:[r,o],d=function(e,t){return e.map((function(e){return e*t}))}(null!=a?a:function(e){var t=e.length;return e.map((function(e,r){return 0!==r?r/(t-1):0}))}(u),c);function f(){return F(d,u,{ease:Array.isArray(i)?i:le(u,i)})}var p=f();return{next:function(e){return l.value=p(e),l.done=e>=c,l},flipTarget:function(){u.reverse(),p=f()}}}var de={keyframes:ue,spring:w,decay:function(e){var t=e.velocity,r=void 0===t?0:t,n=e.from,o=void 0===n?0:n,i=e.power,a=void 0===i?.8:i,s=e.timeConstant,c=void 0===s?350:s,l=e.restDelta,u=void 0===l?.5:l,d=e.modifyTarget,f={done:!1,value:o},p=a*r,h=o+p,g=void 0===d?h:d(h);return g!==h&&(p=g-o),{next:function(e){var t=-p*Math.exp(-e/c);return f.done=!(t>u||t<-u),f.value=f.done?g:g+t,f},flipTarget:function(){}}}};function fe(e,t,r){return void 0===r&&(r=0),e-t-r}var pe=function(e){var t=function(t){var r=t.delta;return e(r)};return{start:function(){return s.Ay.update(t,!0,!0)},stop:function(){return s.eO.update(t)}}};function he(e){var t,r,i,a,s,c=e.from,l=e.autoplay,u=void 0===l||l,d=e.driver,f=void 0===d?pe:d,p=e.elapsed,h=void 0===p?0:p,g=e.repeat,m=void 0===g?0:g,y=e.repeatType,b=void 0===y?"loop":y,v=e.repeatDelay,x=void 0===v?0:v,S=e.onPlay,_=e.onStop,k=e.onComplete,C=e.onRepeat,O=e.onUpdate,T=o(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),E=T.to,A=0,M=T.duration,R=!1,I=!0,P=function(e){if(Array.isArray(e.to))return ue;if(de[e.type])return de[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?ue:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?w:ue}(T);(null===(r=(t=P).needsInterpolation)||void 0===r?void 0:r.call(t,c,E))&&(s=F([0,100],[c,E],{clamp:!1}),c=0,E=100);var j=P(n(n({},T),{from:c,to:E}));function B(){A++,"reverse"===b?h=function(e,t,r,n){return void 0===r&&(r=0),void 0===n&&(n=!0),n?fe(t+-e,t,r):t-(e-t)+r}(h,M,x,I=A%2==0):(h=fe(h,M,x),"mirror"===b&&j.flipTarget()),R=!1,C&&C()}function L(e){if(I||(e=-e),h+=e,!R){var t=j.next(Math.max(0,h));a=t.value,s&&(a=s(a)),R=I?t.done:h<=0}
2null==O||O(a),R&&(0===A&&(null!=M||(M=h)),A<m?function(e,t,r,n){return n?e>=t+r:e<=-r}(h,M,x,I)&&B():(i.stop(),k&&k()))}return u&&(null==S||S(),(i=f(L)).start()),{stop:function(){null==_||_(),i.stop()}}}function ge(e,t){return t?e*(1e3/t):0}function me(e){var t,r=e.from,o=void 0===r?0:r,i=e.velocity,a=void 0===i?0:i,c=e.min,l=e.max,u=e.power,d=void 0===u?.8:u,f=e.timeConstant,p=void 0===f?750:f,h=e.bounceStiffness,g=void 0===h?500:h,m=e.bounceDamping,y=void 0===m?10:m,b=e.restDelta,v=void 0===b?1:b,w=e.modifyTarget,x=e.driver,S=e.onUpdate,_=e.onComplete;function k(e){return void 0!==c&&e<c||void 0!==l&&e>l}function C(e){return void 0===c?l:void 0===l||Math.abs(c-e)<Math.abs(l-e)?c:l}function O(e){null==t||t.stop(),t=he(n(n({},e),{driver:x,onUpdate:function(t){var r;null==S||S(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:_}))}function T(e){O(n({type:"spring",stiffness:g,damping:y,restDelta:v},e))}if(k(o))T({from:o,velocity:a,to:C(o)});else{var E=d*a+o;void 0!==w&&(E=w(E));var A,M,R=C(E),I=R===c?-1:1;O({type:"decay",from:o,velocity:a,timeConstant:p,power:d,restDelta:v,modifyTarget:w,onUpdate:k(E)?function(e){A=M,M=e,a=ge(e-A,(0,s.KK)().delta),(1===I&&e>R||-1===I&&e<R)&&T({from:e,to:R,velocity:a})}:void 0})}return{stop:function(){return null==t?void 0:t.stop()}}}var ye=function(e){return e},be=function(e){return void 0===e&&(e=ye),function(t,r,n){var o=r-n,i=-(0-t+1)*(0-e(Math.abs(o)));return o<=0?r+i:r-i}},ve=(Math.sqrt,function(e){return e.hasOwnProperty("x")&&e.hasOwnProperty("y")}),we=function(e){return ve(e)&&e.hasOwnProperty("z")},xe=function(e,t){return Math.abs(e-t)};function Se(e,t){if(A(e)&&A(t))return xe(e,t);if(ve(e)&&ve(t)){var r=xe(e.x,t.x),n=xe(e.y,t.y),o=we(e)&&we(t)?xe(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(o,2))}}var _e=function(e,t){return 1-3*t+3*e},ke=function(e,t){return 3*t-6*e},Ce=function(e){return 3*e},Oe=function(e,t,r){return((_e(t,r)*e+ke(t,r))*e+Ce(t))*e},Te=function(e,t,r){return 3*_e(t,r)*e*e+2*ke(t,r)*e+Ce(t)},Ee=1e-7,Ae=10;var Me=8,Re=.001;var Ie=11,Pe=1/(Ie-1);function je(e,t,r,n){if(e===t&&r===n)return X;for(var o=new Float32Array(Ie),i=0;i<Ie;++i)o[i]=Oe(i*Pe,e,r);function a(t){for(var n=0,i=1,a=Ie-1;i!==a&&o[i]<=t;++i)n+=Pe;--i;var s=n+(t-o[i])/(o[i+1]-o[i])*Pe,c=Te(s,e,r);return c>=Re?function(e,t,r,n){for(var o=0;o<Me;
2++o){var i=Te(t,r,n);if(0===i)return t;t-=(Oe(t,r,n)-e)/i}return t}(t,s,e,r):0===c?s:function(e,t,r,n,o){var i,a,s=0;do{(i=Oe(a=t+(r-t)/2,n,o)-e)>0?r=a:t=a}while(Math.abs(i)>Ee&&++s<Ae);return a}(t,n,n+Pe,e,r)}return function(e){return 0===e||1===e?e:Oe(a(e),t,n)}}},22799:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case l:case f:case m:case g:case c:return e;default:return t}}case o:return t}}}function S(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||x(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===l},t.isContextProvider=function(e){return x(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},44363:function(e,t,r){"use strict";e.exports=r(22799)},24280:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},49117:function(e,t,r){"use strict";r.d(t,{X4:function(){return u},yW:function(){return E},f:function(){return I},uj:function(){return p},uh:function(){return T},V$:function(){return O},ai:function(){return l},KN:function(){return h},gQ:function(){return b},px:function(){return g},B3:function(){return C},hs:function(){return d},vh:function(){return m},vw:function(){return y}});var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};var o=function(e,t){return function(r){return Math.max(Math.min(r,t),e)}},i=function(e){return e%1?Number(e.toFixed(5)):e},a=/(-)?(\d[\d\.]*)/g,s=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,c=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i,l={test:function(e){return"number"==typeof e},parse:parseFloat,transform:function(e){return e}},u=n(n({},l),{transform:o(0,1)}),d=n(n({},l),{default:1}),f=function(e){return{test:function(t){return"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length},parse:parseFloat,transform:function(t){return""+t+e}}},p=f("deg"),h=f("%"),g=f("px"),m=f("vh"),y=f("vw"),b=n(n({},h),{parse:function(e){return h.parse(e)/100},transform:function(e){return h.transform(100*e)}}),v=o(0,255),w=function(e){return void 0!==e.red},x=function(e){return void 0!==e.hue};var S=function(e){return function(t){if("string"!=typeof t)return t;for(var r={},n=function(e){return e.substring(e.indexOf("(")+1,e.lastIndexOf(")"))}(t).replace(/(,|\/)/g," ").split(/ \s*/),o=0;o<4;o++)r[e[o]]=void 0!==n[o]?parseFloat(n[o]):1;return r}},_=n(n({},l),{transform:function(e){return Math.round(v(e))}});function k(e,t){return e.startsWith(t)&&c.test(e)}var C={test:function(e){return"string"==typeof e?k(e,"rgb"):w(e)},parse:S(["red","green","blue","alpha"]),transform:function(e){var t=e.red,r=e.green,n=e.blue,o=e.alpha,a=void 0===o?1:o;return function(e){var t=e.red,r=e.green,n=e.blue,o=e.alpha;return"rgba("+t+", "+r+", "+n+", "+(void 0===o?1:o)+")"}({red:_.transform(t),green:_.transform(r),blue:_.transform(n),alpha:i(u.transform(a))})}},O={test:function(e){return"string"==typeof e?k(e,"hsl"):x(e)},parse:S(["hue","saturation","lightness","alpha"]),transform:function(e){var t=e.hue,r=e.saturation,n=e.lightness,o=e.alpha,a=void 0===o?1:o;return function(e){var t=e.hue,r=e.saturation,n=e.lightness,o=e.alpha;return"hsla("+t+", "+r+", "+n+", "+(void 0===o?1:o)+")"}({hue:Math.round(t),saturation:h.transform(i(r)),lightness:h.transform(i(n)),alpha:i(u.transform(a))})}},T=n(n({},C),{test:function(e){return"string"==typeof e&&k(e,"#")},parse:function(e){var t="",r="",n="";return e.length>4?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),t+=t,r+=r,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alph
2a:1}}}),E={test:function(e){return"string"==typeof e&&c.test(e)||w(e)||x(e)},parse:function(e){return C.test(e)?C.parse(e):O.test(e)?O.parse(e):T.test(e)?T.parse(e):e},transform:function(e){return w(e)?C.transform(e):x(e)?O.transform(e):e}},A="${c}",M="${n}",R=function(e){return"number"==typeof e?0:e},I={test:function(e){if("string"!=typeof e||!isNaN(e))return!1;var t=0,r=e.match(a),n=e.match(s);return r&&(t+=r.length),n&&(t+=n.length),t>0},parse:function(e){var t=e,r=[],n=t.match(s);n&&(t=t.replace(s,A),r.push.apply(r,n.map(E.parse)));var o=t.match(a);return o&&r.push.apply(r,o.map(l.parse)),r},createTransformer:function(e){var t=e,r=0,n=e.match(s),o=n?n.length:0;if(n)for(var c=0;c<o;c++)t=t.replace(n[c],A),r++;var l=t.match(a),u=l?l.length:0;if(l)for(c=0;c<u;c++)t=t.replace(l[c],M),r++;return function(e){for(var n=t,a=0;a<r;a++)n=n.replace(a<o?A:M,a<o?E.transform(e[a]):i(e[a]));return n}},getAnimatableNone:function(e){var t=I.parse(e);return I.createTransformer(e)(t.map(R))}}},51380:function(e){"use strict";function t(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||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 r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function n(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach((function(e){n.prototype[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return this._defaults.push({fn:e,args:r}),this}})),n.prototype._setDefaults=function(e){this._defaults.forEach((function(r){e[r.fn].apply(e,t(r.args))}))},e.exports=n},15734:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var o;"undefined"!=typeof window?o=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),o=void 0):o=self;var i=r(5971),a=r(78463),s=r(31948),c=r(85125),l=r(19450),u=r(51380);function d(){}e.exports=function(e,r){return"function"==typeof r?new t.Request("GET",e).end(r):1===arguments.length?new t.Request("GET",e):new t.Request(e,r)};var f=t=e.exports;t.Request=v,f.getXHR=function(){if(o.XMLHttpRequest&&(!o.location||"file:"!==o.location.protocol||!o.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(r){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(n){}throw new Error("Browser-only version of superagent could not find XHR")};var p="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function h(e){if(!c(e))return e;var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&g(t,r,e[r]);return t.join("&")}function g(e,t,r){if(void 0!==r)if(null!==r)if(Array.isArray(r))r.forEach((function(r){g(e,t,r)}));else if(c(r))for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&g(e,"".concat(t,"[").concat(n,"]"),r[n]);else e.push(encodeURI(t)+"="+encodeURIComponent(r));else e.push(encodeURI(t))}function m(e){for(var t,r,n={},o=e.split("&"),i=0,a=o.length;i<a;++i)-1===(r=(t=o[i]).indexOf("="))?n[decodeURIComponent(t)]="":n[decodeURIComponent(t.slice(0,r))]=decodeURIComponent(t.slice(r+1));return n}function y(e){return/[/+]json($|[^-\w])/.test(e)}function b(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.headers=function(e){for(var t,r,n,o,i=e.split(/\r?\n/),a={},s=0,c=i.length;s<c;++s)-1!==(t=(r=i[s]).indexOf(":"))&&(n=r.slice(0,t).toLowerCase(),o=p(r.slice(t+1)),a[n]=o);return a}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function v(e,t){var r=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,n=null;try{n=new b(r)}catch(o){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=o,r.xhr?(t.rawResponse=void 0===r.xhr.responseType?r.xhr.responseText:r.xhr.response,t.status=r.xhr.status?r.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),r.callback(t)}r.emit("response",n);try{r._isResponseOK(n)||(e=new Error(n.statusText||n.text||"Unsuccessful HTTP response"))}catch(o){e=o}e?(e.original=t,e.response=n,e.status=n.status,r.callback(e,n)):r.callback(null,n)}))}function w(e,t,r){var n=f("DELETE",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n}f.serializeObject=h,f.parseString=m,f.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},f.serialize={"application/x-www-form-urlencoded":h,"application/json":a},f.parse={"application/x-www-form-urlencoded":m,"application/json":JSON.parse},l(b.prototype),b.prototype._parseBody=function(e){var t=f.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&y(this.type)&&(t=f.parse["application/json"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},b.prototype.toError=function(){var e=this.req,t=e.method,r=e.url,n="cannot ".concat(t," ").concat(r," (").concat(this.status,")"),o=new Error(n);return o.status=this.status,o.method=t,o.url=r,o},f.Response=b,i(v.prototype),s(v.prototype),v.prototype.type=function(e){return this.set("Content-Type",f.types[e]||e),this},v.prototype.accept=function(e){return this.set("Accept",f.types[e]||e),this},v.prototype.auth=function(e,t,r){1===arguments.length&&(t=""),"object"===n(t)&&null!==t&&(r=t,t=""),r||(r={type:"function"==typeof btoa?"basic":"auto"});return this._auth(e,t,r,(function(e){if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")}))},v.prototype.query=function(e){return"string"!=typeof e&&(e=h(e)),e&&this._query.push(e),this},v.prototype.attach=function(e,t,r){if(t){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,r||t.name)}
2return this},v.prototype._getFormData=function(){return this._formData||(this._formData=new o.FormData),this._formData},v.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var r=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),r(e,t)},v.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},v.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},v.prototype.ca=v.prototype.agent,v.prototype.buffer=v.prototype.ca,v.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},v.prototype.pipe=v.prototype.write,v.prototype._isHost=function(e){return e&&"object"===n(e)&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},v.prototype.end=function(e){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||d,this._finalizeQueryString(),this._end()},v.prototype._setUploadTimeout=function(){var e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},v.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var e=this;this.xhr=f.getXHR();var t=this.xhr,r=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var r=t.readyState;if(r>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4===r){var n;try{n=t.status}catch(o){n=0}if(!n){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var n=function(t,r){r.total>0&&(r.percent=r.loaded/r.total*100,100===r.percent&&clearTimeout(e._uploadTimeoutTimer)),r.direction=t,e.emit("progress",r)};if(this.hasListeners("progress"))try{t.addEventListener("progress",n.bind(null,"download")),t.upload&&t.upload.addEventListener("progress",n.bind(null,"upload"))}catch(s){}t.upload&&this._setUploadTimeout();try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(c){return this.callback(c)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof r&&!this._isHost(r)){var o=this._header["content-type"],i=this._serializer||f.serialize[o?o.split(";")[0]:""];!i&&y(o)&&(i=f.serialize["application/json"]),i&&(r=i(r))}for(var a in this.header)null!==this.header[a]&&Object.prototype.hasOwnProperty.call(this.header,a)&&t.setRequestHeader(a,this.header[a]);this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0===r?null:r)},f.agent=function(){return new u},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){u.prototype[e.toLowerCase()]=function(t,r){var n=new f.Request(e,t);return this._setDefaults(n),r&&n.end(r),n}})),u.prototype.del=u.prototype.delete,f.get=function(e,t,r){var n=f("GET",e);return"function"==typeof t&&(r=t,t=null),t&&n.query(t),r&&n.end(r),n},f.head=function(e,t,r){var n=f("HEAD",e);return"function"==typeof t&&(r=t,t=null),t&&n.query(t),r&&n.end(r),n},f.options=function(e,t,r){var n=f("OPTIONS",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},f.del=w,f.delete=w,f.patch=function(e,t,r){var n=f("PATCH",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},f.post=function(e,t,r){var n=f("POST",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n},f.put=function(e,t,r){var n=f("PUT",e);return"function"==typeof t&&(r=t,t=null),t&&n.send(t),r&&n.end(r),n}},85125:function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}e.exports=function(e){return null!==e&&"object"===t(e)}},31948:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var o=r(85125);
2function i(e){if(e)return function(e){for(var t in i.prototype)Object.prototype.hasOwnProperty.call(i.prototype,t)&&(e[t]=i.prototype[t]);return e}(e)}e.exports=i,i.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},i.prototype.parse=function(e){return this._parser=e,this},i.prototype.responseType=function(e){return this._responseType=e,this},i.prototype.serialize=function(e){return this._serializer=e,this},i.prototype.timeout=function(e){if(!e||"object"!==n(e))return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",t)}return this},i.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var a=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];i.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var r=this._retryCallback(e,t);if(!0===r)return!0;if(!1===r)return!1}catch(n){console.error(n)}if(t&&t.status&&t.status>=500&&501!==t.status)return!0;if(e){if(e.code&&a.includes(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},i.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},i.prototype.then=function(e,t){var r=this;if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){n.on("abort",(function(){if(!(r._maxRetries&&r._maxRetries>r._retries))if(r.timedout&&r.timedoutError)t(r.timedoutError);else{var e=new Error("Aborted");
2e.code="ABORTED",e.status=r.status,e.method=r.method,e.url=r.url,t(e)}})),n.end((function(r,n){r?t(r):e(n)}))}))}return this._fullfilledPromise.then(e,t)},i.prototype.catch=function(e){return this.then(void 0,e)},i.prototype.use=function(e){return e(this),this},i.prototype.ok=function(e){if("function"!=typeof e)throw new Error("Callback required");return this._okCallback=e,this},i.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},i.prototype.get=function(e){return this._header[e.toLowerCase()]},i.prototype.getHeader=i.prototype.get,i.prototype.set=function(e,t){if(o(e)){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&this.set(r,e[r]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},i.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},i.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(o(e)){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&this.field(r,e[r]);return this}if(Array.isArray(t)){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&this.field(e,t[n]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=String(t)),this._getFormData().append(e,t),this},i.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},i.prototype._auth=function(e,t,r,n){switch(r.type){case"basic":this.set("Authorization","Basic ".concat(n("".concat(e,":").concat(t))));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer ".concat(e))}return this},i.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},i.prototype.redirects=function(e){return this._maxRedirects=e,this},i.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},i.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},i.prototype.send=function(e){var t=o(e),r=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(t&&o(this._data))for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(this._data[n]=e[n]);else"string"==typeof e?(r||this.type("form"),r=this._header["content-type"],this._data="application/x-www-form-urlencoded"===r?this._data?"".concat(this._data,"&").concat(e):e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||r||this.type("json"),this},i.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},i.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.includes("?")?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var r=this.url.slice(t+1).split("&");"function"==typeof this._sort?r.sort(this._sort):r.sort(),this.url=this.url.slice(0,t)+"?"+r.join("&")}}},i.prototype._appendQueryString=function(){console.warn("Unsupported")},i.prototype._timeoutError=function(e,t,r){if(!this._aborted){var n=new Error("".concat(e+t,"ms exceeded"));n.timeout=t,n.code="ECONNABORTED",n.errno=r,this.timedout=!0,this.timedoutError=n,this.abort(),this.callback(n)}},i.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},19450:function(e,t,r){"use strict";var n=r(33048);function o(e){if(e)return function(e){for(var t in o.prototype)Object.prototype.hasOwnProperty.call(o.prototype,t)&&(e[t]=o.prototype[t]);return e}(e)}e.exports=o,o.prototype.get=function(e){return this.header[e.toLowerCase()]},o.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=n.type(t);var r=n.params(t);for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(this[o]=r[o]);this.links={};try{e.link&&(this.links=n.parseLinks(e.link))}catch(i){}},o.prototype._setStatusProperties=function(e){var t=e/100|0;this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=1===t,this.ok=2===t,this.redirect=3===t,this.clientError=4===t,this.serverError=5===t,this.error=(4===t||5===t)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e}},33048:function(e,t){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){var r=t.split(/ *= */),n=r.shift(),o=r.shift();return n&&o&&(e[n]=o),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var r=t.split(/ *; */),n=r[0].slice(1,-1);return e[r[1].split(/ *= */)[1].slice(1,-1)]=n,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},11640:function(e,t,r){"use strict";r.r(t),r.d(t,{ChatBox:function(){return qo},ChatFrame:function(){return Xo},Idengagerchat:function(){return Ko},close:function(){return Yo},default:function(){return Qo},identify:function(){return Jo},open:function(){return Go},toggle:function(){return Vo}});var n=r(58168),o=r(96540),i=r.t(o,2);var a=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepe
vendor: 1,057 bytes, line 2
2nd?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(n){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEac
vendor: 5,057 bytes, line 2
2h((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),s=Math.abs,l=String.fromCharCode,u=Object.assign;function d(e){return e.trim()}function f(e,t,r){return e.replace(t,r)}function p(e,t){return e.indexOf(t)}function h(e,t){return 0|e.charCodeAt(t)}function g(e,t,r){return e.slice(t,r)}function m(e){return e.length}function y(e){return e.length}function b(e,t){return t.push(e),e}var v=1,w=1,x=0,S=0,_=0,k="";function C(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:v,column:w,length:a,return:""}}function O(e,t){return u(C("",null,null,"",null,null,0),e,{length:-e.length},t)}function T(){return _=S>0?h(k,--S):0,w--,10===_&&(w=1,v--),_}function E(){return _=S<x?h(k,S++):0,w++,10===_&&(w=1,v++),_}function A(){return h(k,S)}function M(){return S}function R(e,t){return g(k,e,t)}function I(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P(e){return v=w=1,x=m(k=e),S=0,[]}function j(e){return k="",e}function B(e){return d(R(S-1,z(91===e?e+2:40===e?e+1:e)))}function L(e){for(;(_=A())&&_<33;)E();return I(e)>2||I(_)>3?"":" "}function N(e,t){for(;--t&&E()&&!(_<48||_>102||_>57&&_<65||_>70&&_<97););return R(e,M()+(t<6&&32==A()&&32==E()))}function z(e){for(;E();)switch(_){case e:return S;case 34:case 39:34!==e&&39!==e&&z(_);break;case 40:41===e&&z(e);break;case 92:E()}return S}function F(e,t){for(;E()&&e+_!==57&&(e+_!==84||47!==A()););return"/*"+R(t,S-1)+"*"+l(47===e?e:E())}function W(e){for(;!I(A());)E();return R(e,S)}var D="-ms-",H="-moz-",U="-webkit-",$="comm",q="rule",X="decl",G="@keyframes";function Y(e,t){for(var r="",n=y(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function V(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case X:return e.return=e.return||e.value;case $:return"";case G:return e.return=e.value+"{"+Y(e.children,n)+"}";case q:e.value=e.props.join(",")}return m(r=Y(e.children,n))?e.return=e.value+"{"+r+"}":""}function J(e){return j(K("",null,null,null,[""],e=P(e),0,[0],e))}function K(e,t,r,n,o,i,a,s,c){for(var u=0,d=0,g=a,y=0,v=0,w=0,x=1,S=1,_=1,k=0,C="",O=o,R=i,I=n,P=C;S;)switch(w=k,k=E()){case 40:if(108!=w&&58==h(P,g-1)){-1!=p(P+=f(B(k),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:P+=B(k);break;case 9:case 10:case 13:case 32:P+=L(w);break;case 92:P+=N(M()-1,7);continue;case 47:switch(A()){case 42:case 47:b(Z(F(E(),M()),t,r),c);break;default:P+="/"}break;case 123*x:s[u++]=m(P)*_;case 125*x:case 59:case 0:switch(k){case 0:case 125:S=0;case 59+d:-1==_&&(P=f(P,/\f/g,"")),v>0&&m(P)-g&&b(v>32?ee(P+";",n,r,g-1):ee(f(P," ","")+";",n,r,g-2),c);break;case 59:P+=";";default:if(b(I=Q(P,t,r,u,d,o,s,C,O=[],R=[],g),i),123===k)if(0===d)K(P,t,I,I,O,i,g,s,R);else switch(99===y&&110===h(P,3)?100:y){case 100:case 108:case 109:case 115:K(e,I,I,n&&b(Q(e,I,I,0,0,o,s,C,o,O=[],g),R),o,R,g,s,n?O:R);break;default:K(P,I,I,I,[""],R,0,s,R)}}u=d=v=0,x=_=1,C=P="",g=a;break;case 58:g=1+m(P),v=w;default:if(x<1)if(123==k)--x;else if(125==k&&0==x++&&125==T())continue;switch(P+=l(k),k*x){case 38:_=d>0?1:(P+="\f",-1);break;case 44:s[u++]=(m(P)-1)*_,_=1;break;case 64:45===A()&&(P+=B(E())),y=A(),d=g=m(C=P+=W(M())),k++;break;case 45:45===w&&2==m(P)&&(x=0)}}return i}function Q(e,t,r,n,o,i,a,c,l,u,p){for(var h=o-1,m=0===o?i:[""],b=y(m),v=0,w=0,x=0;v<n;++v)for(var S=0,_=g(e,h+1,h=s(w=a[v])),k=e;S<b;++S)(k=d(w>0?m[S]+" "+_:f(_,/&\f/g,m[S])))&&(l[x++]=k);return C(e,t,r,0===o?q:c,l,u,p)}function Z(e,t,r){return C(e,t,r,$,l(_),g(e,2,-2),0)}function ee(e,t,r,n){return C(e,t,r,X,g(e,0,n),g(e,n+1,-1),n)}var te=function(e,t,r){for(var n=0,o=0;n=o,o=A(),38===n&&12===o&&(t[r]=1),!I(o);)E();return R(e,S)},re=function(e,t){return j(function(e,t){var r=-1,n=44;do{switch(I(n)){case 0:38===n&&12===A()&&(t[r]=1),e[r]+=te(S-1,t,r);break;case 2:e[r]+=B(n);break;case 4:if(44===n){e[++r]=58===A()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=l(n)}}while(n=E());return e}(P(e),t))},ne=new WeakMap,oe=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ne.get(r))&&!n){ne.set(e,!0);for(var o=[],i=re(t,o),a=r.props,s=0,c=0;s<i.length;s++)for(var l=0;l<a.length;l++,c++)e.props[c]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},ie=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ae(e,t){switch(function(e,t){return 45^h(e,0)?(((t<<2^h(e,0))<<2^h(e,1))<<2^h(e,2))<<2^h(e,3):0}(e,t)){case 5103:return U+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return U+e+e;
vendor: 4,121 bytes, line 2
2case 5349:case 4246:case 4810:case 6968:case 2756:return U+e+H+e+D+e+e;case 6828:case 4268:return U+e+D+e+e;case 6165:return U+e+D+"flex-"+e+e;case 5187:return U+e+f(e,/(\w+).+(:[^]+)/,U+"box-$1$2"+D+"flex-$1$2")+e;case 5443:return U+e+D+"flex-item-"+f(e,/flex-|-self/,"")+e;case 4675:return U+e+D+"flex-line-pack"+f(e,/align-content|flex-|-self/,"")+e;case 5548:return U+e+D+f(e,"shrink","negative")+e;case 5292:return U+e+D+f(e,"basis","preferred-size")+e;case 6060:return U+"box-"+f(e,"-grow","")+U+e+D+f(e,"grow","positive")+e;case 4554:return U+f(e,/([^-])(transform)/g,"$1"+U+"$2")+e;case 6187:return f(f(f(e,/(zoom-|grab)/,U+"$1"),/(image-set)/,U+"$1"),e,"")+e;case 5495:case 3959:return f(e,/(image-set\([^]*)/,U+"$1$`$1");case 4968:return f(f(e,/(.+:)(flex-)?(.*)/,U+"box-pack:$3"+D+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+U+e+e;case 4095:case 3583:case 4068:case 2532:return f(e,/(.+)-inline(.+)/,U+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(m(e)-1-t>6)switch(h(e,t+1)){case 109:if(45!==h(e,t+4))break;case 102:return f(e,/(.+:)(.+)-([^]+)/,"$1"+U+"$2-$3$1"+H+(108==h(e,t+3)?"$3":"$2-$3"))+e;case 115:return~p(e,"stretch")?ae(f(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==h(e,t+1))break;case 6444:switch(h(e,m(e)-3-(~p(e,"!important")&&10))){case 107:return f(e,":",":"+U)+e;case 101:return f(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+U+(45===h(e,14)?"inline-":"")+"box$3$1"+U+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(h(e,t+11)){case 114:return U+e+D+f(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return U+e+D+f(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return U+e+D+f(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return U+e+D+e+e}return e}var se=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case X:e.return=ae(e.value,e.length);break;case G:return Y([O(e,{value:f(e.value,"@","@"+U)})],n);case q:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Y([O(e,{props:[f(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Y([O(e,{props:[f(t,/:(plac\w+)/,":"+U+"input-$1")]}),O(e,{props:[f(t,/:(plac\w+)/,":-moz-$1")]}),O(e,{props:[f(t,/:(plac\w+)/,D+"input-$1")]})],n)}return""}))}}],ce=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,o,i=e.stylisPlugins||se,s={},c=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;c.push(e)}));var l,u,d,f,p=[V,(f=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],h=(u=[oe,ie].concat(i,p),d=y(u),function(e,t,r,n){for(var o="",i=0;i<d;i++)o+=u[i](e,t,r,n)||"";return o});o=function(e,t,r,n){l=r,Y(J(e?e+"{"+t.styles+"}":t.styles),h),n&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new a({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return g.sheet.hydrate(c),g};function le(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")})),n}var ue=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},de=function(e,t,r){ue(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var fe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGr
vendor: 5,162 bytes, line 2
2idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function pe(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var he=!1,ge=/[A-Z]|^ms/g,me=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ye=function(e){return 45===e.charCodeAt(1)},be=function(e){return null!=e&&"boolean"!=typeof e},ve=pe((function(e){return ye(e)?e:e.replace(ge,"-$&").toLowerCase()})),we=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(me,(function(e,t,r){return _e={name:t,styles:r,next:_e},t}))}return 1===fe[e]||ye(e)||"number"!=typeof t||0===t?t:t+"px"},xe="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Se(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return _e={name:o.name,styles:o.styles,next:_e},o.name;var i=r;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)_e={name:a.name,styles:a.styles,next:_e},a=a.next;return i.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Se(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?n+=i+"{"+t[s]+"}":be(s)&&(n+=ve(i)+":"+we(i,s)+";")}else{if("NO_COMPONENT_SELECTOR"===i&&he)throw new Error(xe);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var c=Se(e,t,a);switch(i){case"animation":case"animationName":n+=ve(i)+":"+c+";";break;default:n+=i+"{"+c+"}"}}else for(var l=0;l<a.length;l++)be(a[l])&&(n+=ve(i)+":"+we(i,a[l])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var s=_e,c=r(e);return _e=s,Se(e,t,c)}}var l=r;if(null==t)return l;var u=t[l];return void 0!==u?u:l}var _e,ke=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ce(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";_e=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=Se(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=Se(r,t,e[a]),n)o+=i[a]}ke.lastIndex=0;for(var s,c="";null!==(s=ke.exec(o));)c+="-"+s[1];var l=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+c;return{name:l,styles:o,next:_e}}var Oe=!!i.useInsertionEffect&&i.useInsertionEffect,Te=Oe||function(e){return e()},Ee=Oe||o.useLayoutEffect,Ae=o.createContext("undefined"!=typeof HTMLElement?ce({key:"css"}):null),Me=(Ae.Provider,function(e){return(0,o.forwardRef)((function(t,r){var n=(0,o.useContext)(Ae);return e(t,n,r)}))}),Re=o.createContext({});var Ie={}.hasOwnProperty,Pe="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",je=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return ue(t,r,n),Te((function(){return de(t,r,n)})),null},Be=Me((function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var i=e[Pe],a=[n],s="";"string"==typeof e.className?s=le(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var c=Ce(a,void 0,o.useContext(Re));s+=t.key+"-"+c.name;var l={};for(var u in e)Ie.call(e,u)&&"css"!==u&&u!==Pe&&(l[u]=e[u]);return l.className=s,r&&(l.ref=r),o.createElement(o.Fragment,null,o.createElement(je,{cache:t,serialized:c,isStringTag:"string"==typeof i}),o.createElement(i,l))})),Le=Be;function Ne(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var ze=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
2ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Fe=Ne((function(e){return ze.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),We=function(e){return"theme"!==e},De=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Fe:We},He=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},Ue=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return ue(t,r,n),Te((function(){return de(t,r,n)})),null},$e=(r(94634),function e(t,r){var i,a,s=t.__emotion_real===t,c=s&&t.__emotion_base||t;void 0!==r&&(i=r.label,a=r.target);var l=He(t,r,s),u=l||De(c),d=!u("as");return function(){var f=arguments,p=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&p.push("label:"+i+";"),null==f[0]||void 0===f[0].raw)p.push.apply(p,f);else{var h=f[0];p.push(h[0]);for(var g=f.length,m=1;m<g;m++)p.push(f[m],h[m])}var y=Me((function(e,t,r){var n=d&&e.as||c,i="",s=[],f=e;if(null==e.theme){for(var h in f={},e)f[h]=e[h];f.theme=o.useContext(Re)}"string"==typeof e.className?i=le(t.registered,s,e.className):null!=e.className&&(i=e.className+" ");var g=Ce(p.concat(s),t.registered,f);i+=t.key+"-"+g.name,void 0!==a&&(i+=" "+a);var m=d&&void 0===l?De(n):u,y={};for(var b in e)d&&"as"===b||m(b)&&(y[b]=e[b]);return y.className=i,r&&(y.ref=r),o.createElement(o.Fragment,null,o.createElement(Ue,{cache:t,serialized:g,isStringTag:"string"==typeof n}),o.createElement(n,y))}));return y.displayName=void 0!==i?i:"Styled("+("string"==typeof c?c:c.displayName||c.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=c,y.__emotion_styles=p,y.__emotion_forwardProp=l,Object.defineProperty(y,"toString",{value:function(){return"."+a}}),y.withComponent=function(t,o){return e(t,(0,n.A)({},r,o,{shouldForwardProp:He(y,o,!0)})).apply(void 0,p)},y}}.bind(null));function qe(){return qe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qe.apply(this,arguments)}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){$e[e]=$e(e)}));var Xe="__default",Ge=function(e){return"object"==typeof e&&null!==e&&Xe in e};function Ye(e,t,r,n,o){var i=t&&"string"==typeof t?t.split("."):[t];for(n=0;n<i.length;n++)e=e?e[i[n]]:o;return e===o?r:Ge(e)?e[Xe]:e}var Ve=function e(t,r){if(t&&t.variant){var n={};for(var o in t){var i=t[o];if("variant"===o)n=qe({},n,e(Ye(r,"function"==typeof i?i(r):i),r));else n[o]=i}return n}return t},Je=[40,52,64].map((function(e){return e+"em"})),Ke={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},Qe={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},Ze={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],scrollMarginX:["scrollMarginLeft","scrollMarginRight"],scrollMarginY:["scrollMarginTop","scrollMarginBottom"],scrollPaddingX:["scrollPaddingLeft","scrollPaddingRight"],scrollPaddingY:["scrollPaddingTop","scrollPaddingBottom"],size:["width","height"]},et={color:"colors",backgroundColor:"colors",borderColor:"colors",caretColor:"colors",columnRuleColor:"colors",textDecorationColor:"colors",opacity:"opacities",transition:"transitions",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",marginBlock:"space",marginBlockEnd:"space",marginBlockStart:"space",marginInline:"space",marginInlineEnd:"space",marginInlineStart:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",paddingBlock:"space",paddingBlockEnd:"space",paddingBlockStart:"space",paddingInline:"space",paddingInlineEnd:"space",paddingInlineStart:"space",scrollMargin:"space",scrollMarginTop:"space",scrollMarginRight:"space",scrollMarginBottom:"space",scrollMarginLeft:"space",scrollMarginX:"space",scrollMarginY:"space",scrollPadding:"space",scrollPaddingTop:"space",scrollPaddingRight:"space",scrollPaddingBottom:"space",scrollPaddingLeft:"space",scrollPaddingX:"space",scrollPaddingY:"space",inset:"space",insetBlock:"space",insetBlockEnd:"space",insetBlockStart:"space",insetInline:"space",insetInlineEnd:"space",insetInlineStart:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",borderBlock:"borders",borderBlockColor:"colors",borderBlockEnd:"borders",borderBlockEndColor:"colors",borderBlockEndStyle:"borderStyles",borderBlockEndWidth:"borderWidths",borderBlockStart:"borders",borderBlockStartColor:"colors",borderBlockStartStyle:"borderStyles",borderBlockStartWidth:"borderWidths",borderBlockStyle:"borderStyles",borderBlockWidth:"borderWidths",borderEndEndRadius:"radii",borderEndStartRadius:"radii",borderInline:"borders",borderInlineColor:"colors",borderInlineEnd:"borders",borderInlineEndColor:"colors",borderInlineEndStyle:"borderStyles",borderInlineEndWidth:"borderWidths",borderInlineStart:"borders",borderInlineStartColor:"colors",borderInlineStartStyle:"borderStyles",borderInlineStartWidth:"borderWidths",borderInlineStyle:"borderStyles",borderInlineWidth:"borderWidths",borderStartEndRadius:"radii",borderStartStartRadius:"radii",columnRuleWidth:"borderWidths",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",blockSize:"sizes",inlineSize:"sizes",maxBlockSize:"sizes",maxInlineSize:"sizes",minBlockSize:"sizes",minInlineSize:"sizes",columnWidth:"sizes",fill:"colors",stroke:"colors"},tt=function(e,t){if("number"!=typeof t||t>=0){if("string"==typeof t&&t.startsWith("-")){var r=t.substring(1),n=Ye(e,r,r);return"number"==typeof n?-1*n:"-"+n}return Ye(e,t,t)}var o=Math.abs(t),i=Ye(e,o,o);return"string"==typeof i?"-"+i:-1*Number(i)},rt=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginBlock","marginBlockEnd","marginBlockStart","marginInline","marginInlineEnd","marginInlineStart","to
2p","bottom","left","right"].reduce((function(e,t){var r;return qe({},e,((r={})[t]=tt,r))}),{}),nt=function e(t){return void 0===t&&(t={}),function(r){void 0===r&&(r={});var n=qe({},Ke,"theme"in r?r.theme:r),o=function(e){return function(t){var r={},n=t&&t.breakpoints||Je,o=[null].concat(n.map((function(e){return e.includes("@media")?e:"@media screen and (min-width: "+e+")"})));for(var i in e){var a=i,s=e[a];if("function"==typeof s&&(s=s(t||{})),!1!==s&&null!=s)if(Array.isArray(s))for(var c=0;c<s.slice(0,o.length).length;c++){var l=o[c];l?(r[l]=r[l]||{},null!=s[c]&&(r[l][a]=s[c])):r[a]=s[c]}else r[a]=s}return r}}(Ve("function"==typeof t?t(n):t,n))(n),i={};for(var a in o){var s=o[a],c="function"==typeof s?s(n):s;if(c&&"object"==typeof c){if(Ge(c)){i[a]=c[Xe];continue}i[a]=e(c)(n)}else{var l=a in Qe?Qe[a]:a,u=l in et?et[l]:void 0,d=u?null==n?void 0:n[u]:Ye(n,l,{}),f=Ye(rt,l,Ye)(d,c,c);if(l in Ze)for(var p=Ze[l],h=0;h<p.length;h++)i[p[h]]=f;else i[l]=f}}return i}},ot=r(84903),it=r(85165),at=r(18828),st=r.n(at),ct=function(e,t){var r=st()({},e,t);for(var n in e){var o;e[n]&&"object"==typeof t[n]&&st()(r,((o={})[n]=st()(e[n],t[n]),o))}return r},lt={breakpoints:[40,52,64].map((function(e){return e+"em"}))},ut=function(e){return"@media screen and (min-width: "+e+")"},dt=function(e,t){return ft(t,e,e)},ft=function(e,t,r,n,o){for(t=t&&t.split?t.split("."):[t],n=0;n<t.length;n++)e=e?e[t[n]]:o;return e===o?r:e},pt=function e(t){var r={},n=function(e){var n={},o=!1,i=e.theme&&e.theme.disableStyledSystemCache;for(var a in e)if(t[a]){var s=t[a],c=e[a],l=ft(e.theme,s.scale,s.defaults);if("object"!=typeof c)st()(n,s(c,l,e));else{if(r.breakpoints=!i&&r.breakpoints||ft(e.theme,"breakpoints",lt.breakpoints),Array.isArray(c)){r.media=!i&&r.media||[null].concat(r.breakpoints.map(ut)),n=ct(n,ht(r.media,s,l,c,e));continue}null!==c&&(n=ct(n,gt(r.breakpoints,s,l,c,e)),o=!0)}}return o&&(n=function(e){var t={};return Object.keys(e).sort((function(e,t){return e.localeCompare(t,void 0,{numeric:!0,sensitivity:"base"})})).forEach((function(r){t[r]=e[r]})),t}(n)),n};n.config=t,n.propNames=Object.keys(t),n.cache=r;var o=Object.keys(t).filter((function(e){return"config"!==e}));return o.length>1&&o.forEach((function(r){var o;n[r]=e(((o={})[r]=t[r],o))})),n},ht=function(e,t,r,n,o){var i={};return n.slice(0,e.length).forEach((function(n,a){var s,c=e[a],l=t(n,r,o);c?st()(i,((s={})[c]=st()({},i[c],l),s)):st()(i,l)})),i}
2,gt=function(e,t,r,n,o){var i={};for(var a in n){var s=e[a],c=t(n[a],r,o);if(s){var l,u=ut(s);st()(i,((l={})[u]=st()({},i[u],c),l))}else st()(i,c)}return i},mt=function(e){var t=e.properties,r=e.property,n=e.scale,o=e.transform,i=void 0===o?dt:o,a=e.defaultScale;t=t||[r];var s=function(e,r,n){var o={},a=i(e,r,n);if(null!==a)return t.forEach((function(e){o[e]=a})),o};return s.scale=n,s.defaults=a,s},yt=function(e){void 0===e&&(e={});var t={};return Object.keys(e).forEach((function(r){var n=e[r];t[r]=!0!==n?"function"!=typeof n?mt(n):n:mt({property:r,scale:r})})),pt(t)},bt=function(){for(var e={},t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){t&&t.config&&st()(e,t.config)})),pt(e)},vt=yt({width:{property:"width",scale:"sizes",transform:function(e,t){return ft(t,e,!function(e){return"number"==typeof e&&!isNaN(e)}(e)||e>1?e:100*e+"%")}},height:{property:"height",scale:"sizes"},minWidth:{property:"minWidth",scale:"sizes"},minHeight:{property:"minHeight",scale:"sizes"},maxWidth:{property:"maxWidth",scale:"sizes"},maxHeight:{property:"maxHeight",scale:"sizes"},size:{properties:["width","height"],scale:"sizes"},overflow:!0,overflowX:!0,overflowY:!0,display:!0,verticalAlign:!0}),wt=vt,xt={color:{property:"color",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},opacity:!0};xt.bg=xt.backgroundColor;var St=yt(xt),_t=St,kt=yt({fontFamily:{property:"fontFamily",scale:"fonts"},fontSize:{property:"fontSize",scale:"fontSizes",defaultScale:[12,14,16,20,24,32,48,64,72]},fontWeight:{property:"fontWeight",scale:"fontWeights"},lineHeight:{property:"lineHeight",scale:"lineHeights"},letterSpacing:{property:"letterSpacing",scale:"letterSpacings"},textAlign:!0,fontStyle:!0}),Ct=kt,Ot=yt({alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:!0,flex:!0,flexGrow:!0,flexShrink:!0,flexBasis:!0,justifySelf:!0,alignSelf:!0,order:!0}),Tt=Ot,Et={space:[0,4,8,16,32,64,128,256,512]},At=yt({gridGap:{property:"gridGap",scale:"space",defaultScale:Et.space},gridColumnGap:{property:"gridColumnGap",scale:"space",defaultScale:Et.space},gridRowGap:{property:"gridRowGap",scale:"space",defaultScale:Et.space},gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridAutoRows:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0}),Mt=At,Rt={border:{property:"border",scale:"borders"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderStyle:{property:"borderStyle",scale:"borderStyles"},borderColor:{property:"borderColor",scale:"colors"},borderRadius:{property:"borderRadius",scale:"radii"},borderTop:{property:"borderTop",scale:"borders"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRight:{property:"borderRight",scale:"borders"},borderBottom:{property:"borderBottom",scale:"borders"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderLeft:{property:"borderLeft",scale:"borders"},borderX:{properties:["borderLeft","borderRight"],scale:"borders"},borderY:{properties:["borderTop","borderBottom"],scale:"borders"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderTopStyle:{property:"borderTopStyle",scale:"borderStyles"}};Rt.borderTopLeftRadius={property:"borderTopLeftRadius",scale:"radii"},Rt.borderTopRightRadius={property:"borderTopRightRadius",scale:"radii"},Rt.borderBottomWidth={property:"borderBottomWidth",scale:"borderWidths"},Rt.borderBottomColor={property:"borderBottomColor",scale:"colors"},Rt.borderBottomStyle={property:"borderBottomStyle",scale:"borderStyles"},Rt.borderBottomLeftRadius={property:"borderBottomLeftRadius",scale:"radii"},Rt.borderBottomRightRadius={property:"borderBottomRightRadius",scale:"radii"},Rt.borderLeftWidth={property:"borderLeftWidth",scale:"borderWidths"},Rt.borderLeftColor={property:"borderLeftColor",scale:"colors"},Rt.borderLeftStyle={property:"borderLeftStyle",scale:"borderStyles"},Rt.borderRightWidth={property:"borderRightWidth",scale:"borderWidths"},Rt.borderRightColor={property:"borderRightColor",scale:"colors"},Rt.borderRightStyle={property:"borderRightStyle",scale:"borderStyles"};var It=yt(Rt),Pt=It,jt={background:!0,backgroundImage:!0,backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0};jt.bgImage=jt.backgroundImage,jt.bgSize=jt.backgroundSize,jt.bgPosition=jt.backgroundPosition,jt.bgRepeat=jt.backgroundRepeat;var Bt=yt(jt),Lt=Bt,Nt={space:[0,4,8,16,32,64,128,256,512]},zt=yt({position:!0,zIndex:{property:"zIndex",scale:"zIndices"},top:{property:"top",scale:"space",defaultScale:Nt.space},right:{property:"right",scale:"space",defaultScale:Nt.space},bottom:{property:"bottom",scale:"space",defaultScale:Nt.space},left:{property:"left",scale:"space",defaultScale:Nt.space}}
2),Ft=zt,Wt={space:[0,4,8,16,32,64,128,256,512]},Dt=function(e){return"number"==typeof e&&!isNaN(e)},Ht=function(e,t){if(!Dt(e))return ft(t,e,e);var r=e<0,n=Math.abs(e),o=ft(t,n,n);return Dt(o)?o*(r?-1:1):r?"-"+o:o},Ut={};Ut.margin={margin:{property:"margin",scale:"space",transform:Ht,defaultScale:Wt.space},marginTop:{property:"marginTop",scale:"space",transform:Ht,defaultScale:Wt.space},marginRight:{property:"marginRight",scale:"space",transform:Ht,defaultScale:Wt.space},marginBottom:{property:"marginBottom",scale:"space",transform:Ht,defaultScale:Wt.space},marginLeft:{property:"marginLeft",scale:"space",transform:Ht,defaultScale:Wt.space},marginX:{properties:["marginLeft","marginRight"],scale:"space",transform:Ht,defaultScale:Wt.space},marginY:{properties:["marginTop","marginBottom"],scale:"space",transform:Ht,defaultScale:Wt.space}},Ut.margin.m=Ut.margin.margin,Ut.margin.mt=Ut.margin.marginTop,Ut.margin.mr=Ut.margin.marginRight,Ut.margin.mb=Ut.margin.marginBottom,Ut.margin.ml=Ut.margin.marginLeft,Ut.margin.mx=Ut.margin.marginX,Ut.margin.my=Ut.margin.marginY,Ut.padding={padding:{property:"padding",scale:"space",defaultScale:Wt.space},paddingTop:{property:"paddingTop",scale:"space",defaultScale:Wt.space},paddingRight:{property:"paddingRight",scale:"space",defaultScale:Wt.space},paddingBottom:{property:"paddingBottom",scale:"space",defaultScale:Wt.space},paddingLeft:{property:"paddingLeft",scale:"space",defaultScale:Wt.space},paddingX:{properties:["paddingLeft","paddingRight"],scale:"space",defaultScale:Wt.space},paddingY:{properties:["paddingTop","paddingBottom"],scale:"space",defaultScale:Wt.space}},Ut.padding.p=Ut.padding.padding,Ut.padding.pt=Ut.padding.paddingTop,Ut.padding.pr=Ut.padding.paddingRight,Ut.padding.pb=Ut.padding.paddingBottom,Ut.padding.pl=Ut.padding.paddingLeft,Ut.padding.px=Ut.padding.paddingX,Ut.padding.py=Ut.padding.paddingY;var $t=bt(yt(Ut.margin),yt(Ut.padding)),qt=$t,Xt=yt({boxShadow:{property:"boxShadow",scale:"shadows"},textShadow:{property:"textShadow",scale:"shadows"}});function Gt(){return Gt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gt.apply(this,arguments)}var Yt,Vt,Jt=function(e,t,r,n,o){for(t=t&&t.split?t.split("."):[t],n=0;n<t.length;n++)e=e?e[t[n]]:o;return e===o?r:e},Kt=[40,52,64].map((function(e){return e+"em"})),Qt={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},Zt={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},er={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],size:["width","height"]},tr={color:"colors",backgroundColor:"colors",borderColor:"colors",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",outlineColor:"colors",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",fill:"colors",stroke:"colors"},rr=function(e,t){if("number"!=typeof t||t>=0)return Jt(e,t,t);var r=Math.abs(t),n=Jt(e,r,r);return"string"==typeof n?"-"+n:-1*n},nr=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","to
2p","bottom","left","right"].reduce((function(e,t){var r;return Gt({},e,((r={})[t]=rr,r))}),{}),or=function e(t){return function(r){void 0===r&&(r={});var n=Gt({},Qt,{},r.theme||r),o={},i=function(e){return function(t){var r={},n=Jt(t,"breakpoints",Kt),o=[null].concat(n.map((function(e){return"@media screen and (min-width: "+e+")"})));for(var i in e){var a="function"==typeof e[i]?e[i](t):e[i];if(null!=a)if(Array.isArray(a))for(var s=0;s<a.slice(0,o.length).length;s++){var c=o[s];c?(r[c]=r[c]||{},null!=a[s]&&(r[c][i]=a[s])):r[i]=a[s]}else r[i]=a}return r}}("function"==typeof t?t(n):t)(n);for(var a in i){var s=i[a],c="function"==typeof s?s(n):s;if("variant"!==a)if(c&&"object"==typeof c)o[a]=e(c)(n);else{var l=Jt(Zt,a,a),u=Jt(tr,l),d=Jt(n,u,Jt(n,l,{})),f=Jt(nr,l,Jt)(d,c,c);if(er[l])for(var p=er[l],h=0;h<p.length;h++)o[p[h]]=f;else o[l]=f}else o=Gt({},o,{},e(Jt(n,c))(n))}return o}},ir=function(e){var t,r,n=e.scale,o=e.prop,i=void 0===o?"variant":o,a=e.variants,s=void 0===a?{}:a,c=e.key;r=Object.keys(s).length?function(e,t,r){return or(ft(t,e,null))(r.theme)}:function(e,t){return ft(t,e,null)},r.scale=n||c,r.defaults=s;var l=((t={})[i]=r,t);return pt(l)},ar=ir({key:"buttons"}),sr=ir({key:"textStyles",prop:"textStyle"}),cr=ir({key:"colorStyles",prop:"colors"}),lr=(wt.width,wt.height,wt.minWidth,wt.minHeight,wt.maxWidth,wt.maxHeight,wt.size,wt.verticalAlign,wt.display,wt.overflow,wt.overflowX,wt.overflowY,_t.opacity,Ct.fontSize,Ct.fontFamily,Ct.fontWeight,Ct.lineHeight,Ct.textAlign,Ct.fontStyle,Ct.letterSpacing,Tt.alignItems,Tt.alignContent,Tt.justifyItems,Tt.justifyContent,Tt.flexWrap,Tt.flexDirection,Tt.flex,Tt.flexGrow,Tt.flexShrink,Tt.flexBasis,Tt.justifySelf,Tt.alignSelf,Tt.order,Mt.gridGap,Mt.gridColumnGap,Mt.gridRowGap,Mt.gridColumn,Mt.gridRow,Mt.gridAutoFlow,Mt.gridAutoColumns,Mt.gridAutoRows,Mt.gridTemplateColumns,Mt.gridTemplateRows,Mt.gridTemplateAreas,Mt.gridArea,Pt.borderWidth,Pt.borderStyle,Pt.borderColor,Pt.borderTop,Pt.borderRight,Pt.borderBottom,Pt.borderLeft,Pt.borderRadius,Lt.backgroundImage,Lt.backgroundSize,Lt.backgroundPosition,Lt.backgroundRepeat,Ft.zIndex,Ft.top,Ft.right,Ft.bottom,Ft.left,function(e){var t=new RegExp("^("+e.join("|")+")$");return(0,ot.A)((function(e){return(0,it.A)(e)&&!t.test(e)}))}),ur=(lr(bt($t,kt,St,vt,Ot,It,Bt,zt,At,Xt,ar,sr,cr).propNames),r(4146),function(e,t){var r=arguments;if(null==t||!Ie.call(t,"css"))return o.createElement.apply(void 0,r);var n=r.length,i=new Array(n);i[0]=Le,i[1]=function(e,t){var r={};for(var n in t)Ie.call(t,n)&&(r[n]=t[n]);return r[Pe]=e,r}(e,t);for(var a=2;a<n;a++)i[a]=r[a];return o.createElement.apply(null,i)});Yt=ur||(ur={}),Vt||(Vt=Yt.JSX||(Yt.JSX={}));var dr=Me((function(e,t){var r=Ce([e.styles],void 0,o.useContext(Re)),n=o.useRef();return Ee((function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),n.current=[o,i],function(){o.flush()}}),[t]),Ee((function(){var e=n.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&de(t,r.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",r,o,!1)}}),[t,r.name]),null}));function fr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ce(t)}var pr=[].concat(qt.propNames,_t.propNames),hr=function(e){return pr.includes(e)},gr=lr(pr),mr=$e("div",{shouldForwardProp:gr})({boxSizing:"border-box",margin:0,minWidth:0},(function(e){return nt(e.__css)(e.theme)}),(function(e){var t=e.theme,r=e.variant,n=e.__themeKey;return nt(Ye(t,(void 0===n?"variants":n)+"."+r,Ye(t,r)))}),qt,_t,(function(e){return nt(e.sx)(e.theme)}),(function(e){return e.css}));function yr(){return yr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yr.apply(this,arguments)}function br(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}mr.displayName="Box",$e(mr)({display:"flex"}).displayName="Flex";var vr=o.forwardRef((function(e,t){return o.createElement(mr,yr({ref:t,as:"button",variant:"primary"},e,{__themeKey:"buttons",__css:{appearance:"none",display:e.hidden?void 0:"inline-block",textAlign:"center",lineHeight:"inherit",textDecoration:"none",fontSize:"inherit",px:3,py:2,color:"white",bg:"primary",border:0,borderRadius:4}}))})),wr=o.forwardRef((function(e,t){return o.createElement(mr,yr({ref:t,as:"img"},e,{__themeKey:"images",__css:yr({maxWidth:"100%",height:"auto"},e.__css)}))})),xr=["size"],Sr=function(e){var t=e.size,r=void 0===t?24:t,n=br(e,xr);return o.createElement(mr,yr({as:"svg",xmlns:"http://www.w3.org/2000/svg",width:r+"",height:r+"",viewBox:"0 0 24 24",fill:"
2currentcolor"},n))};Sr.displayName="SVG";var _r=function(e){return function(t){var r={};for(var n in t)e(n||"")&&(r[n]=t[n]);return r}},kr=/^m[trblxy]?$/,Cr=(_r((function(e){return kr.test(e)})),_r((function(e){return!kr.test(e)})),function(){var e=fr.apply(void 0,arguments),t="animation-"+e.name;e.styles}({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),_r(hr),_r((function(e){return!hr(e)})),r(14744)),Or=r.n(Cr),Tr=function(e){if(!e||!e.sx&&!e.css)return e;var t={};for(var r in e)"sx"!==r&&(t[r]=e[r]);return t.css=function(e){return function(t){return[nt(e.sx)(t),"function"==typeof e.css?e.css(t):e.css]}}(e),t};function Er(){return Er=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Er.apply(this,arguments)}var Ar=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return ur.apply(void 0,[e,Tr(t)].concat(n))},Mr={__EMOTION_VERSION__:"11.14.0",theme:{}},Rr=(0,o.createContext)(Mr),Ir=function(){return(0,o.useContext)(Rr)},Pr="function"==typeof Symbol&&Symbol.for,jr=Pr?Symbol.for("react.element"):60103,Br=Pr?Symbol.for("react.forward_ref"):60103,Lr={isMergeableObject:function(e){return!!e&&"object"==typeof e&&e.$$typeof!==jr&&e.$$typeof!==Br},arrayMerge:function(e,t){return t}},Nr=function(e,t){return Or()(e,t,Lr)};Nr.all=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Or().all(t,Lr)};var zr=function(e){var t=e.context,r=e.children;return Ar(Re.Provider,{value:t.theme},Ar(Rr.Provider,{value:t,children:r}))};function Fr(e){var t=e.theme,r=e.children,n=Ir();var o="function"==typeof t?Er({},n,{theme:t(n.theme)}):Nr.all({},n,{theme:t});return Ar(zr,{context:o,children:r})}var Wr=Ar;function Dr(){return Dr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Dr.apply(this,arguments)}var Hr=function(e){return"--theme-ui-"+e.replace("-__default","")},Ur=function(e){return"var("+Hr(e)+")"},$r=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join("-")},qr=new Set(["useCustomProperties","initialColorModeName","printColorModeName","initialColorMode","useLocalStorage","config"]),Xr=function e(t,r){var n=Array.isArray(t)?[]:{};for(var o in t){var i=t[o],a=$r(r,o);i&&"object"==typeof i?n[o]=e(i,a):qr.has(o)?n[o]=i:n[o]=Ur(a)}return n},Gr=function e(t,r){var n={};for(var o in r)if("modes"!==o){var i=$r(t,o),a=r[o];a&&"object"==typeof a?n=Dr({},n,e(i,a)):n[Hr(i)]=a}return n},Yr=function(e){void 0===e&&(e={});var t=e.config||e||{},r=t.useCustomProperties,n=t.initialColorModeName,o=t.printColorModeName,i=t.useRootStyles,a=e.rawColors||e.colors;if(!a||!1===i)return{};if(!1===r)return nt({color:"text",bg:"background"})(e);var s=a.modes||{},c=Vr(a,s);if(o){var l="initial"===o||o===n?a:s[o];c["@media print"]=Gr("colors",l)}var u=function(e){return Ur("colors-"+e)};return nt(Dr({},c,{color:u("text"),bg:u("background")}))(e)};function Vr(e,t){var r=Gr("colors",e);return Object.keys(t).forEach((function(e){var n=".theme-ui-"+e;r["&"+n+", "+n+" &"]=Gr("colors",t[e])})),r}var Jr="theme-ui-color-mode",Kr=function(){try{return window.localStorage.getItem(Jr)}catch(e){console.warn("localStorage is disabled and color mode might not work as expected.","Please check your Site Settings.",e)}},Qr=function(e){try{window.localStorage.setItem(Jr,e)}catch(t){console.warn("localStorage is disabled and color mode might not work as expected.","Please check your Site Settings.",t)}},Zr="undefined"==typeof window?function(){}:o.useLayoutEffect,en=function(e){var t=e.outerCtx,r=e.children,n=t.theme||{},i=n.config||n,a=i.initialColorModeName,s=i.useColorSchemeMediaQuery,c=i.useLocalStorage,l=(0,o.useState)((function(){return!1!==s&&function(){if("undefined"!=typeof window&&window.matchMedia){if(window.matchMedia("(prefers-color-scheme: dark)").matches)return"dark";if(window.matchMedia("(prefers-color-scheme: light)").matches)return"light"}return null}()||a})),u=l[0],d=l[1];Zr((function(){var e=!1!==c&&Kr();"undefined"!=typeof document&&document.documentElement.classList.remove("theme-ui-"+e),e&&e!==u&&(u=e,d(e))}),[]),(0,o.useEffect)((function(){u&&!1!==c&&Qr(u)}),[u,c]);var f=nn({colorMode:u,outerTheme:n}),p=Dr({},t,{theme:f,colorMode:u,setColorMode:d});return o.createElement(zr,{context:p},o.createElement(on,{theme:f}),r)};var tn=function(e){var t=Dr({},e);return delete t.modes,t};function rn(e,t){for(var r=0,n=Object.entries(e);r<n.length;r++){var o=n[r],i=o[0],a=o[1];if("string"!=typeof a||a.startsWith("var(")){if("object"==typeof a){var s=Dr({},t[i]);rn(a,s),t[i]=s}}else t[i]=a}}function nn(e){var t=e.outerTheme,r=e.colorMode;return(0,o.useMemo)((function(){var e=Dr({},t),n=Ye(e,"colors.modes",{}),o=Ye(n,r,{});r&&(e.colors=Dr({},e.colors,o));var i=t.config||t,a=i.useCustomProperties,s=i.initialColorModeName,c=void 0===s?"__default":s,l=t.rawColors||t.colors||{};if(!1!==a){var u=null!=e.rawColors,d=e.colors||{};if(u)rn(d,l=Dr({},l)),l.modes&&(l.modes[c]=tn(l)),e.rawColors=l;else if("modes"in l){var f,p=Dr(((f={})[c]=tn(l),f),l.modes);e.rawColors=Dr({},d,{modes:p})}else e.rawColors=d;e.colors=Xr(tn(l),"colors")}return e}),[r,t])}function on(e){var t=e.theme;return Ar(dr,{styles:function(){return{html:Yr(t)}}})}function an(e){var t,r=e.outerCtx,n=e.children,i=nn({outerTheme:r.theme,colorMode:r.colorMode}),a=(0,o.useState)((function(){var e;return!1!==(null==(e=i.config)?void 0:e.useLocalStorage)})),s=a[0],c=a[1];Zr((function(){c(!1)}),[]);var l=i.rawColors||i.colors,u=null==(t=i.config)?void 0:t.useCustomProperties,d=(0,o.useMemo)((function(){if(!1===u)return{};var e=l||{};return nt(Vr(e,e.modes||{}))(i)}),[i,l,u]);return o.createElement(zr,{context:Dr({},r,{theme:i})},Ar("div",{"data-themeui-nested-provider":!0,key:Number(s),suppressHydrationWarning:!0,css:d,children:n}))}var sn=function(e){var t=e.children,r=Ir();return"function"!=typeof r.setColorMode?o.createElement(en,{outerCtx:r},t):o.createElement(an,{outerCtx:r},t)};function cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ln(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function un(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?ln(Object(r),!0).forEach((function(t){cn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ln(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dn(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var fn=o.createContext({}),pn=function(e){var t=o.useContext(fn),r=t;return e&&(r="function"==typeof e?e(t):un(un({},t),e)),r},hn=function(e){var t=pn(e.components);return o.createElement(fn.Provider,{value:t},e.children)},gn={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},mn=o.forwardRef((function(e,t){var r=e.components,n=e.mdxType,i=e.originalType,a=e.parentName,s=dn(e,["components","mdxType","originalType","parentName"]),c=pn(r),l=n,u=c["".concat(a,".").concat(l)]||c[l]||gn[l]||i;return r?o.createElement(u,un(un({ref:t},s),{},{components:r})):o.createElement(u,un({ref:t},s))}));function yn(){return yn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yn.apply(this,arguments)}mn.displayName="MDXCreateElement";var bn=["theme"],vn={inlineCode:"code",thematicBreak:"hr",root:"div"},wn=function(e){return function(e){return e in vn}(e)?vn[e]:e},xn={th:{align:"textAlign"},td:{align:"textAlign"}},Sn=function(e){return function(t){var r=t.theme,n=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,bn),o=xn[e],i=o?Object.keys(n).filter((function(e){return void 0!==o[e]})).reduce((function(e,t){var r;return yn({},e,((r={})[o[t]]=n[t],r))}),{}):void 0;return nt(yn({},Ye(r,"styles."+e),i))(r)}},_n=$e("div")(Sn("div")),kn=$e("div")(Sn("div")),Cn={};["p","b","i","a","h1","h2","h3","h4","h5","h6","img","pre","code","ol","ul","li","blockquote","hr","em","table","tr","th","td","em","strong","del","inlineCode","thematicBreak","div","root"].forEach((function(e){Cn[e]=$e(wn(e))(Sn(e)),_n[e]=Cn[e],kn[e]=$e(function(e){return function(t){return(0,o.useEffect)((function(){}),[]),(0,o.createElement)(wn(e),t)}}(e))(Sn(e))}));var On=function(e){var t=yn({},Cn);return Object.keys(e).forEach((function(r){t[r]=$e(e[r])(Sn(r))})),t},Tn=function(e){var t=e.components,r=e.children,n=pn();return Ar(hn,{components:On(yn({},n,t)),children:r})},En=function(){return Ar(dr,{styles:function(e){var t,r=e;if(!1===(r.config||r).useRootStyles||r.styles&&!r.styles.root)return null;var n=!1===(null==(t=r.config)?void 0:t.useBorderBox)?void 0:"border-box";return nt({"*":{boxSizing:n},html:{variant:"styles.root"},body:{margin:0}})(r)}})},An=function(e){var t=e.theme,r=e.components,n=e.children,i=Ir()===Mr;return o.createElement(Fr,{theme:t},o.createElement(sn,null,i&&o.createElement(En,null),o.createElement(Tn,{components:r},n)))},Mn=r(18768),Rn=r(78403),In=r(15734);function Pn(e){return Pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pn(e)}var jn=/^\s+/,Bn=/\s+$/;function Ln(e,t){if(t=t||{},(e=e||"")instanceof Ln)return e;if(!(this instanceof Ln))return new Ln(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,i=null,a=!1,s=!1;"string"==typeof e&&(e=function(e){e=e.replace(jn,"").replace(Bn,"").toLowerCase();var t,r=!1;if(Zn[e])e=Zn[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=po.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=po.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=po.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=po.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=po.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=po.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=po.hex8.exec(e))return{r:oo(t[1]),g:oo(t[2]),b:oo(t[3]),a:co(t[4]),format:r?"name":"hex8"};if(t=po.hex6.exec(e))return{r:oo(t[1]),g:oo(t[2]),b:oo(t[3]),format:r?"name":"hex"};if(t=po.hex4.exec(e))return{r:oo(t[1]+""+t[1]),g:oo(t[2]+""+t[2]),b:oo(t[3]+""+t[3]),a:co(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=po.hex3.exec(e))return{r:oo(t[1]+""+t[1]),g:oo(t[2]+""+t[2]),b:oo(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==Pn(e)&&(ho(e.r)&&ho(e.g)&&ho(e.b)?(t=function(e,t,r){return{r:255*ro(e,255),g:255*ro(t,255),b:255*ro(r,255)}}(e.r,e.g,e.b),a=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):
vendor: 9,396 bytes, line 2
2ho(e.h)&&ho(e.s)&&ho(e.v)?(n=ao(e.s),o=ao(e.v),t=function(e,t,r){e=6*ro(e,360),t=ro(t,100),r=ro(r,100);var n=Math.floor(e),o=e-n,i=r*(1-t),a=r*(1-o*t),s=r*(1-(1-o)*t),c=n%6,l=[r,a,i,i,s,r][c],u=[s,r,r,a,i,i][c],d=[i,i,s,r,r,a][c];return{r:255*l,g:255*u,b:255*d}}(e.h,n,o),a=!0,s="hsv"):ho(e.h)&&ho(e.s)&&ho(e.l)&&(n=ao(e.s),i=ao(e.l),t=function(e,t,r){var n,o,i;function a(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=ro(e,360),t=ro(t,100),r=ro(r,100),0===t)n=o=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=a(c,s,e+1/3),o=a(c,s,e),i=a(c,s,e-1/3)}return{r:255*n,g:255*o,b:255*i}}(e.h,n,i),a=!0,s="hsl"),e.hasOwnProperty("a")&&(r=e.a));return r=to(r),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=r.ok}function Nn(e,t,r){e=ro(e,255),t=ro(t,255),r=ro(r,255);var n,o,i=Math.max(e,t,r),a=Math.min(e,t,r),s=(i+a)/2;if(i==a)n=o=0;else{var c=i-a;switch(o=s>.5?c/(2-i-a):c/(i+a),i){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:o,l:s}}function zn(e,t,r){e=ro(e,255),t=ro(t,255),r=ro(r,255);var n,o,i=Math.max(e,t,r),a=Math.min(e,t,r),s=i,c=i-a;if(o=0===i?0:c/i,i==a)n=0;else{switch(i){case e:n=(t-r)/c+(t<r?6:0);break;case t:n=(r-e)/c+2;break;case r:n=(e-t)/c+4}n/=6}return{h:n,s:o,v:s}}function Fn(e,t,r,n){var o=[io(Math.round(e).toString(16)),io(Math.round(t).toString(16)),io(Math.round(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function Wn(e,t,r,n){return[io(so(n)),io(Math.round(e).toString(16)),io(Math.round(t).toString(16)),io(Math.round(r).toString(16))].join("")}function Dn(e,t){t=0===t?0:t||10;var r=Ln(e).toHsl();return r.s-=t/100,r.s=no(r.s),Ln(r)}function Hn(e,t){t=0===t?0:t||10;var r=Ln(e).toHsl();return r.s+=t/100,r.s=no(r.s),Ln(r)}function Un(e){return Ln(e).desaturate(100)}function $n(e,t){t=0===t?0:t||10;var r=Ln(e).toHsl();return r.l+=t/100,r.l=no(r.l),Ln(r)}function qn(e,t){t=0===t?0:t||10;var r=Ln(e).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-t/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-t/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-t/100*255))),Ln(r)}function Xn(e,t){t=0===t?0:t||10;var r=Ln(e).toHsl();return r.l-=t/100,r.l=no(r.l),Ln(r)}function Gn(e,t){var r=Ln(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,Ln(r)}function Yn(e){var t=Ln(e).toHsl();return t.h=(t.h+180)%360,Ln(t)}function Vn(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var r=Ln(e).toHsl(),n=[Ln(e)],o=360/t,i=1;i<t;i++)n.push(Ln({h:(r.h+i*o)%360,s:r.s,l:r.l}));return n}function Jn(e){var t=Ln(e).toHsl(),r=t.h;return[Ln(e),Ln({h:(r+72)%360,s:t.s,l:t.l}),Ln({h:(r+216)%360,s:t.s,l:t.l})]}function Kn(e,t,r){t=t||6,r=r||30;var n=Ln(e).toHsl(),o=360/r,i=[Ln(e)];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(Ln(n));return i}function Qn(e,t){t=t||6;for(var r=Ln(e).toHsv(),n=r.h,o=r.s,i=r.v,a=[],s=1/t;t--;)a.push(Ln({h:n,s:o,v:i})),i=(i+s)%1;return a}Ln.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=to(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=zn(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=zn(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=Nn(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=Nn(this._r,this._g,this._b),t=Math.round(360*e.h),r=Math.round(100*e.s),n=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return Fn(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,o){var i=[io(Math.round(e).toString(16)),io(Math.round(t).toString(16)),io(Math.round(r).toString(16)),io(so(n))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*ro(this._r,255))+"%",g:Math.round(100*ro(this._g,255))+"%",b:Math.round(100*ro(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*ro(this._r,255))+"%, "+Math.round(100*ro(this._g,255))+"%, "+Math.round(100*ro(this._b,255))+"%)":"rgba("+Math.round(100*ro(this._r,255))+"%, "+Math.round(100*ro(this._g,255))+"%, "+Math.round(100*ro(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(eo[Fn(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+Wn(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=Ln(e);r="#"+Wn(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return Ln(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification($n,arguments)},brighten:function(){return this._applyModification(qn,arguments)},darken:function(){return this._applyModification(Xn,arguments)},desaturate:function(){return this._applyModification(Dn,arguments)},saturate:function(){return this._applyModification(Hn,arguments)},greyscale:function(){return this._applyModification(Un,arguments)},spin:function(){return this._applyModification(Gn,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(Kn,arguments)},complement:function(){return this._applyCombination(Yn,arguments)},monochromatic:function(){return this._applyCombination(Qn,arguments)},splitcomplement:function(){return this._applyCombination(Jn,arguments)},triad:function(){return this._applyCombination(Vn,[3])},tetrad:function(){return this._applyCombination(Vn,[4])}},Ln.fromRatio=function(e,t){if("object"==Pn(e)){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:ao(e[n]));e=r}return Ln(e,t)},Ln.equals=function(e,t){return!(!e||!t)&&Ln(e).toRgbString()==Ln(t).toRgbString()},Ln.random=function(){return Ln.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},Ln.mix=function(e,t,r){r=0===r?0:r||50;var n=Ln(e).toRgb(),o=Ln(t).toRgb(),i=r/100;return Ln({r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a})},Ln.readability=function(e,t){var r=Ln(e),n=Ln(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},Ln.isReadable=function(e,t,r){var n,o,i=Ln.readability(e,t);switch(o=!1,n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r),n.level+n.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},Ln.mostReadable=function(e,t,r){var n,o,i,a,s=null,c=0;o=(r=r||{}).includeFallbackColors,i=r.level,a=r.size;
vendor: 1,589 bytes, line 2
2for(var l=0;l<t.length;l++)(n=Ln.readability(e,t[l]))>c&&(c=n,s=Ln(t[l]));return Ln.isReadable(e,s,{level:i,size:a})||!o?s:(r.includeFallbackColors=!1,Ln.mostReadable(e,["#fff","#000"],r))};var Zn=Ln.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee9
20",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},eo=Ln.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(Zn);function to(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ro(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function no(e){return Math.min(1,Math.max(0,e))}function oo(e){return parseInt(e,16)}function io(e){return 1==e.length?"0"+e:""+e}function ao(e){return e<=1&&(e=100*e+"%"),e}function so(e){return Math.round(255*parseFloat(e)).toString(16)}function co(e){return oo(e)/255}var lo,uo,fo,po=(uo="[\\s|\\(]+("+(lo="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+lo+")[,|\\s]+("+lo+")\\s*\\)?",fo="[\\s|\\(]+("+lo+")[,|\\s]+("+lo+")[,|\\s]+("+lo+")[,|\\s]+("+lo+")\\s*\\)?",{CSS_UNIT:new RegExp(lo),rgb:new RegExp("rgb"+uo),rgba:new RegExp("rgba"+fo),hsl:new RegExp("hsl"+uo),hsla:new RegExp("hsla"+fo),hsv:new RegExp("hsv"+uo),hsva:new RegExp("hsva"
2+fo),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function ho(e){return!!po.CSS_UNIT.exec(e)}function go(){return go=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},go.apply(null,arguments)}const mo=e=>o.createElement(Mn.PY.path,go({fill:"transparent",strokeWidth:"3",stroke:"hsl(0, 0%, 99%)",strokeLinecap:"round"},e)),yo=()=>o.createElement("svg",{width:"27",height:"27",viewBox:"0 0 27 27"},o.createElement(mo,{variants:{closed:{opacity:0,d:"M 7.5 14.5 L 19 14.5"},open:{opacity:1,d:"M 7 7 L 20 20"}},transition:{duration:.2}}),o.createElement(mo,{variants:{closed:{opacity:0,d:"M 7.5 8.5 L 19 8.5"},open:{opacity:1,d:"M 7 20 L 20 7"}},transition:{duration:.2}}),o.createElement(mo,{d:"M22 21.6453C22 20 23 19.5 23 19.5C23 19.5 25.5 18 25.5 14V9C25.5 4 23 1.5 18 1.5H9C4 1.5 1.5 4 1.5 9V14C1.5 19 4 21 9 21H13.5C14 21 14 21 15 21.5L20.25 24.8572L20.8517 25.2118C21.5184 25.6046 22 25.631 22 24.8572V24.0287V22.7858V21.6453Z",variants:{closed:{opacity:1},open:{opacity:0}},transition:{duration:.2}})),bo=()=>o.createElement("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none"},o.createElement(mo,{variants:{closed:{opacity:0,d:"M 7.5 14.5 L 19 14.5"},open:{opacity:1,d:"M 5 5 L 20 20"}},transition:{duration:.2}}),o.createElement(mo,{variants:{closed:{opacity:0,d:"M 7.5 8.5 L 19 8.5"},open:{opacity:1,d:"M 5 20 L 20 5"}},transition:{duration:.2}}),o.createElement(Mn.PY.path,{d:"M20 2H4C2.9 2 2 2.9 2 4V22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2Z",fill:"hsl(0, 0%, 99%)",variants:{closed:{opacity:1},open:{opacity:0}},transition:{duration:.2}})),vo=()=>o.createElement("svg",{width:"27",height:"27",viewBox:"0 0 27 27"},o.createElement(mo,{variants:{closed:{opacity:0,d:"M 7.5 14.5 L 19 14.5"},open:{opacity:1,d:"M 7 7 L 20 20"}},transition:{duration:.2}}),o.createElement(mo,{variants:{closed:{opacity:0,d:"M 7.5 8.5 L 19 8.5"},open:{opacity:1,d:"M 7 20 L 20 7"}},transition:{duration:.2}})),wo=({isOpen:e,customIconUrl:t,iconVariant:r})=>t?e?o.createElement(vo,null):o.createElement(wr,{src:t,style:{maxHeight:40,maxWidth:40}}):o.createElement("filled"===r?bo:yo,null),xo=({isOpen:e,isDisabled:t,customIconUrl:r,iconVariant:n,style:i,toggle:a})=>o.createElement(vr,{className:"Idengagerchat-toggleButton",variant:"primary",p:0,style:i,sx:{variant:"styles.WidgetToggle"},disabled:t,onClick:a},o.createElement(wo,{customIconUrl:r,iconVariant:n,isOpen:e})),So=()=>Wr("svg",{width:"12",height:"12",viewBox:"0 0 24 24"},Wr(Mn.PY.path,{d:"M 5 5 L 19 19 M 19 5 L 5 19",fill:"transparent",strokeWidth:"3",stroke:"#FFFFFF",strokeLinecap:"round"})),_o={sm:{ring:56,halo:96,mascot:44},md:{ring:72,halo:120,mascot:60},lg:{ring:90,halo:160,mascot:78}},ko=({isOpen:e,isDisabled:t,toggle:r,style:n,personaStyle:o="avatar",personaImageUrl:i,personaAccentColor:a="#3BCEF8",personaName:s,personaTagline:c,personaPulse:l=!0,personaSize:u="md",primaryColor:d="#0097C2",side:f="right"})=>{const p=_o[u]||_o.md,h=!e&&(s||c),g=Wr("button",{type:"button",className:"Idengagerchat-toggleButton Idengagerchat-personaToggle",onClick:r,disabled:t,"aria-label":e?"Close chat":`Open chat with ${s||"assistant"}`,style:go({position:"relative",width:p.ring,height:p.ring,borderRadius:"50%",border:`2px solid ${a}`,background:`linear-gradient(135deg, ${d}, ${a})`,cursor:t?"not-allowed":"pointer",padding:0,overflow:"hidden",boxShadow:`0 12px 28px -8px ${a}AA, inset 0 0 0 1px rgba(255,255,255,0.15)`,transition:"transform .25s ease"},n),onMouseEnter:e=>{e.currentTarget.style.transform="scale(1.05)"},onMouseLeave:e=>{e.currentTarget.style.transform="scale(1)"}},l&&Wr("span",{"aria-hidden":!0,className:"Idengagerchat-personaPulse",style:{position:"absolute",inset:-8,borderRadius:"50%",border:`2px solid ${a}`,opacity:0,animation:"Idengagerchat-personaPulse 2.4s ease-out infinite",pointerEvents:"none"}}),i?Wr("img",{src:i,alt:s||"Assistant",style:{width:"88%",height:"88%",objectFit:"contain",objectPosition:"center bottom",position:"relative",top:"6%",opacity:e?.7:1,transition:"opacity .2s ease"}}):Wr("span",{style:{color:"#fff",fontWeight:800,fontSize:18}},(s||"AI").slice(0,1).toUpperCase()),e&&Wr("span",{"aria-hidden":!0,
2className:"Idengagerchat-personaCloseBadge",style:{position:"absolute",top:2,right:2,width:22,height:22,borderRadius:"50%",background:"#00244D",border:`2px solid ${a}`,display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 2px 6px rgba(0,0,0,0.35)"}},Wr(So,null)));return"floating"===o?Wr("div",{className:"Idengagerchat-personaFloating",style:{position:"relative",display:"inline-flex",alignItems:"flex-end"}},!e&&i&&Wr("img",{src:i,alt:s||"Assistant",onClick:r,style:{position:"absolute",bottom:p.ring+8,["left"===f?"left":"right"]:-8,width:1.6*p.mascot,height:2.1*p.mascot,objectFit:"contain",filter:`drop-shadow(0 16px 24px ${a}66)`,cursor:"pointer",animation:"Idengagerchat-personaBob 4s ease-in-out infinite"}}),g,h&&Wr(Co,{side:f,name:s,tagline:c,accent:a,offset:p.ring+16})):Wr("div",{className:"Idengagerchat-personaAvatar",style:{position:"relative",display:"inline-flex",alignItems:"center"}},g,h&&Wr(Co,{side:f,name:s,tagline:c,accent:a}))},Co=({side:e,name:t,tagline:r,accent:n,offset:o})=>{const i="left"===e;return Wr("div",{className:"Idengagerchat-personaChip",style:{position:"absolute",bottom:null!=o?o:"50%",transform:null!=o?"none":"translateY(50%)",[i?"left":"right"]:null!=o?0:"calc(100% + 12px)",background:"rgba(0,24,51,0.92)",border:`1px solid ${n}66`,borderRadius:12,padding:"8px 12px",whiteSpace:"nowrap",boxShadow:"0 12px 24px -8px rgba(0,0,0,0.35)",pointerEvents:"none",backdropFilter:"blur(10px)",animation:"Idengagerchat-personaFade .35s ease both"}},t&&Wr("div",{style:{fontSize:12,fontWeight:800,color:n,lineHeight:1.2}},t),r&&Wr("div",{style:{fontSize:11,color:"rgba(255,255,255,0.75)",marginTop:2}},r))},Oo=()=>Wr("style",null,"\n @keyframes Idengagerchat-personaPulse {\n 0% { transform: scale(0.85); opacity: 0.7; }\n 100% { transform: scale(1.55); opacity: 0; }\n }\n @keyframes Idengagerchat-personaBob {\n 0%, 100% { transform: translateY(0); }\n 50% { transform: translateY(-6px); }\n }\n @keyframes Idengagerchat-personaFade {\n from { opacity: 0; transform: translateY(6px); }\n to { opacity: 1; transform: translateY(0); }\n }\n .Idengagerchat-personaToggle:focus { outline: none; }\n .Idengagerchat-personaToggle:focus-visible {\n outline: 2px solid #fff;\n outline-offset: 4px;\n }\n "),To="idengagerchat-tip-seen-";function Eo(e,t){return e?"string"==typeof e?e:t?e.ar||e.en||"":e.en||e.ar||"":""}const Ao=({tips:e=[],side:t="right",accentColor:r="#3BCEF8",isRTL:n=!1,hideDelayMs:i=8e3,cooldownMs:a=4e3,toggleOffset:s=96,onCtaClick:c})=>{const[l,u]=(0,o.useState)(-1),[d,f]=(0,o.useState)(!1),p=(0,o.useRef)(new Set),h=(0,o.useRef)(null),g=(0,o.useRef)(0);if((0,o.useEffect)((()=>{if(!e||0===e.length)return;if("undefined"==typeof window)return;e.forEach(((e,t)=>{try{"1"===window.sessionStorage.getItem(To+t)&&p.current.add(t)}catch(e){}}));const t=()=>{let t=-1,r=0;if(e.forEach(((e,n)=>{if(!e||!e.selector)return;const o=document.querySelector(e.selector);if(!o)return;const i=o.getBoundingClientRect(),a=Math.max(0,i.top),s=Math.min(window.innerHeight,i.bottom),c=Math.max(0,s-a)/window.innerHeight;c>r&&(r=c,t=n)})),t<0)return;if(p.current.has(t))return;const n=Date.now();if(!(n-g.current<a)){g.current=n,u(t),f(!0),p.current.add(t);try{window.sessionStorage.setItem(To+t,"1")}catch(e){}h.current&&clearTimeout(h.current),h.current=setTimeout((()=>f(!1)),i)}},r=()=>t();return window.addEventListener("scroll",r,{passive:!0}),t(),()=>{window.removeEventListener("scroll",r),h.current&&clearTimeout(h.current)}}),[JSON.stringify(e),a,i]),!e||0===e.length)return null;if(!d||l<0)return null;const m=e[l];if(!m)return null;const y=Eo(m.text,n),b=Eo(m.ctaText,n),v=()=>{if("function"==typeof c)return c(m),void f(!1);"undefined"!=typeof window&&window.dispatchEvent(new Event(m.ctaEvent||"idengagerchat:open")),f(!1)},w="left"===t;return Wr("div",{className:"Idengagerchat-contextualTip",style:{position:"fixed",bottom:s,[w?"left":"right"]:20,zIndex:2147483646,maxWidth:300,background:"rgba(0,24,51,0.95)",color:"#fff",border:`1px solid ${r}66`,borderRadius:14,padding:"12px 36px 12px 16px",boxShadow:"0 18px 48px -12px rgba(0,0,0,0.5)",animation:"Idengagerchat-tipIn .35s ease both",cursor:"pointer",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)"},onClick:v,role:"button",tabIndex:0,onKeyDown:e=>{"Enter"===e.key&&v(),"Escape"===e.key&&f(!1)},dir:n?"rtl":"ltr"},Wr("div",{style:{fontSize:13,lineHeight:1.45}},y),b&&Wr("div",{style:{marginTop:8,fontSize:12,fontWeight:800,color:r,letterSpacing:"0.04em"}},b," ",w?"â":"â"),Wr("button",{type:"button","aria-label":"Dismiss",onClick:e=>{e.stopPropagation(),f(!1)},style:{position:"absolute",top:4,right:6,background:"transparent",border:"none",color:"rgba(255,255,255,0.55)",fontSize:14,cursor:"pointer",padding:4,lineHeight:1}},"â"))},Mo=()=>Wr("style",null,"\n @keyframes Idengagerchat-tipIn {\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 1; transform: translateY(0); }\n }\n "),Ro="https://inbox.icloud-ready.com";function Io(){}const Po={ChatFrameContainer:{margin:0,height:"100%",width:"100%",minHeight:320},WidgetContainer:{margin:0,zIndex:2147483e3,position:"fixed",bottom:100,right:20,width:376,maxWidth:["90%","376px"],minHeight:250,maxHeight:["60%","704px"],boxShadow:"rgba(0, 0, 0, 0.16) 0px 5px 40px",height:"calc(100% - 120px)",borderRadius:8,overflow:"hidden",notifications:{background:"transparent",margin:0,zIndex:2147483e3,position:"fixed",bottom:80,right:20,width:"auto",maxWidth:["90%","300px"],minHeight:0,maxHeight:["60%","400px"],boxShadow:"none",height:200,overflow:"hidden"}},WidgetToggleContainer:{position:"fixed",zIndex:2147483003,bottom:"20px",right:"20px"},WidgetToggle:{outline:"none !important",border:"none !important",cursor:"pointer",width:"50px",height:"50px",borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center"}},jo="__IDENGAGERCHAT__",Bo=()=>({_db:{},getItem(e){return this._db[e]||null},setItem(e,t){this._db[e]=t},removeItem(e){delete this._db[e]},get(e){return this._db[e]||null},set(e,t){this._db[e]=t},remove(e){delete this._db[e]}}),Lo=(e,t="local")=>{try{switch(t){case"local":return(e=>{try{const t=e&&e.localStorage;return go({},t,{get:e=>{const r=t.getItem(`${jo}${e}`);if(!r)return null;try{return JSON.parse(r)}catch(e){return r}},set:(e,r)=>{t.setItem(`${jo}${e}`,JSON.stringify(r))},remove:e=>{t.removeItem(e)}})}catch(e){return Bo()}})(e);case"session":return(e=>{try{const t=e&&e.sessionStorage;return go({},t,{get:e=>{const r=t.getItem(`${jo}${e}`);if(!r)return null;try{return JSON.parse(r)}catch(e){return r}},set:(e,r)=>{t.setItem(`${jo}${e}`,JSON.stringify(r))},remove:e=>{t.removeItem(e)}})}catch(e){return Bo()}})(e);case"cookie":return(()=>{try{throw new Error("Cookie storage has not been implemented!")}catch(e){return Bo()}})();default:return Bo()}}catch(e){return Bo()}};class No{constructor(e=!1){this.debugModeEnabled=!!e}debug(...e){this.debugModeEnabled&&console.debug(...e)}log(...e){this.debugModeEnabled&&console.log(...e)}info(...e){console.info(...e)}warn(...e){console.warn(...e)}error(...e){console.error(...e)}}const zo=e=>{const t=Array.prototype,r=Function.prototype,n=Object.prototype,o=n.toString,i=n.hasOwnProperty,a=e.console,s=e.navigator,l=e.document,u=e.opera,d=e.screen,f=s.userAgent,p=e.Intl,h=r.bind,g=t.forEach,m=t.indexOf,
2y=Array.isArray,b=t.slice,v={},w=y||function(e){return"[object Array]"===o.call(e)};function x(e){try{return/^\s*\bfunction\b/.test(e)}catch(e){return!1}}function S(e){return"[object String]"==o.call(e)}function _(e){return void 0===e}function k(e,t,r){if(null!=e)if(g&&e.forEach===g)e.forEach(t,r);else if(e.length===+e.length){for(var n=0,o=e.length;n<o;n++)if(n in e&&t.call(r,e[n],n,e)===v)return}else for(var a in e)if(i.call(e,a)&&t.call(r,e[a],a,e)===v)return}const C=function(){let e,t,r,n,o={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},i=function(t){var n=new SyntaxError(t);throw n.at=e,n.text=r,n},a=function(){return c&&c!==t&&i("Expected '"+c+"' instead of '"+t+"'"),t=r.charAt(e),e+=1,t},s=function(){var e,r="";for("-"===t&&(r="-",a());t>="0"&&t<="9";)r+=t,a();if("."===t)for(r+=".";a()&&t>="0"&&t<="9";)r+=t;if("e"===t||"E"===t)for(r+=t,a(),"-"!==t&&"+"!==t||(r+=t,a());t>="0"&&t<="9";)r+=t,a();if(e=+r,isFinite(e))return e;i("Bad number")},l=function(){let e,r,n,s="";if('"'===t)for(;a();){if('"'===t)return a(),s;if("\\"===t)if(a(),"u"===t){for(n=0,r=0;r<4&&(e=parseInt(a(),16),isFinite(e));r+=1)n=16*n+e;s+=String.fromCharCode(n)}else{if("string"!=typeof o[t])break;s+=o[t]}else s+=t}i("Bad string")},u=function(){for(;t&&t<=" ";)a()};return n=function(){switch(u(),t){case"{":return function(){let e,r={};if("{"===t){if(a(),u(),"}"===t)return a(),r;for(;t;){if(e=l(),u(),a(),Object.hasOwnProperty.call(r,e)&&i('Duplicate key "'+e+'"'),r[e]=n(),u(),"}"===t)return a(),r;a(),u()}}i("Bad object")}();case"[":return function(){var e=[];if("["===t){if(a(),u(),"]"===t)return a(),e;for(;t;){if(e.push(n()),u(),"]"===t)return a(),e;a(),u()}}i("Bad array")}();case'"':return l();case"-":return s();default:return t>="0"&&t<="9"?s():function(){switch(t){case"t":return a(),a(),a(),a(),!0;case"f":return a(),a(),a(),a(),a(),!1;case"n":return a(),a(),a(),a(),null}i('Unexpected "'+t+'"')}()}},function(o){var a;return r=o,e=0,t=" ",a=n(),u(),t&&i("Syntax error"),a}}();function O(e){var t,r,n,o,i="";for(t=r=0,n=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,o=0;o<n;o++){var a=e.charCodeAt(o),s=null;a<128?r++:s=a>127&&a<2048?String.fromCharCode(a>>6|192,63&a|128):String.fromCharCode(a>>12|224,a>>6&63|128,63&a|128),null!==s&&(r>t&&(i+=e.substring(t,r)),i+=s,t=r=o+1)}return r>t&&(i+=e.substring(t,e.length)),i}return{ArrayProto:t,FuncProto:r,ObjProto:n,toString:o,hasOwnProperty:i,win:e,windowConsole:a,navigator:s,document:l,windowOpera:u,screen:d,userAgent:f,intl:p,nativeBind:h,nativeForEach:g,nativeIndexOf:m,nativeIsArray:y,slice:b,breaker:v,__NOOP:function(){},__NOOPTIONS:{},isFunction:x,isString:S,includes:function(e,t){return-1!==e.indexOf(t)},isUndefined:_,timestamp:function(){return Date.now=Date.now||function(){return+new Date},Date.now()},each:k,trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},extend:function(e,...t){return k(t,(function(t){for(let r in t)void 0!==t[r]&&(e[r]=t[r])})),e},bind:function(e,t){let r,n;if(h&&e.bind===h)return h.apply(e,b.call(arguments,1));if(!x(e))throw new TypeError;return r=b.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat(b.call(arguments)));let o={};o.prototype=e.prototype;let i=new o;o.prototype=null;let a=e.apply(i,r.concat(b.call(arguments)));return Object(a)===a?a:i},n},truncate:function e(t,r){let n;return"string"==typeof t?n=t.slice(0,r):w(t)?(n=[],k(t,(function(t){n.push(e(t,r))}))):function(e){return e===Object(e)&&!w(e)}(t)?(n={},k(t,(function(t,o){n[o]=e(t,r)}))):n=t,n},stripEmptyProperties:function(e){let t={};return k(e,(function(e,r){S(e)&&e.length>0&&(t[r]=e)})),t},HTTPBuildQuery:function(e,t){let r,n,o=[];return _(t)&&(t="&"),k(e,(function(e,t){r=encodeURIComponent(e.toString()),n=encodeURIComponent(t),o[o.length]=n+"="+r})),o.join(t)},JSONEncode:function(e){var t=function(e){var t=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return t.lastIndex=0,t.test(e)?'"'+e.replace(t,(function(e){var t=r[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'};return function e(r,n){let a="",s=0,c="",l="",u=0,d=a,f=[],p=n[r];switch(p&&"object"==typeof p&&"function"==typeof p.toJSON&&(p=p.toJSON(r)),typeof p){case"string":return t(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"undefined":return String(p);case"object":if(!p)return"null";
2if(a+=" ",f=[],"[object Array]"===o.apply(p)){for(u=p.length,s=0;s<u;s+=1)f[s]=e(s,p)||"null";return l=0===f.length?"[]":a?"[\n"+a+f.join(",\n"+a)+"\n"+d+"]":"["+f.join(",")+"]",a=d,l}for(c in p)i.call(p,c)&&(l=e(c,p),l&&f.push(t(c)+(a?": ":":")+l));return l=0===f.length?"{}":a?"{"+f.join(",")+d+"}":"{"+f.join(",")+"}",a=d,l}}("",{"":e})},JSONDecode:C,utf8Encode:O,base64Encode:function(e){var t,r,n,o,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a=0,s=0,c="",l=[];if(!e)return e;e=O(e);do{t=(o=e.charCodeAt(a++)<<16|e.charCodeAt(a++)<<8|e.charCodeAt(a++))>>12&63,r=o>>6&63,n=63&o,l[s++]=i.charAt(o>>18&63)+i.charAt(t)+i.charAt(r)+i.charAt(n)}while(a<e.length);switch(c=l.join(""),e.length%3){case 1:c=c.slice(0,-2)+"==";break;case 2:c=c.slice(0,-1)+"="}return c},getQueryParam:function(e,t){t=t.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");const r=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);if(null===r||r&&"string"!=typeof r[1]&&r[1].length)return"";var n=r[1];try{n=decodeURIComponent(n)}catch(e){console.error("Skipping decoding for malformed query param: "+n)}return n.replace(/\+/g," ")}}};function Fo(e){const{navigator:t,userAgent:r,windowOpera:n,intl:o,each:i,extend:a,includes:s,timestamp:c,stripEmptyProperties:l,getQueryParam:u}=zo(e),d={campaignParams:function(){const e="utm_source utm_medium utm_campaign utm_content utm_term".split(" ");let t="",r={};return i(e,(function(e){t=u(document.URL,e),t.length&&(r[e]=t)})),r},searchEngine:function(e){return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(e){let t=d.searchEngine(e),r="yahoo"!=t?"q":"p",n={};if(null!==t){n.$search_engine=t;var o=u(e,r);o.length&&(n.ph_keyword=o)}return n},browser:function(e,t,r){return t=t||"",r||s(e," OPR/")?s(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":s(e,"IEMobile")||s(e,"WPDesktop")?"Internet Explorer Mobile":s(e,"SamsungBrowser/")?"Samsung Internet":s(e,"Edge")||s(e,"Edg/")?"Microsoft Edge":s(e,"FBIOS")?"Facebook Mobile":s(e,"Chrome")?"Chrome":s(e,"CriOS")?"Chrome iOS":s(e,"UCWEB")||s(e,"UCBrowser")?"UC Browser":s(e,"FxiOS")?"Firefox iOS":s(t,"Apple")?s(e,"Mobile")?"Mobile Safari":"Safari":s(e,"Android")?"Android Mobile":s(e,"Konqueror")?"Konqueror":s(e,"Firefox")?"Firefox":s(e,"MSIE")||s(e,"Trident/")?"Internet Explorer":s(e,"Gecko")?"Mozilla":""},browserVersion:function(e,t,r){const n={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[d.browser(e,t,r)];if(void 0===n)return null;const o=e.match(n);return o?parseFloat(o[o.length-2]):null},os:function(){const e=r;return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/.test(e)?"Linux":/CrOS/.test(e)?"Chrome OS":""},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""},referringDomain:function(e){const t=e.split("/");return t.length>=3?t[2]:""},timezone:function(e){try{return e.DateTimeFormat().resolvedOptions().timeZone}catch(e){return null}},properties:function(){var i;return a(l({os:d.os(),browser:d.browser(r,t.vendor,n),referrer:document.referrer,referring_domain:d.referringDomain(document.referrer),device:d.device(r),time_zone:d.timezone(o)}),{current_url:e.location.href,host:e.location.host,pathname:e.location.pathname,browser_version:null==(i=d.browserVersion(r,t.vendor,
2n))?void 0:i.toString(),screen_height:screen.height,screen_width:screen.width,lib:"web",insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),time:c()/1e3})}};return d.properties()}const Wo=(e,t)=>{const r=e=>{t(e)};return e.addEventListener?(e.addEventListener("message",r),()=>e.removeEventListener("message",r)):(e.attachEvent("onmessage",r),()=>e.detachEvent("onmessage",r))},Do=(e,t,r)=>{if(e.addEventListener){for(const n of t)e.addEventListener(n,r);return()=>t.map((t=>e.removeEventListener(t,r)))}return console.error("Custom events are not supported in your browser!"),Io};class Ho extends o.Component{constructor(e){var t;if(super(e),t=this,this.subscriptions=[],this.EVENTS=["idengagerchat:open","idengagerchat:close","idengagerchat:toggle","idengagerchat:identify","storytime:customer:set"],this.getDefaultTitle=async function(e){const{title:r,setDefaultTitle:n}=t.props;return n&&"function"==typeof n?n(e):r||e.title},this.getDefaultSubtitle=async function(e){const{subtitle:r,setDefaultSubtitle:n}=t.props;return n&&"function"==typeof n?n(e):r||e.subtitle},this.getDefaultGreeting=async function(e){const{greeting:r,setDefaultGreeting:n}=t.props;return n&&"function"==typeof n?n(e):r||e.greeting},this.setIframeRef=e=>{this.iframeRef=e},this.getIframeUrl=()=>this.props.iframeUrlOverride||"https://chatframe.idengager.com",this.handleConfigUpdated=e=>{this.setState({config:go({},this.state.config,e)}),this.send("config:update",e)},this.handleCustomerIdUpdated=e=>{const t=this.storage.getCustomerId(),r=e||t,n=go({},this.state.config,{customerId:r});this.setState({config:n,query:Rn.stringify(n,{skipEmptyString:!0,skipNull:!0})}),this.logger.debug("Updated customer ID:",r)},this.fetchWidgetSettings=async function(){const{accountId:e,baseUrl:r}=t.props,n={};return(async(e,t=Ro)=>In.get(`${t}/api/widget_settings`).query({account_id:e}).then((e=>e.body.data)))(e,r).then((e=>e||n)).catch((()=>n))},this.updateWidgetSettingsMetadata=()=>{const{accountId:e,baseUrl:t}=this.props;return(async(e,t,r=Ro)=>In.put(`${r}/api/widget_settings/metadata`).query({account_id:e}).send({account_id:e,metadata:t}).then((e=>e.body.data)))(e,Fo(window),t).catch((e=>{this.logger.error("Failed to update widget metadata:",e)}))},this.customEventHandlers=e=>{if(!e||!e.type)return null;const{type:t,detail:r}=e;switch(t){case"idengagerchat:open":return this.handleOpenWidget();case"idengagerchat:close":return this.handleCloseWidget();case"idengagerchat:toggle":return this.handleToggleOpen();case"storytime:customer:set":return this.handleCustomerIdUpdated(r);default:return null}},this.postMessageHandlers=e=>{const t=this.getIframeUrl(),{origin:r}=new URL(t);if(e.origin!==r)return null;const{event:n,payload:o={}}=e.data;switch(n){case"chat:loaded":return this.handleChatLoaded();case"customer:created":case"customer:updated":return this.handleCacheCustomerId(o);case"conversation:join":return this.sendCustomerUpdate(o);case"message:received":return this.handleMessageReceived(o);case"message:sent":return this.handleMessageSent(o);case"messages:unseen":return this.handleUnseenMessages(o);case"messages:seen":return this.handleMessagesSeen();case"idengagerchat:open":case"idengagerchat:close":return this.handleToggleOpen();default:return null}},this.send=(e,t)=>{const r=this.iframeRef;if(!r)throw new Error(`Attempted to send event ${e} with payload ${JSON.stringify(t)} before iframeRef was ready`);r.contentWindow&&r.contentWindow.postMessage({event:e,payload:t},this.getIframeUrl())},this.handleMessageReceived=e=>{const{onMessageReceived:t=Io}=this.props,{user_id:r,customer_id:n}=e;r&&!n&&t&&t(e)},this.handleMessageSent=e=>{const{onMessageSent:t=Io}=this.props;t&&t(e)},this.handleUnseenMessages=e=>{this.setState({shouldDisplayNotifications:!0}),this.send("notifications:display",{shouldDisplayNotifications:!0})},this.handleMessagesSeen=()=>{this.setState({shouldDisplayNotifications:!1}),this.storage.setPopupSeen(!0),this.send("notifications:display",{shouldDisplayNotifications:!1})},this.shouldOpenByDefault=()=>{const{defaultIsOpen:e,isOpenByDefault:t,persistOpenState:r,canToggle:n}=this.props;if(!n)return!0;const o=this.storage.getOpenState();return r?o:!(!t&&!e)},this.handleChatLoaded=()=>{this.setState({isLoaded:!0});const{config:e={}}=this.state,{subscriptionPlan:t=null}=e,{popUpInitialMessage:r,onChatLoaded:n=Io}=this.props;n&&"function"==typeof n&&n(),this.shouldOpenByDefault()&&this.setState({isOpen:!0},(()=>this.emitToggleEvent(!0))),r&&!this.storage.getPopupSeen()&&setTimeout((()=>{this.setState({shouldDisplayNotifications:!0}),this.send("notifications:display",{shouldDisplayNotifications:!0,popUpInitialMessage:!0})}),"number"==typeof r?r:0),this.send("idengagerchat:plan",{plan:t})},this.formatCustomerMetadata=()=>{const{customer:e={}}=this.props;return e?Object.keys(e).reduce(((t,r)=>go({},t,"metadata"===r?{[r]:e[r]}:{key:String(e[r])})),{}):{}},this.sendCustomerUpdate=e=>{const{customerId:t}=e,r=go({},Fo(window),this.formatCustomerMetadata());return this.send("customer:update",{customerId:t,metadata:r})},this.handleCacheCustomerId=e=>{const{customerId:t}=e;this.logger.debug("Caching customer ID:",t),window.dispatchEvent(new CustomEvent("idengagerchat:customer:set",{detail:t})),this.storage.setCustomerId(t)},this.emitToggleEvent=e=>{this.send("idengagerchat:toggle",{isOpen:e});const{persistOpenState:t=!1,onChatOpened:r=Io,onChatClosed:n=Io}=this.props;t&&this.storage.setOpenState(e),e?r&&r():n&&n()},this.handleOpenWidget=()=>{this.props.canToggle&&!this.state.isOpen&&(this.state.shouldDisplayNotifications?this.setState({isTransitioning:!0},(()=>{setTimeout((()=>{this.setState({isOpen:!0,isTransitioning:!1},(()=>this.emitToggleEvent(!0)))}),200)})):this.setState({isOpen:!0},(()=>this.emitToggleEvent(!0))))},this.handleCloseWidget=()=>{this.props.canToggle&&this.state.isOpen&&this.setState({isOpen:!1},(()=>this.emitToggleEvent(!1)))},this.handleToggleOpen=()=>{const{isOpen:e,isLoaded:t,shouldDisplayNotifications:r}=this.state,n=!e;t&&this.props.canToggle&&(!e&&r?this.setState({isTransitioning:!0},(()=>{setTimeout((()=>{this.setState({isOpen:n,isTransitioning:!1},(()=>this.emitToggleEvent(n)))}),200)})):this.setState({isOpen:n},(()=>this.emitToggleEvent(n))))},!e.accountId)throw new Error("An `accountId` is required to run the Idengagerchat chat!");this.state={isOpen:!1,isLoaded:!1,query:"",config:{},shouldDisplayNotifications:!1,isTransitioning:!1},this.iframeRef=null,this.storage=null,this.logger=null}async componentDidMount(){var e,t,r;const n=await this.fetchWidgetSettings(),{accountId:o,primaryColor:i,baseUrl:a,awayMessage:s,newMessagePlaceholder:c,emailInputPlaceholder:l,newMessagesNotificationText:u,agentAvailableText:d,agentUnavailableText:f,showAgentAvailability:p,requireEmailUpfront:h,canToggle:g,customer:m={},personaAvatarUrl:y,personaName:b,personaHeaderLogo:v,personaGradientHeader:w,personaAccentColor:x,personaQuickReplies:S,hideBranding:_}=this.props,k=(C=window,Boolean("localhost"===C.location.hostname||"[::1]"===C.location.hostname||C.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)));var C;this.logger=new No(k),this.subscriptions=[Wo(window,this.postMessageHandlers),Do(window,this.EVENTS,this.customEventHandlers)],this.storage=function(e,t={defaultType:"local",openStateType:"session"}){const{defaultType:r="local",openStateType:n="session"}=t,o=Lo(e,r),i=Lo(e,n);return{getCustomerId:()=>o.get("__CUSTOMER_ID__"),setCustomerId:e=>o.set("__CUSTOMER_ID__",e),removeCustomerId:()=>o.remove("__CUSTOMER_ID__"),getOpenState:()=>i.get(":open"),setOpenState:e=>i.set(":open",e),clearOpenState:()=>i.remove(":open"),getPopupSeen:()=>i.get(":pop_up_seen"),setPopupSeen:e=>i.set(":pop_up_seen",e),clearPopupSeen:()=>i.remove(":pop_up_seen")}}(window);const O=go({},Fo(window),m),T={accountId:o,baseUrl:a,parentOrigin:"undefined"!=typeof window?window.location.origin:"",title:await this.getDefaultTitle(n),subtitle:await this.getDefaultSubtitle(n),primaryColor:i||n.c
2olor,greeting:await this.getDefaultGreeting(n),awayMessage:s||n.away_message,newMessagePlaceholder:c||n.new_message_placeholder,emailInputPlaceholder:l||n.email_input_placeholder,newMessagesNotificationText:u||n.new_messages_notification_text,companyName:null==n||null==(e=n.account)?void 0:e.company_name,requireEmailUpfront:h||n.require_email_upfront?1:0,showAgentAvailability:p||n.show_agent_availability?1:0,agentAvailableText:n.agent_available_text||d,agentUnavailableText:n.agent_unavailable_text||f,closeable:g?1:0,customerId:this.storage.getCustomerId(),subscriptionPlan:null==n||null==(t=n.account)?void 0:t.subscription_plan,isOutsideWorkingHours:null==n||null==(r=n.account)?void 0:r.is_outside_working_hours,isBrandingHidden:null==n?void 0:n.is_branding_hidden,metadata:JSON.stringify(O),version:"1.1.8",personaAvatarUrl:y||"",personaName:b||"",personaHeaderLogo:v||y||"",personaGradientHeader:w?1:0,personaAccentColor:x||"",personaQuickReplies:Array.isArray(S)&&S.length>0?JSON.stringify(S):"",hideBranding:_?1:0},E=Rn.stringify(T,{skipEmptyString:!0,skipNull:!0});this.setState({config:T,query:E}),await this.updateWidgetSettingsMetadata()}componentWillUnmount(){this.subscriptions.forEach((e=>{"function"==typeof e&&e()}))}componentDidUpdate(e){const{accountId:t,title:r,subtitle:n,primaryColor:o,baseUrl:i,greeting:a,newMessagePlaceholder:s,emailInputPlaceholder:c,newMessagesNotificationText:l,requireEmailUpfront:u,showAgentAvailability:d,agentAvailableText:f,agentUnavailableText:p}=this.props,h=[e.accountId,e.title,e.subtitle,e.primaryColor,e.baseUrl,e.greeting,e.newMessagePlaceholder,e.emailInputPlaceholder,e.newMessagesNotificationText,e.requireEmailUpfront,e.showAgentAvailability,e.agentAvailableText,e.agentUnavailableText];[t,r,n,o,i,a,s,c,l,u,d,f,p].some(((e,t)=>e!==h[t]))&&this.handleConfigUpdated({accountId:t,title:r,subtitle:n,primaryColor:o,baseUrl:i,greeting:a,newMessagePlaceholder:s,emailInputPlaceholder:c,newMessagesNotificationText:l,agentAvailableText:f,agentUnavailableText:p,requireEmailUpfront:u?1:0,showAgentAvailability:d?1:0})}render(){const{isOpen:e,isLoaded:t,query:r,config:n,shouldDisplayNotifications:o,isTransitioning:i}=this.state,{customIconUrl:a,hideOutsideWorkingHours:s=!1,children:c}=this.props,{primaryColor:l}=n;if(!r)return null;if(s&&n.isOutsideWorkingHours)return null;const u=this.getIframeUrl(),d=(e||o)&&!i,f=((e={})=>{const{primary:t="#1890ff"}=e,r=Ln(t),n={primary:r.toString(),light:r.lighten().toString(),dark:r.darken().toString()};return{useBodyStyles:!1,space:[0,4,8,16,32,64,128,256,512],fonts:{body:'-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;',heading:'-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;',monospace:'"Roboto Mono", monospace'},fontSizes:[12,14,16,20,24,32,48,64,96],fontWeights:{body:400,heading:600,bold:600},lineHeights:{body:1.5,heading:1.125},colors:{text:"#141414",background:"#fff",primary:n.primary,secondary:"#722ed1",muted:"#f0f0f0",gray:"rgba(0, 0, 0, 0.45)",input:"rgba(0, 0, 0, 0.65)",offset:"rgba(255, 255, 255, 0.8)"},text:{default:{color:"text",fontSize:1},caps:{textTransform:"uppercase",letterSpacing:"0.2em"},heading:{fontFamily:"heading",fontWeight:"heading",lineHeight:"heading"}},buttons:{primary:{cursor:"pointer",outline:0,boxShadow:"rgba(0, 0, 0, 0.08) 0 2px 4px",transition:"0.2s","&:hover":{background:n.light,borderColor:n.light,boxShadow:"rgba(0, 0, 0, 0.12) 0px 2px 8px"},"&:active":{background:n.dark,borderColor:n.dark}}},styles:go({root:{fontFamily:"body",lineHeight:"body",fontWeight:"body",fontSize:1},h1:{color:"text",fontFamily:"heading",lineHeight:"heading",fontWeight:"heading",fontSize:5},h2:{color:"text",fontFamily:"heading",lineHeight:"heading",fontWeight:"heading",fontSize:4},h3:{color:"text",fontFamily:"heading",lineHeight:"heading",fontWeight:"heading",fontSize:3},h4:{color:"text",fontFamily:"heading",lineHeight:"heading",fontWeight:"heading",fontSize:2},h5:{color:"text",fontFamily:"heading",lineHeight:"heading",fontWeight:"heading",fontSize:1},h6:{color:"text",fontFamily:"heading",lineHeight:"heading",fontWeight:"heading",fontSize:0},p:{color:"text",fontFamily:"body",fontWeight:"body",lineHeight:"body"},a:{color:"primary"},pre:{fontFamily:"monospace",overflowX:"auto",code:{color:"inherit"}},code:{fontFamily:"monospace",fontSize:"inherit"},table:{width:"100%",borderCollapse:"separate",borderSpacing:0},th:{textAlign:"left",borderBottomStyle:"solid"},td:{textAlign:"left",borderBottomStyle:"solid"},img:{maxWidth:"100%"},textarea:{transparent:{border:"none",boxShadow:"none",resize:"none",outline:0,"&:hover":{border:"none",boxShadow:"none",resize:"none",outline:0},"&:active":{border:"none",boxShadow:"none",resize:"none",outline:0},"&:focus":{border:"none",boxShadow:"none",resize:"none",outline:0}}}},Po)}})({primary:l}),p=["allow-scripts","allow-popups","allow-same-origin","allow-forms"].join(" ");return Wr(An,{theme:f},c({sandbox:p,isLoaded:t,isActive:d,isOpen:e,isTransitioning:i,customIconUrl:a,iframeUrl:u,query:r,shouldDisplayNotifications:o,setIframeRef:this.setIframeRef,onToggleOpen:this.handleToggleOpen}))}}class Uo extends o.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("Error rendering Idengagerchat chat:",e,t)}render(){return this.state.error?null:this.props.children}}const $o=20,qo=e=>Wr(Uo,null,Wr(Ho,go({},e,{canToggle:!0}),(t=>{const{sandbox:r,isLoaded:n,isActive:i,isOpen:a,isTransitioning:s,customIconUrl:c,iframeUrl:l,query:u,shouldDisplayNotifications:d,setIframeRef:f,onToggleOpen:p}=t,{hideToggleButton:h,iconVariant:g,renderToggleButton:m,position:y="right",styles:b={},personaStyle:v,personaImageUrl:w,personaAccentColor:x,personaName:S,personaTagline:_,personaPulse:k,personaSize:C,primaryColor:O,contextualTips:T,contextualTipsAccentColor:E,contextualTipsHideDelayMs:A,contextualTipsCooldownMs:M,isRTL:R}
2=e,I="avatar"===v||"floating"===v,P=(e=>{if(!e)return{side:"right",offset:$o};switch(e){case"left":return{side:"left",offset:$o};case"right":return{side:"right",offset:$o};default:return e}})(y),{chatContainer:j,toggleContainer:B,toggleButton:L}=((e={},t)=>{const{chatContainer:r={},toggleContainer:n={},toggleButton:o={}}=e,{side:i="right",offset:a=$o}=t;return"left"===i?{chatContainer:go({left:a,right:"auto"},r),toggleContainer:go({left:a,right:"auto"},n),toggleButton:o}:{chatContainer:go({right:a,left:"auto"},r),toggleContainer:go({right:a,left:"auto"},n),toggleButton:o}})(b,P);return Wr(o.Fragment,null,Wr(Mn.PY.iframe,{ref:f,title:"Idengagerchat Chat Box Container",className:"Idengagerchat-chatFrameContainer",sandbox:r,animate:i?"open":"closed",initial:"closed",variants:{closed:{opacity:0,y:4},open:{opacity:1,y:0}},transition:{duration:.2,ease:"easeIn"},src:`${l}?${u}`,style:i?j:{pointerEvents:"none",height:0,minHeight:0},sx:{border:"none",bg:"background",variant:!a&&d?"styles.WidgetContainer.notifications":"styles.WidgetContainer"}},"Loading..."),n&&!h&&Wr(Mn.PY.div,{className:"Idengagerchat-toggleButtonContainer",initial:!1,style:B,animate:a?"open":"closed",sx:{variant:"styles.WidgetToggleContainer"}},m&&"function"==typeof m?m({isOpen:a,onToggleOpen:p,isDisabled:s}):I?Wr(o.Fragment,null,Wr(Oo,null),Wr(ko,{style:L,isDisabled:s,isOpen:a,toggle:p,personaStyle:v,personaImageUrl:w||c,personaAccentColor:x,personaName:S,personaTagline:_,personaPulse:k,personaSize:C,primaryColor:O,side:P.side})):Wr(xo,{style:L,isDisabled:s,isOpen:a,customIconUrl:c,iconVariant:g,toggle:p})),Array.isArray(T)&&T.length>0&&!a&&Wr(o.Fragment,null,Wr(Mo,null),Wr(Ao,{tips:T,side:P.side,accentColor:E||x||O,isRTL:!!R,hideDelayMs:A,cooldownMs:M,toggleOffset:96})))}))),Xo=e=>React.createElement(Uo,null,React.createElement(Ho,go({},e,{canToggle:!1}),(e=>{const{sandbox:t,isLoaded:r,iframeUrl:n,query:o,setIframeRef:i}=e;return React.createElement(Mn.PY.iframe,{ref:i,className:"Idengagerchat-chatFrameContainer",sandbox:t,animate:r?"open":"closed",initial:"closed",variants:{closed:{opacity:0},open:{opacity:1}},transition:{duration:.2,ease:"easeIn"},src:`${n}?${o}`,sx:{opacity:r?1:0,border:"none",bg:"background",variant:"styles.ChatFrameContainer"}},"Loading...")}))),Go=()=>window.dispatchEvent(new Event("idengagerchat:open")),Yo=()=>window.dispatchEvent(new Event("idengagerchat:close")),Vo=()=>window.dispatchEvent(new Event("idengagerchat:toggle")),Jo=()=>{console.warn("`Idengagerchat.identify` has not been implemented yet!")},Ko={open:Go,close:Yo,toggle:Vo};var Qo=qo}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.