@ht-sdks/consent-manager 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Consent Manager v0.0.1
2
+ * Consent Manager v0.1.0
3
3
  * https://github.com/ht-sdks/consent-manager
4
4
  * Released under the MIT license
5
5
  * Copyright © 2024 Hightouch
@@ -19,5 +19,5 @@ var consentManager=function(e){var n={};function t(r){if(n[r])return n[r].export
19
19
  *
20
20
  * This source code is licensed under the MIT license found in the
21
21
  * LICENSE file in the root directory of this source tree.
22
- */var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,_=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,A=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case o:switch(e=e.type){case f:case p:case i:case c:case s:case m:return e;default:switch(e=e&&e.$$typeof){case u:case d:case g:case _:case l:return e;default:return n}}case a:return n}}}function w(e){return k(e)===p}n.AsyncMode=f,n.ConcurrentMode=p,n.ContextConsumer=u,n.ContextProvider=l,n.Element=o,n.ForwardRef=d,n.Fragment=i,n.Lazy=g,n.Memo=_,n.Portal=a,n.Profiler=c,n.StrictMode=s,n.Suspense=m,n.isAsyncMode=function(e){return w(e)||k(e)===f},n.isConcurrentMode=w,n.isContextConsumer=function(e){return k(e)===u},n.isContextProvider=function(e){return k(e)===l},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},n.isForwardRef=function(e){return k(e)===d},n.isFragment=function(e){return k(e)===i},n.isLazy=function(e){return k(e)===g},n.isMemo=function(e){return k(e)===_},n.isPortal=function(e){return k(e)===a},n.isProfiler=function(e){return k(e)===c},n.isStrictMode=function(e){return k(e)===s},n.isSuspense=function(e){return k(e)===m},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===c||e===s||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===_||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===A||e.$$typeof===v)},n.typeOf=k},function(e,n){function t(e){switch(e){case"http:":return 80;case"https:":return 443;default:return location.port}}n.parse=function(e){var n=document.createElement("a");return n.href=e,{href:n.href,host:n.host||location.host,port:"0"===n.port||""===n.port?t(n.protocol):n.port,hash:n.hash,hostname:n.hostname||location.hostname,pathname:"/"!=n.pathname.charAt(0)?"/"+n.pathname:n.pathname,protocol:n.protocol&&":"!=n.protocol?n.protocol:location.protocol,search:n.search,query:n.search.slice(1)}},n.isAbsolute=function(e){return 0==e.indexOf("//")||!!~e.indexOf("://")},n.isRelative=function(e){return!n.isAbsolute(e)},n.isCrossDomain=function(e){e=n.parse(e);var t=n.parse(window.location.href);return e.hostname!==t.hostname||e.port!==t.port||e.protocol!==t.protocol}},function(e,n,t){var r=t(20)("cookie");function o(e,n,t){t=t||{};var r=s(e)+"="+s(n);null==n&&(t.maxage=-1),t.maxage&&(t.expires=new Date(+new Date+t.maxage)),t.path&&(r+="; path="+t.path),t.domain&&(r+="; domain="+t.domain),t.expires&&(r+="; expires="+t.expires.toUTCString()),t.secure&&(r+="; secure"),document.cookie=r}function a(){var e;try{e=document.cookie}catch(e){return"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e.stack||e),{}}return function(e){var n,t={},r=e.split(/ *; */);if(""==r[0])return t;for(var o=0;o<r.length;++o)n=r[o].split("="),t[c(n[0])]=c(n[1]);return t}(e)}function i(e){return a()[e]}function s(e){try{return encodeURIComponent(e)}catch(n){r("error `encode(%o)` - %o",e,n)}}function c(e){try{return decodeURIComponent(e)}catch(n){r("error `decode(%o)` - %o",e,n)}}e.exports=function(e,n,t){switch(arguments.length){case 3:case 2:return o(e,n,t);case 1:return i(e);default:return a()}}},function(e,n,t){(function(r){function o(){var e;try{e=n.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=Object({NODE_ENV:"production",VERSION:"0.0.1"}).DEBUG),e}(n=e.exports=t(22)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(e){var t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+n.humanize(this.diff),!t)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,a=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(a=o))})),e.splice(a,0,r)},n.save=function(e){try{null==e?n.storage.removeItem("debug"):n.storage.debug=e}catch(e){}},n.load=o,n.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),n.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],n.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},n.enable(o())}).call(this,t(21))},function(e,n){var t,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var c,l=[],u=!1,f=-1;function p(){u&&c&&(u=!1,c.length?l=c.concat(l):f=-1,l.length&&d())}function d(){if(!u){var e=s(p);u=!0;for(var n=l.length;n;){for(c=l,l=[];++f<n;)c&&c[f].run();f=-1,n=l.length}c=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(n){try{return r.call(null,e)}catch(n){return r.call(this,e)}}}(e)}}function m(e,n){this.fun=e,this.array=n}function h(){}o.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];l.push(new m(e,n)),1!==l.length||u||s(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,n,t){var r;function o(e){function t(){if(t.enabled){var e=t,o=+new Date,a=o-(r||o);e.diff=a,e.prev=r,e.curr=o,r=o;for(var i=new Array(arguments.length),s=0;s<i.length;s++)i[s]=arguments[s];i[0]=n.coerce(i[0]),"string"!=typeof i[0]&&i.unshift("%O");var c=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,(function(t,r){if("%%"===t)return t;c++;var o=n.formatters[r];if("function"==typeof o){var a=i[c];t=o.call(e,a),i.splice(c,1),c--}return t})),n.formatArgs.call(e,i);var l=t.log||n.log||console.log.bind(console);l.apply(e,i)}}return t.namespace=e,t.enabled=n.enabled(e),t.useColors=n.useColors(),t.color=function(e){var t,r=0;for(t in e)r=(r<<5)-r+e.charCodeAt(t),r|=0;return n.colors[Math.abs(r)%n.colors.length]}(e),"function"==typeof n.init&&n.init(t),t}(n=e.exports=o.debug=o.default=o).coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){n.enable("")},n.enable=function(e){n.save(e),n.names=[],n.skips=[];for(var t=("string"==typeof e?e:"").split(/[\s,]+/),r=t.length,o=0;o<r;o++)t[o]&&("-"===(e=t[o].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")))},n.enabled=function(e){var t,r;for(t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=t(23),n.names=[],n.skips=[],n.formatters={}},function(e,n){var t=1e3,r=6e4,o=60*r,a=24*o;function i(e,n,t){if(!(e<n))return e<1.5*n?Math.floor(e/n)+" "+t:Math.ceil(e/n)+" "+t+"s"}e.exports=function(e,n){n=n||{};var s,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!n)return;var i=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"days":case"day":case"d":return i*a;case"hours":case"hour":case"hrs":case"hr":case"h":return i*o;case"minutes":case"minute":case"mins":case"min":case"m":return i*r;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===c&&!1===isNaN(e))return n.long?i(s=e,a,"day")||i(s,o,"hour")||i(s,r,"minute")||i(s,t,"second")||s+" ms":function(e){if(e>=a)return Math.round(e/a)+"d";if(e>=o)return Math.round(e/o)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,n,t){"use strict";t.r(n),t.d(n,"version",(function(){return ra})),t.d(n,"openConsentManager",(function(){return So})),t.d(n,"doNotTrack",(function(){return ea})),t.d(n,"inEU",(function(){return bn.a})),t.d(n,"preferences",(function(){return o}));var r={};t.r(r),t.d(r,"Component",(function(){return y})),t.d(r,"Fragment",(function(){return b})),t.d(r,"createContext",(function(){return U})),t.d(r,"createElement",(function(){return _})),t.d(r,"createRef",(function(){return v})),t.d(r,"useCallback",(function(){return le})),t.d(r,"useContext",(function(){return ue})),t.d(r,"useDebugValue",(function(){return fe})),t.d(r,"useEffect",(function(){return oe})),t.d(r,"useErrorBoundary",(function(){return pe})),t.d(r,"useId",(function(){return de})),t.d(r,"useImperativeHandle",(function(){return se})),t.d(r,"useLayoutEffect",(function(){return ae})),t.d(r,"useMemo",(function(){return ce})),t.d(r,"useReducer",(function(){return re})),t.d(r,"useRef",(function(){return ie})),t.d(r,"useState",(function(){return te})),t.d(r,"Children",(function(){return Te})),t.d(r,"PureComponent",(function(){return xe})),t.d(r,"StrictMode",(function(){return fn})),t.d(r,"Suspense",(function(){return Re})),t.d(r,"SuspenseList",(function(){return Ie})),t.d(r,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return nn})),t.d(r,"cloneElement",(function(){return an})),t.d(r,"createFactory",(function(){return rn})),t.d(r,"createPortal",(function(){return Fe})),t.d(r,"default",(function(){return gn})),t.d(r,"findDOMNode",(function(){return cn})),t.d(r,"flushSync",(function(){return un})),t.d(r,"forwardRef",(function(){return Pe})),t.d(r,"hydrate",(function(){return Ge})),t.d(r,"isValidElement",(function(){return on})),t.d(r,"lazy",(function(){return ze})),t.d(r,"memo",(function(){return Ce})),t.d(r,"render",(function(){return $e})),t.d(r,"startTransition",(function(){return pn})),t.d(r,"unmountComponentAtNode",(function(){return sn})),t.d(r,"unstable_batchedUpdates",(function(){return ln})),t.d(r,"useDeferredValue",(function(){return dn})),t.d(r,"useInsertionEffect",(function(){return hn})),t.d(r,"useSyncExternalStore",(function(){return _n})),t.d(r,"useTransition",(function(){return mn})),t.d(r,"version",(function(){return tn}));var o={};t.r(o),t.d(o,"DEFAULT_COOKIE_NAME",(function(){return Mo})),t.d(o,"loadPreferences",(function(){return zo})),t.d(o,"onPreferencesSaved",(function(){return Lo})),t.d(o,"savePreferences",(function(){return Bo}));var a,i,s,c,l,u,f={},p=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function m(e,n){for(var t in n)e[t]=n[t];return e}function h(e){var n=e.parentNode;n&&n.removeChild(e)}function _(e,n,t){var r,o,i,s={};for(i in n)"key"==i?r=n[i]:"ref"==i?o=n[i]:s[i]=n[i];if(arguments.length>2&&(s.children=arguments.length>3?a.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===s[i]&&(s[i]=e.defaultProps[i]);return g(e,s,r,o,null)}function g(e,n,t,r,o){var a={type:e,props:n,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++s:o};return null==o&&null!=i.vnode&&i.vnode(a),a}function v(){return{current:null}}function b(e){return e.children}function y(e,n){this.props=e,this.context=n}function A(e,n){if(null==n)return e.__?A(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?A(e):null}function k(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return k(e)}}function w(e){(!e.__d&&(e.__d=!0)&&c.push(e)&&!x.__r++||l!==i.debounceRendering)&&((l=i.debounceRendering)||setTimeout)(x)}function x(){for(var e;x.__r=c.length;)e=c.sort((function(e,n){return e.__v.__b-n.__v.__b})),c=[],e.some((function(e){var n,t,r,o,a,i;e.__d&&(a=(o=(n=e).__v).__e,(i=n.__P)&&(t=[],(r=m({},o)).__v=o.__v+1,R(i,o,r,n.__n,void 0!==i.ownerSVGElement,null!=o.__h?[a]:null,t,null==a?A(o):a,o.__h),M(t,o),o.__e!=a&&k(o)))}))}function C(e,n,t,r,o,a,i,s,c,l){var u,d,m,h,_,v,y,k=r&&r.__k||p,w=k.length;for(t.__k=[],u=0;u<n.length;u++)if(null!=(h=t.__k[u]=null==(h=n[u])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?g(null,h,null,null,h):Array.isArray(h)?g(b,{children:h},null,null,null):h.__b>0?g(h.type,h.props,h.key,h.ref?h.ref:null,h.__v):h)){if(h.__=t,h.__b=t.__b+1,null===(m=k[u])||m&&h.key==m.key&&h.type===m.type)k[u]=void 0;else for(d=0;d<w;d++){if((m=k[d])&&h.key==m.key&&h.type===m.type){k[d]=void 0;break}m=null}R(e,h,m=m||f,o,a,i,s,c,l),_=h.__e,(d=h.ref)&&m.ref!=d&&(y||(y=[]),m.ref&&y.push(m.ref,null,h),y.push(d,h.__c||_,h)),null!=_?(null==v&&(v=_),"function"==typeof h.type&&h.__k===m.__k?h.__d=c=E(h,c,e):c=P(e,h,m,k,_,c),"function"==typeof t.type&&(t.__d=c)):c&&m.__e==c&&c.parentNode!=e&&(c=A(m))}for(t.__e=v,u=w;u--;)null!=k[u]&&L(k[u],k[u]);if(y)for(u=0;u<y.length;u++)I(y[u],y[++u],y[++u])}function E(e,n,t){for(var r,o=e.__k,a=0;o&&a<o.length;a++)(r=o[a])&&(r.__=e,n="function"==typeof r.type?E(r,n,t):P(t,r,r,o,r.__e,n));return n}function S(e,n){return n=n||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){S(e,n)})):n.push(e)),n}function P(e,n,t,r,o,a){var i,s,c;if(void 0!==n.__d)i=n.__d,n.__d=void 0;else if(null==t||o!=a||null==o.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(o),i=null;else{for(s=a,c=0;(s=s.nextSibling)&&c<r.length;c+=1)if(s==o)break e;e.insertBefore(o,a),i=a}return void 0!==i?i:o.nextSibling}function N(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||d.test(n)?t:t+"px"}function T(e,n,t,r,o){var a;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(n in r)t&&n in t||N(e.style,n,"");if(t)for(n in t)r&&t[n]===r[n]||N(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])a=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+a]=t,t?r||e.addEventListener(n,a?D:O,a):e.removeEventListener(n,a?D:O,a);else if("dangerouslySetInnerHTML"!==n){if(o)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null==t||!1===t&&-1==n.indexOf("-")?e.removeAttribute(n):e.setAttribute(n,t))}}function O(e){this.l[e.type+!1](i.event?i.event(e):e)}function D(e){this.l[e.type+!0](i.event?i.event(e):e)}function R(e,n,t,r,o,a,s,c,l){var u,f,p,d,h,_,g,v,A,k,w,x,E,S,P,N=n.type;if(void 0!==n.constructor)return null;null!=t.__h&&(l=t.__h,c=n.__e=t.__e,n.__h=null,a=[c]),(u=i.__b)&&u(n);try{e:if("function"==typeof N){if(v=n.props,A=(u=N.contextType)&&r[u.__c],k=u?A?A.props.value:u.__:r,t.__c?g=(f=n.__c=t.__c).__=f.__E:("prototype"in N&&N.prototype.render?n.__c=f=new N(v,k):(n.__c=f=new y(v,k),f.constructor=N,f.render=B),A&&A.sub(f),f.props=v,f.state||(f.state={}),f.context=k,f.__n=r,p=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=N.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=m({},f.__s)),m(f.__s,N.getDerivedStateFromProps(v,f.__s))),d=f.props,h=f.state,p)null==N.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==N.getDerivedStateFromProps&&v!==d&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(v,k),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(v,f.__s,k)||n.__v===t.__v){for(f.props=v,f.state=f.__s,n.__v!==t.__v&&(f.__d=!1),f.__v=n,n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),w=0;w<f._sb.length;w++)f.__h.push(f._sb[w]);f._sb=[],f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(v,f.__s,k),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(d,h,_)}))}if(f.context=k,f.props=v,f.__v=n,f.__P=e,x=i.__r,E=0,"prototype"in N&&N.prototype.render){for(f.state=f.__s,f.__d=!1,x&&x(n),u=f.render(f.props,f.state,f.context),S=0;S<f._sb.length;S++)f.__h.push(f._sb[S]);f._sb=[]}else do{f.__d=!1,x&&x(n),u=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++E<25);f.state=f.__s,null!=f.getChildContext&&(r=m(m({},r),f.getChildContext())),p||null==f.getSnapshotBeforeUpdate||(_=f.getSnapshotBeforeUpdate(d,h)),P=null!=u&&u.type===b&&null==u.key?u.props.children:u,C(e,Array.isArray(P)?P:[P],n,t,r,o,a,s,c,l),f.base=n.__e,n.__h=null,f.__h.length&&s.push(f),g&&(f.__E=f.__=null),f.__e=!1}else null==a&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=z(t.__e,n,t,r,o,a,s,l);(u=i.diffed)&&u(n)}catch(e){n.__v=null,(l||null!=a)&&(n.__e=c,n.__h=!!l,a[a.indexOf(c)]=null),i.__e(e,n,t)}}function M(e,n){i.__c&&i.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){i.__e(e,n.__v)}}))}function z(e,n,t,r,o,i,s,c){var l,u,p,d=t.props,m=n.props,_=n.type,g=0;if("svg"===_&&(o=!0),null!=i)for(;g<i.length;g++)if((l=i[g])&&"setAttribute"in l==!!_&&(_?l.localName===_:3===l.nodeType)){e=l,i[g]=null;break}if(null==e){if(null===_)return document.createTextNode(m);e=o?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,m.is&&m),i=null,c=!1}if(null===_)d===m||c&&e.data===m||(e.data=m);else{if(i=i&&a.call(e.childNodes),u=(d=t.props||f).dangerouslySetInnerHTML,p=m.dangerouslySetInnerHTML,!c){if(null!=i)for(d={},g=0;g<e.attributes.length;g++)d[e.attributes[g].name]=e.attributes[g].value;(p||u)&&(p&&(u&&p.__html==u.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,n,t,r,o){var a;for(a in t)"children"===a||"key"===a||a in n||T(e,a,null,t[a],r);for(a in n)o&&"function"!=typeof n[a]||"children"===a||"key"===a||"value"===a||"checked"===a||t[a]===n[a]||T(e,a,n[a],t[a],r)}(e,m,d,o,c),p)n.__k=[];else if(g=n.props.children,C(e,Array.isArray(g)?g:[g],n,t,r,o&&"foreignObject"!==_,i,s,i?i[0]:t.__k&&A(t,0),c),null!=i)for(g=i.length;g--;)null!=i[g]&&h(i[g]);c||("value"in m&&void 0!==(g=m.value)&&(g!==e.value||"progress"===_&&!g||"option"===_&&g!==d.value)&&T(e,"value",g,d.value,!1),"checked"in m&&void 0!==(g=m.checked)&&g!==e.checked&&T(e,"checked",g,d.checked,!1))}return e}function I(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){i.__e(e,t)}}function L(e,n,t){var r,o;if(i.unmount&&i.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||I(r,null,n)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){i.__e(e,n)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&L(r[o],n,t||"function"!=typeof e.type);t||null==e.__e||h(e.__e),e.__=e.__e=e.__d=void 0}function B(e,n,t){return this.constructor(e,t)}function j(e,n,t){var r,o,s;i.__&&i.__(e,n),o=(r="function"==typeof t)?null:t&&t.__k||n.__k,s=[],R(n,e=(!r&&t||n).__k=_(b,null,[e]),o||f,f,void 0!==n.ownerSVGElement,!r&&t?[t]:o?null:n.firstChild?a.call(n.childNodes):null,s,!r&&t?t:o?o.__e:n.firstChild,r),M(s,e)}function F(e,n){j(e,n,F)}function H(e,n,t){var r,o,i,s=m({},e.props);for(i in n)"key"==i?r=n[i]:"ref"==i?o=n[i]:s[i]=n[i];return arguments.length>2&&(s.children=arguments.length>3?a.call(arguments,2):t),g(e.type,s,r||e.key,o||e.ref,null)}function U(e,n){var t={__c:n="__cC"+u++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,r;return this.getChildContext||(t=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(w)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t}a=p.slice,i={__e:function(e,n,t,r){for(var o,a,i;n=n.__;)if((o=n.__c)&&!o.__)try{if((a=o.constructor)&&null!=a.getDerivedStateFromError&&(o.setState(a.getDerivedStateFromError(e)),i=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),i=o.__d),i)return o.__E=o}catch(n){e=n}throw e}},s=0,y.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},t),this.props)),e&&m(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),w(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},y.prototype.render=b,c=[],x.__r=0,u=0;var Y,K,$,G,V=0,W=[],q=[],X=i.__b,J=i.__r,Z=i.diffed,Q=i.__c,ee=i.unmount;function ne(e,n){i.__h&&i.__h(K,e,V||n),V=0;var t=K.__H||(K.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({__V:q}),t.__[e]}function te(e){return V=1,re(ye,e)}function re(e,n,t){var r=ne(Y++,2);if(r.t=e,!r.__c&&(r.__=[t?t(n):ye(void 0,n),function(e){var n=r.__N?r.__N[0]:r.__[0],t=r.t(n,e);n!==t&&(r.__N=[t,r.__[1]],r.__c.setState({}))}],r.__c=K,!K.u)){K.u=!0;var o=K.shouldComponentUpdate;K.shouldComponentUpdate=function(e,n,t){if(!r.__c.__H)return!0;var a=r.__c.__H.__.filter((function(e){return e.__c}));if(a.every((function(e){return!e.__N})))return!o||o.call(this,e,n,t);var i=!1;return a.forEach((function(e){if(e.__N){var n=e.__[0];e.__=e.__N,e.__N=void 0,n!==e.__[0]&&(i=!0)}})),!(!i&&r.__c.props===e)&&(!o||o.call(this,e,n,t))}}return r.__N||r.__}function oe(e,n){var t=ne(Y++,3);!i.__s&&be(t.__H,n)&&(t.__=e,t.i=n,K.__H.__h.push(t))}function ae(e,n){var t=ne(Y++,4);!i.__s&&be(t.__H,n)&&(t.__=e,t.i=n,K.__h.push(t))}function ie(e){return V=5,ce((function(){return{current:e}}),[])}function se(e,n,t){V=6,ae((function(){return"function"==typeof e?(e(n()),function(){return e(null)}):e?(e.current=n(),function(){return e.current=null}):void 0}),null==t?t:t.concat(e))}function ce(e,n){var t=ne(Y++,7);return be(t.__H,n)?(t.__V=e(),t.i=n,t.__h=e,t.__V):t.__}function le(e,n){return V=8,ce((function(){return e}),n)}function ue(e){var n=K.context[e.__c],t=ne(Y++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(K)),n.props.value):e.__}function fe(e,n){i.useDebugValue&&i.useDebugValue(n?n(e):e)}function pe(e){var n=ne(Y++,10),t=te();return n.__=e,K.componentDidCatch||(K.componentDidCatch=function(e,r){n.__&&n.__(e,r),t[1](e)}),[t[0],function(){t[1](void 0)}]}function de(){var e=ne(Y++,11);if(!e.__){for(var n=K.__v;null!==n&&!n.__m&&null!==n.__;)n=n.__;var t=n.__m||(n.__m=[0,0]);e.__="P"+t[0]+"-"+t[1]++}return e.__}function me(){for(var e;e=W.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ge),e.__H.__h.forEach(ve),e.__H.__h=[]}catch(n){e.__H.__h=[],i.__e(n,e.__v)}}i.__b=function(e){K=null,X&&X(e)},i.__r=function(e){J&&J(e),Y=0;var n=(K=e.__c).__H;n&&($===K?(n.__h=[],K.__h=[],n.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=q,e.__N=e.i=void 0}))):(n.__h.forEach(ge),n.__h.forEach(ve),n.__h=[])),$=K},i.diffed=function(e){Z&&Z(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==W.push(n)&&G===i.requestAnimationFrame||((G=i.requestAnimationFrame)||_e)(me)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==q&&(e.__=e.__V),e.i=void 0,e.__V=q}))),$=K=null},i.__c=function(e,n){n.some((function(e){try{e.__h.forEach(ge),e.__h=e.__h.filter((function(e){return!e.__||ve(e)}))}catch(t){n.some((function(e){e.__h&&(e.__h=[])})),n=[],i.__e(t,e.__v)}})),Q&&Q(e,n)},i.unmount=function(e){ee&&ee(e);var n,t=e.__c;t&&t.__H&&(t.__H.__.forEach((function(e){try{ge(e)}catch(e){n=e}})),t.__H=void 0,n&&i.__e(n,t.__v))};var he="function"==typeof requestAnimationFrame;function _e(e){var n,t=function(){clearTimeout(r),he&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);he&&(n=requestAnimationFrame(t))}function ge(e){var n=K,t=e.__c;"function"==typeof t&&(e.__c=void 0,t()),K=n}function ve(e){var n=K;e.__c=e.__(),K=n}function be(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function ye(e,n){return"function"==typeof n?n(e):n}function Ae(e,n){for(var t in n)e[t]=n[t];return e}function ke(e,n){for(var t in e)if("__source"!==t&&!(t in n))return!0;for(var r in n)if("__source"!==r&&e[r]!==n[r])return!0;return!1}function we(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n}function xe(e){this.props=e}function Ce(e,n){function t(e){var t=this.props.ref,r=t==e.ref;return!r&&t&&(t.call?t(null):t.current=null),n?!n(this.props,e)||!r:ke(this.props,e)}function r(n){return this.shouldComponentUpdate=t,_(e,n)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(xe.prototype=new y).isPureReactComponent=!0,xe.prototype.shouldComponentUpdate=function(e,n){return ke(this.props,e)||ke(this.state,n)};var Ee=i.__b;i.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ee&&Ee(e)};var Se="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Pe(e){function n(n){var t=Ae({},n);return delete t.ref,e(t,n.ref||null)}return n.$$typeof=Se,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n}var Ne=function(e,n){return null==e?null:S(S(e).map(n))},Te={map:Ne,forEach:Ne,count:function(e){return e?S(e).length:0},only:function(e){var n=S(e);if(1!==n.length)throw"Children.only";return n[0]},toArray:S},Oe=i.__e;i.__e=function(e,n,t,r){if(e.then)for(var o,a=n;a=a.__;)if((o=a.__c)&&o.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),o.__c(e,n);Oe(e,n,t,r)};var De=i.unmount;function Re(){this.__u=0,this.t=null,this.__b=null}function Me(e){var n=e.__.__c;return n&&n.__a&&n.__a(e)}function ze(e){var n,t,r;function o(o){if(n||(n=e()).then((function(e){t=e.default||e}),(function(e){r=e})),r)throw r;if(!t)throw n;return _(t,o)}return o.displayName="Lazy",o.__f=!0,o}function Ie(){this.u=null,this.o=null}i.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&!0===e.__h&&(e.type=null),De&&De(e)},(Re.prototype=new y).__c=function(e,n){var t=n.__c,r=this;null==r.t&&(r.t=[]),r.t.push(t);var o=Me(r.__v),a=!1,i=function(){a||(a=!0,t.__R=null,o?o(s):s())};t.__R=i;var s=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=function e(n,t,r){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)})),n.__c&&n.__c.__P===t&&(n.__e&&r.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=r)),n}(e,e.__c.__P,e.__c.__O)}var n;for(r.setState({__a:r.__b=null});n=r.t.pop();)n.forceUpdate()}},c=!0===n.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},Re.prototype.componentWillUnmount=function(){this.t=[]},Re.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(n,t,r){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),n.__c.__H=null),null!=(n=Ae({},n)).__c&&(n.__c.__P===r&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)}))),n}(this.__b,t,r.__O=r.__P)}this.__b=null}var o=n.__a&&_(b,null,e.fallback);return o&&(o.__h=null),[_(b,null,n.__a?null:e.children),o]};var Le=function(e,n,t){if(++t[1]===t[0]&&e.o.delete(n),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(t=e.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.u=t=t[2]}};function Be(e){return this.getChildContext=function(){return e.context},e.children}function je(e){var n=this,t=e.i;n.componentWillUnmount=function(){j(null,n.l),n.l=null,n.i=null},n.i&&n.i!==t&&n.componentWillUnmount(),e.__v?(n.l||(n.i=t,n.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(e){this.childNodes.push(e),n.i.appendChild(e)},insertBefore:function(e,t){this.childNodes.push(e),n.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),n.i.removeChild(e)}}),j(_(Be,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}function Fe(e,n){var t=_(je,{__v:e,i:n});return t.containerInfo=n,t}(Ie.prototype=new y).__a=function(e){var n=this,t=Me(n.__v),r=n.o.get(e);return r[0]++,function(o){var a=function(){n.props.revealOrder?(r.push(o),Le(n,e,r)):o()};t?t(a):a()}},Ie.prototype.render=function(e){this.u=null,this.o=new Map;var n=S(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&n.reverse();for(var t=n.length;t--;)this.o.set(n[t],this.u=[1,0,this.u]);return e.children},Ie.prototype.componentDidUpdate=Ie.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){Le(e,t,n)}))};var He="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ue=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ye="undefined"!=typeof document,Ke=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function $e(e,n,t){return null==n.__k&&(n.textContent=""),j(e,n),"function"==typeof t&&t(),e?e.__c:null}function Ge(e,n,t){return F(e,n),"function"==typeof t&&t(),e?e.__c:null}y.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(y.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var Ve=i.event;function We(){}function qe(){return this.cancelBubble}function Xe(){return this.defaultPrevented}i.event=function(e){return Ve&&(e=Ve(e)),e.persist=We,e.isPropagationStopped=qe,e.isDefaultPrevented=Xe,e.nativeEvent=e};var Je,Ze={configurable:!0,get:function(){return this.class}},Qe=i.vnode;i.vnode=function(e){var n=e.type,t=e.props,r=t;if("string"==typeof n){var o=-1===n.indexOf("-");for(var a in r={},t){var i=t[a];Ye&&"children"===a&&"noscript"===n||"value"===a&&"defaultValue"in t&&null==i||("defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===i?i="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+n)&&!Ke(t.type)?a="oninput":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(a)?a=a.toLowerCase():o&&Ue.test(a)?a=a.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===i&&(i=void 0),/^oninput$/i.test(a)&&(a=a.toLowerCase(),r[a]&&(a="oninputCapture")),r[a]=i)}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=S(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=S(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,t.class!=t.className&&(Ze.enumerable="className"in t,null!=t.className&&(r.class=t.className),Object.defineProperty(r,"className",Ze))}e.$$typeof=He,Qe&&Qe(e)};var en=i.__r;i.__r=function(e){en&&en(e),Je=e.__c};var nn={ReactCurrentDispatcher:{current:{readContext:function(e){return Je.__n[e.__c].props.value}}}},tn="17.0.2";function rn(e){return _.bind(null,e)}function on(e){return!!e&&e.$$typeof===He}function an(e){return on(e)?H.apply(null,arguments):e}function sn(e){return!!e.__k&&(j(null,e),!0)}function cn(e){return e&&(e.base||1===e.nodeType&&e)||null}var ln=function(e,n){return e(n)},un=function(e,n){return e(n)},fn=b;function pn(e){e()}function dn(e){return e}function mn(){return[!1,pn]}var hn=ae;function _n(e,n){var t=n(),r=te({h:{__:t,v:n}}),o=r[0].h,a=r[1];return ae((function(){o.__=t,o.v=n,we(o.__,n())||a({h:o})}),[e,t,n]),oe((function(){return we(o.__,o.v())||a({h:o}),e((function(){we(o.__,o.v())||a({h:o})}))}),[e]),t}var gn={useState:te,useId:de,useReducer:re,useEffect:oe,useLayoutEffect:ae,useInsertionEffect:hn,useTransition:mn,useDeferredValue:dn,useSyncExternalStore:_n,startTransition:pn,useRef:ie,useImperativeHandle:se,useMemo:ce,useCallback:le,useContext:ue,useDebugValue:fe,version:"17.0.2",Children:Te,render:$e,hydrate:Ge,unmountComponentAtNode:sn,createPortal:Fe,createElement:_,createContext:U,createFactory:rn,cloneElement:an,createRef:v,Fragment:b,isValidElement:on,findDOMNode:cn,Component:y,PureComponent:xe,memo:Ce,forwardRef:Pe,flushSync:un,unstable_batchedUpdates:ln,StrictMode:fn,Suspense:Re,SuspenseList:Ie,lazy:ze,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:nn},vn=t(2),bn=t.n(vn),yn=t(9),An=t.n(yn),kn=t(0);t(8);var wn=function(e){var n=Object.create(null);return function(t){return void 0===n[t]&&(n[t]=e(t)),n[t]}},xn=/^((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|download|draggable|encType|enterKeyHint|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|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)-.*))$/,Cn=wn((function(e){return xn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function En(){return(En=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}var Sn=function(){function e(e){var n=this;this._insertTag=function(e){var t;t=0===n.tags.length?n.insertionPoint?n.insertionPoint.nextSibling:n.prepend?n.container.firstChild:n.before:n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(e,t),n.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 n=e.prototype;return n.hydrate=function(e){e.forEach(this._insertTag)},n.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var n=document.createElement("style");return n.setAttribute("data-emotion",e.key),void 0!==e.nonce&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===e)return document.styleSheets[n]}(n);try{t.insertRule(e,t.cssRules.length)}catch(e){0}}else n.appendChild(document.createTextNode(e));this.ctr++},n.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Pn="-webkit-",Nn=Math.abs,Tn=String.fromCharCode,On=Object.assign;function Dn(e){return e.trim()}function Rn(e,n,t){return e.replace(n,t)}function Mn(e,n){return e.indexOf(n)}function zn(e,n){return 0|e.charCodeAt(n)}function In(e,n,t){return e.slice(n,t)}function Ln(e){return e.length}function Bn(e){return e.length}function jn(e,n){return n.push(e),e}function Fn(e,n){return e.map(n).join("")}var Hn=1,Un=1,Yn=0,Kn=0,$n=0,Gn="";function Vn(e,n,t,r,o,a,i){return{value:e,root:n,parent:t,type:r,props:o,children:a,line:Hn,column:Un,length:i,return:""}}function Wn(e,n){return On(Vn("",null,null,"",null,null,0),e,{length:-e.length},n)}function qn(){return $n=Kn<Yn?zn(Gn,Kn++):0,Un++,10===$n&&(Un=1,Hn++),$n}function Xn(){return zn(Gn,Kn)}function Jn(){return Kn}function Zn(e,n){return In(Gn,e,n)}function Qn(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 et(e){return Hn=Un=1,Yn=Ln(Gn=e),Kn=0,[]}function nt(e){return Gn="",e}function tt(e){return Dn(Zn(Kn-1,function e(n){for(;qn();)switch($n){case n:return Kn;case 34:case 39:34!==n&&39!==n&&e($n);break;case 40:41===n&&e(n);break;case 92:qn()}return Kn}(91===e?e+2:40===e?e+1:e)))}function rt(e){for(;($n=Xn())&&$n<33;)qn();return Qn(e)>2||Qn($n)>3?"":" "}function ot(e,n){for(;--n&&qn()&&!($n<48||$n>102||$n>57&&$n<65||$n>70&&$n<97););return Zn(e,Jn()+(n<6&&32==Xn()&&32==qn()))}function at(e,n){for(;qn()&&e+$n!==57&&(e+$n!==84||47!==Xn()););return"/*"+Zn(n,Kn-1)+"*"+Tn(47===e?e:qn())}function it(e){for(;!Qn(Xn());)qn();return Zn(e,Kn)}function st(e){return nt(function e(n,t,r,o,a,i,s,c,l){var u=0,f=0,p=s,d=0,m=0,h=0,_=1,g=1,v=1,b=0,y="",A=a,k=i,w=o,x=y;for(;g;)switch(h=b,b=qn()){case 40:if(108!=h&&58==x.charCodeAt(p-1)){-1!=Mn(x+=Rn(tt(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:x+=tt(b);break;case 9:case 10:case 13:case 32:x+=rt(h);break;case 92:x+=ot(Jn()-1,7);continue;case 47:switch(Xn()){case 42:case 47:jn(lt(at(qn(),Jn()),t,r),l);break;default:x+="/"}break;case 123*_:c[u++]=Ln(x)*v;case 125*_:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+f:m>0&&Ln(x)-p&&jn(m>32?ut(x+";",o,r,p-1):ut(Rn(x," ","")+";",o,r,p-2),l);break;case 59:x+=";";default:if(jn(w=ct(x,t,r,u,f,a,c,y,A=[],k=[],p),i),123===b)if(0===f)e(x,t,w,w,A,i,p,c,k);else switch(d){case 100:case 109:case 115:e(n,w,w,o&&jn(ct(n,w,w,0,0,a,c,y,a,A=[],p),k),a,k,p,c,o?A:k);break;default:e(x,w,w,w,[""],k,0,c,k)}}u=f=m=0,_=v=1,y=x="",p=s;break;case 58:p=1+Ln(x),m=h;default:if(_<1)if(123==b)--_;else if(125==b&&0==_++&&125==($n=Kn>0?zn(Gn,--Kn):0,Un--,10===$n&&(Un=1,Hn--),$n))continue;switch(x+=Tn(b),b*_){case 38:v=f>0?1:(x+="\f",-1);break;case 44:c[u++]=(Ln(x)-1)*v,v=1;break;case 64:45===Xn()&&(x+=tt(qn())),d=Xn(),f=p=Ln(y=x+=it(Jn())),b++;break;case 45:45===h&&2==Ln(x)&&(_=0)}}return i}("",null,null,null,[""],e=et(e),0,[0],e))}function ct(e,n,t,r,o,a,i,s,c,l,u){for(var f=o-1,p=0===o?a:[""],d=Bn(p),m=0,h=0,_=0;m<r;++m)for(var g=0,v=In(e,f+1,f=Nn(h=i[m])),b=e;g<d;++g)(b=Dn(h>0?p[g]+" "+v:Rn(v,/&\f/g,p[g])))&&(c[_++]=b);return Vn(e,n,t,0===o?"rule":s,c,l,u)}function lt(e,n,t){return Vn(e,n,t,"comm",Tn($n),In(e,2,-2),0)}function ut(e,n,t,r){return Vn(e,n,t,"decl",In(e,0,r),In(e,r+1,-1),r)}function ft(e,n){switch((((n<<2^zn(t=e,0))<<2^zn(t,1))<<2^zn(t,2))<<2^zn(t,3)){case 5103:return Pn+"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 Pn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Pn+e+"-moz-"+e+"-ms-"+e+e;case 6828:case 4268:return Pn+e+"-ms-"+e+e;case 6165:return Pn+e+"-ms-flex-"+e+e;case 5187:return Pn+e+Rn(e,/(\w+).+(:[^]+)/,Pn+"box-$1$2-ms-flex-$1$2")+e;case 5443:return Pn+e+"-ms-flex-item-"+Rn(e,/flex-|-self/,"")+e;case 4675:return Pn+e+"-ms-flex-line-pack"+Rn(e,/align-content|flex-|-self/,"")+e;case 5548:return Pn+e+"-ms-"+Rn(e,"shrink","negative")+e;case 5292:return Pn+e+"-ms-"+Rn(e,"basis","preferred-size")+e;case 6060:return Pn+"box-"+Rn(e,"-grow","")+Pn+e+"-ms-"+Rn(e,"grow","positive")+e;case 4554:return Pn+Rn(e,/([^-])(transform)/g,"$1"+Pn+"$2")+e;case 6187:return Rn(Rn(Rn(e,/(zoom-|grab)/,Pn+"$1"),/(image-set)/,Pn+"$1"),e,"")+e;case 5495:case 3959:return Rn(e,/(image-set\([^]*)/,Pn+"$1$`$1");case 4968:return Rn(Rn(e,/(.+:)(flex-)?(.*)/,Pn+"box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+Pn+e+e;case 4095:case 3583:case 4068:case 2532:return Rn(e,/(.+)-inline(.+)/,Pn+"$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(Ln(e)-1-n>6)switch(zn(e,n+1)){case 109:if(45!==zn(e,n+4))break;case 102:return Rn(e,/(.+:)(.+)-([^]+)/,"$1"+Pn+"$2-$3$1-moz-"+(108==zn(e,n+3)?"$3":"$2-$3"))+e;case 115:return~Mn(e,"stretch")?ft(Rn(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(115!==zn(e,n+1))break;case 6444:switch(zn(e,Ln(e)-3-(~Mn(e,"!important")&&10))){case 107:return Rn(e,":",":"+Pn)+e;case 101:return Rn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Pn+(45===zn(e,14)?"inline-":"")+"box$3$1"+Pn+"$2$3$1-ms-$2box$3")+e}break;case 5936:switch(zn(e,n+11)){case 114:return Pn+e+"-ms-"+Rn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Pn+e+"-ms-"+Rn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Pn+e+"-ms-"+Rn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Pn+e+"-ms-"+e+e}var t;return e}function pt(e,n){for(var t="",r=Bn(e),o=0;o<r;o++)t+=n(e[o],o,e,n)||"";return t}function dt(e,n,t,r){switch(e.type){case"@import":case"decl":return e.return=e.return||e.value;case"comm":return"";case"@keyframes":return e.return=e.value+"{"+pt(e.children,r)+"}";case"rule":e.value=e.props.join(",")}return Ln(t=pt(e.children,r))?e.return=e.value+"{"+t+"}":""}var mt=function(e,n,t){for(var r=0,o=0;r=o,o=Xn(),38===r&&12===o&&(n[t]=1),!Qn(o);)qn();return Zn(e,Kn)},ht=function(e,n){return nt(function(e,n){var t=-1,r=44;do{switch(Qn(r)){case 0:38===r&&12===Xn()&&(n[t]=1),e[t]+=mt(Kn-1,n,t);break;case 2:e[t]+=tt(r);break;case 4:if(44===r){e[++t]=58===Xn()?"&\f":"",n[t]=e[t].length;break}default:e[t]+=Tn(r)}}while(r=qn());return e}(et(e),n))},_t=new WeakMap,gt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var n=e.value,t=e.parent,r=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===n.charCodeAt(0)||_t.get(t))&&!r){_t.set(e,!0);for(var o=[],a=ht(n,o),i=t.props,s=0,c=0;s<a.length;s++)for(var l=0;l<i.length;l++,c++)e.props[c]=o[s]?a[s].replace(/&\f/g,i[l]):i[l]+" "+a[s]}}},vt=function(e){if("decl"===e.type){var n=e.value;108===n.charCodeAt(0)&&98===n.charCodeAt(2)&&(e.return="",e.value="")}},bt=[function(e,n,t,r){if(e.length>-1&&!e.return)switch(e.type){case"decl":e.return=ft(e.value,e.length);break;case"@keyframes":return pt([Wn(e,{value:Rn(e.value,"@","@"+Pn)})],r);case"rule":if(e.length)return Fn(e.props,(function(n){switch((t=/(::plac\w+|:read-\w+)/.exec(t=n))?t[0]:t){case":read-only":case":read-write":return pt([Wn(e,{props:[Rn(n,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return pt([Wn(e,{props:[Rn(n,/:(plac\w+)/,":"+Pn+"input-$1")]}),Wn(e,{props:[Rn(n,/:(plac\w+)/,":-moz-$1")]}),Wn(e,{props:[Rn(n,/:(plac\w+)/,"-ms-input-$1")]})],r)}var t;return""}))}}],yt=function(e){var n=e.key;if("css"===n){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||bt;var o,a,i={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),(function(e){for(var n=e.getAttribute("data-emotion").split(" "),t=1;t<n.length;t++)i[n[t]]=!0;s.push(e)}));var c,l,u=[dt,(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=function(e){var n=Bn(e);return function(t,r,o,a){for(var i="",s=0;s<n;s++)i+=e[s](t,r,o,a)||"";return i}}([gt,vt].concat(r,u));a=function(e,n,t,r){c=t,pt(st(e?e+"{"+n.styles+"}":n.styles),f),r&&(p.inserted[n.name]=!0)};var p={key:n,sheet:new Sn({key:n,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return p.sheet.hydrate(s),p};t(3);var At=function(e){for(var n,t=0,r=0,o=e.length;o>=4;++r,o-=4)n=1540483477*(65535&(n=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(n>>>16)<<16),t=1540483477*(65535&(n^=n>>>24))+(59797*(n>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(o){case 3:t^=(255&e.charCodeAt(r+2))<<16;case 2:t^=(255&e.charCodeAt(r+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(r)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)},kt={animationIterationCount: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,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans: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},wt=/[A-Z]|^ms/g,xt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ct=function(e){return 45===e.charCodeAt(1)},Et=function(e){return null!=e&&"boolean"!=typeof e},St=wn((function(e){return Ct(e)?e:e.replace(wt,"-$&").toLowerCase()})),Pt=function(e,n){switch(e){case"animation":case"animationName":if("string"==typeof n)return n.replace(xt,(function(e,n,t){return Tt={name:n,styles:t,next:Tt},n}))}return 1===kt[e]||Ct(e)||"number"!=typeof n||0===n?n:n+"px"};function Nt(e,n,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return Tt={name:t.name,styles:t.styles,next:Tt},t.name;if(void 0!==t.styles){var r=t.next;if(void 0!==r)for(;void 0!==r;)Tt={name:r.name,styles:r.styles,next:Tt},r=r.next;return t.styles+";"}return function(e,n,t){var r="";if(Array.isArray(t))for(var o=0;o<t.length;o++)r+=Nt(e,n,t[o])+";";else for(var a in t){var i=t[a];if("object"!=typeof i)null!=n&&void 0!==n[i]?r+=a+"{"+n[i]+"}":Et(i)&&(r+=St(a)+":"+Pt(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=n&&void 0!==n[i[0]]){var s=Nt(e,n,i);switch(a){case"animation":case"animationName":r+=St(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var c=0;c<i.length;c++)Et(i[c])&&(r+=St(a)+":"+Pt(a,i[c])+";")}return r}(e,n,t);case"function":if(void 0!==e){var o=Tt,a=t(e);return Tt=o,Nt(e,n,a)}break;case"string":}if(null==n)return t;var i=n[t];return void 0!==i?i:t}var Tt,Ot=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Dt=function(e,n,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Tt=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=Nt(t,n,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Nt(t,n,e[i]),r&&(o+=a[i]);Ot.lastIndex=0;for(var s,c="";null!==(s=Ot.exec(o));)c+="-"+s[1];return{name:At(o)+c,styles:o,next:Tt}},Rt=U("undefined"!=typeof HTMLElement?yt({key:"css"}):null);Rt.Provider;var Mt=function(e){return Pe((function(n,t){var r=ue(Rt);return e(n,r,t)}))},zt=U({});function It(e,n,t){var r="";return t.split(" ").forEach((function(t){void 0!==e[t]?n.push(e[t]+";"):r+=t+" "})),r}var Lt=function(e,n,t){var r=e.key+"-"+n.name;!1===t&&void 0===e.registered[r]&&(e.registered[r]=n.styles)};var Bt=function(e){for(var n,t=0,r=0,o=e.length;o>=4;++r,o-=4)n=1540483477*(65535&(n=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(n>>>16)<<16),t=1540483477*(65535&(n^=n>>>24))+(59797*(n>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(o){case 3:t^=(255&e.charCodeAt(r+2))<<16;case 2:t^=(255&e.charCodeAt(r+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(r)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)},jt=/[A-Z]|^ms/g,Ft=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ht=function(e){return 45===e.charCodeAt(1)},Ut=function(e){return null!=e&&"boolean"!=typeof e},Yt=wn((function(e){return Ht(e)?e:e.replace(jt,"-$&").toLowerCase()})),Kt=function(e,n){switch(e){case"animation":case"animationName":if("string"==typeof n)return n.replace(Ft,(function(e,n,t){return Gt={name:n,styles:t,next:Gt},n}))}return 1===kt[e]||Ht(e)||"number"!=typeof n||0===n?n:n+"px"};function $t(e,n,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return Gt={name:t.name,styles:t.styles,next:Gt},t.name;if(void 0!==t.styles){var r=t.next;if(void 0!==r)for(;void 0!==r;)Gt={name:r.name,styles:r.styles,next:Gt},r=r.next;return t.styles+";"}return function(e,n,t){var r="";if(Array.isArray(t))for(var o=0;o<t.length;o++)r+=$t(e,n,t[o])+";";else for(var a in t){var i=t[a];if("object"!=typeof i)null!=n&&void 0!==n[i]?r+=a+"{"+n[i]+"}":Ut(i)&&(r+=Yt(a)+":"+Kt(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=n&&void 0!==n[i[0]]){var s=$t(e,n,i);switch(a){case"animation":case"animationName":r+=Yt(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var c=0;c<i.length;c++)Ut(i[c])&&(r+=Yt(a)+":"+Kt(a,i[c])+";")}return r}(e,n,t);case"function":if(void 0!==e){var o=Gt,a=t(e);return Gt=o,$t(e,n,a)}break;case"string":}if(null==n)return t;var i=n[t];return void 0!==i?i:t}var Gt,Vt=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Wt=function(e,n,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Gt=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=$t(t,n,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=$t(t,n,e[i]),r&&(o+=a[i]);Vt.lastIndex=0;for(var s,c="";null!==(s=Vt.exec(o));)c+="-"+s[1];return{name:Bt(o)+c,styles:o,next:Gt}},qt=Cn,Xt=function(e){return"theme"!==e},Jt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?qt:Xt},Zt=function(e,n,t){var r;if(n){var o=n.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(n){return e.__emotion_forwardProp(n)&&o(n)}:o}return"function"!=typeof r&&t&&(r=e.__emotion_forwardProp),r},Qt=r.useInsertionEffect?r.useInsertionEffect:function(e){e()};var er=function(e){var n=e.cache,t=e.serialized,r=e.isStringTag;Lt(n,t,r);Qt((function(){return function(e,n,t){Lt(e,n,t);var r=e.key+"-"+n.name;if(void 0===e.inserted[n.name]){var o=n;do{e.insert(n===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(n,t,r)}));return null},nr=function e(n,t){var r,o,a=n.__emotion_real===n,i=a&&n.__emotion_base||n;void 0!==t&&(r=t.label,o=t.target);var s=Zt(n,t,a),c=s||Jt(i),l=!c("as");return function(){var u=arguments,f=a&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==r&&f.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)f.push.apply(f,u);else{0,f.push(u[0][0]);for(var p=u.length,d=1;d<p;d++)f.push(u[d],u[0][d])}var m=Mt((function(e,n,t){var r=l&&e.as||i,a="",u=[],p=e;if(null==e.theme){for(var d in p={},e)p[d]=e[d];p.theme=ue(zt)}"string"==typeof e.className?a=It(n.registered,u,e.className):null!=e.className&&(a=e.className+" ");var m=Wt(f.concat(u),n.registered,p);a+=n.key+"-"+m.name,void 0!==o&&(a+=" "+o);var h=l&&void 0===s?Jt(r):c,g={};for(var v in e)l&&"as"===v||h(v)&&(g[v]=e[v]);return g.className=a,g.ref=t,_(b,null,_(er,{cache:n,serialized:m,isStringTag:"string"==typeof r}),_(r,g))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",m.defaultProps=n.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=f,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(n,r){return e(n,En({},t,r,{shouldForwardProp:Zt(m,r,!0)})).apply(void 0,f)},m}}.bind();["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){nr[e]=nr(e)}));var tr=nr;function rr(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return Dt(n)}var or,ar,ir,sr,cr,lr,ur,fr,pr,dr,mr,hr,_r,gr,vr,br,yr,Ar,kr,wr,xr,Cr,Er,Sr,Pr,Nr,Tr,Or,Dr,Rr,Mr=rr(or||(or=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}(["\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,\n sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-smoothing: antialiased;\n color: #435a6f;\n font-size: 16px;\n font-weight: 400;\n line-height: 22px;\n letter-spacing: -0.05px;\n"],["\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,\n sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-smoothing: antialiased;\n color: #435a6f;\n font-size: 16px;\n font-weight: 400;\n line-height: 22px;\n letter-spacing: -0.05px;\n"]))),zr=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},Ir=rr(ar||(ar=zr(["\n height: 32px;\n padding: 0 16px;\n border: none;\n border-radius: 4px;\n color: inherit;\n font: inherit;\n font-size: 12px;\n line-height: 1;\n cursor: pointer;\n outline: none;\n transition: box-shadow 80ms ease-in-out;\n"],["\n height: 32px;\n padding: 0 16px;\n border: none;\n border-radius: 4px;\n color: inherit;\n font: inherit;\n font-size: 12px;\n line-height: 1;\n cursor: pointer;\n outline: none;\n transition: box-shadow 80ms ease-in-out;\n"]))),Lr=tr("button")(ir||(ir=zr(["\n ",";\n margin-right: 8px;\n background-color: #fff;\n background-image: linear-gradient(to top, rgba(67, 90, 111, 0.041), rgba(255, 255, 255, 0.041));\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.146), inset 0 -1px 1px 0 rgba(67, 90, 111, 0.079);\n &:hover {\n background-image: linear-gradient(to top, rgba(67, 90, 111, 0.057), rgba(67, 90, 111, 0.025));\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.255),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.114);\n }\n &:focus {\n box-shadow: 0 0 0 3px rgba(1, 108, 209, 0.146), inset 0 0 0 1px rgba(67, 90, 111, 0.38),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.079);\n }\n &:active {\n background: rgba(1, 108, 209, 0.079);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.146),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.079);\n }\n"],["\n ",";\n margin-right: 8px;\n background-color: #fff;\n background-image: linear-gradient(to top, rgba(67, 90, 111, 0.041), rgba(255, 255, 255, 0.041));\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.146), inset 0 -1px 1px 0 rgba(67, 90, 111, 0.079);\n &:hover {\n background-image: linear-gradient(to top, rgba(67, 90, 111, 0.057), rgba(67, 90, 111, 0.025));\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.255),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.114);\n }\n &:focus {\n box-shadow: 0 0 0 3px rgba(1, 108, 209, 0.146), inset 0 0 0 1px rgba(67, 90, 111, 0.38),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.079);\n }\n &:active {\n background: rgba(1, 108, 209, 0.079);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.146),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.079);\n }\n"])),Ir),Br=tr("button")(sr||(sr=zr(["\n ",";\n background-color: #47b881;\n background-image: linear-gradient(to top, #3faf77, #47b881);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.204), inset 0 -1px 1px 0 rgba(67, 90, 111, 0.204);\n color: #fff;\n &:hover {\n background-image: linear-gradient(to top, #37a56d, #3faf77);\n }\n &:focus {\n box-shadow: 0 0 0 3px rgba(71, 184, 129, 0.477), inset 0 0 0 1px rgba(71, 184, 129, 0.204),\n inset 0 -1px 1px 0 rgba(71, 184, 129, 0.204);\n }\n &:active {\n background-image: linear-gradient(to top, #2d9760, #248953);\n box-shadow: inset 0 0 0 1px rgba(71, 184, 129, 0.204),\n inset 0 -1px 1px 0 rgba(71, 184, 129, 0.204);\n }\n"],["\n ",";\n background-color: #47b881;\n background-image: linear-gradient(to top, #3faf77, #47b881);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.204), inset 0 -1px 1px 0 rgba(67, 90, 111, 0.204);\n color: #fff;\n &:hover {\n background-image: linear-gradient(to top, #37a56d, #3faf77);\n }\n &:focus {\n box-shadow: 0 0 0 3px rgba(71, 184, 129, 0.477), inset 0 0 0 1px rgba(71, 184, 129, 0.204),\n inset 0 -1px 1px 0 rgba(71, 184, 129, 0.204);\n }\n &:active {\n background-image: linear-gradient(to top, #2d9760, #248953);\n box-shadow: inset 0 0 0 1px rgba(71, 184, 129, 0.204),\n inset 0 -1px 1px 0 rgba(71, 184, 129, 0.204);\n }\n"])),Ir),jr=tr("button")(cr||(cr=zr(["\n ",";\n background-color: #f36331;\n background-image: linear-gradient(to top, #f4541d, #f36331);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.204), inset 0 -1px 1px 0 rgba(67, 90, 111, 0.204);\n color: #fff;\n &:hover {\n background-image: linear-gradient(to top, #f4450a, #f4541d);\n }\n &:focus {\n box-shadow: 0 0 0 3px rgba(243, 99, 49, 0.477), inset 0 0 0 1px rgba(243, 99, 49, 0.204),\n inset 0 -1px 1px 0 rgba(243, 99, 49, 0.204);\n }\n &:active {\n background-image: linear-gradient(to top, #dd3c06, #c63403);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.204),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.204);\n }\n"],["\n ",";\n background-color: #f36331;\n background-image: linear-gradient(to top, #f4541d, #f36331);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.204), inset 0 -1px 1px 0 rgba(67, 90, 111, 0.204);\n color: #fff;\n &:hover {\n background-image: linear-gradient(to top, #f4450a, #f4541d);\n }\n &:focus {\n box-shadow: 0 0 0 3px rgba(243, 99, 49, 0.477), inset 0 0 0 1px rgba(243, 99, 49, 0.204),\n inset 0 -1px 1px 0 rgba(243, 99, 49, 0.204);\n }\n &:active {\n background-image: linear-gradient(to top, #dd3c06, #c63403);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.204),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.204);\n }\n"])),Ir),Fr=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},Hr=(lr=function(e,n){return(lr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(e,n)},function(e,n){function t(){this.constructor=e}lr(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),Ur=tr("div")(ur||(ur=Fr(["\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: #fff;\n opacity: 0.8;\n"],["\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: #fff;\n opacity: 0.8;\n"]))),Yr=tr("div")(fr||(fr=Fr(["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-width: 500px;\n @media (max-width: 767px) {\n width: 80vw;\n }\n"],["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-width: 500px;\n @media (max-width: 767px) {\n width: 80vw;\n }\n"]))),Kr=tr("div")(pr||(pr=Fr(["\n ",";\n position: relative;\n max-width: 500px;\n padding: 18px;\n padding-right: ",";\n background: ",";\n color: ",";\n text-align: center;\n font-size: 14px;\n line-height: 1.3;\n"],["\n ",";\n position: relative;\n max-width: 500px;\n padding: 18px;\n padding-right: ",";\n background: ",";\n color: ",";\n text-align: center;\n font-size: 14px;\n line-height: 1.3;\n"])),Mr,(function(e){return e.hideCloseButton?"18px":"40px"}),(function(e){return e.backgroundColor}),(function(e){return e.textColor})),$r=tr("div")(dr||(dr=Fr(["\n ",";\n position: relative;\n padding: 8px;\n padding-right: ",";\n background: ",";\n color: ",";\n text-align: center;\n font-size: 12px;\n line-height: 1.3;\n @media (min-width: 768px) {\n display: flex;\n align-items: center;\n }\n"],["\n ",";\n position: relative;\n padding: 8px;\n padding-right: ",";\n background: ",";\n color: ",";\n text-align: center;\n font-size: 12px;\n line-height: 1.3;\n @media (min-width: 768px) {\n display: flex;\n align-items: center;\n }\n"])),Mr,(function(e){return e.hideCloseButton?"8px":"40px"}),(function(e){return e.backgroundColor}),(function(e){return e.textColor})),Gr=tr("div")(mr||(mr=Fr(["\n margin-bottom: ",";\n @media (min-width: 768px) {\n flex: auto;\n margin-bottom: ",";\n }\n a,\n button {\n display: inline;\n padding: 0;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n text-decoration: underline;\n cursor: pointer;\n }\n"],["\n margin-bottom: ",";\n @media (min-width: 768px) {\n flex: auto;\n margin-bottom: ",";\n }\n a,\n button {\n display: inline;\n padding: 0;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n text-decoration: underline;\n cursor: pointer;\n }\n"])),(function(e){return e.asModal?"20px":"8px"}),(function(e){return e.asModal?"20px":"0"})),Vr=tr("div")(hr||(hr=Fr(["\n color: #000;\n button {\n margin: 4px 0;\n width: 100%;\n @media (min-width: 768px) {\n margin: 4px 8px;\n width: 200px;\n }\n }\n"],["\n color: #000;\n button {\n margin: 4px 0;\n width: 100%;\n @media (min-width: 768px) {\n margin: 4px 8px;\n width: 200px;\n }\n }\n"]))),Wr=tr("p")(_r||(_r=Fr(["\n margin: 0;\n &:not(:last-child) {\n margin-bottom: 6px;\n }\n"],["\n margin: 0;\n &:not(:last-child) {\n margin-bottom: 6px;\n }\n"]))),qr=tr("button")(gr||(gr=Fr(["\n position: absolute;\n right: 8px;\n top: ",";\n transform: translateY(-50%);\n padding: 8px;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n font-size: 14px;\n line-height: 1;\n cursor: pointer;\n"],["\n position: absolute;\n right: 8px;\n top: ",";\n transform: translateY(-50%);\n padding: 8px;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n font-size: 14px;\n line-height: 1;\n cursor: pointer;\n"])),(function(e){return e.isTop?"20px":"50%"})),Xr=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Hr(n,e),n.prototype.render=function(){var e=this.props,n=e.innerRef,t=e.onClose,r=e.onChangePreferences,o=e.content,a=e.subContent,i=e.actionsBlock,s=e.backgroundColor,c=e.textColor,l=e.onAcceptAll,u=e.onDenyAll,f=e.hideCloseButton,p=e.asModal,d=gn.createElement(b,null,gn.createElement(Gr,{asModal:p,id:"hightouchio_fragmentBanner"},gn.createElement(Wr,{id:"hightouchio_pContent"},o),gn.createElement(Wr,{id:"hightouchio_pSubContent"},gn.createElement("button",{type:"button",id:"hightouchio_subContentBtn",onClick:r},a))),"function"==typeof i&&i({acceptAll:l,denyAll:u,changePreferences:r}),!0===i&&gn.createElement(Vr,{id:"hightouchio_actionBlock"},gn.createElement(Br,{id:"hightouchio_allowBtn",type:"button",onClick:l},"Allow all"),gn.createElement(Lr,{id:"hightouchio_denyBtn",type:"button",onClick:u},"Deny all")),!f&&gn.createElement(qr,{id:"hightouchio_closeButton",type:"button",title:"Close","aria-label":"Close",onClick:t,isTop:p},"✕"));return p?gn.createElement(b,null,gn.createElement(Ur,null),gn.createElement(Yr,null,gn.createElement(Kr,{ref:n,backgroundColor:s,textColor:c,hideCloseButton:f},d))):gn.createElement($r,{ref:n,backgroundColor:s,textColor:c,hideCloseButton:f},d)},n.displayName="Banner",n}(xe),Jr=t(10),Zr=t.n(Jr),Qr=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},eo=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),no=tr("div")(vr||(vr=Qr(["\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1000;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(67, 90, 111, 0.699);\n"],["\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1000;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(67, 90, 111, 0.699);\n"]))),to=function(){var e=rr.apply(void 0,arguments),n="animation-"+e.name;return{name:n,styles:"@keyframes "+n+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(br||(br=Qr(["\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n"],["\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n"]))),ro=tr("section")(yr||(yr=Qr(["\n ",";\n display: flex;\n flex-direction: column;\n max-width: calc(100vw - 16px);\n max-height: calc(100% - 16px);\n width: ",";\n margin: 8px;\n background: #fff;\n border-radius: 8px;\n animation: "," "," "," both;\n"],["\n ",";\n display: flex;\n flex-direction: column;\n max-width: calc(100vw - 16px);\n max-height: calc(100% - 16px);\n width: ",";\n margin: 8px;\n background: #fff;\n border-radius: 8px;\n animation: "," "," "," both;\n"])),Mr,(function(e){return e.width}),to,"200ms","cubic-bezier(0.0, 0.0, 0.2, 1)"),oo=tr("form")(Ar||(Ar=Qr(["\n display: flex;\n flex-direction: column;\n min-height: 0;\n"],["\n display: flex;\n flex-direction: column;\n min-height: 0;\n"]))),ao=tr("div")(kr||(kr=Qr(["\n flex: 1 0 auto;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 12px 16px;\n border-bottom: 1px solid rgba(67, 90, 111, 0.079);\n"],["\n flex: 1 0 auto;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 12px 16px;\n border-bottom: 1px solid rgba(67, 90, 111, 0.079);\n"]))),io=tr("h2")(wr||(wr=Qr(["\n margin: 0;\n color: #1f4160;\n font-size: 16px;\n font-weight: 600;\n line-height: 1.3;\n"],["\n margin: 0;\n color: #1f4160;\n font-size: 16px;\n font-weight: 600;\n line-height: 1.3;\n"]))),so=tr("button")(xr||(xr=Qr(["\n padding: 8px;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n font-size: 14px;\n line-height: 1;\n cursor: pointer;\n"],["\n padding: 8px;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n font-size: 14px;\n line-height: 1;\n cursor: pointer;\n"]))),co=tr("div")(Cr||(Cr=Qr(["\n overflow-y: auto;\n padding: 16px;\n padding-bottom: 0;\n min-height: 0;\n font-size: 14px;\n line-height: 1.2;\n\n p {\n margin: 0;\n &:not(:last-child) {\n margin-bottom: 0.7em;\n }\n }\n\n a {\n color: #47b881;\n &:hover {\n color: #64c395;\n }\n &:active {\n color: #248953;\n }\n }\n"],["\n overflow-y: auto;\n padding: 16px;\n padding-bottom: 0;\n min-height: 0;\n font-size: 14px;\n line-height: 1.2;\n\n p {\n margin: 0;\n &:not(:last-child) {\n margin-bottom: 0.7em;\n }\n }\n\n a {\n color: #47b881;\n &:hover {\n color: #64c395;\n }\n &:active {\n color: #248953;\n }\n }\n"]))),lo=tr("div")(Er||(Er=Qr(["\n padding: 16px;\n text-align: right;\n"],["\n padding: 16px;\n text-align: right;\n"]))),uo=function(e){function n(n){var t=e.call(this,n)||this;return t.handleRootRef=function(e){t.root=e},t.handleFormRef=function(e){t.form=e},t.handleOverlayClick=function(e){var n=t.props.onCancel;n&&t.root&&!t.root.contains(e.target)&&n()},t.handleEsc=function(e){var n=t.props.onCancel;n&&27===e.keyCode&&n()},t.titleId=Zr()(),t.container=document.createElement("div"),t.container.setAttribute("data-consent-manager-dialog",""),t}return eo(n,e),n.prototype.render=function(){var e=this.props,n=e.onCancel,t=e.onSubmit,r=e.title,o=e.children,a=e.buttons,i=e.width,s=gn.createElement(no,{id:"hightouchio_overlayDialog",onClick:this.handleOverlayClick},gn.createElement(ro,{id:"hightouchio_rootDialog",ref:this.handleRootRef,role:"dialog","aria-modal":!0,"aria-labelledby":this.titleId,width:i},gn.createElement(ao,{id:"hightouchio_headerDialog"},gn.createElement(io,{id:this.titleId},r),n&&gn.createElement(so,{id:"hightouchio_headerCancelBtn",onClick:n,title:"Cancel","aria-label":"Cancel"},"✕")),gn.createElement(oo,{id:"preferenceDialogForm_"+this.titleId,ref:this.handleFormRef,onSubmit:t},gn.createElement(co,{id:"hightouchio_contentDialog"},o),gn.createElement(lo,{id:"hightouchio_buttonsDialog"},a))));return gn.createPortal(s,this.container)},n.prototype.componentDidMount=function(){var e=this.props.innerRef;if(this.form){var n=this.form.querySelector("input,button");n&&n.focus()}document.body.appendChild(this.container),document.body.addEventListener("keydown",this.handleEsc,!1),document.body.style.overflow="hidden",e(this.container)},n.prototype.componentWillUnmount=function(){var e=this.props.innerRef;document.body.removeEventListener("keydown",this.handleEsc,!1),document.body.style.overflow="",document.body.removeChild(this.container),e(null)},n.displayName="Dialog",n.defaultProps={onCancel:void 0,width:"750px"},n}(xe),fo=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},po=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),mo=rr(Sr||(Sr=fo(["\n @media (max-width: 600px) {\n display: none;\n }\n"],["\n @media (max-width: 600px) {\n display: none;\n }\n"]))),ho=tr("div")(Pr||(Pr=fo(["\n overflow-x: auto;\n margin-top: 16px;\n"],["\n overflow-x: auto;\n margin-top: 16px;\n"]))),_o=tr("table")(Nr||(Nr=fo(["\n border-collapse: collapse;\n font-size: 12px;\n"],["\n border-collapse: collapse;\n font-size: 12px;\n"]))),go=tr("th")(Tr||(Tr=fo(["\n background: #f7f8fa;\n color: #1f4160;\n font-weight: 600;\n text-align: left;\n border-width: 2px;\n"],["\n background: #f7f8fa;\n color: #1f4160;\n font-weight: 600;\n text-align: left;\n border-width: 2px;\n"]))),vo=tr("th")(Or||(Or=fo(["\n font-weight: normal;\n text-align: left;\n"],["\n font-weight: normal;\n text-align: left;\n"]))),bo=tr("tr")(Dr||(Dr=fo(["\n th,\n td {\n vertical-align: top;\n padding: 8px 12px;\n border: 1px solid rgba(67, 90, 111, 0.114);\n }\n td {\n border-top: none;\n }\n"],["\n th,\n td {\n vertical-align: top;\n padding: 8px 12px;\n border: 1px solid rgba(67, 90, 111, 0.114);\n }\n td {\n border-top: none;\n }\n"]))),yo=tr("td")(Rr||(Rr=fo(["\n input {\n margin: 0px 6px 0px 0px;\n vertical-align: middle;\n }\n label {\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n white-space: nowrap;\n }\n td {\n border: none;\n vertical-align: middle;\n }\n"],["\n input {\n margin: 0px 6px 0px 0px;\n vertical-align: middle;\n }\n label {\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n white-space: nowrap;\n }\n td {\n border: none;\n vertical-align: middle;\n }\n"]))),Ao=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.handleChange=function(e){(0,n.props.onChange)(e.target.name,"true"===e.target.value)},n.handleSubmit=function(e){var t=n.props,r=t.onSave,o=t.preferences,a=t.marketingAndAnalytics,i=t.advertising,s=t.functional,c=t.customCategories;e.preventDefault(),(c||null!==a&&null!==i&&null!==s)&&(c&&Object.keys(c).some((function(e){return null===o[e]}))||r())},n}return po(n,e),n.prototype.render=function(){var e=this,n=this.props,t=n.innerRef,r=n.onCancel,o=(n.marketingDestinations,n.advertisingDestinations,n.functionalDestinations,n.marketingAndAnalytics),a=n.advertising,i=n.functional,s=n.customCategories,c=(n.destinations,n.title),l=n.content,u=n.preferences,f=n.preferencesDialogTemplate,p=f,d=p.headings,m=p.checkboxes,h=p.actionButtons,_=null==f?void 0:f.categories.find((function(e){return"functional"===e.key})),g=null==f?void 0:f.categories.find((function(e){return"marketing"===e.key})),v=null==f?void 0:f.categories.find((function(e){return"advertising"===e.key})),b=null==f?void 0:f.categories.find((function(e){return"essential"===e.key})),y=gn.createElement("div",null,gn.createElement(Lr,{id:"hightouchio_hightouchio_prefBtnCancel",type:"button",onClick:r},h.cancelValue),gn.createElement(Br,{id:"hightouchio_prefBtnSubmit",type:"submit"},h.saveValue));return gn.createElement(uo,{innerRef:t,title:c,buttons:y,onCancel:r,onSubmit:this.handleSubmit},l,gn.createElement(ho,{id:"hightouchio_prefTableScroll"},gn.createElement(_o,{id:"hightouchio_prefTable"},gn.createElement("thead",{id:"hightouchio_prefThead"},gn.createElement(bo,null,gn.createElement(go,{scope:"col"},d.allowValue),gn.createElement(go,{scope:"col"},d.categoryValue),gn.createElement(go,{scope:"col"},d.purposeValue))),gn.createElement("tbody",{id:"hightouchio_prefTbody"},!s&&gn.createElement(gn.Fragment,null,gn.createElement(bo,null,gn.createElement(yo,null,gn.createElement("label",null,gn.createElement("input",{type:"radio",name:"functional",value:"true",checked:!0===i,onChange:this.handleChange,"aria-label":"Allow functional tracking",required:!0})," ",m.yesValue),gn.createElement("label",null,gn.createElement("input",{type:"radio",name:"functional",value:"false",checked:!1===i,onChange:this.handleChange,"aria-label":"Disallow functional tracking",required:!0})," ",m.noValue)),gn.createElement(vo,{scope:"row"},null==_?void 0:_.name),gn.createElement("td",null,gn.createElement("p",null,null==_?void 0:_.description),gn.createElement("p",{css:mo},null==_?void 0:_.example))),gn.createElement(bo,null,gn.createElement(yo,null,gn.createElement("label",null,gn.createElement("input",{type:"radio",name:"marketingAndAnalytics",value:"true",checked:!0===o,onChange:this.handleChange,"aria-label":"Allow marketing and analytics tracking",required:!0})," ",m.yesValue),gn.createElement("label",null,gn.createElement("input",{type:"radio",name:"marketingAndAnalytics",value:"false",checked:!1===o,onChange:this.handleChange,"aria-label":"Disallow marketing and analytics tracking",required:!0})," ",m.noValue)),gn.createElement(vo,{scope:"row"},null==g?void 0:g.name),gn.createElement("td",null,gn.createElement("p",null,null==g?void 0:g.description),gn.createElement("p",{css:mo},null==g?void 0:g.example))),gn.createElement(bo,null,gn.createElement(yo,null,gn.createElement("label",null,gn.createElement("input",{type:"radio",name:"advertising",value:"true",checked:!0===a,onChange:this.handleChange,"aria-label":"Allow advertising tracking",required:!0})," ",m.yesValue),gn.createElement("label",null,gn.createElement("input",{type:"radio",name:"advertising",value:"false",checked:!1===a,onChange:this.handleChange,"aria-label":"Disallow advertising tracking",required:!0})," ",m.noValue)),gn.createElement(vo,{scope:"row"},null==v?void 0:v.name),gn.createElement("td",null,gn.createElement("p",null,null==v?void 0:v.description),gn.createElement("p",{css:mo},null==v?void 0:v.example))),gn.createElement(bo,null,gn.createElement("td",null,"N/A"),gn.createElement(vo,{scope:"row"},null==b?void 0:b.name),gn.createElement("td",null,gn.createElement("p",null,null==b?void 0:b.description),gn.createElement("p",null,null==b?void 0:b.example)))),s&&Object.entries(s).map((function(n){var t=n[0],r=n[1],o=(r.integrations,r.purpose);return gn.createElement(bo,{key:t},gn.createElement(yo,null,"N/A"===u[t]?gn.createElement("td",null,"N/A"):gn.createElement(gn.Fragment,null,gn.createElement("label",null,gn.createElement("input",{type:"radio",name:t,value:"true",checked:!0===u[t],onChange:e.handleChange,"aria-label":'Allow "'+t+'" tracking',required:!0})," ",m.yesValue),gn.createElement("label",null,gn.createElement("input",{type:"radio",name:t,value:"false",checked:!1===u[t],onChange:e.handleChange,"aria-label":'Disallow "'+t+'" tracking',required:!0})," ",m.noValue))),gn.createElement(vo,{scope:"row"},t),gn.createElement("td",null,gn.createElement("p",null,o)))}))))))},n.displayName="PreferenceDialog",n.defaultProps={marketingAndAnalytics:null,advertising:null,functional:null},n}(xe),ko=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),wo=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.handleSubmit=function(e){var t=n.props.onConfirm;e.preventDefault(),t()},n.handleEsc=function(e){var t=n.props.onConfirm;27===e.keyCode&&t()},n}return ko(n,e),n.prototype.render=function(){var e=this.props,n=e.innerRef,t=e.onBack,r=e.title,o=e.content,a=e.preferencesDialogTemplate,i=gn.createElement("div",null,gn.createElement(Lr,{id:"hightouchio_backDialogBtn",type:"button",onClick:t},null==a?void 0:a.cancelDialogButtons.backValue),gn.createElement(jr,{id:"hightouchio_cancelDialogBtn",type:"submit"},null==a?void 0:a.cancelDialogButtons.cancelValue));return gn.createElement(uo,{innerRef:n,title:r,buttons:i,onSubmit:this.handleSubmit,width:"500px"},o)},n.prototype.componentDidMount=function(){document.body.addEventListener("keydown",this.handleEsc,!1)},n.prototype.componentWillUnmount=function(){document.body.removeEventListener("keydown",this.handleEsc,!1)},n.displayName="CancelDialog",n}(xe),xo=["Advertising","Tag Managers"],Co=["CRM","Customer Success","Deep Linking","Helpdesk","Livechat","Performance Monitoring","Personalization","SMS & Push Notifications","Security & Fraud"],Eo=new kn.EventEmitter;function So(){Eo.emit("openDialog")}var Po=function(e){var n=gn.useState(e.workspaceAddedNewDestinations&&"ask"===e.defaultDestinationBehavior),t=n[0],r=n[1],o=gn.useState(!0),a=o[0],i=o[1],s=gn.useState(!1),c=s[0],l=s[1],u=Object.values(e.preferences||{}).every((function(e){return null==e})),f=gn.useRef(null),p=gn.useRef(null),d=gn.useRef(null),m=function(e){for(var n=[],t=[],r=[],o=function(e){xo.find((function(n){return n===e.category}))?t.push(e):Co.find((function(n){return n===e.category}))?r.push(e):n.push(e)},a=0,i=e;a<i.length;a++){o(i[a])}return{marketingDestinations:n,advertisingDestinations:t,functionalDestinations:r}}(e.destinations),h=m.marketingDestinations,_=m.advertisingDestinations,g=m.functionalDestinations,v=function(){for(var n=e.preferences,t=0,r=Object.keys(e.preferences);t<r.length;t++){var o=r[t],a=e.preferences[o];n[o]="string"!=typeof a||a}return e.setPreferences(n),e.saveConsent()},b=function(){for(var n=e.preferences,t=0,r=Object.keys(e.preferences);t<r.length;t++){var o=r[t],a=e.preferences[o];n[o]="string"==typeof a&&a}return e.setPreferences(n),e.saveConsent()},y=function(){return r(!0)},A=function(n){e.isConsentRequired&&e.implyConsentOnInteraction&&0!==e.newDestinations.length&&(f.current&&f.current.contains(n.target)||p.current&&p.current.contains(n.target)||d.current&&d.current.contains(n.target)||"subContentBtn"===n.target.id||!t&&e.implyConsentOnInteraction&&v())};gn.useEffect((function(){return Eo.on("openDialog",y),e.isConsentRequired&&e.implyConsentOnInteraction&&document.body.addEventListener("click",A,!1),function(){Eo.removeListener("openDialog",y),document.body.removeEventListener("click",A,!1)}})),gn.useEffect((function(){t&&e.resetPreferences()}),[t]);return gn.createElement(gn.Fragment,null,a&&e.isConsentRequired&&(e.newDestinations.length>0||u)&&gn.createElement(Xr,{innerRef:function(e){return f={current:e}},onClose:function(){if(void 0===e.closeBehavior||"dismiss"===e.closeBehavior)return i(!1);if("accept"===e.closeBehavior)return i(!1),v();if("deny"===e.closeBehavior)return i(!1),b();var n=e.closeBehavior(e.preferences);return e.setPreferences(n),e.saveConsent(),i(!1)},onChangePreferences:function(){return r(!0)},content:e.bannerContent,subContent:e.bannerSubContent,actionsBlock:e.bannerActionsBlock,textColor:e.bannerTextColor,backgroundColor:e.bannerBackgroundColor,onAcceptAll:v,onDenyAll:b,hideCloseButton:e.bannerHideCloseButton,asModal:e.bannerAsModal}),t&&gn.createElement(Ao,{customCategories:e.customCategories,destinations:e.destinations,preferences:e.preferences,innerRef:function(e){return p={current:e}},onCancel:function(){e.newDestinations.length>0?l(!0):(r(!1),e.resetPreferences())},onSave:function(){r(!1),e.saveConsent(void 0,!1)},onChange:function(n,t){var r;e.setPreferences(((r={})[n]=t,r))},marketingDestinations:h,advertisingDestinations:_,functionalDestinations:g,marketingAndAnalytics:e.preferences.marketingAndAnalytics,advertising:e.preferences.advertising,functional:e.preferences.functional,title:e.preferencesDialogTitle,content:e.preferencesDialogContent,preferencesDialogTemplate:e.preferencesDialogTemplate}),c&&gn.createElement(wo,{innerRef:function(e){return d={current:e}},onBack:function(){l(!1)},onConfirm:function(){l(!1),r(!1),e.resetPreferences()},title:e.cancelDialogTitle,content:e.cancelDialogContent,preferencesDialogTemplate:e.preferencesDialogTemplate}))},No=t(4),To=t.n(No),Oo=t(11),Do=t.n(Oo),Ro=function(){return(Ro=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},Mo="ht-cm-preferences";function zo(e){var n=To.a.getJSON(e||Mo);return n?{destinationPreferences:n.destination,customPreferences:n.custom}:{}}var Io=new kn.EventEmitter;function Lo(e){return Io.on("preferencesSaved",e),function(){return Io.off("preferencesSaved",e)}}function Bo(e){var n=e.destinationPreferences,t=e.customPreferences,r=e.cookieDomain,o=e.cookieName,a=e.cookieExpires,i=e.cookieAttributes,s=void 0===i?{}:i,c=window;c.htevents?(c.htevents.identify({destinationTrackingPreferences:n,categoryTrackingPreferences:t}),c.htevents.track("Consent Updated",{destinationTrackingPreferences:n,categoryTrackingPreferences:t})):console.warn("window.htevents not found...is the SDK snippet included on the page?");var l=r||Do()(window.location.href),u=a||365,f={version:1,destination:n,custom:t};To.a.set(o||Mo,f,Ro({expires:u,domain:l},s)),Io.emit("preferencesSaved",{destinationPreferences:n,customPreferences:t})}var jo=function(){return(jo=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function Fo(e){var n=e.writeKey,t=e.options,r=e.destinations,o=e.destinationPreferences,a=e.isConsentRequired,i=e.shouldReload,s=void 0===i||i,c=e.devMode,l=void 0!==c&&c,u=e.defaultDestinationBehavior,f=e.categoryPreferences,p=window;if(p.htevents){var d={All:!1,"Hightouch.io":!0};if(o){for(var m=0,h=r;m<h.length;m++){var _=h[m];if(_.id in o||"enable"!==u){var g=Boolean(o[_.id]);d[_.id]=g}else d[_.id]=!0}if(p.htevents.initialized)s&&(console.debug("reloading to apply new tracking preferences"),window.location.reload());else if(!l)if(Object.entries(d).some((function(e){var n=e[0],t=e[1];return"Hightouch.io"!==n&&t}))||Object.values(f||{}).some(Boolean)){var v=function(e,n,t){return function(r){var o=r.payload,a=r.next;o.obj.context.consent={defaultDestinationBehavior:t,categoryPreferences:n,destinationPreferences:e},a(o)}}(o,f,u);p.htevents.addSourceMiddleware(v),p.htevents.load(n,jo(jo({},t),{integrations:d}))}}else{if(a)return;p.htevents.initialized||p.htevents.load(n,t)}}}var Ho=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),Uo=function(){return(Uo=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},Yo=function(e,n,t,r){return new(t||(t=Promise))((function(o,a){function i(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,s)}c((r=r.apply(e,n||[])).next())}))},Ko=function(e,n){var t,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=n.call(e,i)}catch(e){a=[6,e],r=0}finally{t=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};function $o(e,n){var t=[];if(!n)return e;for(var r=0,o=e;r<o.length;r++){var a=o[r];void 0===n[a.id]&&t.push(a)}return t}var Go={functional:!1,marketingAndAnalytics:!1,advertising:!1,essential:!1},Vo=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isLoading:!0,destinations:[],newDestinations:[],preferences:{},destinationPreferences:{},isConsentRequired:!0,havePreferencesChanged:!1,workspaceAddedNewDestinations:!1,useDefaultCategories:!1},t.initialise=function(){return Yo(t,void 0,void 0,(function(){var e,t,r,o,a,i,s,c,l,u,f,p,d,m,h,_,g,v,b,y,A,k,w,x,C,E,S,P;return Ko(this,(function(N){switch(N.label){case 0:return e=this.props,t=e.writeKey,r=e.options,o=e.shouldRequireConsent,a=void 0===o?n.defaultProps.shouldRequireConsent:o,i=e.initialPreferences,s=e.mapCustomPreferences,c=e.defaultDestinationBehavior,l=e.cookieName,u=e.cdnHost,void 0===u?n.defaultProps.cdnHost:u,f=e.shouldReload,p=void 0===f?n.defaultProps.shouldReload:f,d=e.devMode,m=void 0===d?n.defaultProps.devMode:d,h=e.useDefaultCategories,_=void 0===h?n.defaultProps.useDefaultCategories:h,g=zo(l),v=g.destinationPreferences,b=g.customPreferences,[4,Promise.all([a(),Promise.resolve([])])];case 1:return y=N.sent(),A=y[0],k=y[1],w=$o(k,v||{}),x=v&&Object.keys(v).length>0&&w.length>0,E=Object.values(i||{}).some((function(e){return!0===e||!1===e||"N/A"===e})),S=Object.values(b||{}).every((function(e){return null==e||"N/A"===e})),s?(C=_?Go:b||i||{},(E&&S||"imply"===c&&x)&&(P=s(k,C),v=P.destinationPreferences,b=P.customPreferences,C=b)):C=_?Go:v||i,Fo({writeKey:t,options:r,destinations:k,destinationPreferences:v,isConsentRequired:A,shouldReload:p,devMode:m,defaultDestinationBehavior:c,categoryPreferences:C}),this.setState({isLoading:!1,destinations:k,newDestinations:w,preferences:C,isConsentRequired:A,destinationPreferences:v,workspaceAddedNewDestinations:Boolean(x)}),[2]}}))}))},t.handleSetPreferences=function(e){t.setState((function(n){var r=n.destinations,o=n.preferences,a=t.mergePreferences({destinations:r,newPreferences:e,existingPreferences:o});return Uo(Uo({},n),{preferences:a,havePreferencesChanged:!0})}))},t.handleResetPreferences=function(){var e,n=t.props,r=n.initialPreferences,o=n.mapCustomPreferences,a=zo(n.cookieName),i=a.destinationPreferences,s=a.customPreferences;e=o?s||r:i||r,t.setState({preferences:e})},t.handleSaveConsent=function(e,n,r){var o=t.props,a=o.writeKey,i=o.options,s=o.cookieDomain,c=o.cookieName,l=o.cookieExpires,u=o.cookieAttributes,f=o.mapCustomPreferences,p=o.defaultDestinationBehavior;t.setState((function(o){var d,m,h=o.destinations,_=o.preferences,g=o.isConsentRequired,v=t.mergePreferences({destinations:h,newPreferences:e,existingPreferences:_});if(f){var b=f(h,v);d=b.destinationPreferences,(m=b.customPreferences)?v=m:m=v}else d=v;var y=$o(h,d);return(o.havePreferencesChanged||y.length>0||"boolean"==typeof e)&&(n=!0),Bo({destinationPreferences:d,customPreferences:m,cookieDomain:s,cookieName:c,cookieExpires:l,cookieAttributes:u}),Fo({writeKey:a,options:i,destinations:h,destinationPreferences:d,isConsentRequired:g,shouldReload:n,devMode:r,defaultDestinationBehavior:p,categoryPreferences:m}),Uo(Uo({},o),{destinationPreferences:d,preferences:v,newDestinations:y})}))},t.mergePreferences=function(e){var n,t=e.destinations,r=e.existingPreferences,o=e.newPreferences;if("boolean"==typeof o){for(var a={},i=0,s=t;i<s.length;i++){a[s[i].id]=o}n=a}else n=o?Uo(Uo({},r),o):r;return n},t}return Ho(n,e),n.prototype.render=function(){var e=this.props,n=e.children,t=e.customCategories,r=this.state,o=r.isLoading,a=r.destinations,i=r.preferences,s=r.newDestinations,c=r.isConsentRequired,l=r.havePreferencesChanged,u=r.workspaceAddedNewDestinations,f=r.destinationPreferences;return o?null:n({destinations:a,customCategories:t,newDestinations:s,preferences:i,isConsentRequired:c,havePreferencesChanged:l,workspaceAddedNewDestinations:u,destinationPreferences:f,setPreferences:this.handleSetPreferences,resetPreferences:this.handleResetPreferences,saveConsent:this.handleSaveConsent})},n.prototype.componentDidMount=function(){return Yo(this,void 0,void 0,(function(){var e,n;return Ko(this,(function(t){switch(t.label){case 0:if(!(e=this.props.onError)||"function"!=typeof e)return[3,6];t.label=1;case 1:return t.trys.push([1,3,,5]),[4,this.initialise()];case 2:return t.sent(),[3,5];case 3:return n=t.sent(),[4,e(n)];case 4:return t.sent(),[3,5];case 5:return[3,8];case 6:return[4,this.initialise()];case 7:t.sent(),t.label=8;case 8:return[2]}}))}))},n.displayName="ConsentManagerBuilder",n.defaultProps={options:void 0,onError:void 0,shouldRequireConsent:function(){return!0},initialPreferences:{},cdnHost:"cdn.hightouch-events.com",shouldReload:!0,devMode:!1,useDefaultCategories:!1},n}(y),Wo=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),qo=function(){return(qo=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},Xo={marketingAndAnalytics:null,advertising:null,functional:null},Jo={headings:{allowValue:"Allow",categoryValue:"Category",purposeValue:"Purpose",toolsValue:"Tools"},checkboxes:{noValue:"No",yesValue:"Yes"},actionButtons:{cancelValue:"Cancel",saveValue:"Save"},cancelDialogButtons:{cancelValue:"Yes, Cancel",backValue:"Go Back"},categories:[{key:"functional",name:"Functional",description:"To monitor the performance of our site and to enhance your browsing experience.",example:"For example, these tools enable you to communicate with us via live chat."},{key:"marketing",name:"Marketing and Analytics",description:"To understand user behavior in order to provide you with a more relevant browsing experience or personalize the content on our site.",example:"For example, we collect information about which pages you visit to help us present more relevant information."},{key:"advertising",name:"Advertising",description:"To personalize and measure the effectiveness of advertising on our site and other websites.",example:"For example, we may serve you a personalized ad based on the pages you visit on our site."},{key:"essential",name:"Essential",description:"We use browser cookies that are necessary for the site to work as intended.",example:"For example, we store your website data collection preferences so we can honor them if you return to our site. You can disable these cookies in your browser settings but if you do the site may not work as intended."}]},Zo=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.mergeTemplates=function(e,n){return{headings:qo(qo({},n.headings),e.headings),checkboxes:qo(qo({},n.checkboxes),e.checkboxes),actionButtons:qo(qo({},n.actionButtons),e.actionButtons),cancelDialogButtons:qo(qo({},n.cancelDialogButtons),e.cancelDialogButtons),categories:null==n?void 0:n.categories.map((function(n){var t;return qo(qo({},n),null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.find((function(e){return e.key===n.key})))}))}},n.getInitialPreferences=function(){var e=n.props,t=e.initialPreferences,r=e.customCategories;if(t)return t;if(!r)return Xo;var o={};return Object.keys(r).forEach((function(e){o[e]=null})),o},n.handleMapCustomPreferences=function(e,t){var r=n.props.customCategories,o={},a={};if(r){for(var i=0,s=Object.keys(r);i<s.length;i++){var c=t[f=s[i]];a[f]="boolean"!=typeof c&&"string"!=typeof c||c}return e.forEach((function(e){Object.entries(r).forEach((function(n){var t,r=n[0],i=n[1].integrations,s=!1===o[e.id];null!==(t=null==i?void 0:i.includes(e.id))&&void 0!==t&&t&&!s&&(o[e.id]=a[r])}))})),{destinationPreferences:o,customPreferences:a}}for(var l=0,u=Object.keys(t);l<u.length;l++){var f;c=t[f=u[l]];a[f]="boolean"!=typeof c||c}for(var p=a,d=function(e){xo.find((function(n){return n===e.category}))&&!1!==o[e.id]&&(o[e.id]=p.advertising),Co.find((function(n){return n===e.category}))&&!1!==o[e.id]&&(o[e.id]=p.functional),e.id in o||(o[e.id]=p.marketingAndAnalytics)},m=0,h=e;m<h.length;m++){d(h[m])}return{destinationPreferences:o,customPreferences:a}},n}return Wo(n,e),n.prototype.render=function(){var e=this,t=this.props,r=t.writeKey,o=t.options,a=t.shouldRequireConsent,i=t.implyConsentOnInteraction,s=t.cookieDomain,c=t.cookieName,l=t.cookieExpires,u=t.cookieAttributes,f=t.bannerContent,p=t.bannerActionsBlock,d=t.bannerSubContent,m=t.bannerTextColor,h=t.bannerBackgroundColor,_=t.bannerHideCloseButton,g=t.bannerAsModal,v=t.preferencesDialogTitle,b=t.preferencesDialogContent,y=t.cancelDialogTitle,A=t.cancelDialogContent,k=t.customCategories,w=t.defaultDestinationBehavior,x=t.cdnHost,C=t.preferencesDialogTemplate,E=t.onError;return gn.createElement(Vo,{onError:E,writeKey:r,options:o,shouldRequireConsent:a,cookieDomain:s,cookieName:c,cookieExpires:l,cookieAttributes:u,initialPreferences:this.getInitialPreferences(),mapCustomPreferences:this.handleMapCustomPreferences,customCategories:k,defaultDestinationBehavior:w,cdnHost:x},(function(t){var r=t.destinations,o=t.customCategories,a=t.newDestinations,s=t.preferences,c=t.isConsentRequired,l=t.setPreferences,u=t.resetPreferences,k=t.saveConsent,x=t.havePreferencesChanged,E=t.workspaceAddedNewDestinations;return gn.createElement(Po,{customCategories:o,destinations:r,newDestinations:a,preferences:s,isConsentRequired:c,setPreferences:l,resetPreferences:u,saveConsent:k,closeBehavior:e.props.closeBehavior,implyConsentOnInteraction:null!=i?i:n.defaultProps.implyConsentOnInteraction,bannerContent:f,bannerSubContent:d,bannerActionsBlock:p,bannerHideCloseButton:_,bannerTextColor:m||n.defaultProps.bannerTextColor,bannerBackgroundColor:h||n.defaultProps.bannerBackgroundColor,bannerAsModal:g,preferencesDialogTitle:v,preferencesDialogContent:b,cancelDialogTitle:y,cancelDialogContent:A,havePreferencesChanged:x,defaultDestinationBehavior:w,workspaceAddedNewDestinations:E,preferencesDialogTemplate:C?e.mergeTemplates(C,Jo):n.defaultProps.preferencesDialogTemplate})}))},n.displayName="ConsentManager",n.defaultProps={options:void 0,shouldRequireConsent:function(){return!0},implyConsentOnInteraction:!1,onError:void 0,cookieDomain:void 0,cookieName:void 0,cookieExpires:void 0,cookieAttributes:{},customCategories:void 0,bannerActionsBlock:void 0,bannerHideCloseButton:!1,bannerTextColor:"#fff",bannerContent:"We use cookies (and other similar technologies) to collect data to improve your experience on our site. By using our website, you’re agreeing to the collection of data as described in our Privacy Policy.",bannerSubContent:"You can change your preferences at any time.",bannerBackgroundColor:"#1f4160",preferencesDialogTitle:"Website Data Collection Preferences",preferencesDialogContent:gn.createElement("div",null,gn.createElement("p",null,"We use data collected by cookies and JavaScript libraries to improve your browsing experience, analyze site traffic, deliver personalized advertisements, and increase the overall performance of our site."),gn.createElement("p",null,"By using our website, you’re agreeing to our Privacy Policy."),gn.createElement("p",null,"The table below outlines how we use this data by category. To opt out of a category of data collection, select “No” and save your preferences.")),cancelDialogTitle:"Are you sure you want to cancel?",cancelDialogContent:"Your preferences have not been saved. By continuing to use our website, you’re agreeing to our Privacy Policy.",defaultDestinationBehavior:"disable",preferencesDialogTemplate:Jo},n}(xe),Qo=Zo;function ea(){if("undefined"!=typeof window&&(window.navigator||navigator)){var e=navigator,n=e.doNotTrack||window.doNotTrack||e.msDoNotTrack;if("yes"===n?n="1":"no"===n&&(n="0"),"1"===n)return!0;if("0"===n)return!1}return null}var na,ta=function(){return(ta=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},ra="0.0.1",oa={},aa=window;if(!aa.consentManagerConfig||"function"!=typeof aa.consentManagerConfig)throw new Error("window.consentManagerConfig should be a function");if(!(na=(oa=aa.consentManagerConfig({React:gn,version:ra,openConsentManager:So,doNotTrack:ea,inEU:bn.a,preferences:o,inRegions:An.a})).container))throw new Error("ConsentManager: container is required");if(!oa.writeKey)throw new Error("ConsentManager: writeKey is required");if("string"==typeof oa.implyConsentOnInteraction&&(oa.implyConsentOnInteraction="true"===oa.implyConsentOnInteraction),void 0!==oa.closeBehavior&&"string"==typeof oa.closeBehavior){var ia=["accept","deny","dismiss"];if(!ia.includes(oa.closeBehavior))throw new Error("ConsentManager: closeBehavior should be one of "+ia)}var sa=document.querySelector(na);if(!sa)throw new Error("ConsentManager: container not found");gn.render(gn.createElement(Qo,ta({},oa)),sa)}]);
22
+ */var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,_=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,A=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case o:switch(e=e.type){case f:case p:case i:case c:case s:case m:return e;default:switch(e=e&&e.$$typeof){case u:case d:case g:case _:case l:return e;default:return n}}case a:return n}}}function w(e){return k(e)===p}n.AsyncMode=f,n.ConcurrentMode=p,n.ContextConsumer=u,n.ContextProvider=l,n.Element=o,n.ForwardRef=d,n.Fragment=i,n.Lazy=g,n.Memo=_,n.Portal=a,n.Profiler=c,n.StrictMode=s,n.Suspense=m,n.isAsyncMode=function(e){return w(e)||k(e)===f},n.isConcurrentMode=w,n.isContextConsumer=function(e){return k(e)===u},n.isContextProvider=function(e){return k(e)===l},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},n.isForwardRef=function(e){return k(e)===d},n.isFragment=function(e){return k(e)===i},n.isLazy=function(e){return k(e)===g},n.isMemo=function(e){return k(e)===_},n.isPortal=function(e){return k(e)===a},n.isProfiler=function(e){return k(e)===c},n.isStrictMode=function(e){return k(e)===s},n.isSuspense=function(e){return k(e)===m},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===c||e===s||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===_||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===A||e.$$typeof===v)},n.typeOf=k},function(e,n){function t(e){switch(e){case"http:":return 80;case"https:":return 443;default:return location.port}}n.parse=function(e){var n=document.createElement("a");return n.href=e,{href:n.href,host:n.host||location.host,port:"0"===n.port||""===n.port?t(n.protocol):n.port,hash:n.hash,hostname:n.hostname||location.hostname,pathname:"/"!=n.pathname.charAt(0)?"/"+n.pathname:n.pathname,protocol:n.protocol&&":"!=n.protocol?n.protocol:location.protocol,search:n.search,query:n.search.slice(1)}},n.isAbsolute=function(e){return 0==e.indexOf("//")||!!~e.indexOf("://")},n.isRelative=function(e){return!n.isAbsolute(e)},n.isCrossDomain=function(e){e=n.parse(e);var t=n.parse(window.location.href);return e.hostname!==t.hostname||e.port!==t.port||e.protocol!==t.protocol}},function(e,n,t){var r=t(20)("cookie");function o(e,n,t){t=t||{};var r=s(e)+"="+s(n);null==n&&(t.maxage=-1),t.maxage&&(t.expires=new Date(+new Date+t.maxage)),t.path&&(r+="; path="+t.path),t.domain&&(r+="; domain="+t.domain),t.expires&&(r+="; expires="+t.expires.toUTCString()),t.secure&&(r+="; secure"),document.cookie=r}function a(){var e;try{e=document.cookie}catch(e){return"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e.stack||e),{}}return function(e){var n,t={},r=e.split(/ *; */);if(""==r[0])return t;for(var o=0;o<r.length;++o)n=r[o].split("="),t[c(n[0])]=c(n[1]);return t}(e)}function i(e){return a()[e]}function s(e){try{return encodeURIComponent(e)}catch(n){r("error `encode(%o)` - %o",e,n)}}function c(e){try{return decodeURIComponent(e)}catch(n){r("error `decode(%o)` - %o",e,n)}}e.exports=function(e,n,t){switch(arguments.length){case 3:case 2:return o(e,n,t);case 1:return i(e);default:return a()}}},function(e,n,t){(function(r){function o(){var e;try{e=n.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=Object({NODE_ENV:"production",VERSION:"0.1.0"}).DEBUG),e}(n=e.exports=t(22)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(e){var t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+n.humanize(this.diff),!t)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,a=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(a=o))})),e.splice(a,0,r)},n.save=function(e){try{null==e?n.storage.removeItem("debug"):n.storage.debug=e}catch(e){}},n.load=o,n.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),n.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],n.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},n.enable(o())}).call(this,t(21))},function(e,n){var t,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var c,l=[],u=!1,f=-1;function p(){u&&c&&(u=!1,c.length?l=c.concat(l):f=-1,l.length&&d())}function d(){if(!u){var e=s(p);u=!0;for(var n=l.length;n;){for(c=l,l=[];++f<n;)c&&c[f].run();f=-1,n=l.length}c=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(n){try{return r.call(null,e)}catch(n){return r.call(this,e)}}}(e)}}function m(e,n){this.fun=e,this.array=n}function h(){}o.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];l.push(new m(e,n)),1!==l.length||u||s(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,n,t){var r;function o(e){function t(){if(t.enabled){var e=t,o=+new Date,a=o-(r||o);e.diff=a,e.prev=r,e.curr=o,r=o;for(var i=new Array(arguments.length),s=0;s<i.length;s++)i[s]=arguments[s];i[0]=n.coerce(i[0]),"string"!=typeof i[0]&&i.unshift("%O");var c=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,(function(t,r){if("%%"===t)return t;c++;var o=n.formatters[r];if("function"==typeof o){var a=i[c];t=o.call(e,a),i.splice(c,1),c--}return t})),n.formatArgs.call(e,i);var l=t.log||n.log||console.log.bind(console);l.apply(e,i)}}return t.namespace=e,t.enabled=n.enabled(e),t.useColors=n.useColors(),t.color=function(e){var t,r=0;for(t in e)r=(r<<5)-r+e.charCodeAt(t),r|=0;return n.colors[Math.abs(r)%n.colors.length]}(e),"function"==typeof n.init&&n.init(t),t}(n=e.exports=o.debug=o.default=o).coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){n.enable("")},n.enable=function(e){n.save(e),n.names=[],n.skips=[];for(var t=("string"==typeof e?e:"").split(/[\s,]+/),r=t.length,o=0;o<r;o++)t[o]&&("-"===(e=t[o].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")))},n.enabled=function(e){var t,r;for(t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=t(23),n.names=[],n.skips=[],n.formatters={}},function(e,n){var t=1e3,r=6e4,o=60*r,a=24*o;function i(e,n,t){if(!(e<n))return e<1.5*n?Math.floor(e/n)+" "+t:Math.ceil(e/n)+" "+t+"s"}e.exports=function(e,n){n=n||{};var s,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!n)return;var i=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"days":case"day":case"d":return i*a;case"hours":case"hour":case"hrs":case"hr":case"h":return i*o;case"minutes":case"minute":case"mins":case"min":case"m":return i*r;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}(e);if("number"===c&&!1===isNaN(e))return n.long?i(s=e,a,"day")||i(s,o,"hour")||i(s,r,"minute")||i(s,t,"second")||s+" ms":function(e){if(e>=a)return Math.round(e/a)+"d";if(e>=o)return Math.round(e/o)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,n,t){"use strict";t.r(n),t.d(n,"version",(function(){return ra})),t.d(n,"openConsentManager",(function(){return So})),t.d(n,"doNotTrack",(function(){return ea})),t.d(n,"inEU",(function(){return bn.a})),t.d(n,"preferences",(function(){return o}));var r={};t.r(r),t.d(r,"Component",(function(){return y})),t.d(r,"Fragment",(function(){return b})),t.d(r,"createContext",(function(){return U})),t.d(r,"createElement",(function(){return _})),t.d(r,"createRef",(function(){return v})),t.d(r,"useCallback",(function(){return le})),t.d(r,"useContext",(function(){return ue})),t.d(r,"useDebugValue",(function(){return fe})),t.d(r,"useEffect",(function(){return oe})),t.d(r,"useErrorBoundary",(function(){return pe})),t.d(r,"useId",(function(){return de})),t.d(r,"useImperativeHandle",(function(){return se})),t.d(r,"useLayoutEffect",(function(){return ae})),t.d(r,"useMemo",(function(){return ce})),t.d(r,"useReducer",(function(){return re})),t.d(r,"useRef",(function(){return ie})),t.d(r,"useState",(function(){return te})),t.d(r,"Children",(function(){return Te})),t.d(r,"PureComponent",(function(){return xe})),t.d(r,"StrictMode",(function(){return fn})),t.d(r,"Suspense",(function(){return Re})),t.d(r,"SuspenseList",(function(){return Ie})),t.d(r,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return nn})),t.d(r,"cloneElement",(function(){return an})),t.d(r,"createFactory",(function(){return rn})),t.d(r,"createPortal",(function(){return Fe})),t.d(r,"default",(function(){return gn})),t.d(r,"findDOMNode",(function(){return cn})),t.d(r,"flushSync",(function(){return un})),t.d(r,"forwardRef",(function(){return Pe})),t.d(r,"hydrate",(function(){return Ge})),t.d(r,"isValidElement",(function(){return on})),t.d(r,"lazy",(function(){return ze})),t.d(r,"memo",(function(){return Ce})),t.d(r,"render",(function(){return $e})),t.d(r,"startTransition",(function(){return pn})),t.d(r,"unmountComponentAtNode",(function(){return sn})),t.d(r,"unstable_batchedUpdates",(function(){return ln})),t.d(r,"useDeferredValue",(function(){return dn})),t.d(r,"useInsertionEffect",(function(){return hn})),t.d(r,"useSyncExternalStore",(function(){return _n})),t.d(r,"useTransition",(function(){return mn})),t.d(r,"version",(function(){return tn}));var o={};t.r(o),t.d(o,"DEFAULT_COOKIE_NAME",(function(){return Mo})),t.d(o,"loadPreferences",(function(){return zo})),t.d(o,"onPreferencesSaved",(function(){return Lo})),t.d(o,"savePreferences",(function(){return Bo}));var a,i,s,c,l,u,f={},p=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function m(e,n){for(var t in n)e[t]=n[t];return e}function h(e){var n=e.parentNode;n&&n.removeChild(e)}function _(e,n,t){var r,o,i,s={};for(i in n)"key"==i?r=n[i]:"ref"==i?o=n[i]:s[i]=n[i];if(arguments.length>2&&(s.children=arguments.length>3?a.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===s[i]&&(s[i]=e.defaultProps[i]);return g(e,s,r,o,null)}function g(e,n,t,r,o){var a={type:e,props:n,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++s:o};return null==o&&null!=i.vnode&&i.vnode(a),a}function v(){return{current:null}}function b(e){return e.children}function y(e,n){this.props=e,this.context=n}function A(e,n){if(null==n)return e.__?A(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?A(e):null}function k(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return k(e)}}function w(e){(!e.__d&&(e.__d=!0)&&c.push(e)&&!x.__r++||l!==i.debounceRendering)&&((l=i.debounceRendering)||setTimeout)(x)}function x(){for(var e;x.__r=c.length;)e=c.sort((function(e,n){return e.__v.__b-n.__v.__b})),c=[],e.some((function(e){var n,t,r,o,a,i;e.__d&&(a=(o=(n=e).__v).__e,(i=n.__P)&&(t=[],(r=m({},o)).__v=o.__v+1,R(i,o,r,n.__n,void 0!==i.ownerSVGElement,null!=o.__h?[a]:null,t,null==a?A(o):a,o.__h),M(t,o),o.__e!=a&&k(o)))}))}function C(e,n,t,r,o,a,i,s,c,l){var u,d,m,h,_,v,y,k=r&&r.__k||p,w=k.length;for(t.__k=[],u=0;u<n.length;u++)if(null!=(h=t.__k[u]=null==(h=n[u])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?g(null,h,null,null,h):Array.isArray(h)?g(b,{children:h},null,null,null):h.__b>0?g(h.type,h.props,h.key,h.ref?h.ref:null,h.__v):h)){if(h.__=t,h.__b=t.__b+1,null===(m=k[u])||m&&h.key==m.key&&h.type===m.type)k[u]=void 0;else for(d=0;d<w;d++){if((m=k[d])&&h.key==m.key&&h.type===m.type){k[d]=void 0;break}m=null}R(e,h,m=m||f,o,a,i,s,c,l),_=h.__e,(d=h.ref)&&m.ref!=d&&(y||(y=[]),m.ref&&y.push(m.ref,null,h),y.push(d,h.__c||_,h)),null!=_?(null==v&&(v=_),"function"==typeof h.type&&h.__k===m.__k?h.__d=c=E(h,c,e):c=P(e,h,m,k,_,c),"function"==typeof t.type&&(t.__d=c)):c&&m.__e==c&&c.parentNode!=e&&(c=A(m))}for(t.__e=v,u=w;u--;)null!=k[u]&&L(k[u],k[u]);if(y)for(u=0;u<y.length;u++)I(y[u],y[++u],y[++u])}function E(e,n,t){for(var r,o=e.__k,a=0;o&&a<o.length;a++)(r=o[a])&&(r.__=e,n="function"==typeof r.type?E(r,n,t):P(t,r,r,o,r.__e,n));return n}function S(e,n){return n=n||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){S(e,n)})):n.push(e)),n}function P(e,n,t,r,o,a){var i,s,c;if(void 0!==n.__d)i=n.__d,n.__d=void 0;else if(null==t||o!=a||null==o.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(o),i=null;else{for(s=a,c=0;(s=s.nextSibling)&&c<r.length;c+=1)if(s==o)break e;e.insertBefore(o,a),i=a}return void 0!==i?i:o.nextSibling}function N(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||d.test(n)?t:t+"px"}function T(e,n,t,r,o){var a;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(n in r)t&&n in t||N(e.style,n,"");if(t)for(n in t)r&&t[n]===r[n]||N(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])a=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+a]=t,t?r||e.addEventListener(n,a?D:O,a):e.removeEventListener(n,a?D:O,a);else if("dangerouslySetInnerHTML"!==n){if(o)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null==t||!1===t&&-1==n.indexOf("-")?e.removeAttribute(n):e.setAttribute(n,t))}}function O(e){this.l[e.type+!1](i.event?i.event(e):e)}function D(e){this.l[e.type+!0](i.event?i.event(e):e)}function R(e,n,t,r,o,a,s,c,l){var u,f,p,d,h,_,g,v,A,k,w,x,E,S,P,N=n.type;if(void 0!==n.constructor)return null;null!=t.__h&&(l=t.__h,c=n.__e=t.__e,n.__h=null,a=[c]),(u=i.__b)&&u(n);try{e:if("function"==typeof N){if(v=n.props,A=(u=N.contextType)&&r[u.__c],k=u?A?A.props.value:u.__:r,t.__c?g=(f=n.__c=t.__c).__=f.__E:("prototype"in N&&N.prototype.render?n.__c=f=new N(v,k):(n.__c=f=new y(v,k),f.constructor=N,f.render=B),A&&A.sub(f),f.props=v,f.state||(f.state={}),f.context=k,f.__n=r,p=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=N.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=m({},f.__s)),m(f.__s,N.getDerivedStateFromProps(v,f.__s))),d=f.props,h=f.state,p)null==N.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==N.getDerivedStateFromProps&&v!==d&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(v,k),!f.__e&&null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(v,f.__s,k)||n.__v===t.__v){for(f.props=v,f.state=f.__s,n.__v!==t.__v&&(f.__d=!1),f.__v=n,n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),w=0;w<f._sb.length;w++)f.__h.push(f._sb[w]);f._sb=[],f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(v,f.__s,k),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(d,h,_)}))}if(f.context=k,f.props=v,f.__v=n,f.__P=e,x=i.__r,E=0,"prototype"in N&&N.prototype.render){for(f.state=f.__s,f.__d=!1,x&&x(n),u=f.render(f.props,f.state,f.context),S=0;S<f._sb.length;S++)f.__h.push(f._sb[S]);f._sb=[]}else do{f.__d=!1,x&&x(n),u=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++E<25);f.state=f.__s,null!=f.getChildContext&&(r=m(m({},r),f.getChildContext())),p||null==f.getSnapshotBeforeUpdate||(_=f.getSnapshotBeforeUpdate(d,h)),P=null!=u&&u.type===b&&null==u.key?u.props.children:u,C(e,Array.isArray(P)?P:[P],n,t,r,o,a,s,c,l),f.base=n.__e,n.__h=null,f.__h.length&&s.push(f),g&&(f.__E=f.__=null),f.__e=!1}else null==a&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=z(t.__e,n,t,r,o,a,s,l);(u=i.diffed)&&u(n)}catch(e){n.__v=null,(l||null!=a)&&(n.__e=c,n.__h=!!l,a[a.indexOf(c)]=null),i.__e(e,n,t)}}function M(e,n){i.__c&&i.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){i.__e(e,n.__v)}}))}function z(e,n,t,r,o,i,s,c){var l,u,p,d=t.props,m=n.props,_=n.type,g=0;if("svg"===_&&(o=!0),null!=i)for(;g<i.length;g++)if((l=i[g])&&"setAttribute"in l==!!_&&(_?l.localName===_:3===l.nodeType)){e=l,i[g]=null;break}if(null==e){if(null===_)return document.createTextNode(m);e=o?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,m.is&&m),i=null,c=!1}if(null===_)d===m||c&&e.data===m||(e.data=m);else{if(i=i&&a.call(e.childNodes),u=(d=t.props||f).dangerouslySetInnerHTML,p=m.dangerouslySetInnerHTML,!c){if(null!=i)for(d={},g=0;g<e.attributes.length;g++)d[e.attributes[g].name]=e.attributes[g].value;(p||u)&&(p&&(u&&p.__html==u.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,n,t,r,o){var a;for(a in t)"children"===a||"key"===a||a in n||T(e,a,null,t[a],r);for(a in n)o&&"function"!=typeof n[a]||"children"===a||"key"===a||"value"===a||"checked"===a||t[a]===n[a]||T(e,a,n[a],t[a],r)}(e,m,d,o,c),p)n.__k=[];else if(g=n.props.children,C(e,Array.isArray(g)?g:[g],n,t,r,o&&"foreignObject"!==_,i,s,i?i[0]:t.__k&&A(t,0),c),null!=i)for(g=i.length;g--;)null!=i[g]&&h(i[g]);c||("value"in m&&void 0!==(g=m.value)&&(g!==e.value||"progress"===_&&!g||"option"===_&&g!==d.value)&&T(e,"value",g,d.value,!1),"checked"in m&&void 0!==(g=m.checked)&&g!==e.checked&&T(e,"checked",g,d.checked,!1))}return e}function I(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){i.__e(e,t)}}function L(e,n,t){var r,o;if(i.unmount&&i.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||I(r,null,n)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){i.__e(e,n)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&L(r[o],n,t||"function"!=typeof e.type);t||null==e.__e||h(e.__e),e.__=e.__e=e.__d=void 0}function B(e,n,t){return this.constructor(e,t)}function j(e,n,t){var r,o,s;i.__&&i.__(e,n),o=(r="function"==typeof t)?null:t&&t.__k||n.__k,s=[],R(n,e=(!r&&t||n).__k=_(b,null,[e]),o||f,f,void 0!==n.ownerSVGElement,!r&&t?[t]:o?null:n.firstChild?a.call(n.childNodes):null,s,!r&&t?t:o?o.__e:n.firstChild,r),M(s,e)}function F(e,n){j(e,n,F)}function H(e,n,t){var r,o,i,s=m({},e.props);for(i in n)"key"==i?r=n[i]:"ref"==i?o=n[i]:s[i]=n[i];return arguments.length>2&&(s.children=arguments.length>3?a.call(arguments,2):t),g(e.type,s,r||e.key,o||e.ref,null)}function U(e,n){var t={__c:n="__cC"+u++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,r;return this.getChildContext||(t=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(w)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t}a=p.slice,i={__e:function(e,n,t,r){for(var o,a,i;n=n.__;)if((o=n.__c)&&!o.__)try{if((a=o.constructor)&&null!=a.getDerivedStateFromError&&(o.setState(a.getDerivedStateFromError(e)),i=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),i=o.__d),i)return o.__E=o}catch(n){e=n}throw e}},s=0,y.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},t),this.props)),e&&m(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),w(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},y.prototype.render=b,c=[],x.__r=0,u=0;var Y,K,$,G,V=0,W=[],q=[],X=i.__b,J=i.__r,Z=i.diffed,Q=i.__c,ee=i.unmount;function ne(e,n){i.__h&&i.__h(K,e,V||n),V=0;var t=K.__H||(K.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({__V:q}),t.__[e]}function te(e){return V=1,re(ye,e)}function re(e,n,t){var r=ne(Y++,2);if(r.t=e,!r.__c&&(r.__=[t?t(n):ye(void 0,n),function(e){var n=r.__N?r.__N[0]:r.__[0],t=r.t(n,e);n!==t&&(r.__N=[t,r.__[1]],r.__c.setState({}))}],r.__c=K,!K.u)){K.u=!0;var o=K.shouldComponentUpdate;K.shouldComponentUpdate=function(e,n,t){if(!r.__c.__H)return!0;var a=r.__c.__H.__.filter((function(e){return e.__c}));if(a.every((function(e){return!e.__N})))return!o||o.call(this,e,n,t);var i=!1;return a.forEach((function(e){if(e.__N){var n=e.__[0];e.__=e.__N,e.__N=void 0,n!==e.__[0]&&(i=!0)}})),!(!i&&r.__c.props===e)&&(!o||o.call(this,e,n,t))}}return r.__N||r.__}function oe(e,n){var t=ne(Y++,3);!i.__s&&be(t.__H,n)&&(t.__=e,t.i=n,K.__H.__h.push(t))}function ae(e,n){var t=ne(Y++,4);!i.__s&&be(t.__H,n)&&(t.__=e,t.i=n,K.__h.push(t))}function ie(e){return V=5,ce((function(){return{current:e}}),[])}function se(e,n,t){V=6,ae((function(){return"function"==typeof e?(e(n()),function(){return e(null)}):e?(e.current=n(),function(){return e.current=null}):void 0}),null==t?t:t.concat(e))}function ce(e,n){var t=ne(Y++,7);return be(t.__H,n)?(t.__V=e(),t.i=n,t.__h=e,t.__V):t.__}function le(e,n){return V=8,ce((function(){return e}),n)}function ue(e){var n=K.context[e.__c],t=ne(Y++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(K)),n.props.value):e.__}function fe(e,n){i.useDebugValue&&i.useDebugValue(n?n(e):e)}function pe(e){var n=ne(Y++,10),t=te();return n.__=e,K.componentDidCatch||(K.componentDidCatch=function(e,r){n.__&&n.__(e,r),t[1](e)}),[t[0],function(){t[1](void 0)}]}function de(){var e=ne(Y++,11);if(!e.__){for(var n=K.__v;null!==n&&!n.__m&&null!==n.__;)n=n.__;var t=n.__m||(n.__m=[0,0]);e.__="P"+t[0]+"-"+t[1]++}return e.__}function me(){for(var e;e=W.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ge),e.__H.__h.forEach(ve),e.__H.__h=[]}catch(n){e.__H.__h=[],i.__e(n,e.__v)}}i.__b=function(e){K=null,X&&X(e)},i.__r=function(e){J&&J(e),Y=0;var n=(K=e.__c).__H;n&&($===K?(n.__h=[],K.__h=[],n.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=q,e.__N=e.i=void 0}))):(n.__h.forEach(ge),n.__h.forEach(ve),n.__h=[])),$=K},i.diffed=function(e){Z&&Z(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==W.push(n)&&G===i.requestAnimationFrame||((G=i.requestAnimationFrame)||_e)(me)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==q&&(e.__=e.__V),e.i=void 0,e.__V=q}))),$=K=null},i.__c=function(e,n){n.some((function(e){try{e.__h.forEach(ge),e.__h=e.__h.filter((function(e){return!e.__||ve(e)}))}catch(t){n.some((function(e){e.__h&&(e.__h=[])})),n=[],i.__e(t,e.__v)}})),Q&&Q(e,n)},i.unmount=function(e){ee&&ee(e);var n,t=e.__c;t&&t.__H&&(t.__H.__.forEach((function(e){try{ge(e)}catch(e){n=e}})),t.__H=void 0,n&&i.__e(n,t.__v))};var he="function"==typeof requestAnimationFrame;function _e(e){var n,t=function(){clearTimeout(r),he&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);he&&(n=requestAnimationFrame(t))}function ge(e){var n=K,t=e.__c;"function"==typeof t&&(e.__c=void 0,t()),K=n}function ve(e){var n=K;e.__c=e.__(),K=n}function be(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function ye(e,n){return"function"==typeof n?n(e):n}function Ae(e,n){for(var t in n)e[t]=n[t];return e}function ke(e,n){for(var t in e)if("__source"!==t&&!(t in n))return!0;for(var r in n)if("__source"!==r&&e[r]!==n[r])return!0;return!1}function we(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n}function xe(e){this.props=e}function Ce(e,n){function t(e){var t=this.props.ref,r=t==e.ref;return!r&&t&&(t.call?t(null):t.current=null),n?!n(this.props,e)||!r:ke(this.props,e)}function r(n){return this.shouldComponentUpdate=t,_(e,n)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(xe.prototype=new y).isPureReactComponent=!0,xe.prototype.shouldComponentUpdate=function(e,n){return ke(this.props,e)||ke(this.state,n)};var Ee=i.__b;i.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ee&&Ee(e)};var Se="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Pe(e){function n(n){var t=Ae({},n);return delete t.ref,e(t,n.ref||null)}return n.$$typeof=Se,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n}var Ne=function(e,n){return null==e?null:S(S(e).map(n))},Te={map:Ne,forEach:Ne,count:function(e){return e?S(e).length:0},only:function(e){var n=S(e);if(1!==n.length)throw"Children.only";return n[0]},toArray:S},Oe=i.__e;i.__e=function(e,n,t,r){if(e.then)for(var o,a=n;a=a.__;)if((o=a.__c)&&o.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),o.__c(e,n);Oe(e,n,t,r)};var De=i.unmount;function Re(){this.__u=0,this.t=null,this.__b=null}function Me(e){var n=e.__.__c;return n&&n.__a&&n.__a(e)}function ze(e){var n,t,r;function o(o){if(n||(n=e()).then((function(e){t=e.default||e}),(function(e){r=e})),r)throw r;if(!t)throw n;return _(t,o)}return o.displayName="Lazy",o.__f=!0,o}function Ie(){this.u=null,this.o=null}i.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&!0===e.__h&&(e.type=null),De&&De(e)},(Re.prototype=new y).__c=function(e,n){var t=n.__c,r=this;null==r.t&&(r.t=[]),r.t.push(t);var o=Me(r.__v),a=!1,i=function(){a||(a=!0,t.__R=null,o?o(s):s())};t.__R=i;var s=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=function e(n,t,r){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)})),n.__c&&n.__c.__P===t&&(n.__e&&r.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=r)),n}(e,e.__c.__P,e.__c.__O)}var n;for(r.setState({__a:r.__b=null});n=r.t.pop();)n.forceUpdate()}},c=!0===n.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},Re.prototype.componentWillUnmount=function(){this.t=[]},Re.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(n,t,r){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),n.__c.__H=null),null!=(n=Ae({},n)).__c&&(n.__c.__P===r&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)}))),n}(this.__b,t,r.__O=r.__P)}this.__b=null}var o=n.__a&&_(b,null,e.fallback);return o&&(o.__h=null),[_(b,null,n.__a?null:e.children),o]};var Le=function(e,n,t){if(++t[1]===t[0]&&e.o.delete(n),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(t=e.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.u=t=t[2]}};function Be(e){return this.getChildContext=function(){return e.context},e.children}function je(e){var n=this,t=e.i;n.componentWillUnmount=function(){j(null,n.l),n.l=null,n.i=null},n.i&&n.i!==t&&n.componentWillUnmount(),e.__v?(n.l||(n.i=t,n.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(e){this.childNodes.push(e),n.i.appendChild(e)},insertBefore:function(e,t){this.childNodes.push(e),n.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),n.i.removeChild(e)}}),j(_(Be,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}function Fe(e,n){var t=_(je,{__v:e,i:n});return t.containerInfo=n,t}(Ie.prototype=new y).__a=function(e){var n=this,t=Me(n.__v),r=n.o.get(e);return r[0]++,function(o){var a=function(){n.props.revealOrder?(r.push(o),Le(n,e,r)):o()};t?t(a):a()}},Ie.prototype.render=function(e){this.u=null,this.o=new Map;var n=S(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&n.reverse();for(var t=n.length;t--;)this.o.set(n[t],this.u=[1,0,this.u]);return e.children},Ie.prototype.componentDidUpdate=Ie.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){Le(e,t,n)}))};var He="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ue=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ye="undefined"!=typeof document,Ke=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function $e(e,n,t){return null==n.__k&&(n.textContent=""),j(e,n),"function"==typeof t&&t(),e?e.__c:null}function Ge(e,n,t){return F(e,n),"function"==typeof t&&t(),e?e.__c:null}y.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(y.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var Ve=i.event;function We(){}function qe(){return this.cancelBubble}function Xe(){return this.defaultPrevented}i.event=function(e){return Ve&&(e=Ve(e)),e.persist=We,e.isPropagationStopped=qe,e.isDefaultPrevented=Xe,e.nativeEvent=e};var Je,Ze={configurable:!0,get:function(){return this.class}},Qe=i.vnode;i.vnode=function(e){var n=e.type,t=e.props,r=t;if("string"==typeof n){var o=-1===n.indexOf("-");for(var a in r={},t){var i=t[a];Ye&&"children"===a&&"noscript"===n||"value"===a&&"defaultValue"in t&&null==i||("defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===i?i="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+n)&&!Ke(t.type)?a="oninput":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(a)?a=a.toLowerCase():o&&Ue.test(a)?a=a.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===i&&(i=void 0),/^oninput$/i.test(a)&&(a=a.toLowerCase(),r[a]&&(a="oninputCapture")),r[a]=i)}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=S(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=S(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,t.class!=t.className&&(Ze.enumerable="className"in t,null!=t.className&&(r.class=t.className),Object.defineProperty(r,"className",Ze))}e.$$typeof=He,Qe&&Qe(e)};var en=i.__r;i.__r=function(e){en&&en(e),Je=e.__c};var nn={ReactCurrentDispatcher:{current:{readContext:function(e){return Je.__n[e.__c].props.value}}}},tn="17.0.2";function rn(e){return _.bind(null,e)}function on(e){return!!e&&e.$$typeof===He}function an(e){return on(e)?H.apply(null,arguments):e}function sn(e){return!!e.__k&&(j(null,e),!0)}function cn(e){return e&&(e.base||1===e.nodeType&&e)||null}var ln=function(e,n){return e(n)},un=function(e,n){return e(n)},fn=b;function pn(e){e()}function dn(e){return e}function mn(){return[!1,pn]}var hn=ae;function _n(e,n){var t=n(),r=te({h:{__:t,v:n}}),o=r[0].h,a=r[1];return ae((function(){o.__=t,o.v=n,we(o.__,n())||a({h:o})}),[e,t,n]),oe((function(){return we(o.__,o.v())||a({h:o}),e((function(){we(o.__,o.v())||a({h:o})}))}),[e]),t}var gn={useState:te,useId:de,useReducer:re,useEffect:oe,useLayoutEffect:ae,useInsertionEffect:hn,useTransition:mn,useDeferredValue:dn,useSyncExternalStore:_n,startTransition:pn,useRef:ie,useImperativeHandle:se,useMemo:ce,useCallback:le,useContext:ue,useDebugValue:fe,version:"17.0.2",Children:Te,render:$e,hydrate:Ge,unmountComponentAtNode:sn,createPortal:Fe,createElement:_,createContext:U,createFactory:rn,cloneElement:an,createRef:v,Fragment:b,isValidElement:on,findDOMNode:cn,Component:y,PureComponent:xe,memo:Ce,forwardRef:Pe,flushSync:un,unstable_batchedUpdates:ln,StrictMode:fn,Suspense:Re,SuspenseList:Ie,lazy:ze,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:nn},vn=t(2),bn=t.n(vn),yn=t(9),An=t.n(yn),kn=t(0);t(8);var wn=function(e){var n=Object.create(null);return function(t){return void 0===n[t]&&(n[t]=e(t)),n[t]}},xn=/^((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|download|draggable|encType|enterKeyHint|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|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)-.*))$/,Cn=wn((function(e){return xn.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function En(){return(En=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}var Sn=function(){function e(e){var n=this;this._insertTag=function(e){var t;t=0===n.tags.length?n.insertionPoint?n.insertionPoint.nextSibling:n.prepend?n.container.firstChild:n.before:n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(e,t),n.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 n=e.prototype;return n.hydrate=function(e){e.forEach(this._insertTag)},n.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var n=document.createElement("style");return n.setAttribute("data-emotion",e.key),void 0!==e.nonce&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===e)return document.styleSheets[n]}(n);try{t.insertRule(e,t.cssRules.length)}catch(e){0}}else n.appendChild(document.createTextNode(e));this.ctr++},n.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Pn="-webkit-",Nn=Math.abs,Tn=String.fromCharCode,On=Object.assign;function Dn(e){return e.trim()}function Rn(e,n,t){return e.replace(n,t)}function Mn(e,n){return e.indexOf(n)}function zn(e,n){return 0|e.charCodeAt(n)}function In(e,n,t){return e.slice(n,t)}function Ln(e){return e.length}function Bn(e){return e.length}function jn(e,n){return n.push(e),e}function Fn(e,n){return e.map(n).join("")}var Hn=1,Un=1,Yn=0,Kn=0,$n=0,Gn="";function Vn(e,n,t,r,o,a,i){return{value:e,root:n,parent:t,type:r,props:o,children:a,line:Hn,column:Un,length:i,return:""}}function Wn(e,n){return On(Vn("",null,null,"",null,null,0),e,{length:-e.length},n)}function qn(){return $n=Kn<Yn?zn(Gn,Kn++):0,Un++,10===$n&&(Un=1,Hn++),$n}function Xn(){return zn(Gn,Kn)}function Jn(){return Kn}function Zn(e,n){return In(Gn,e,n)}function Qn(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 et(e){return Hn=Un=1,Yn=Ln(Gn=e),Kn=0,[]}function nt(e){return Gn="",e}function tt(e){return Dn(Zn(Kn-1,function e(n){for(;qn();)switch($n){case n:return Kn;case 34:case 39:34!==n&&39!==n&&e($n);break;case 40:41===n&&e(n);break;case 92:qn()}return Kn}(91===e?e+2:40===e?e+1:e)))}function rt(e){for(;($n=Xn())&&$n<33;)qn();return Qn(e)>2||Qn($n)>3?"":" "}function ot(e,n){for(;--n&&qn()&&!($n<48||$n>102||$n>57&&$n<65||$n>70&&$n<97););return Zn(e,Jn()+(n<6&&32==Xn()&&32==qn()))}function at(e,n){for(;qn()&&e+$n!==57&&(e+$n!==84||47!==Xn()););return"/*"+Zn(n,Kn-1)+"*"+Tn(47===e?e:qn())}function it(e){for(;!Qn(Xn());)qn();return Zn(e,Kn)}function st(e){return nt(function e(n,t,r,o,a,i,s,c,l){var u=0,f=0,p=s,d=0,m=0,h=0,_=1,g=1,v=1,b=0,y="",A=a,k=i,w=o,x=y;for(;g;)switch(h=b,b=qn()){case 40:if(108!=h&&58==x.charCodeAt(p-1)){-1!=Mn(x+=Rn(tt(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:x+=tt(b);break;case 9:case 10:case 13:case 32:x+=rt(h);break;case 92:x+=ot(Jn()-1,7);continue;case 47:switch(Xn()){case 42:case 47:jn(lt(at(qn(),Jn()),t,r),l);break;default:x+="/"}break;case 123*_:c[u++]=Ln(x)*v;case 125*_:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+f:m>0&&Ln(x)-p&&jn(m>32?ut(x+";",o,r,p-1):ut(Rn(x," ","")+";",o,r,p-2),l);break;case 59:x+=";";default:if(jn(w=ct(x,t,r,u,f,a,c,y,A=[],k=[],p),i),123===b)if(0===f)e(x,t,w,w,A,i,p,c,k);else switch(d){case 100:case 109:case 115:e(n,w,w,o&&jn(ct(n,w,w,0,0,a,c,y,a,A=[],p),k),a,k,p,c,o?A:k);break;default:e(x,w,w,w,[""],k,0,c,k)}}u=f=m=0,_=v=1,y=x="",p=s;break;case 58:p=1+Ln(x),m=h;default:if(_<1)if(123==b)--_;else if(125==b&&0==_++&&125==($n=Kn>0?zn(Gn,--Kn):0,Un--,10===$n&&(Un=1,Hn--),$n))continue;switch(x+=Tn(b),b*_){case 38:v=f>0?1:(x+="\f",-1);break;case 44:c[u++]=(Ln(x)-1)*v,v=1;break;case 64:45===Xn()&&(x+=tt(qn())),d=Xn(),f=p=Ln(y=x+=it(Jn())),b++;break;case 45:45===h&&2==Ln(x)&&(_=0)}}return i}("",null,null,null,[""],e=et(e),0,[0],e))}function ct(e,n,t,r,o,a,i,s,c,l,u){for(var f=o-1,p=0===o?a:[""],d=Bn(p),m=0,h=0,_=0;m<r;++m)for(var g=0,v=In(e,f+1,f=Nn(h=i[m])),b=e;g<d;++g)(b=Dn(h>0?p[g]+" "+v:Rn(v,/&\f/g,p[g])))&&(c[_++]=b);return Vn(e,n,t,0===o?"rule":s,c,l,u)}function lt(e,n,t){return Vn(e,n,t,"comm",Tn($n),In(e,2,-2),0)}function ut(e,n,t,r){return Vn(e,n,t,"decl",In(e,0,r),In(e,r+1,-1),r)}function ft(e,n){switch((((n<<2^zn(t=e,0))<<2^zn(t,1))<<2^zn(t,2))<<2^zn(t,3)){case 5103:return Pn+"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 Pn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Pn+e+"-moz-"+e+"-ms-"+e+e;case 6828:case 4268:return Pn+e+"-ms-"+e+e;case 6165:return Pn+e+"-ms-flex-"+e+e;case 5187:return Pn+e+Rn(e,/(\w+).+(:[^]+)/,Pn+"box-$1$2-ms-flex-$1$2")+e;case 5443:return Pn+e+"-ms-flex-item-"+Rn(e,/flex-|-self/,"")+e;case 4675:return Pn+e+"-ms-flex-line-pack"+Rn(e,/align-content|flex-|-self/,"")+e;case 5548:return Pn+e+"-ms-"+Rn(e,"shrink","negative")+e;case 5292:return Pn+e+"-ms-"+Rn(e,"basis","preferred-size")+e;case 6060:return Pn+"box-"+Rn(e,"-grow","")+Pn+e+"-ms-"+Rn(e,"grow","positive")+e;case 4554:return Pn+Rn(e,/([^-])(transform)/g,"$1"+Pn+"$2")+e;case 6187:return Rn(Rn(Rn(e,/(zoom-|grab)/,Pn+"$1"),/(image-set)/,Pn+"$1"),e,"")+e;case 5495:case 3959:return Rn(e,/(image-set\([^]*)/,Pn+"$1$`$1");case 4968:return Rn(Rn(e,/(.+:)(flex-)?(.*)/,Pn+"box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+Pn+e+e;case 4095:case 3583:case 4068:case 2532:return Rn(e,/(.+)-inline(.+)/,Pn+"$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(Ln(e)-1-n>6)switch(zn(e,n+1)){case 109:if(45!==zn(e,n+4))break;case 102:return Rn(e,/(.+:)(.+)-([^]+)/,"$1"+Pn+"$2-$3$1-moz-"+(108==zn(e,n+3)?"$3":"$2-$3"))+e;case 115:return~Mn(e,"stretch")?ft(Rn(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(115!==zn(e,n+1))break;case 6444:switch(zn(e,Ln(e)-3-(~Mn(e,"!important")&&10))){case 107:return Rn(e,":",":"+Pn)+e;case 101:return Rn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Pn+(45===zn(e,14)?"inline-":"")+"box$3$1"+Pn+"$2$3$1-ms-$2box$3")+e}break;case 5936:switch(zn(e,n+11)){case 114:return Pn+e+"-ms-"+Rn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Pn+e+"-ms-"+Rn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Pn+e+"-ms-"+Rn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Pn+e+"-ms-"+e+e}var t;return e}function pt(e,n){for(var t="",r=Bn(e),o=0;o<r;o++)t+=n(e[o],o,e,n)||"";return t}function dt(e,n,t,r){switch(e.type){case"@import":case"decl":return e.return=e.return||e.value;case"comm":return"";case"@keyframes":return e.return=e.value+"{"+pt(e.children,r)+"}";case"rule":e.value=e.props.join(",")}return Ln(t=pt(e.children,r))?e.return=e.value+"{"+t+"}":""}var mt=function(e,n,t){for(var r=0,o=0;r=o,o=Xn(),38===r&&12===o&&(n[t]=1),!Qn(o);)qn();return Zn(e,Kn)},ht=function(e,n){return nt(function(e,n){var t=-1,r=44;do{switch(Qn(r)){case 0:38===r&&12===Xn()&&(n[t]=1),e[t]+=mt(Kn-1,n,t);break;case 2:e[t]+=tt(r);break;case 4:if(44===r){e[++t]=58===Xn()?"&\f":"",n[t]=e[t].length;break}default:e[t]+=Tn(r)}}while(r=qn());return e}(et(e),n))},_t=new WeakMap,gt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var n=e.value,t=e.parent,r=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===n.charCodeAt(0)||_t.get(t))&&!r){_t.set(e,!0);for(var o=[],a=ht(n,o),i=t.props,s=0,c=0;s<a.length;s++)for(var l=0;l<i.length;l++,c++)e.props[c]=o[s]?a[s].replace(/&\f/g,i[l]):i[l]+" "+a[s]}}},vt=function(e){if("decl"===e.type){var n=e.value;108===n.charCodeAt(0)&&98===n.charCodeAt(2)&&(e.return="",e.value="")}},bt=[function(e,n,t,r){if(e.length>-1&&!e.return)switch(e.type){case"decl":e.return=ft(e.value,e.length);break;case"@keyframes":return pt([Wn(e,{value:Rn(e.value,"@","@"+Pn)})],r);case"rule":if(e.length)return Fn(e.props,(function(n){switch((t=/(::plac\w+|:read-\w+)/.exec(t=n))?t[0]:t){case":read-only":case":read-write":return pt([Wn(e,{props:[Rn(n,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return pt([Wn(e,{props:[Rn(n,/:(plac\w+)/,":"+Pn+"input-$1")]}),Wn(e,{props:[Rn(n,/:(plac\w+)/,":-moz-$1")]}),Wn(e,{props:[Rn(n,/:(plac\w+)/,"-ms-input-$1")]})],r)}var t;return""}))}}],yt=function(e){var n=e.key;if("css"===n){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||bt;var o,a,i={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),(function(e){for(var n=e.getAttribute("data-emotion").split(" "),t=1;t<n.length;t++)i[n[t]]=!0;s.push(e)}));var c,l,u=[dt,(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=function(e){var n=Bn(e);return function(t,r,o,a){for(var i="",s=0;s<n;s++)i+=e[s](t,r,o,a)||"";return i}}([gt,vt].concat(r,u));a=function(e,n,t,r){c=t,pt(st(e?e+"{"+n.styles+"}":n.styles),f),r&&(p.inserted[n.name]=!0)};var p={key:n,sheet:new Sn({key:n,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return p.sheet.hydrate(s),p};t(3);var At=function(e){for(var n,t=0,r=0,o=e.length;o>=4;++r,o-=4)n=1540483477*(65535&(n=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(n>>>16)<<16),t=1540483477*(65535&(n^=n>>>24))+(59797*(n>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(o){case 3:t^=(255&e.charCodeAt(r+2))<<16;case 2:t^=(255&e.charCodeAt(r+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(r)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)},kt={animationIterationCount: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,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans: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},wt=/[A-Z]|^ms/g,xt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ct=function(e){return 45===e.charCodeAt(1)},Et=function(e){return null!=e&&"boolean"!=typeof e},St=wn((function(e){return Ct(e)?e:e.replace(wt,"-$&").toLowerCase()})),Pt=function(e,n){switch(e){case"animation":case"animationName":if("string"==typeof n)return n.replace(xt,(function(e,n,t){return Tt={name:n,styles:t,next:Tt},n}))}return 1===kt[e]||Ct(e)||"number"!=typeof n||0===n?n:n+"px"};function Nt(e,n,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return Tt={name:t.name,styles:t.styles,next:Tt},t.name;if(void 0!==t.styles){var r=t.next;if(void 0!==r)for(;void 0!==r;)Tt={name:r.name,styles:r.styles,next:Tt},r=r.next;return t.styles+";"}return function(e,n,t){var r="";if(Array.isArray(t))for(var o=0;o<t.length;o++)r+=Nt(e,n,t[o])+";";else for(var a in t){var i=t[a];if("object"!=typeof i)null!=n&&void 0!==n[i]?r+=a+"{"+n[i]+"}":Et(i)&&(r+=St(a)+":"+Pt(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=n&&void 0!==n[i[0]]){var s=Nt(e,n,i);switch(a){case"animation":case"animationName":r+=St(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var c=0;c<i.length;c++)Et(i[c])&&(r+=St(a)+":"+Pt(a,i[c])+";")}return r}(e,n,t);case"function":if(void 0!==e){var o=Tt,a=t(e);return Tt=o,Nt(e,n,a)}break;case"string":}if(null==n)return t;var i=n[t];return void 0!==i?i:t}var Tt,Ot=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Dt=function(e,n,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Tt=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=Nt(t,n,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Nt(t,n,e[i]),r&&(o+=a[i]);Ot.lastIndex=0;for(var s,c="";null!==(s=Ot.exec(o));)c+="-"+s[1];return{name:At(o)+c,styles:o,next:Tt}},Rt=U("undefined"!=typeof HTMLElement?yt({key:"css"}):null);Rt.Provider;var Mt=function(e){return Pe((function(n,t){var r=ue(Rt);return e(n,r,t)}))},zt=U({});function It(e,n,t){var r="";return t.split(" ").forEach((function(t){void 0!==e[t]?n.push(e[t]+";"):r+=t+" "})),r}var Lt=function(e,n,t){var r=e.key+"-"+n.name;!1===t&&void 0===e.registered[r]&&(e.registered[r]=n.styles)};var Bt=function(e){for(var n,t=0,r=0,o=e.length;o>=4;++r,o-=4)n=1540483477*(65535&(n=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(n>>>16)<<16),t=1540483477*(65535&(n^=n>>>24))+(59797*(n>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(o){case 3:t^=(255&e.charCodeAt(r+2))<<16;case 2:t^=(255&e.charCodeAt(r+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(r)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)},jt=/[A-Z]|^ms/g,Ft=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ht=function(e){return 45===e.charCodeAt(1)},Ut=function(e){return null!=e&&"boolean"!=typeof e},Yt=wn((function(e){return Ht(e)?e:e.replace(jt,"-$&").toLowerCase()})),Kt=function(e,n){switch(e){case"animation":case"animationName":if("string"==typeof n)return n.replace(Ft,(function(e,n,t){return Gt={name:n,styles:t,next:Gt},n}))}return 1===kt[e]||Ht(e)||"number"!=typeof n||0===n?n:n+"px"};function $t(e,n,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return Gt={name:t.name,styles:t.styles,next:Gt},t.name;if(void 0!==t.styles){var r=t.next;if(void 0!==r)for(;void 0!==r;)Gt={name:r.name,styles:r.styles,next:Gt},r=r.next;return t.styles+";"}return function(e,n,t){var r="";if(Array.isArray(t))for(var o=0;o<t.length;o++)r+=$t(e,n,t[o])+";";else for(var a in t){var i=t[a];if("object"!=typeof i)null!=n&&void 0!==n[i]?r+=a+"{"+n[i]+"}":Ut(i)&&(r+=Yt(a)+":"+Kt(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=n&&void 0!==n[i[0]]){var s=$t(e,n,i);switch(a){case"animation":case"animationName":r+=Yt(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var c=0;c<i.length;c++)Ut(i[c])&&(r+=Yt(a)+":"+Kt(a,i[c])+";")}return r}(e,n,t);case"function":if(void 0!==e){var o=Gt,a=t(e);return Gt=o,$t(e,n,a)}break;case"string":}if(null==n)return t;var i=n[t];return void 0!==i?i:t}var Gt,Vt=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Wt=function(e,n,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Gt=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=$t(t,n,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=$t(t,n,e[i]),r&&(o+=a[i]);Vt.lastIndex=0;for(var s,c="";null!==(s=Vt.exec(o));)c+="-"+s[1];return{name:Bt(o)+c,styles:o,next:Gt}},qt=Cn,Xt=function(e){return"theme"!==e},Jt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?qt:Xt},Zt=function(e,n,t){var r;if(n){var o=n.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(n){return e.__emotion_forwardProp(n)&&o(n)}:o}return"function"!=typeof r&&t&&(r=e.__emotion_forwardProp),r},Qt=r.useInsertionEffect?r.useInsertionEffect:function(e){e()};var er=function(e){var n=e.cache,t=e.serialized,r=e.isStringTag;Lt(n,t,r);Qt((function(){return function(e,n,t){Lt(e,n,t);var r=e.key+"-"+n.name;if(void 0===e.inserted[n.name]){var o=n;do{e.insert(n===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(n,t,r)}));return null},nr=function e(n,t){var r,o,a=n.__emotion_real===n,i=a&&n.__emotion_base||n;void 0!==t&&(r=t.label,o=t.target);var s=Zt(n,t,a),c=s||Jt(i),l=!c("as");return function(){var u=arguments,f=a&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==r&&f.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)f.push.apply(f,u);else{0,f.push(u[0][0]);for(var p=u.length,d=1;d<p;d++)f.push(u[d],u[0][d])}var m=Mt((function(e,n,t){var r=l&&e.as||i,a="",u=[],p=e;if(null==e.theme){for(var d in p={},e)p[d]=e[d];p.theme=ue(zt)}"string"==typeof e.className?a=It(n.registered,u,e.className):null!=e.className&&(a=e.className+" ");var m=Wt(f.concat(u),n.registered,p);a+=n.key+"-"+m.name,void 0!==o&&(a+=" "+o);var h=l&&void 0===s?Jt(r):c,g={};for(var v in e)l&&"as"===v||h(v)&&(g[v]=e[v]);return g.className=a,g.ref=t,_(b,null,_(er,{cache:n,serialized:m,isStringTag:"string"==typeof r}),_(r,g))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",m.defaultProps=n.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=f,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(n,r){return e(n,En({},t,r,{shouldForwardProp:Zt(m,r,!0)})).apply(void 0,f)},m}}.bind();["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){nr[e]=nr(e)}));var tr=nr;function rr(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return Dt(n)}var or,ar,ir,sr,cr,lr,ur,fr,pr,dr,mr,hr,_r,gr,vr,br,yr,Ar,kr,wr,xr,Cr,Er,Sr,Pr,Nr,Tr,Or,Dr,Rr,Mr=rr(or||(or=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}(["\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,\n sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-smoothing: antialiased;\n color: #435a6f;\n font-size: 16px;\n font-weight: 400;\n line-height: 22px;\n letter-spacing: -0.05px;\n"],["\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,\n sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n font-smoothing: antialiased;\n color: #435a6f;\n font-size: 16px;\n font-weight: 400;\n line-height: 22px;\n letter-spacing: -0.05px;\n"]))),zr=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},Ir=rr(ar||(ar=zr(["\n height: 32px;\n padding: 0 16px;\n border: none;\n border-radius: 4px;\n color: inherit;\n font: inherit;\n font-size: 12px;\n line-height: 1;\n cursor: pointer;\n outline: none;\n transition: box-shadow 80ms ease-in-out;\n"],["\n height: 32px;\n padding: 0 16px;\n border: none;\n border-radius: 4px;\n color: inherit;\n font: inherit;\n font-size: 12px;\n line-height: 1;\n cursor: pointer;\n outline: none;\n transition: box-shadow 80ms ease-in-out;\n"]))),Lr=tr("button")(ir||(ir=zr(["\n ",";\n margin-right: 8px;\n background-color: #fff;\n background-image: linear-gradient(to top, rgba(67, 90, 111, 0.041), rgba(255, 255, 255, 0.041));\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.146), inset 0 -1px 1px 0 rgba(67, 90, 111, 0.079);\n &:hover {\n background-image: linear-gradient(to top, rgba(67, 90, 111, 0.057), rgba(67, 90, 111, 0.025));\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.255),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.114);\n }\n &:focus {\n box-shadow: 0 0 0 3px rgba(1, 108, 209, 0.146), inset 0 0 0 1px rgba(67, 90, 111, 0.38),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.079);\n }\n &:active {\n background: rgba(1, 108, 209, 0.079);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.146),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.079);\n }\n"],["\n ",";\n margin-right: 8px;\n background-color: #fff;\n background-image: linear-gradient(to top, rgba(67, 90, 111, 0.041), rgba(255, 255, 255, 0.041));\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.146), inset 0 -1px 1px 0 rgba(67, 90, 111, 0.079);\n &:hover {\n background-image: linear-gradient(to top, rgba(67, 90, 111, 0.057), rgba(67, 90, 111, 0.025));\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.255),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.114);\n }\n &:focus {\n box-shadow: 0 0 0 3px rgba(1, 108, 209, 0.146), inset 0 0 0 1px rgba(67, 90, 111, 0.38),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.079);\n }\n &:active {\n background: rgba(1, 108, 209, 0.079);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.146),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.079);\n }\n"])),Ir),Br=tr("button")(sr||(sr=zr(["\n ",";\n background-color: #47b881;\n background-image: linear-gradient(to top, #3faf77, #47b881);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.204), inset 0 -1px 1px 0 rgba(67, 90, 111, 0.204);\n color: #fff;\n &:hover {\n background-image: linear-gradient(to top, #37a56d, #3faf77);\n }\n &:focus {\n box-shadow: 0 0 0 3px rgba(71, 184, 129, 0.477), inset 0 0 0 1px rgba(71, 184, 129, 0.204),\n inset 0 -1px 1px 0 rgba(71, 184, 129, 0.204);\n }\n &:active {\n background-image: linear-gradient(to top, #2d9760, #248953);\n box-shadow: inset 0 0 0 1px rgba(71, 184, 129, 0.204),\n inset 0 -1px 1px 0 rgba(71, 184, 129, 0.204);\n }\n"],["\n ",";\n background-color: #47b881;\n background-image: linear-gradient(to top, #3faf77, #47b881);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.204), inset 0 -1px 1px 0 rgba(67, 90, 111, 0.204);\n color: #fff;\n &:hover {\n background-image: linear-gradient(to top, #37a56d, #3faf77);\n }\n &:focus {\n box-shadow: 0 0 0 3px rgba(71, 184, 129, 0.477), inset 0 0 0 1px rgba(71, 184, 129, 0.204),\n inset 0 -1px 1px 0 rgba(71, 184, 129, 0.204);\n }\n &:active {\n background-image: linear-gradient(to top, #2d9760, #248953);\n box-shadow: inset 0 0 0 1px rgba(71, 184, 129, 0.204),\n inset 0 -1px 1px 0 rgba(71, 184, 129, 0.204);\n }\n"])),Ir),jr=tr("button")(cr||(cr=zr(["\n ",";\n background-color: #f36331;\n background-image: linear-gradient(to top, #f4541d, #f36331);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.204), inset 0 -1px 1px 0 rgba(67, 90, 111, 0.204);\n color: #fff;\n &:hover {\n background-image: linear-gradient(to top, #f4450a, #f4541d);\n }\n &:focus {\n box-shadow: 0 0 0 3px rgba(243, 99, 49, 0.477), inset 0 0 0 1px rgba(243, 99, 49, 0.204),\n inset 0 -1px 1px 0 rgba(243, 99, 49, 0.204);\n }\n &:active {\n background-image: linear-gradient(to top, #dd3c06, #c63403);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.204),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.204);\n }\n"],["\n ",";\n background-color: #f36331;\n background-image: linear-gradient(to top, #f4541d, #f36331);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.204), inset 0 -1px 1px 0 rgba(67, 90, 111, 0.204);\n color: #fff;\n &:hover {\n background-image: linear-gradient(to top, #f4450a, #f4541d);\n }\n &:focus {\n box-shadow: 0 0 0 3px rgba(243, 99, 49, 0.477), inset 0 0 0 1px rgba(243, 99, 49, 0.204),\n inset 0 -1px 1px 0 rgba(243, 99, 49, 0.204);\n }\n &:active {\n background-image: linear-gradient(to top, #dd3c06, #c63403);\n box-shadow: inset 0 0 0 1px rgba(67, 90, 111, 0.204),\n inset 0 -1px 1px 0 rgba(67, 90, 111, 0.204);\n }\n"])),Ir),Fr=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},Hr=(lr=function(e,n){return(lr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(e,n)},function(e,n){function t(){this.constructor=e}lr(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),Ur=tr("div")(ur||(ur=Fr(["\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: #fff;\n opacity: 0.8;\n"],["\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background: #fff;\n opacity: 0.8;\n"]))),Yr=tr("div")(fr||(fr=Fr(["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-width: 500px;\n @media (max-width: 767px) {\n width: 80vw;\n }\n"],["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-width: 500px;\n @media (max-width: 767px) {\n width: 80vw;\n }\n"]))),Kr=tr("div")(pr||(pr=Fr(["\n ",";\n position: relative;\n max-width: 500px;\n padding: 18px;\n padding-right: ",";\n background: ",";\n color: ",";\n text-align: center;\n font-size: 14px;\n line-height: 1.3;\n"],["\n ",";\n position: relative;\n max-width: 500px;\n padding: 18px;\n padding-right: ",";\n background: ",";\n color: ",";\n text-align: center;\n font-size: 14px;\n line-height: 1.3;\n"])),Mr,(function(e){return e.hideCloseButton?"18px":"40px"}),(function(e){return e.backgroundColor}),(function(e){return e.textColor})),$r=tr("div")(dr||(dr=Fr(["\n ",";\n position: relative;\n padding: 8px;\n padding-right: ",";\n background: ",";\n color: ",";\n text-align: center;\n font-size: 12px;\n line-height: 1.3;\n @media (min-width: 768px) {\n display: flex;\n align-items: center;\n }\n"],["\n ",";\n position: relative;\n padding: 8px;\n padding-right: ",";\n background: ",";\n color: ",";\n text-align: center;\n font-size: 12px;\n line-height: 1.3;\n @media (min-width: 768px) {\n display: flex;\n align-items: center;\n }\n"])),Mr,(function(e){return e.hideCloseButton?"8px":"40px"}),(function(e){return e.backgroundColor}),(function(e){return e.textColor})),Gr=tr("div")(mr||(mr=Fr(["\n margin-bottom: ",";\n @media (min-width: 768px) {\n flex: auto;\n margin-bottom: ",";\n }\n a,\n button {\n display: inline;\n padding: 0;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n text-decoration: underline;\n cursor: pointer;\n }\n"],["\n margin-bottom: ",";\n @media (min-width: 768px) {\n flex: auto;\n margin-bottom: ",";\n }\n a,\n button {\n display: inline;\n padding: 0;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n text-decoration: underline;\n cursor: pointer;\n }\n"])),(function(e){return e.asModal?"20px":"8px"}),(function(e){return e.asModal?"20px":"0"})),Vr=tr("div")(hr||(hr=Fr(["\n color: #000;\n button {\n margin: 4px 0;\n width: 100%;\n @media (min-width: 768px) {\n margin: 4px 8px;\n width: 200px;\n }\n }\n"],["\n color: #000;\n button {\n margin: 4px 0;\n width: 100%;\n @media (min-width: 768px) {\n margin: 4px 8px;\n width: 200px;\n }\n }\n"]))),Wr=tr("p")(_r||(_r=Fr(["\n margin: 0;\n &:not(:last-child) {\n margin-bottom: 6px;\n }\n"],["\n margin: 0;\n &:not(:last-child) {\n margin-bottom: 6px;\n }\n"]))),qr=tr("button")(gr||(gr=Fr(["\n position: absolute;\n right: 8px;\n top: ",";\n transform: translateY(-50%);\n padding: 8px;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n font-size: 14px;\n line-height: 1;\n cursor: pointer;\n"],["\n position: absolute;\n right: 8px;\n top: ",";\n transform: translateY(-50%);\n padding: 8px;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n font-size: 14px;\n line-height: 1;\n cursor: pointer;\n"])),(function(e){return e.isTop?"20px":"50%"})),Xr=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Hr(n,e),n.prototype.render=function(){var e=this.props,n=e.innerRef,t=e.onClose,r=e.onChangePreferences,o=e.content,a=e.subContent,i=e.actionsBlock,s=e.backgroundColor,c=e.textColor,l=e.onAcceptAll,u=e.onDenyAll,f=e.hideCloseButton,p=e.asModal,d=gn.createElement(b,null,gn.createElement(Gr,{asModal:p,id:"hightouchio_fragmentBanner"},gn.createElement(Wr,{id:"hightouchio_pContent"},o),gn.createElement(Wr,{id:"hightouchio_pSubContent"},gn.createElement("button",{type:"button",id:"hightouchio_subContentBtn",onClick:r},a))),"function"==typeof i&&i({acceptAll:l,denyAll:u,changePreferences:r}),!0===i&&gn.createElement(Vr,{id:"hightouchio_actionBlock"},gn.createElement(Br,{id:"hightouchio_allowBtn",type:"button",onClick:l},"Allow all"),gn.createElement(Lr,{id:"hightouchio_denyBtn",type:"button",onClick:u},"Deny all")),!f&&gn.createElement(qr,{id:"hightouchio_closeButton",type:"button",title:"Close","aria-label":"Close",onClick:t,isTop:p},"✕"));return p?gn.createElement(b,null,gn.createElement(Ur,null),gn.createElement(Yr,null,gn.createElement(Kr,{ref:n,backgroundColor:s,textColor:c,hideCloseButton:f},d))):gn.createElement($r,{ref:n,backgroundColor:s,textColor:c,hideCloseButton:f},d)},n.displayName="Banner",n}(xe),Jr=t(10),Zr=t.n(Jr),Qr=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},eo=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),no=tr("div")(vr||(vr=Qr(["\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1000;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(67, 90, 111, 0.699);\n"],["\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 1000;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(67, 90, 111, 0.699);\n"]))),to=function(){var e=rr.apply(void 0,arguments),n="animation-"+e.name;return{name:n,styles:"@keyframes "+n+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(br||(br=Qr(["\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n"],["\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n"]))),ro=tr("section")(yr||(yr=Qr(["\n ",";\n display: flex;\n flex-direction: column;\n max-width: calc(100vw - 16px);\n max-height: calc(100% - 16px);\n width: ",";\n margin: 8px;\n background: #fff;\n border-radius: 8px;\n animation: "," "," "," both;\n"],["\n ",";\n display: flex;\n flex-direction: column;\n max-width: calc(100vw - 16px);\n max-height: calc(100% - 16px);\n width: ",";\n margin: 8px;\n background: #fff;\n border-radius: 8px;\n animation: "," "," "," both;\n"])),Mr,(function(e){return e.width}),to,"200ms","cubic-bezier(0.0, 0.0, 0.2, 1)"),oo=tr("form")(Ar||(Ar=Qr(["\n display: flex;\n flex-direction: column;\n min-height: 0;\n"],["\n display: flex;\n flex-direction: column;\n min-height: 0;\n"]))),ao=tr("div")(kr||(kr=Qr(["\n flex: 1 0 auto;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 12px 16px;\n border-bottom: 1px solid rgba(67, 90, 111, 0.079);\n"],["\n flex: 1 0 auto;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 12px 16px;\n border-bottom: 1px solid rgba(67, 90, 111, 0.079);\n"]))),io=tr("h2")(wr||(wr=Qr(["\n margin: 0;\n color: #1f4160;\n font-size: 16px;\n font-weight: 600;\n line-height: 1.3;\n"],["\n margin: 0;\n color: #1f4160;\n font-size: 16px;\n font-weight: 600;\n line-height: 1.3;\n"]))),so=tr("button")(xr||(xr=Qr(["\n padding: 8px;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n font-size: 14px;\n line-height: 1;\n cursor: pointer;\n"],["\n padding: 8px;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n font-size: 14px;\n line-height: 1;\n cursor: pointer;\n"]))),co=tr("div")(Cr||(Cr=Qr(["\n overflow-y: auto;\n padding: 16px;\n padding-bottom: 0;\n min-height: 0;\n font-size: 14px;\n line-height: 1.2;\n\n p {\n margin: 0;\n &:not(:last-child) {\n margin-bottom: 0.7em;\n }\n }\n\n a {\n color: #47b881;\n &:hover {\n color: #64c395;\n }\n &:active {\n color: #248953;\n }\n }\n"],["\n overflow-y: auto;\n padding: 16px;\n padding-bottom: 0;\n min-height: 0;\n font-size: 14px;\n line-height: 1.2;\n\n p {\n margin: 0;\n &:not(:last-child) {\n margin-bottom: 0.7em;\n }\n }\n\n a {\n color: #47b881;\n &:hover {\n color: #64c395;\n }\n &:active {\n color: #248953;\n }\n }\n"]))),lo=tr("div")(Er||(Er=Qr(["\n padding: 16px;\n text-align: right;\n"],["\n padding: 16px;\n text-align: right;\n"]))),uo=function(e){function n(n){var t=e.call(this,n)||this;return t.handleRootRef=function(e){t.root=e},t.handleFormRef=function(e){t.form=e},t.handleOverlayClick=function(e){var n=t.props.onCancel;n&&t.root&&!t.root.contains(e.target)&&n()},t.handleEsc=function(e){var n=t.props.onCancel;n&&27===e.keyCode&&n()},t.titleId=Zr()(),t.container=document.createElement("div"),t.container.setAttribute("data-consent-manager-dialog",""),t}return eo(n,e),n.prototype.render=function(){var e=this.props,n=e.onCancel,t=e.onSubmit,r=e.title,o=e.children,a=e.buttons,i=e.width,s=gn.createElement(no,{id:"hightouchio_overlayDialog",onClick:this.handleOverlayClick},gn.createElement(ro,{id:"hightouchio_rootDialog",ref:this.handleRootRef,role:"dialog","aria-modal":!0,"aria-labelledby":this.titleId,width:i},gn.createElement(ao,{id:"hightouchio_headerDialog"},gn.createElement(io,{id:this.titleId},r),n&&gn.createElement(so,{id:"hightouchio_headerCancelBtn",onClick:n,title:"Cancel","aria-label":"Cancel"},"✕")),gn.createElement(oo,{id:"preferenceDialogForm_"+this.titleId,ref:this.handleFormRef,onSubmit:t},gn.createElement(co,{id:"hightouchio_contentDialog"},o),gn.createElement(lo,{id:"hightouchio_buttonsDialog"},a))));return gn.createPortal(s,this.container)},n.prototype.componentDidMount=function(){var e=this.props.innerRef;if(this.form){var n=this.form.querySelector("input,button");n&&n.focus()}document.body.appendChild(this.container),document.body.addEventListener("keydown",this.handleEsc,!1),document.body.style.overflow="hidden",e(this.container)},n.prototype.componentWillUnmount=function(){var e=this.props.innerRef;document.body.removeEventListener("keydown",this.handleEsc,!1),document.body.style.overflow="",document.body.removeChild(this.container),e(null)},n.displayName="Dialog",n.defaultProps={onCancel:void 0,width:"750px"},n}(xe),fo=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},po=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),mo=rr(Sr||(Sr=fo(["\n @media (max-width: 600px) {\n display: none;\n }\n"],["\n @media (max-width: 600px) {\n display: none;\n }\n"]))),ho=tr("div")(Pr||(Pr=fo(["\n overflow-x: auto;\n margin-top: 16px;\n"],["\n overflow-x: auto;\n margin-top: 16px;\n"]))),_o=tr("table")(Nr||(Nr=fo(["\n border-collapse: collapse;\n font-size: 12px;\n"],["\n border-collapse: collapse;\n font-size: 12px;\n"]))),go=tr("th")(Tr||(Tr=fo(["\n background: #f7f8fa;\n color: #1f4160;\n font-weight: 600;\n text-align: left;\n border-width: 2px;\n"],["\n background: #f7f8fa;\n color: #1f4160;\n font-weight: 600;\n text-align: left;\n border-width: 2px;\n"]))),vo=tr("th")(Or||(Or=fo(["\n font-weight: normal;\n text-align: left;\n"],["\n font-weight: normal;\n text-align: left;\n"]))),bo=tr("tr")(Dr||(Dr=fo(["\n th,\n td {\n vertical-align: top;\n padding: 8px 12px;\n border: 1px solid rgba(67, 90, 111, 0.114);\n }\n td {\n border-top: none;\n }\n"],["\n th,\n td {\n vertical-align: top;\n padding: 8px 12px;\n border: 1px solid rgba(67, 90, 111, 0.114);\n }\n td {\n border-top: none;\n }\n"]))),yo=tr("td")(Rr||(Rr=fo(["\n input {\n margin: 0px 6px 0px 0px;\n vertical-align: middle;\n }\n label {\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n white-space: nowrap;\n }\n td {\n border: none;\n vertical-align: middle;\n }\n"],["\n input {\n margin: 0px 6px 0px 0px;\n vertical-align: middle;\n }\n label {\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n white-space: nowrap;\n }\n td {\n border: none;\n vertical-align: middle;\n }\n"]))),Ao=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.handleChange=function(e){(0,n.props.onChange)(e.target.name,"true"===e.target.value)},n.handleSubmit=function(e){var t=n.props,r=t.onSave,o=t.preferences,a=t.marketingAndAnalytics,i=t.advertising,s=t.functional,c=t.customCategories;e.preventDefault(),(c||null!==a&&null!==i&&null!==s)&&(c&&Object.keys(c).some((function(e){return null===o[e]}))||r())},n}return po(n,e),n.prototype.render=function(){var e=this,n=this.props,t=n.innerRef,r=n.onCancel,o=(n.marketingDestinations,n.advertisingDestinations,n.functionalDestinations,n.marketingAndAnalytics),a=n.advertising,i=n.functional,s=n.customCategories,c=(n.destinations,n.title),l=n.content,u=n.preferences,f=n.preferencesDialogTemplate,p=f,d=p.headings,m=p.checkboxes,h=p.actionButtons,_=null==f?void 0:f.categories.find((function(e){return"functional"===e.key})),g=null==f?void 0:f.categories.find((function(e){return"marketing"===e.key})),v=null==f?void 0:f.categories.find((function(e){return"advertising"===e.key})),b=null==f?void 0:f.categories.find((function(e){return"essential"===e.key})),y=gn.createElement("div",null,gn.createElement(Lr,{id:"hightouchio_hightouchio_prefBtnCancel",type:"button",onClick:r},h.cancelValue),gn.createElement(Br,{id:"hightouchio_prefBtnSubmit",type:"submit"},h.saveValue));return gn.createElement(uo,{innerRef:t,title:c,buttons:y,onCancel:r,onSubmit:this.handleSubmit},l,gn.createElement(ho,{id:"hightouchio_prefTableScroll"},gn.createElement(_o,{id:"hightouchio_prefTable"},gn.createElement("thead",{id:"hightouchio_prefThead"},gn.createElement(bo,null,gn.createElement(go,{scope:"col"},d.allowValue),gn.createElement(go,{scope:"col"},d.categoryValue),gn.createElement(go,{scope:"col"},d.purposeValue))),gn.createElement("tbody",{id:"hightouchio_prefTbody"},!s&&gn.createElement(gn.Fragment,null,gn.createElement(bo,null,gn.createElement(yo,null,gn.createElement("label",null,gn.createElement("input",{type:"radio",name:"functional",value:"true",checked:!0===i,onChange:this.handleChange,"aria-label":"Allow functional tracking",required:!0})," ",m.yesValue),gn.createElement("label",null,gn.createElement("input",{type:"radio",name:"functional",value:"false",checked:!1===i,onChange:this.handleChange,"aria-label":"Disallow functional tracking",required:!0})," ",m.noValue)),gn.createElement(vo,{scope:"row"},null==_?void 0:_.name),gn.createElement("td",null,gn.createElement("p",null,null==_?void 0:_.description),gn.createElement("p",{css:mo},null==_?void 0:_.example))),gn.createElement(bo,null,gn.createElement(yo,null,gn.createElement("label",null,gn.createElement("input",{type:"radio",name:"marketingAndAnalytics",value:"true",checked:!0===o,onChange:this.handleChange,"aria-label":"Allow marketing and analytics tracking",required:!0})," ",m.yesValue),gn.createElement("label",null,gn.createElement("input",{type:"radio",name:"marketingAndAnalytics",value:"false",checked:!1===o,onChange:this.handleChange,"aria-label":"Disallow marketing and analytics tracking",required:!0})," ",m.noValue)),gn.createElement(vo,{scope:"row"},null==g?void 0:g.name),gn.createElement("td",null,gn.createElement("p",null,null==g?void 0:g.description),gn.createElement("p",{css:mo},null==g?void 0:g.example))),gn.createElement(bo,null,gn.createElement(yo,null,gn.createElement("label",null,gn.createElement("input",{type:"radio",name:"advertising",value:"true",checked:!0===a,onChange:this.handleChange,"aria-label":"Allow advertising tracking",required:!0})," ",m.yesValue),gn.createElement("label",null,gn.createElement("input",{type:"radio",name:"advertising",value:"false",checked:!1===a,onChange:this.handleChange,"aria-label":"Disallow advertising tracking",required:!0})," ",m.noValue)),gn.createElement(vo,{scope:"row"},null==v?void 0:v.name),gn.createElement("td",null,gn.createElement("p",null,null==v?void 0:v.description),gn.createElement("p",{css:mo},null==v?void 0:v.example))),gn.createElement(bo,null,gn.createElement("td",null,"N/A"),gn.createElement(vo,{scope:"row"},null==b?void 0:b.name),gn.createElement("td",null,gn.createElement("p",null,null==b?void 0:b.description),gn.createElement("p",null,null==b?void 0:b.example)))),s&&Object.entries(s).map((function(n){var t=n[0],r=n[1],o=(r.integrations,r.purpose);return gn.createElement(bo,{key:t},gn.createElement(yo,null,"N/A"===u[t]?gn.createElement("td",null,"N/A"):gn.createElement(gn.Fragment,null,gn.createElement("label",null,gn.createElement("input",{type:"radio",name:t,value:"true",checked:!0===u[t],onChange:e.handleChange,"aria-label":'Allow "'+t+'" tracking',required:!0})," ",m.yesValue),gn.createElement("label",null,gn.createElement("input",{type:"radio",name:t,value:"false",checked:!1===u[t],onChange:e.handleChange,"aria-label":'Disallow "'+t+'" tracking',required:!0})," ",m.noValue))),gn.createElement(vo,{scope:"row"},t),gn.createElement("td",null,gn.createElement("p",null,o)))}))))))},n.displayName="PreferenceDialog",n.defaultProps={marketingAndAnalytics:null,advertising:null,functional:null},n}(xe),ko=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),wo=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.handleSubmit=function(e){var t=n.props.onConfirm;e.preventDefault(),t()},n.handleEsc=function(e){var t=n.props.onConfirm;27===e.keyCode&&t()},n}return ko(n,e),n.prototype.render=function(){var e=this.props,n=e.innerRef,t=e.onBack,r=e.title,o=e.content,a=e.preferencesDialogTemplate,i=gn.createElement("div",null,gn.createElement(Lr,{id:"hightouchio_backDialogBtn",type:"button",onClick:t},null==a?void 0:a.cancelDialogButtons.backValue),gn.createElement(jr,{id:"hightouchio_cancelDialogBtn",type:"submit"},null==a?void 0:a.cancelDialogButtons.cancelValue));return gn.createElement(uo,{innerRef:n,title:r,buttons:i,onSubmit:this.handleSubmit,width:"500px"},o)},n.prototype.componentDidMount=function(){document.body.addEventListener("keydown",this.handleEsc,!1)},n.prototype.componentWillUnmount=function(){document.body.removeEventListener("keydown",this.handleEsc,!1)},n.displayName="CancelDialog",n}(xe),xo=["Advertising","Tag Managers"],Co=["CRM","Customer Success","Deep Linking","Helpdesk","Livechat","Performance Monitoring","Personalization","SMS & Push Notifications","Security & Fraud"],Eo=new kn.EventEmitter;function So(){Eo.emit("openDialog")}var Po=function(e){var n=gn.useState(e.workspaceAddedNewDestinations&&"ask"===e.defaultDestinationBehavior),t=n[0],r=n[1],o=gn.useState(!0),a=o[0],i=o[1],s=gn.useState(!1),c=s[0],l=s[1],u=Object.values(e.preferences||{}).every((function(e){return null==e})),f=gn.useRef(null),p=gn.useRef(null),d=gn.useRef(null),m=function(e){for(var n=[],t=[],r=[],o=function(e){xo.find((function(n){return n===e.category}))?t.push(e):Co.find((function(n){return n===e.category}))?r.push(e):n.push(e)},a=0,i=e;a<i.length;a++){o(i[a])}return{marketingDestinations:n,advertisingDestinations:t,functionalDestinations:r}}(e.destinations),h=m.marketingDestinations,_=m.advertisingDestinations,g=m.functionalDestinations,v=function(){for(var n=e.preferences,t=0,r=Object.keys(e.preferences);t<r.length;t++){var o=r[t],a=e.preferences[o];n[o]="string"!=typeof a||a}return e.setPreferences(n),e.saveConsent()},b=function(){for(var n=e.preferences,t=0,r=Object.keys(e.preferences);t<r.length;t++){var o=r[t],a=e.preferences[o];n[o]="string"==typeof a&&a}return e.setPreferences(n),e.saveConsent()},y=function(){return r(!0)},A=function(n){e.isConsentRequired&&e.implyConsentOnInteraction&&0!==e.newDestinations.length&&(f.current&&f.current.contains(n.target)||p.current&&p.current.contains(n.target)||d.current&&d.current.contains(n.target)||"subContentBtn"===n.target.id||!t&&e.implyConsentOnInteraction&&v())};gn.useEffect((function(){return Eo.on("openDialog",y),e.isConsentRequired&&e.implyConsentOnInteraction&&document.body.addEventListener("click",A,!1),function(){Eo.removeListener("openDialog",y),document.body.removeEventListener("click",A,!1)}})),gn.useEffect((function(){t&&e.resetPreferences()}),[t]);return gn.createElement(gn.Fragment,null,a&&e.isConsentRequired&&(e.newDestinations.length>0||u)&&gn.createElement(Xr,{innerRef:function(e){return f={current:e}},onClose:function(){if(void 0===e.closeBehavior||"dismiss"===e.closeBehavior)return i(!1);if("accept"===e.closeBehavior)return i(!1),v();if("deny"===e.closeBehavior)return i(!1),b();var n=e.closeBehavior(e.preferences);return e.setPreferences(n),e.saveConsent(),i(!1)},onChangePreferences:function(){return r(!0)},content:e.bannerContent,subContent:e.bannerSubContent,actionsBlock:e.bannerActionsBlock,textColor:e.bannerTextColor,backgroundColor:e.bannerBackgroundColor,onAcceptAll:v,onDenyAll:b,hideCloseButton:e.bannerHideCloseButton,asModal:e.bannerAsModal}),t&&gn.createElement(Ao,{customCategories:e.customCategories,destinations:e.destinations,preferences:e.preferences,innerRef:function(e){return p={current:e}},onCancel:function(){e.newDestinations.length>0?l(!0):(r(!1),e.resetPreferences())},onSave:function(){r(!1),e.saveConsent(void 0,!1)},onChange:function(n,t){var r;e.setPreferences(((r={})[n]=t,r))},marketingDestinations:h,advertisingDestinations:_,functionalDestinations:g,marketingAndAnalytics:e.preferences.marketingAndAnalytics,advertising:e.preferences.advertising,functional:e.preferences.functional,title:e.preferencesDialogTitle,content:e.preferencesDialogContent,preferencesDialogTemplate:e.preferencesDialogTemplate}),c&&gn.createElement(wo,{innerRef:function(e){return d={current:e}},onBack:function(){l(!1)},onConfirm:function(){l(!1),r(!1),e.resetPreferences()},title:e.cancelDialogTitle,content:e.cancelDialogContent,preferencesDialogTemplate:e.preferencesDialogTemplate}))},No=t(4),To=t.n(No),Oo=t(11),Do=t.n(Oo),Ro=function(){return(Ro=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},Mo="ht-cm-preferences";function zo(e){var n=To.a.getJSON(e||Mo);return n?{destinationPreferences:n.destination,customPreferences:n.custom}:{}}var Io=new kn.EventEmitter;function Lo(e){return Io.on("preferencesSaved",e),function(){return Io.off("preferencesSaved",e)}}function Bo(e){var n=e.destinationPreferences,t=e.customPreferences,r=e.cookieDomain,o=e.cookieName,a=e.cookieExpires,i=e.cookieAttributes,s=void 0===i?{}:i,c=window;c.htevents?c.htevents.track("Consent Updated",{destinationPreferences:n,categoryPreferences:t},{consent:{destinationPreferences:n,categoryPreferences:t}}):console.warn("window.htevents not found...is the SDK snippet included on the page?");var l=r||Do()(window.location.href),u=a||365,f={version:1,destination:n,custom:t};To.a.set(o||Mo,f,Ro({expires:u,domain:l},s)),Io.emit("preferencesSaved",{destinationPreferences:n,customPreferences:t})}var jo=function(){return(jo=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)};function Fo(e){var n=e.writeKey,t=e.options,r=e.destinations,o=e.destinationPreferences,a=e.isConsentRequired,i=e.shouldReload,s=void 0===i||i,c=e.devMode,l=void 0!==c&&c,u=e.defaultDestinationBehavior,f=e.categoryPreferences,p=window;if(p.htevents){var d={All:!1,"Hightouch.io":!0};if(o){for(var m=0,h=r;m<h.length;m++){var _=h[m];if(_.id in o||"enable"!==u){var g=Boolean(o[_.id]);d[_.id]=g}else d[_.id]=!0}if(p.htevents.initialized)s&&(console.debug("reloading to apply new tracking preferences"),window.location.reload());else if(!l)if(Object.entries(d).some((function(e){var n=e[0],t=e[1];return"Hightouch.io"!==n&&t}))||Object.values(f||{}).some(Boolean)){var v=function(e,n,t){return function(r){var o=r.payload,a=r.next;o.obj.context.consent=jo({defaultDestinationBehavior:t,categoryPreferences:n,destinationPreferences:e},o.obj.context.consent),a(o)}}(o,f,u);p.htevents.addSourceMiddleware(v),p.htevents.load(n,jo(jo({},t),{integrations:d}))}}else{if(a)return;p.htevents.initialized||p.htevents.load(n,t)}}}var Ho=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),Uo=function(){return(Uo=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},Yo=function(e,n,t,r){return new(t||(t=Promise))((function(o,a){function i(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,s)}c((r=r.apply(e,n||[])).next())}))},Ko=function(e,n){var t,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=n.call(e,i)}catch(e){a=[6,e],r=0}finally{t=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};function $o(e,n){var t=[];if(!n)return e;for(var r=0,o=e;r<o.length;r++){var a=o[r];void 0===n[a.id]&&t.push(a)}return t}var Go={functional:!1,marketingAndAnalytics:!1,advertising:!1,essential:!1},Vo=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isLoading:!0,destinations:[],newDestinations:[],preferences:{},destinationPreferences:{},isConsentRequired:!0,havePreferencesChanged:!1,workspaceAddedNewDestinations:!1,useDefaultCategories:!1},t.initialise=function(){return Yo(t,void 0,void 0,(function(){var e,t,r,o,a,i,s,c,l,u,f,p,d,m,h,_,g,v,b,y,A,k,w,x,C,E,S,P;return Ko(this,(function(N){switch(N.label){case 0:return e=this.props,t=e.writeKey,r=e.options,o=e.shouldRequireConsent,a=void 0===o?n.defaultProps.shouldRequireConsent:o,i=e.initialPreferences,s=e.mapCustomPreferences,c=e.defaultDestinationBehavior,l=e.cookieName,u=e.cdnHost,void 0===u?n.defaultProps.cdnHost:u,f=e.shouldReload,p=void 0===f?n.defaultProps.shouldReload:f,d=e.devMode,m=void 0===d?n.defaultProps.devMode:d,h=e.useDefaultCategories,_=void 0===h?n.defaultProps.useDefaultCategories:h,g=zo(l),v=g.destinationPreferences,b=g.customPreferences,[4,Promise.all([a(),Promise.resolve([])])];case 1:return y=N.sent(),A=y[0],k=y[1],w=$o(k,v||{}),x=v&&Object.keys(v).length>0&&w.length>0,E=Object.values(i||{}).some((function(e){return!0===e||!1===e||"N/A"===e})),S=Object.values(b||{}).every((function(e){return null==e||"N/A"===e})),s?(C=_?Go:b||i||{},(E&&S||"imply"===c&&x)&&(P=s(k,C),v=P.destinationPreferences,b=P.customPreferences,C=b)):C=_?Go:v||i,Fo({writeKey:t,options:r,destinations:k,destinationPreferences:v,isConsentRequired:A,shouldReload:p,devMode:m,defaultDestinationBehavior:c,categoryPreferences:C}),this.setState({isLoading:!1,destinations:k,newDestinations:w,preferences:C,isConsentRequired:A,destinationPreferences:v,workspaceAddedNewDestinations:Boolean(x)}),[2]}}))}))},t.handleSetPreferences=function(e){t.setState((function(n){var r=n.destinations,o=n.preferences,a=t.mergePreferences({destinations:r,newPreferences:e,existingPreferences:o});return Uo(Uo({},n),{preferences:a,havePreferencesChanged:!0})}))},t.handleResetPreferences=function(){var e,n=t.props,r=n.initialPreferences,o=n.mapCustomPreferences,a=zo(n.cookieName),i=a.destinationPreferences,s=a.customPreferences;e=o?s||r:i||r,t.setState({preferences:e})},t.handleSaveConsent=function(e,n,r){var o=t.props,a=o.writeKey,i=o.options,s=o.cookieDomain,c=o.cookieName,l=o.cookieExpires,u=o.cookieAttributes,f=o.mapCustomPreferences,p=o.defaultDestinationBehavior;t.setState((function(o){var d,m,h=o.destinations,_=o.preferences,g=o.isConsentRequired,v=t.mergePreferences({destinations:h,newPreferences:e,existingPreferences:_});if(f){var b=f(h,v);d=b.destinationPreferences,(m=b.customPreferences)?v=m:m=v}else d=v;var y=$o(h,d);return(o.havePreferencesChanged||y.length>0||"boolean"==typeof e)&&(n=!0),Bo({destinationPreferences:d,customPreferences:m,cookieDomain:s,cookieName:c,cookieExpires:l,cookieAttributes:u}),Fo({writeKey:a,options:i,destinations:h,destinationPreferences:d,isConsentRequired:g,shouldReload:n,devMode:r,defaultDestinationBehavior:p,categoryPreferences:m}),Uo(Uo({},o),{destinationPreferences:d,preferences:v,newDestinations:y})}))},t.mergePreferences=function(e){var n,t=e.destinations,r=e.existingPreferences,o=e.newPreferences;if("boolean"==typeof o){for(var a={},i=0,s=t;i<s.length;i++){a[s[i].id]=o}n=a}else n=o?Uo(Uo({},r),o):r;return n},t}return Ho(n,e),n.prototype.render=function(){var e=this.props,n=e.children,t=e.customCategories,r=this.state,o=r.isLoading,a=r.destinations,i=r.preferences,s=r.newDestinations,c=r.isConsentRequired,l=r.havePreferencesChanged,u=r.workspaceAddedNewDestinations,f=r.destinationPreferences;return o?null:n({destinations:a,customCategories:t,newDestinations:s,preferences:i,isConsentRequired:c,havePreferencesChanged:l,workspaceAddedNewDestinations:u,destinationPreferences:f,setPreferences:this.handleSetPreferences,resetPreferences:this.handleResetPreferences,saveConsent:this.handleSaveConsent})},n.prototype.componentDidMount=function(){return Yo(this,void 0,void 0,(function(){var e,n;return Ko(this,(function(t){switch(t.label){case 0:if(!(e=this.props.onError)||"function"!=typeof e)return[3,6];t.label=1;case 1:return t.trys.push([1,3,,5]),[4,this.initialise()];case 2:return t.sent(),[3,5];case 3:return n=t.sent(),[4,e(n)];case 4:return t.sent(),[3,5];case 5:return[3,8];case 6:return[4,this.initialise()];case 7:t.sent(),t.label=8;case 8:return[2]}}))}))},n.displayName="ConsentManagerBuilder",n.defaultProps={options:void 0,onError:void 0,shouldRequireConsent:function(){return!0},initialPreferences:{},cdnHost:"cdn.hightouch-events.com",shouldReload:!0,devMode:!1,useDefaultCategories:!1},n}(y),Wo=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),qo=function(){return(qo=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},Xo={marketingAndAnalytics:null,advertising:null,functional:null},Jo={headings:{allowValue:"Allow",categoryValue:"Category",purposeValue:"Purpose",toolsValue:"Tools"},checkboxes:{noValue:"No",yesValue:"Yes"},actionButtons:{cancelValue:"Cancel",saveValue:"Save"},cancelDialogButtons:{cancelValue:"Yes, Cancel",backValue:"Go Back"},categories:[{key:"functional",name:"Functional",description:"To monitor the performance of our site and to enhance your browsing experience.",example:"For example, these tools enable you to communicate with us via live chat."},{key:"marketing",name:"Marketing and Analytics",description:"To understand user behavior in order to provide you with a more relevant browsing experience or personalize the content on our site.",example:"For example, we collect information about which pages you visit to help us present more relevant information."},{key:"advertising",name:"Advertising",description:"To personalize and measure the effectiveness of advertising on our site and other websites.",example:"For example, we may serve you a personalized ad based on the pages you visit on our site."},{key:"essential",name:"Essential",description:"We use browser cookies that are necessary for the site to work as intended.",example:"For example, we store your website data collection preferences so we can honor them if you return to our site. You can disable these cookies in your browser settings but if you do the site may not work as intended."}]},Zo=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.mergeTemplates=function(e,n){return{headings:qo(qo({},n.headings),e.headings),checkboxes:qo(qo({},n.checkboxes),e.checkboxes),actionButtons:qo(qo({},n.actionButtons),e.actionButtons),cancelDialogButtons:qo(qo({},n.cancelDialogButtons),e.cancelDialogButtons),categories:null==n?void 0:n.categories.map((function(n){var t;return qo(qo({},n),null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.find((function(e){return e.key===n.key})))}))}},n.getInitialPreferences=function(){var e=n.props,t=e.initialPreferences,r=e.customCategories;if(t)return t;if(!r)return Xo;var o={};return Object.keys(r).forEach((function(e){o[e]=null})),o},n.handleMapCustomPreferences=function(e,t){var r=n.props.customCategories,o={},a={};if(r){for(var i=0,s=Object.keys(r);i<s.length;i++){var c=t[f=s[i]];a[f]="boolean"!=typeof c&&"string"!=typeof c||c}return e.forEach((function(e){Object.entries(r).forEach((function(n){var t,r=n[0],i=n[1].integrations,s=!1===o[e.id];null!==(t=null==i?void 0:i.includes(e.id))&&void 0!==t&&t&&!s&&(o[e.id]=a[r])}))})),{destinationPreferences:o,customPreferences:a}}for(var l=0,u=Object.keys(t);l<u.length;l++){var f;c=t[f=u[l]];a[f]="boolean"!=typeof c||c}for(var p=a,d=function(e){xo.find((function(n){return n===e.category}))&&!1!==o[e.id]&&(o[e.id]=p.advertising),Co.find((function(n){return n===e.category}))&&!1!==o[e.id]&&(o[e.id]=p.functional),e.id in o||(o[e.id]=p.marketingAndAnalytics)},m=0,h=e;m<h.length;m++){d(h[m])}return{destinationPreferences:o,customPreferences:a}},n}return Wo(n,e),n.prototype.render=function(){var e=this,t=this.props,r=t.writeKey,o=t.options,a=t.shouldRequireConsent,i=t.implyConsentOnInteraction,s=t.cookieDomain,c=t.cookieName,l=t.cookieExpires,u=t.cookieAttributes,f=t.bannerContent,p=t.bannerActionsBlock,d=t.bannerSubContent,m=t.bannerTextColor,h=t.bannerBackgroundColor,_=t.bannerHideCloseButton,g=t.bannerAsModal,v=t.preferencesDialogTitle,b=t.preferencesDialogContent,y=t.cancelDialogTitle,A=t.cancelDialogContent,k=t.customCategories,w=t.defaultDestinationBehavior,x=t.cdnHost,C=t.preferencesDialogTemplate,E=t.onError;return gn.createElement(Vo,{onError:E,writeKey:r,options:o,shouldRequireConsent:a,cookieDomain:s,cookieName:c,cookieExpires:l,cookieAttributes:u,initialPreferences:this.getInitialPreferences(),mapCustomPreferences:this.handleMapCustomPreferences,customCategories:k,defaultDestinationBehavior:w,cdnHost:x},(function(t){var r=t.destinations,o=t.customCategories,a=t.newDestinations,s=t.preferences,c=t.isConsentRequired,l=t.setPreferences,u=t.resetPreferences,k=t.saveConsent,x=t.havePreferencesChanged,E=t.workspaceAddedNewDestinations;return gn.createElement(Po,{customCategories:o,destinations:r,newDestinations:a,preferences:s,isConsentRequired:c,setPreferences:l,resetPreferences:u,saveConsent:k,closeBehavior:e.props.closeBehavior,implyConsentOnInteraction:null!=i?i:n.defaultProps.implyConsentOnInteraction,bannerContent:f,bannerSubContent:d,bannerActionsBlock:p,bannerHideCloseButton:_,bannerTextColor:m||n.defaultProps.bannerTextColor,bannerBackgroundColor:h||n.defaultProps.bannerBackgroundColor,bannerAsModal:g,preferencesDialogTitle:v,preferencesDialogContent:b,cancelDialogTitle:y,cancelDialogContent:A,havePreferencesChanged:x,defaultDestinationBehavior:w,workspaceAddedNewDestinations:E,preferencesDialogTemplate:C?e.mergeTemplates(C,Jo):n.defaultProps.preferencesDialogTemplate})}))},n.displayName="ConsentManager",n.defaultProps={options:void 0,shouldRequireConsent:function(){return!0},implyConsentOnInteraction:!1,onError:void 0,cookieDomain:void 0,cookieName:void 0,cookieExpires:void 0,cookieAttributes:{},customCategories:void 0,bannerActionsBlock:void 0,bannerHideCloseButton:!1,bannerTextColor:"#fff",bannerContent:"We use cookies (and other similar technologies) to collect data to improve your experience on our site. By using our website, you’re agreeing to the collection of data as described in our Privacy Policy.",bannerSubContent:"You can change your preferences at any time.",bannerBackgroundColor:"#1f4160",preferencesDialogTitle:"Website Data Collection Preferences",preferencesDialogContent:gn.createElement("div",null,gn.createElement("p",null,"We use data collected by cookies and JavaScript libraries to improve your browsing experience, analyze site traffic, deliver personalized advertisements, and increase the overall performance of our site."),gn.createElement("p",null,"By using our website, you’re agreeing to our Privacy Policy."),gn.createElement("p",null,"The table below outlines how we use this data by category. To opt out of a category of data collection, select “No” and save your preferences.")),cancelDialogTitle:"Are you sure you want to cancel?",cancelDialogContent:"Your preferences have not been saved. By continuing to use our website, you’re agreeing to our Privacy Policy.",defaultDestinationBehavior:"disable",preferencesDialogTemplate:Jo},n}(xe),Qo=Zo;function ea(){if("undefined"!=typeof window&&(window.navigator||navigator)){var e=navigator,n=e.doNotTrack||window.doNotTrack||e.msDoNotTrack;if("yes"===n?n="1":"no"===n&&(n="0"),"1"===n)return!0;if("0"===n)return!1}return null}var na,ta=function(){return(ta=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},ra="0.1.0",oa={},aa=window;if(!aa.consentManagerConfig||"function"!=typeof aa.consentManagerConfig)throw new Error("window.consentManagerConfig should be a function");if(!(na=(oa=aa.consentManagerConfig({React:gn,version:ra,openConsentManager:So,doNotTrack:ea,inEU:bn.a,preferences:o,inRegions:An.a})).container))throw new Error("ConsentManager: container is required");if(!oa.writeKey)throw new Error("ConsentManager: writeKey is required");if("string"==typeof oa.implyConsentOnInteraction&&(oa.implyConsentOnInteraction="true"===oa.implyConsentOnInteraction),void 0!==oa.closeBehavior&&"string"==typeof oa.closeBehavior){var ia=["accept","deny","dismiss"];if(!ia.includes(oa.closeBehavior))throw new Error("ConsentManager: closeBehavior should be one of "+ia)}var sa=document.querySelector(na);if(!sa)throw new Error("ConsentManager: container not found");gn.render(gn.createElement(Qo,ta({},oa)),sa)}]);
23
23
  //# sourceMappingURL=consent-manager.js.map