@flarehr/superhero-salpac-profile-admin 1.0.598 → 1.0.600
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
|
|
1
1
|
var __defProp=Object.defineProperty,__defNormalProp=(e,t,r)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,__publicField=(e,t,r)=>__defNormalProp(e,"symbol"!=typeof t?t+"":t,r);!function(){"use strict";var e,t,r,n,o,i,a,c,s,l,u,d={},p=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,_=Array.isArray;function h(e,t){for(var r in t)e[r]=t[r];return e}function m(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function g(t,r,n){var o,i,a,c={};for(a in r)"key"==a?o=r[a]:"ref"==a?i=r[a]:c[a]=r[a];if(arguments.length>2&&(c.children=arguments.length>3?e.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===c[a]&&(c[a]=t.defaultProps[a]);return v(t,c,o,i,null)}function v(e,n,o,i,a){var c={type:e,props:n,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==a?++r:a,__i:-1,__u:0};return null==a&&null!=t.vnode&&t.vnode(c),c}function y(){return{current:null}}function w(e){return e.children}function b(e,t){this.props=e,this.context=t}function k(e,t){if(null==t)return e.__?k(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?k(e):null}function x(e){var t,r;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e){e.__e=e.__c.base=r.__e;break}return x(e)}}function S(e){(!e.__d&&(e.__d=!0)&&n.push(e)&&!C.__r++||o!==t.debounceRendering)&&((o=t.debounceRendering)||i)(C)}function C(){var e,r,o,i,c,s,l,u;for(n.sort(a);e=n.shift();)e.__d&&(r=n.length,i=void 0,s=(c=(o=e).__v).__e,l=[],u=[],o.__P&&((i=h({},c)).__v=c.__v+1,t.vnode&&t.vnode(i),O(o.__P,i,c,o.__n,o.__P.namespaceURI,32&c.__u?[s]:null,l,null==s?k(c):s,!!(32&c.__u),u),i.__v=c.__v,i.__.__k[i.__i]=i,L(l,i,u),i.__e!=s&&x(i)),n.length>r&&n.sort(a));C.__r=0}function T(e,t,r,n,o,i,a,c,s,l,u){var f,h,m,g,y,b=n&&n.__k||p,x=t.length;for(r.__d=s,function(e,t,r){var n,o,i,a,c,s=t.length,l=r.length,u=l,d=0;for(e.__k=[],n=0;n<s;n++)null!=(o=t[n])&&"boolean"!=typeof o&&"function"!=typeof o?(a=n+d,(o=e.__k[n]="string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?v(null,o,null,null,null):_(o)?v(w,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?v(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,i=null,-1!==(c=o.__i=A(o,r,a,u))&&(u--,(i=r[c])&&(i.__u|=131072)),null==i||null===i.__v?(-1==c&&d--,"function"!=typeof o.type&&(o.__u|=65536)):c!==a&&(c==a-1?d--:c==a+1?d++:(c>a?d--:d++,o.__u|=65536))):o=e.__k[n]=null;if(u)for(n=0;n<l;n++)null!=(i=r[n])&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=k(i)),z(i,i))}(r,t,b),s=r.__d,f=0;f<x;f++)null!=(m=r.__k[f])&&(h=-1===m.__i?d:b[m.__i]||d,m.__i=f,O(e,m,h,o,i,a,c,s,l,u),g=m.__e,m.ref&&h.ref!=m.ref&&(h.ref&&I(h.ref,null,m),u.push(m.ref,m.__c||g,m)),null==y&&null!=g&&(y=g),65536&m.__u||h.__k===m.__k?s=E(m,s,e):"function"==typeof m.type&&void 0!==m.__d?s=m.__d:g&&(s=g.nextSibling),m.__d=void 0,m.__u&=-196609);r.__d=s,r.__e=y}function E(e,t,r){var n,o;if("function"==typeof e.type){for(n=e.__k,o=0;n&&o<n.length;o++)n[o]&&(n[o].__=e,t=E(n[o],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=k(e)),r.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function P(e,t){return t=t||[],null==e||"boolean"==typeof e||(_(e)?e.some((function(e){P(e,t)})):t.push(e)),t}function A(e,t,r,n){var o=e.key,i=e.type,a=r-1,c=r+1,s=t[r];if(null===s||s&&o==s.key&&i===s.type&&!(131072&s.__u))return r;if(n>(null==s||131072&s.__u?0:1))for(;a>=0||c<t.length;){if(a>=0){if((s=t[a])&&!(131072&s.__u)&&o==s.key&&i===s.type)return a;a--}if(c<t.length){if((s=t[c])&&!(131072&s.__u)&&o==s.key&&i===s.type)return c;c++}}return-1}function R(e,t,r){"-"===t[0]?e.setProperty(t,null==r?"":r):e[t]=null==r?"":"number"!=typeof r||f.test(t)?r:r+"px"}function N(e,t,r,n,o){var i;e:if("style"===t)if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||R(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||R(e.style,t,r[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=r,r?n?r.u=n.u:(r.u=c,e.addEventListener(t,i?l:s,i)):e.removeEventListener(t,i?l:s,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==r?"":r;break e}catch(a){}"function"==typeof r||(null==r||!1===r&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==r?"":r))}}function $(e){return function(r){if(this.l){var n=this.l[r.type+e];if(null==r.t)r.t=c++;else if(r.t<n.u)return;return n(t.event?t.event(r):r)}}}function O(r,n,o,i,a,c,s,l,u,p){var f,g,v,y,x,S,C,E,P,A,R,$,O,L,I,z,M=n.type;if(void 0!==n.constructor)return null;128&o.__u&&(u=!!(32&o.__u),c=[l=n.__e=o.__e]),(f=t.__b)&&f(n);e:if("function"==typeof M)try{if(E=n.props,P="prototype"in M&&M.prototype.render,A=(f=M.contextType)&&i[f.__c],R=f?A?A.props.value:f.__:i,o.__c?C=(g=n.__c=o.__c).__=g.__E:(P?n.__c=g=new M(E,R):(n.__c=g=new b(E,R),g.constructor=M,g.render=H),A&&A.sub(g),g.props=E,g.state||(g.state={}),g.context=R,g.__n=i,v=g.__d=!0,g.__h=[],g._sb=[]),P&&null==g.__s&&(g.__s=g.state),P&&null!=M.getDerivedStateFromProps&&(g.__s==g.state&&(g.__s=h({},g.__s)),h(g.__s,M.getDerivedStateFromProps(E,g.__s))),y=g.props,x=g.state,g.__v=n,v)P&&null==M.getDerivedStateFromProps&&null!=g.componentWillMount&&g.componentWillMount(),P&&null!=g.componentDidMount&&g.__h.push(g.componentDidMount);else{if(P&&null==M.getDerivedStateFromProps&&E!==y&&null!=g.componentWillReceiveProps&&g.componentWillReceiveProps(E,R),!g.__e&&(null!=g.shouldComponentUpdate&&!1===g.shouldComponentUpdate(E,g.__s,R)||n.__v===o.__v)){for(n.__v!==o.__v&&(g.props=E,g.state=g.__s,g.__d=!1),n.__e=o.__e,n.__k=o.__k,n.__k.some((function(e){e&&(e.__=n)})),$=0;$<g._sb.length;$++)g.__h.push(g._sb[$]);g._sb=[],g.__h.length&&s.push(g);break e}null!=g.componentWillUpdate&&g.componentWillUpdate(E,g.__s,R),P&&null!=g.componentDidUpdate&&g.__h.push((function(){g.componentDidUpdate(y,x,S)}))}if(g.context=R,g.props=E,g.__P=r,g.__e=!1,O=t.__r,L=0,P){for(g.state=g.__s,g.__d=!1,O&&O(n),f=g.render(g.props,g.state,g.context),I=0;I<g._sb.length;I++)g.__h.push(g._sb[I]);g._sb=[]}else do{g.__d=!1,O&&O(n),f=g.render(g.props,g.state,g.context),g.state=g.__s}while(g.__d&&++L<25);g.state=g.__s,null!=g.getChildContext&&(i=h(h({},i),g.getChildContext())),P&&!v&&null!=g.getSnapshotBeforeUpdate&&(S=g.getSnapshotBeforeUpdate(y,x)),T(r,_(z=null!=f&&f.type===w&&null==f.key?f.props.children:f)?z:[z],n,o,i,a,c,s,l,u,p),g.base=n.__e,n.__u&=-161,g.__h.length&&s.push(g),C&&(g.__E=g.__=null)}catch(U){if(n.__v=null,u||null!=c){for(n.__u|=u?160:128;l&&8===l.nodeType&&l.nextSibling;)l=l.nextSibling;c[c.indexOf(l)]=null,n.__e=l}else n.__e=o.__e,n.__k=o.__k;t.__e(U,n,o)}else null==c&&n.__v===o.__v?(n.__k=o.__k,n.__e=o.__e):n.__e=function(r,n,o,i,a,c,s,l,u){var p,f,h,g,v,y,w,b=o.props,x=n.props,S=n.type;if("svg"===S?a="http://www.w3.org/2000/svg":"math"===S?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),null!=c)for(p=0;p<c.length;p++)if((v=c[p])&&"setAttribute"in v==!!S&&(S?v.localName===S:3===v.nodeType)){r=v,c[p]=null;break}if(null==r){if(null===S)return document.createTextNode(x);r=document.createElementNS(a,S,x.is&&x),l&&(t.__m&&t.__m(n,c),l=!1),c=null}if(null===S)b===x||l&&r.data===x||(r.data=x);else{if(c=c&&e.call(r.childNodes),b=o.props||d,!l&&null!=c)for(b={},p=0;p<r.attributes.length;p++)b[(v=r.attributes[p]).name]=v.value;for(p in b)if(v=b[p],"children"==p);else if("dangerouslySetInnerHTML"==p)h=v;else if(!(p in x)){if("value"==p&&"defaultValue"in x||"checked"==p&&"defaultChecked"in x)continue;N(r,p,null,v,a)}for(p in x)v=x[p],"children"==p?g=v:"dangerouslySetInnerHTML"==p?f=v:"value"==p?y=v:"checked"==p?w=v:l&&"function"!=typeof v||b[p]===v||N(r,p,v,b[p],a);if(f)l||h&&(f.__html===h.__html||f.__html===r.innerHTML)||(r.innerHTML=f.__html),n.__k=[];else if(h&&(r.innerHTML=""),T(r,_(g)?g:[g],n,o,i,"foreignObject"===S?"http://www.w3.org/1999/xhtml":a,c,s,c?c[0]:o.__k&&k(o,0),l,u),null!=c)for(p=c.length;p--;)m(c[p]);l||(p="value","progress"===S&&null==y?r.removeAttribute("value"):void 0!==y&&(y!==r[p]||"progress"===S&&!y||"option"===S&&y!==b[p])&&N(r,p,y,b[p],a),p="checked",void 0!==w&&w!==r[p]&&N(r,p,w,b[p],a))}return r}(o.__e,n,o,i,a,c,s,u,p);(f=t.diffed)&&f(n)}function L(e,r,n){r.__d=void 0;for(var o=0;o<n.length;o++)I(n[o],n[++o],n[++o]);t.__c&&t.__c(r,e),e.some((function(r){try{e=r.__h,r.__h=[],e.some((function(e){e.call(r)}))}catch(n){t.__e(n,r.__v)}}))}function I(e,r,n){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==r||(e.__u=e(r))}else e.current=r}catch(i){t.__e(i,n)}}function z(e,r,n){var o,i;if(t.unmount&&t.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||I(o,null,r)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(a){t.__e(a,r)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&z(o[i],r,n||"function"!=typeof e.type);n||m(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function H(e,t,r){return this.constructor(e,r)}function M(r,n,o){var i,a,c,s;t.__&&t.__(r,n),a=(i="function"==typeof o)?null:o&&o.__k||n.__k,c=[],s=[],O(n,r=(!i&&o||n).__k=g(w,null,[r]),a||d,d,n.namespaceURI,!i&&o?[o]:a?null:n.firstChild?e.call(n.childNodes):null,c,!i&&o?o:a?a.__e:n.firstChild,i,s),L(c,r,s)}function U(e,t){M(e,t,U)}function W(t,r,n){var o,i,a,c,s=h({},t.props);for(a in t.type&&t.type.defaultProps&&(c=t.type.defaultProps),r)"key"==a?o=r[a]:"ref"==a?i=r[a]:s[a]=void 0===r[a]&&void 0!==c?c[a]:r[a];return arguments.length>2&&(s.children=arguments.length>3?e.call(arguments,2):n),v(t.type,s,o||t.key,i||t.ref,null)}function D(e,t){var r={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var r,n;return this.getChildContext||(r=new Set,(n={})[t]=this,this.getChildContext=function(){return n},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&r.forEach((function(e){e.__e=!0,S(e)}))},this.sub=function(e){r.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){r&&r.delete(e),t&&t.call(e)}}),e.children}};return r.Provider.__=r.Consumer.contextType=r}function F(){return(F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}e=p.slice,t={__e:function(e,t,r,n){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,n||{}),a=o.__d),a)return o.__E=o}catch(c){e=c}throw e}},r=0,b.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},r),this.props)),e&&h(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),S(this))},b.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},b.prototype.render=w,n=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,a=function(e,t){return e.__v.__b-t.__v.__b},C.__r=0,c=0,s=$(!1),l=$(!0),u=0;var j=["context","children"];function B(e){return this.getChildContext=function(){return e.context},W(e.children,function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r]);return o}(e,j))}function V(){var e=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(e),this._vdom=g(B,F({},this._props,{context:e.detail.context}),function e(t,r){if(3===t.nodeType)return t.data;if(1!==t.nodeType)return null;var n=[],o={},i=0,a=t.attributes,c=t.childNodes;for(i=a.length;i--;)"slot"!==a[i].name&&(o[a[i].name]=a[i].value,o[q(a[i].name)]=a[i].value);for(i=c.length;i--;){var s=e(c[i],null),l=c[i].slot;l?o[l]=g(X,{name:l},s):n[i]=s}var u=r?g(X,null,n):n;return g(r||t.nodeName.toLowerCase(),o,u)}(this,this._vdomComponent)),(this.hasAttribute("hydrate")?U:M)(this._vdom,this._root)}function q(e){return e.replace(/-(\w)/g,(function(e,t){return t?t.toUpperCase():""}))}function G(e,t,r){if(this._vdom){var n={};n[e]=r=null==r?void 0:r,n[q(e)]=r,this._vdom=W(this._vdom,n),M(this._vdom,this._root)}}function Y(){M(this._vdom=null,this._root)}function X(e,t){var r=this;return g("slot",F({},e,{ref:function(e){e?(r.ref=e,r._listener||(r._listener=function(e){e.stopPropagation(),e.detail.context=t},e.addEventListener("_preact",r._listener))):r.ref.removeEventListener("_preact",r._listener)}}))}var Z,J,K,Q,ee=0,te=[],re=t,ne=re.__b,oe=re.__r,ie=re.diffed,ae=re.__c,ce=re.unmount,se=re.__;function le(e,t){re.__h&&re.__h(J,e,ee||t),ee=0;var r=J.__H||(J.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function ue(e){return ee=1,de(Ee,e)}function de(e,t,r){var n=le(Z++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):Ee(void 0,t),function(e){var t=n.__N?n.__N[0]:n.__[0],r=n.t(t,e);t!==r&&(n.__N=[r,n.__[1]],n.__c.setState({}))}],n.__c=J,!J.u)){var o=function(e,t,r){if(!n.__c.__H)return!0;var o=n.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,r);var a=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}})),!(!a&&n.__c.props===e)&&(!i||i.call(this,e,t,r))};J.u=!0;var i=J.shouldComponentUpdate,a=J.componentWillUpdate;J.componentWillUpdate=function(e,t,r){if(this.__e){var n=i;i=void 0,o(e,t,r),i=n}a&&a.call(this,e,t,r)},J.shouldComponentUpdate=o}return n.__N||n.__}function pe(e,t){var r=le(Z++,3);!re.__s&&Te(r.__H,t)&&(r.__=e,r.i=t,J.__H.__h.push(r))}function fe(e,t){var r=le(Z++,4);!re.__s&&Te(r.__H,t)&&(r.__=e,r.i=t,J.__h.push(r))}function _e(e){return ee=5,me((function(){return{current:e}}),[])}function he(e,t,r){ee=6,fe((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==r?r:r.concat(e))}function me(e,t){var r=le(Z++,7);return Te(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function ge(e,t){return ee=8,me((function(){return e}),t)}function ve(e){var t=J.context[e.__c],r=le(Z++,9);return r.c=e,t?(null==r.__&&(r.__=!0,t.sub(J)),t.props.value):e.__}function ye(e,t){re.useDebugValue&&re.useDebugValue(t?t(e):e)}function we(){var e=le(Z++,11);if(!e.__){for(var t=J.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function be(){for(var e;e=te.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Se),e.__H.__h.forEach(Ce),e.__H.__h=[]}catch(t){e.__H.__h=[],re.__e(t,e.__v)}}re.__b=function(e){J=null,ne&&ne(e)},re.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),se&&se(e,t)},re.__r=function(e){oe&&oe(e),Z=0;var t=(J=e.__c).__H;t&&(K===J?(t.__h=[],J.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(Se),t.__h.forEach(Ce),t.__h=[],Z=0)),K=J},re.diffed=function(e){ie&&ie(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==te.push(t)&&Q===re.requestAnimationFrame||((Q=re.requestAnimationFrame)||xe)(be)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),K=J=null},re.__c=function(e,t){t.some((function(e){try{e.__h.forEach(Se),e.__h=e.__h.filter((function(e){return!e.__||Ce(e)}))}catch(r){t.some((function(e){e.__h&&(e.__h=[])})),t=[],re.__e(r,e.__v)}})),ae&&ae(e,t)},re.unmount=function(e){ce&&ce(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{Se(e)}catch(r){t=r}})),r.__H=void 0,t&&re.__e(t,r.__v))};var ke="function"==typeof requestAnimationFrame;function xe(e){var t,r=function(){clearTimeout(n),ke&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);ke&&(t=requestAnimationFrame(r))}function Se(e){var t=J,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),J=t}function Ce(e){var t=J;e.__c=e.__(),J=t}function Te(e,t){return!e||e.length!==t.length||t.some((function(t,r){return t!==e[r]}))}function Ee(e,t){return"function"==typeof t?t(e):t}class Pe extends Error{constructor(e,t){super(e),__publicField(this,"_response"),this._response=t,Object.setPrototypeOf(this,Pe.prototype)}get response(){return this._response}}const Ae=(e,t)=>(r,n,o,i)=>(async(e,t,r,n,o)=>{const i=await fetch(e,{method:t,body:n?JSON.stringify(n):void 0,headers:{authorization:`Bearer ${r}`,"content-type":"application/json"},signal:(null==AbortSignal?void 0:AbortSignal.timeout)&&AbortSignal.timeout(15e3)});if(!i.ok)throw new Pe(`[API] Fetch error: ${i.statusText}. Url: ${t} ${e}`,i);return o?{}:await i.json()})(new URL(`${e}/salary-packaging/admin/v1.0${r}`),n,t,o,i),Re=async(e,t)=>await e(`/accounts/${t}/auth`,"GET");class Ne extends Error{}function $e(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,t)=>{let r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r})))}(t)}catch(r){return atob(t)}}Ne.prototype.name="InvalidTokenError";class Oe{constructor(e){__publicField(this,"roles"),__publicField(this,"isAuthorized"),this.roles=e,this.isAuthorized=e.includes("SalaryPackaging.Access")}static create(e){const t=function(e,t){if("string"!=typeof e)throw new Ne("Invalid token specified: must be a string");t||(t={});const r=!0===t.header?0:1,n=e.split(".")[r];if("string"!=typeof n)throw new Ne(`Invalid token specified: missing part #${r+1}`);let o;try{o=$e(n)}catch(i){throw new Ne(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(o)}catch(i){throw new Ne(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}(e);return new Oe(t.roles||[])}}function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Le.apply(null,arguments)}function Ie(e,t){for(var r in e)if("__source"!==r&&!(r in t))return!0;for(var n in t)if("__source"!==n&&e[n]!==t[n])return!0;return!1}function ze(e,t){this.props=e,this.context=t}function He(e,t){function r(e){var r=this.props.ref,n=r==e.ref;return!n&&r&&(r.call?r(null):r.current=null),t?!t(this.props,e)||!n:Ie(this.props,e)}function n(t){return this.shouldComponentUpdate=r,g(e,t)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(ze.prototype=new b).isPureReactComponent=!0,ze.prototype.shouldComponentUpdate=function(e,t){return Ie(this.props,e)||Ie(this.state,t)};var Me=t.__b;t.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Me&&Me(e)};var Ue="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function We(e){function t(t){if(!("ref"in t))return e(t,null);var r=t.ref;delete t.ref;var n=e(t,r);return t.ref=r,n}return t.$$typeof=Ue,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var De=function(e,t){return null==e?null:P(P(e).map(t))},Fe={map:De,forEach:De,count:function(e){return e?P(e).length:0},only:function(e){var t=P(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:P},je=t.__e;t.__e=function(e,t,r,n){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=r.__e,t.__k=r.__k),o.__c(e,t);je(e,t,r,n)};var Be=t.unmount;function Ve(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var r in t)e[r]=t[r];return e}({},e)).__c&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Ve(e,t,r)}))),e}function qe(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return qe(e,t,r)})),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Ge(){this.__u=0,this.t=null,this.__b=null}function Ye(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Xe(e){var t,r,n;function o(o){if(t||(t=e()).then((function(e){r=e.default||e}),(function(e){n=e})),n)throw n;if(!r)throw t;return g(r,o)}return o.displayName="Lazy",o.__f=!0,o}function Ze(){this.u=null,this.o=null}t.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Be&&Be(e)},(Ge.prototype=new b).__c=function(e,t){var r=t.__c,n=this;null==n.t&&(n.t=[]),n.t.push(r);var o=Ye(n.__v),i=!1,a=function(){i||(i=!0,r.__R=null,o?o(c):c())};r.__R=a;var c=function(){if(! --n.__u){if(n.state.__a){var e=n.state.__a;n.__v.__k[0]=qe(e,e.__c.__P,e.__c.__O)}var t;for(n.setState({__a:n.__b=null});t=n.t.pop();)t.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},Ge.prototype.componentWillUnmount=function(){this.t=[]},Ge.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Ve(this.__b,r,n.__O=n.__P)}this.__b=null}var o=t.__a&&g(w,null,e.fallback);return o&&(o.__u&=-33),[g(w,null,t.__a?null:e.children),o]};var Je=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.u=r=r[2]}};function Ke(e){return this.getChildContext=function(){return e.context},e.children}function Qe(e){var t=this,r=e.i;t.componentWillUnmount=function(){M(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),t.l||(t.i=r,t.l={nodeType:1,parentNode:r,childNodes:[],contains:function(){return!0},appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,r){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),M(g(Ke,{context:t.context},e.__v),t.l)}function et(e,t){var r=g(Qe,{__v:e,i:t});return r.containerInfo=t,r}(Ze.prototype=new b).__a=function(e){var t=this,r=Ye(t.__v),n=t.o.get(e);return n[0]++,function(o){var i=function(){t.props.revealOrder?(n.push(o),Je(t,e,n)):o()};r?r(i):i()}},Ze.prototype.render=function(e){this.u=null,this.o=new Map;var t=P(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},Ze.prototype.componentDidUpdate=Ze.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,r){Je(e,r,t)}))};var tt="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,rt=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|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]/,nt=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ot=/[A-Z0-9]/g,it="undefined"!=typeof document,at=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function ct(e,t,r){return null==t.__k&&(t.textContent=""),M(e,t),"function"==typeof r&&r(),e?e.__c:null}function st(e,t,r){return U(e,t),"function"==typeof r&&r(),e?e.__c:null}b.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(b.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var lt=t.event;function ut(){}function dt(){return this.cancelBubble}function pt(){return this.defaultPrevented}t.event=function(e){return lt&&(e=lt(e)),e.persist=ut,e.isPropagationStopped=dt,e.isDefaultPrevented=pt,e.nativeEvent=e};var ft,_t={enumerable:!1,configurable:!0,get:function(){return this.class}},ht=t.vnode;t.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,r=e.type,n={},o=-1===r.indexOf("-");for(var i in t){var a=t[i];if(!("value"===i&&"defaultValue"in t&&null==a||it&&"children"===i&&"noscript"===r||"class"===i||"className"===i)){var c=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===a?a="":"translate"===c&&"no"===a?a=!1:"o"===c[0]&&"n"===c[1]?"ondoubleclick"===c?i="ondblclick":"onchange"!==c||"input"!==r&&"textarea"!==r||at(t.type)?"onfocus"===c?i="onfocusin":"onblur"===c?i="onfocusout":nt.test(i)&&(i=c):c=i="oninput":o&&rt.test(i)?i=i.replace(ot,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===c&&n[i=c]&&(i="oninputCapture"),n[i]=a}}"select"==r&&n.multiple&&Array.isArray(n.value)&&(n.value=P(t.children).forEach((function(e){e.props.selected=-1!=n.value.indexOf(e.props.value)}))),"select"==r&&null!=n.defaultValue&&(n.value=P(t.children).forEach((function(e){e.props.selected=n.multiple?-1!=n.defaultValue.indexOf(e.props.value):n.defaultValue==e.props.value}))),t.class&&!t.className?(n.class=t.class,Object.defineProperty(n,"className",_t)):(t.className&&!t.class||t.class&&t.className)&&(n.class=n.className=t.className),e.props=n}(e),e.$$typeof=tt,ht&&ht(e)};var mt=t.__r;t.__r=function(e){mt&&mt(e),ft=e.__c};var gt=t.diffed;t.diffed=function(e){gt&>(e);var t=e.props,r=e.__e;null!=r&&"textarea"===e.type&&"value"in t&&t.value!==r.value&&(r.value=null==t.value?"":t.value),ft=null};var vt={ReactCurrentDispatcher:{current:{readContext:function(e){return ft.__n[e.__c].props.value},useCallback:ge,useContext:ve,useDebugValue:ye,useDeferredValue:Rt,useEffect:pe,useId:we,useImperativeHandle:he,useInsertionEffect:$t,useLayoutEffect:fe,useMemo:me,useReducer:de,useRef:_e,useState:ue,useSyncExternalStore:Lt,useTransition:Nt}}};function yt(e){return g.bind(null,e)}function wt(e){return!!e&&e.$$typeof===tt}function bt(e){return wt(e)&&e.type===w}function kt(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function xt(e){return wt(e)?W.apply(null,arguments):e}function St(e){return!!e.__k&&(M(null,e),!0)}function Ct(e){return e&&(e.base||1===e.nodeType&&e)||null}var Tt=function(e,t){return e(t)},Et=function(e,t){return e(t)},Pt=w;function At(e){e()}function Rt(e){return e}function Nt(){return[!1,At]}var $t=fe,Ot=wt;function Lt(e,t){var r=t(),n=ue({h:{__:r,v:t}}),o=n[0].h,i=n[1];return fe((function(){o.__=r,o.v=t,It(o)&&i({h:o})}),[e,r,t]),pe((function(){return It(o)&&i({h:o}),e((function(){It(o)&&i({h:o})}))}),[e]),r}function It(e){var t,r,n=e.v,o=e.__;try{var i=n();return!((t=o)===(r=i)&&(0!==t||1/t==1/r)||t!=t&&r!=r)}catch(a){return!0}}var zt={useState:ue,useId:we,useReducer:de,useEffect:pe,useLayoutEffect:fe,useInsertionEffect:$t,useTransition:Nt,useDeferredValue:Rt,useSyncExternalStore:Lt,startTransition:At,useRef:_e,useImperativeHandle:he,useMemo:me,useCallback:ge,useContext:ve,useDebugValue:ye,version:"18.3.1",Children:Fe,render:ct,hydrate:st,unmountComponentAtNode:St,createPortal:et,createElement:g,createContext:D,createFactory:yt,cloneElement:xt,createRef:y,Fragment:w,isValidElement:wt,isElement:Ot,isFragment:bt,isMemo:kt,findDOMNode:Ct,Component:b,PureComponent:ze,memo:He,forwardRef:We,flushSync:Et,unstable_batchedUpdates:Tt,StrictMode:Pt,Suspense:Ge,SuspenseList:Ze,lazy:Xe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:vt};const Ht=Object.freeze(Object.defineProperty({__proto__:null,Children:Fe,Component:b,Fragment:w,PureComponent:ze,StrictMode:Pt,Suspense:Ge,SuspenseList:Ze,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:vt,cloneElement:xt,createContext:D,createElement:g,createFactory:yt,createPortal:et,createRef:y,default:zt,findDOMNode:Ct,flushSync:Et,forwardRef:We,hydrate:st,isElement:Ot,isFragment:bt,isMemo:kt,isValidElement:wt,lazy:Xe,memo:He,render:ct,startTransition:At,unmountComponentAtNode:St,unstable_batchedUpdates:Tt,useCallback:ge,useContext:ve,useDebugValue:ye,useDeferredValue:Rt,useEffect:pe,useErrorBoundary:function(e){var t=le(Z++,10),r=ue();return t.__=e,J.componentDidCatch||(J.componentDidCatch=function(e,n){t.__&&t.__(e,n),r[1](e)}),[r[0],function(){r[1](void 0)}]},useId:we,useImperativeHandle:he,useInsertionEffect:$t,useLayoutEffect:fe,useMemo:me,useReducer:de,useRef:_e,useState:ue,useSyncExternalStore:Lt,useTransition:Nt,version:"18.3.1"},Symbol.toStringTag,{value:"Module"}));function Mt(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Ut=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|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)-.*))$/,Wt=Mt((function(e){return Ut.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var Dt=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(n){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Ft="-ms-",jt="-moz-",Bt="-webkit-",Vt="comm",qt="rule",Gt="decl",Yt="@keyframes",Xt=Math.abs,Zt=String.fromCharCode,Jt=Object.assign;function Kt(e){return e.trim()}function Qt(e,t,r){return e.replace(t,r)}function er(e,t){return e.indexOf(t)}function tr(e,t){return 0|e.charCodeAt(t)}function rr(e,t,r){return e.slice(t,r)}function nr(e){return e.length}function or(e){return e.length}function ir(e,t){return t.push(e),e}var ar=1,cr=1,sr=0,lr=0,ur=0,dr="";function pr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:ar,column:cr,length:a,return:""}}function fr(e,t){return Jt(pr("",null,null,"",null,null,0),e,{length:-e.length},t)}function _r(){return ur=lr<sr?tr(dr,lr++):0,cr++,10===ur&&(cr=1,ar++),ur}function hr(){return tr(dr,lr)}function mr(){return lr}function gr(e,t){return rr(dr,e,t)}function vr(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 yr(e){return ar=cr=1,sr=nr(dr=e),lr=0,[]}function wr(e){return dr="",e}function br(e){return Kt(gr(lr-1,Sr(91===e?e+2:40===e?e+1:e)))}function kr(e){for(;(ur=hr())&&ur<33;)_r();return vr(e)>2||vr(ur)>3?"":" "}function xr(e,t){for(;--t&&_r()&&!(ur<48||ur>102||ur>57&&ur<65||ur>70&&ur<97););return gr(e,mr()+(t<6&&32==hr()&&32==_r()))}function Sr(e){for(;_r();)switch(ur){case e:return lr;case 34:case 39:34!==e&&39!==e&&Sr(ur);break;case 40:41===e&&Sr(e);break;case 92:_r()}return lr}function Cr(e,t){for(;_r()&&e+ur!==57&&(e+ur!==84||47!==hr()););return"/*"+gr(t,lr-1)+"*"+Zt(47===e?e:_r())}function Tr(e){for(;!vr(hr());)_r();return gr(e,lr)}function Er(e){return wr(Pr("",null,null,null,[""],e=yr(e),0,[0],e))}function Pr(e,t,r,n,o,i,a,c,s){for(var l=0,u=0,d=a,p=0,f=0,_=0,h=1,m=1,g=1,v=0,y="",w=o,b=i,k=n,x=y;m;)switch(_=v,v=_r()){case 40:if(108!=_&&58==tr(x,d-1)){-1!=er(x+=Qt(br(v),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:x+=br(v);break;case 9:case 10:case 13:case 32:x+=kr(_);break;case 92:x+=xr(mr()-1,7);continue;case 47:switch(hr()){case 42:case 47:ir(Rr(Cr(_r(),mr()),t,r),s);break;default:x+="/"}break;case 123*h:c[l++]=nr(x)*g;case 125*h:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:-1==g&&(x=Qt(x,/\f/g,"")),f>0&&nr(x)-d&&ir(f>32?Nr(x+";",n,r,d-1):Nr(Qt(x," ","")+";",n,r,d-2),s);break;case 59:x+=";";default:if(ir(k=Ar(x,t,r,l,u,o,c,y,w=[],b=[],d),i),123===v)if(0===u)Pr(x,t,k,k,w,i,d,c,b);else switch(99===p&&110===tr(x,3)?100:p){case 100:case 108:case 109:case 115:Pr(e,k,k,n&&ir(Ar(e,k,k,0,0,o,c,y,o,w=[],d),b),o,b,d,c,n?w:b);break;default:Pr(x,k,k,k,[""],b,0,c,b)}}l=u=f=0,h=g=1,y=x="",d=a;break;case 58:d=1+nr(x),f=_;default:if(h<1)if(123==v)--h;else if(125==v&&0==h++&&125==(ur=lr>0?tr(dr,--lr):0,cr--,10===ur&&(cr=1,ar--),ur))continue;switch(x+=Zt(v),v*h){case 38:g=u>0?1:(x+="\f",-1);break;case 44:c[l++]=(nr(x)-1)*g,g=1;break;case 64:45===hr()&&(x+=br(_r())),p=hr(),u=d=nr(y=x+=Tr(mr())),v++;break;case 45:45===_&&2==nr(x)&&(h=0)}}return i}function Ar(e,t,r,n,o,i,a,c,s,l,u){for(var d=o-1,p=0===o?i:[""],f=or(p),_=0,h=0,m=0;_<n;++_)for(var g=0,v=rr(e,d+1,d=Xt(h=a[_])),y=e;g<f;++g)(y=Kt(h>0?p[g]+" "+v:Qt(v,/&\f/g,p[g])))&&(s[m++]=y);return pr(e,t,r,0===o?qt:c,s,l,u)}function Rr(e,t,r){return pr(e,t,r,Vt,Zt(ur),rr(e,2,-2),0)}function Nr(e,t,r,n){return pr(e,t,r,Gt,rr(e,0,n),rr(e,n+1,-1),n)}function $r(e,t){for(var r="",n=or(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Or(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Gt:return e.return=e.return||e.value;case Vt:return"";case Yt:return e.return=e.value+"{"+$r(e.children,n)+"}";case qt:e.value=e.props.join(",")}return nr(r=$r(e.children,n))?e.return=e.value+"{"+r+"}":""}var Lr=function(e,t,r){for(var n=0,o=0;n=o,o=hr(),38===n&&12===o&&(t[r]=1),!vr(o);)_r();return gr(e,lr)},Ir=function(e,t){return wr(function(e,t){var r=-1,n=44;do{switch(vr(n)){case 0:38===n&&12===hr()&&(t[r]=1),e[r]+=Lr(lr-1,t,r);break;case 2:e[r]+=br(n);break;case 4:if(44===n){e[++r]=58===hr()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Zt(n)}}while(n=_r());return e}(yr(e),t))},zr=new WeakMap,Hr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||zr.get(r))&&!n){zr.set(e,!0);for(var o=[],i=Ir(t,o),a=r.props,c=0,s=0;c<i.length;c++)for(var l=0;l<a.length;l++,s++)e.props[s]=o[c]?i[c].replace(/&\f/g,a[l]):a[l]+" "+i[c]}}},Mr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ur(e,t){switch(function(e,t){return 45^tr(e,0)?(((t<<2^tr(e,0))<<2^tr(e,1))<<2^tr(e,2))<<2^tr(e,3):0}(e,t)){case 5103:return Bt+"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 Bt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Bt+e+jt+e+Ft+e+e;case 6828:case 4268:return Bt+e+Ft+e+e;case 6165:return Bt+e+Ft+"flex-"+e+e;case 5187:return Bt+e+Qt(e,/(\w+).+(:[^]+)/,Bt+"box-$1$2"+Ft+"flex-$1$2")+e;case 5443:return Bt+e+Ft+"flex-item-"+Qt(e,/flex-|-self/,"")+e;case 4675:return Bt+e+Ft+"flex-line-pack"+Qt(e,/align-content|flex-|-self/,"")+e;case 5548:return Bt+e+Ft+Qt(e,"shrink","negative")+e;case 5292:return Bt+e+Ft+Qt(e,"basis","preferred-size")+e;case 6060:return Bt+"box-"+Qt(e,"-grow","")+Bt+e+Ft+Qt(e,"grow","positive")+e;case 4554:return Bt+Qt(e,/([^-])(transform)/g,"$1"+Bt+"$2")+e;case 6187:return Qt(Qt(Qt(e,/(zoom-|grab)/,Bt+"$1"),/(image-set)/,Bt+"$1"),e,"")+e;case 5495:case 3959:return Qt(e,/(image-set\([^]*)/,Bt+"$1$`$1");case 4968:return Qt(Qt(e,/(.+:)(flex-)?(.*)/,Bt+"box-pack:$3"+Ft+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Bt+e+e;case 4095:case 3583:case 4068:case 2532:return Qt(e,/(.+)-inline(.+)/,Bt+"$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(nr(e)-1-t>6)switch(tr(e,t+1)){case 109:if(45!==tr(e,t+4))break;case 102:return Qt(e,/(.+:)(.+)-([^]+)/,"$1"+Bt+"$2-$3$1"+jt+(108==tr(e,t+3)?"$3":"$2-$3"))+e;case 115:return~er(e,"stretch")?Ur(Qt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==tr(e,t+1))break;case 6444:switch(tr(e,nr(e)-3-(~er(e,"!important")&&10))){case 107:return Qt(e,":",":"+Bt)+e;case 101:return Qt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Bt+(45===tr(e,14)?"inline-":"")+"box$3$1"+Bt+"$2$3$1"+Ft+"$2box$3")+e}break;case 5936:switch(tr(e,t+11)){case 114:return Bt+e+Ft+Qt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Bt+e+Ft+Qt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Bt+e+Ft+Qt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Bt+e+Ft+e+e}return e}var Wr=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Gt:e.return=Ur(e.value,e.length);break;case Yt:return $r([fr(e,{value:Qt(e.value,"@","@"+Bt)})],n);case qt:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return $r([fr(e,{props:[Qt(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return $r([fr(e,{props:[Qt(t,/:(plac\w+)/,":"+Bt+"input-$1")]}),fr(e,{props:[Qt(t,/:(plac\w+)/,":-moz-$1")]}),fr(e,{props:[Qt(t,/:(plac\w+)/,Ft+"input-$1")]})],n)}return""}))}}],Dr=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,o,i=e.stylisPlugins||Wr,a={},c=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)a[t[r]]=!0;c.push(e)}));var s,l,u,d,p=[Or,(d=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],f=(l=[Hr,Mr].concat(i,p),u=or(l),function(e,t,r,n){for(var o="",i=0;i<u;i++)o+=l[i](e,t,r,n)||"";return o});o=function(e,t,r,n){s=r,$r(Er(e?e+"{"+t.styles+"}":t.styles),f),n&&(_.inserted[t.name]=!0)};var _={key:t,sheet:new Dt({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return _.sheet.hydrate(c),_},Fr={exports:{}},jr={},Br="function"==typeof Symbol&&Symbol.for,Vr=Br?Symbol.for("react.element"):60103,qr=Br?Symbol.for("react.portal"):60106,Gr=Br?Symbol.for("react.fragment"):60107,Yr=Br?Symbol.for("react.strict_mode"):60108,Xr=Br?Symbol.for("react.profiler"):60114,Zr=Br?Symbol.for("react.provider"):60109,Jr=Br?Symbol.for("react.context"):60110,Kr=Br?Symbol.for("react.async_mode"):60111,Qr=Br?Symbol.for("react.concurrent_mode"):60111,en=Br?Symbol.for("react.forward_ref"):60112,tn=Br?Symbol.for("react.suspense"):60113,rn=Br?Symbol.for("react.suspense_list"):60120,nn=Br?Symbol.for("react.memo"):60115,on=Br?Symbol.for("react.lazy"):60116,an=Br?Symbol.for("react.block"):60121,cn=Br?Symbol.for("react.fundamental"):60117,sn=Br?Symbol.for("react.responder"):60118,ln=Br?Symbol.for("react.scope"):60119;function un(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Vr:switch(e=e.type){case Kr:case Qr:case Gr:case Xr:case Yr:case tn:return e;default:switch(e=e&&e.$$typeof){case Jr:case en:case on:case nn:case Zr:return e;default:return t}}case qr:return t}}}function dn(e){return un(e)===Qr}jr.AsyncMode=Kr,jr.ConcurrentMode=Qr,jr.ContextConsumer=Jr,jr.ContextProvider=Zr,jr.Element=Vr,jr.ForwardRef=en,jr.Fragment=Gr,jr.Lazy=on,jr.Memo=nn,jr.Portal=qr,jr.Profiler=Xr,jr.StrictMode=Yr,jr.Suspense=tn,jr.isAsyncMode=function(e){return dn(e)||un(e)===Kr},jr.isConcurrentMode=dn,jr.isContextConsumer=function(e){return un(e)===Jr},jr.isContextProvider=function(e){return un(e)===Zr},jr.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Vr},jr.isForwardRef=function(e){return un(e)===en},jr.isFragment=function(e){return un(e)===Gr},jr.isLazy=function(e){return un(e)===on},jr.isMemo=function(e){return un(e)===nn},jr.isPortal=function(e){return un(e)===qr},jr.isProfiler=function(e){return un(e)===Xr},jr.isStrictMode=function(e){return un(e)===Yr},jr.isSuspense=function(e){return un(e)===tn},jr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Gr||e===Qr||e===Xr||e===Yr||e===tn||e===rn||"object"==typeof e&&null!==e&&(e.$$typeof===on||e.$$typeof===nn||e.$$typeof===Zr||e.$$typeof===Jr||e.$$typeof===en||e.$$typeof===cn||e.$$typeof===sn||e.$$typeof===ln||e.$$typeof===an)},jr.typeOf=un,Fr.exports=jr;var pn=Fr.exports,fn={};fn[pn.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},fn[pn.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};function _n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")})),n}var hn=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},mn=function(e,t,r){hn(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var gn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},vn=/[A-Z]|^ms/g,yn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wn=function(e){return 45===e.charCodeAt(1)},bn=function(e){return null!=e&&"boolean"!=typeof e},kn=Mt((function(e){return wn(e)?e:e.replace(vn,"-$&").toLowerCase()})),xn=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(yn,(function(e,t,r){return Cn={name:t,styles:r,next:Cn},t}))}return 1===gn[e]||wn(e)||"number"!=typeof t||0===t?t:t+"px"};function Sn(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return Cn={name:o.name,styles:o.styles,next:Cn},o.name;var i=r;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Cn={name:a.name,styles:a.styles,next:Cn},a=a.next;return i.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Sn(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a){var c=a;null!=t&&void 0!==t[c]?n+=i+"{"+t[c]+"}":bn(c)&&(n+=kn(i)+":"+xn(i,c)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Sn(e,t,a);switch(i){case"animation":case"animationName":n+=kn(i)+":"+s+";";break;default:n+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)bn(a[l])&&(n+=kn(i)+":"+xn(i,a[l])+";")}return n}(e,t,r);case"function":if(void 0!==e){var c=Cn,s=r(e);return Cn=c,Sn(e,t,s)}}var l=r;if(null==t)return l;var u=t[l];return void 0!==u?u:l}var Cn,Tn=/label:\s*([^\s;{]+)\s*(;|$)/g;function En(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";Cn=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=Sn(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=Sn(r,t,e[a]),n)o+=i[a]}Tn.lastIndex=0;for(var c,s="";null!==(c=Tn.exec(o));)s+="-"+c[1];var l=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+s;return{name:l,styles:o,next:Cn}}var Pn=!!Ht.useInsertionEffect&&Ht.useInsertionEffect,An=Pn||function(e){return e()},Rn=Pn||fe,Nn=D("undefined"!=typeof HTMLElement?Dr({key:"css"}):null),$n=Nn.Provider,On=function(e){return We((function(t,r){var n=ve(Nn);return e(t,n,r)}))},Ln=D({}),In={}.hasOwnProperty,zn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Hn=function(e,t){var r={};for(var n in t)In.call(t,n)&&(r[n]=t[n]);return r[zn]=e,r},Mn=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return hn(t,r,n),An((function(){return mn(t,r,n)})),null},Un=On((function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var o=e[zn],i=[n],a="";"string"==typeof e.className?a=_n(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var c=En(i,void 0,ve(Ln));a+=t.key+"-"+c.name;var s={};for(var l in e)In.call(e,l)&&"css"!==l&&l!==zn&&(s[l]=e[l]);return s.className=a,r&&(s.ref=r),g(w,null,g(Mn,{cache:t,serialized:c,isStringTag:"string"==typeof o}),g(o,s))})),Wn=On((function(e,t){var r=En([e.styles],void 0,ve(Ln)),n=_e();return Rn((function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),n.current=[o,i],function(){o.flush()}}),[t]),Rn((function(){var e=n.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&mn(t,r.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",r,o,!1)}}),[t,r.name]),null}));function Dn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return En(t)}var Fn=Wt,jn=function(e){return"theme"!==e},Bn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Fn:jn},Vn=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},qn=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return hn(t,r,n),An((function(){return mn(t,r,n)})),null},Gn=function e(t,r){var n,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var c=Vn(t,r,i),s=c||Bn(a),l=!s("as");return function(){var u=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&d.push("label:"+n+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var p=u.length,f=1;f<p;f++)d.push(u[f],u[0][f])}var _=On((function(e,t,r){var n=l&&e.as||a,i="",u=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=ve(Ln)}"string"==typeof e.className?i=_n(t.registered,u,e.className):null!=e.className&&(i=e.className+" ");var _=En(d.concat(u),t.registered,p);i+=t.key+"-"+_.name,void 0!==o&&(i+=" "+o);var h=l&&void 0===c?Bn(n):s,m={};for(var v in e)l&&"as"===v||h(v)&&(m[v]=e[v]);return m.className=i,r&&(m.ref=r),g(w,null,g(qn,{cache:t,serialized:_,isStringTag:"string"==typeof n}),g(n,m))}));return _.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",_.defaultProps=t.defaultProps,_.__emotion_real=_,_.__emotion_base=a,_.__emotion_styles=d,_.__emotion_forwardProp=c,Object.defineProperty(_,"toString",{value:function(){return"."+o}}),_.withComponent=function(t,n){return e(t,Le({},r,n,{shouldForwardProp:Vn(_,n,!0)})).apply(void 0,d)},_}}.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){Gn[e]=Gn(e)}));const Yn=Gn.button({marginLeft:"0.75rem",display:"inline-flex",justifyContent:"center",borderRadius:"0.375rem",borderWidth:"1px",borderColor:"transparent","--tw-bg-opacity":"1",backgroundColor:"rgb(79 70 229 / var(--tw-bg-opacity))",paddingLeft:"1rem",paddingRight:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(255 255 255 / var(--tw-text-opacity))","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":hover":{"--tw-bg-opacity":"1",backgroundColor:"rgb(67 56 202 / var(--tw-bg-opacity))"},":focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)","--tw-ring-opacity":"1","--tw-ring-color":"rgb(99 102 241 / var(--tw-ring-opacity))","--tw-ring-offset-width":"2px"},":disabled":{cursor:"not-allowed","--tw-bg-opacity":"1",backgroundColor:"rgb(107 114 128 / var(--tw-bg-opacity))"}}),Xn=Gn.div({height:"1.25rem",width:"1.25rem","@keyframes spin":{to:{transform:"rotate(360deg)"}},animation:"spin 1s linear infinite",borderRadius:"9999px",borderWidth:"2px",borderColor:"var(--fl-color-primary-600)",borderLeftColor:"transparent",borderTopColor:"transparent"});var Zn=0;function Jn(e,r,n,o,i,a){r||(r={});var c,s,l=r;"ref"in r&&(c=r.ref,delete r.ref);var u={type:e,props:l,key:n,ref:c,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Zn,__i:-1,__u:0,__source:i,__self:a};if("function"==typeof e&&(c=e.defaultProps))for(s in c)void 0===l[s]&&(l[s]=c[s]);return t.vnode&&t.vnode(u),u}var Kn=w;function Qn(e,t,r){return In.call(t,"css")?Jn(Un,Hn(e,t),r):Jn(e,t,r)}function eo(e,t,r){return In.call(t,"css")?Jn(Un,Hn(e,t),r):Jn(e,t,r)}const to=e=>{const[t,r]=ue(!1);((e,t)=>{const r=_e();pe((()=>{r.current=e}),[e]),pe((()=>{if(t){const e=setInterval(((...e)=>{var t;return null==(t=null==r?void 0:r.current)?void 0:t.call(r,...e)}),t);return()=>clearInterval(e)}}),[t])})((async()=>{await e.onCheck()&&r(!1)}),t?e.checkInterval:void 0),pe((()=>{if(t){const n=setTimeout((()=>{t&&e.onTimeout(),r(!1)}),e.timeout);return()=>clearTimeout(n)}}));return Qn(Yn,{onClick:async()=>{r(!0),await e.onClick()||r(!1)},disabled:t,children:t?eo(Kn,{children:[Qn(Xn,{}),Qn("span",{css:{marginLeft:"0.5rem"},children:e.processingText})]}):Qn(Kn,{children:e.text})})},ro=Gn.a({cursor:"pointer",whiteSpace:"nowrap",borderBottomWidth:"2px",paddingLeft:"0.25rem",paddingRight:"0.25rem",paddingTop:"1rem",paddingBottom:"1rem",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500"},(({isCurrentTab:e})=>e?{"--tw-border-opacity":"1",borderColor:"rgb(99 102 241 / var(--tw-border-opacity))","--tw-text-opacity":"1",color:"rgb(79 70 229 / var(--tw-text-opacity))"}:"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700")),no=({tabs:e,currentTabId:t,onChange:r})=>{const n=me((()=>e.find((e=>e.id==t))),[e,t]);return eo("div",{children:[eo("div",{css:{"@media (min-width: 640px)":{display:"none"}},children:[Qn("label",{htmlFor:"tabs",css:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},children:"Select a tab"}),Qn("select",{id:"tabs",name:"tabs",defaultValue:null==n?void 0:n.id,onChange:e=>r(e.currentTarget.value),css:{display:"block",width:"100%",borderRadius:"0.375rem","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))",paddingTop:"0.5rem",paddingBottom:"0.5rem",paddingLeft:"0.75rem",paddingRight:"2.5rem",fontSize:"1rem",lineHeight:"1.5rem",":focus":{"--tw-border-opacity":"1",borderColor:"rgb(99 102 241 / var(--tw-border-opacity))",outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-opacity":"1","--tw-ring-color":"rgb(99 102 241 / var(--tw-ring-opacity))"},"@media (min-width: 640px)":{fontSize:"0.875rem",lineHeight:"1.25rem"}},children:e.map((e=>Qn("option",{value:e.id,children:e.displayName},e.id)))})]}),Qn("div",{css:{display:"none","@media (min-width: 640px)":{display:"block"}},children:Qn("div",{css:{borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(229 231 235 / var(--tw-border-opacity))"},children:Qn("nav",{"aria-label":"Tabs",css:{marginBottom:"-1px",display:"flex","> :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0",marginRight:"calc(2rem * var(--tw-space-x-reverse))",marginLeft:"calc(2rem * calc(1 - var(--tw-space-x-reverse)))"}},children:e.map((e=>{return Qn(ro,{onClick:(t=e.id,()=>{r(t)}),"aria-current":e.id==(null==n?void 0:n.id)?"page":void 0,isCurrentTab:e.id==(null==n?void 0:n.id),children:e.displayName},e.id);var t}))})})})]})},oo=e=>{const[t,r]=ue("");return eo("div",{css:{display:"flex",flexDirection:"row",gap:"1rem","@media (min-width: 640px)":{marginRight:"-1.5rem"},"@media (min-width: 1024px)":{marginRight:"0px"}},children:[eo("div",{css:{maxWidth:"28rem",flexGrow:"1"},children:[Qn("label",{for:"search",css:{display:"block",fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"500","--tw-text-opacity":"1",color:"rgb(55 65 81 / var(--tw-text-opacity))"},children:"Search"}),Qn("div",{css:{marginTop:"0.25rem"},children:Qn("input",{css:{display:"block",width:"100%",borderRadius:"0.375rem","--tw-border-opacity":"1",borderColor:"rgb(209 213 219 / var(--tw-border-opacity))",padding:"0.5rem","--tw-shadow":"0 1px 2px 0 rgb(0 0 0 / 0.05)","--tw-shadow-colored":"0 1px 2px 0 var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)",":focus":{"--tw-border-opacity":"1",borderColor:"rgb(99 102 241 / var(--tw-border-opacity))","--tw-ring-opacity":"1","--tw-ring-color":"rgb(99 102 241 / var(--tw-ring-opacity))"},"@media (min-width: 640px)":{fontSize:"0.875rem",lineHeight:"1.25rem"}},name:"search",id:"search",placeholder:"First Name, Middle Name, Last Name or Email Id.",type:"text",value:t,onChange:e=>{return t=e.currentTarget.value,void r(t);var t},required:!0})})]}),Qn("div",{css:{paddingTop:"1.5rem"},children:Qn("div",{css:{display:"flex",justifyContent:"flex-end"},children:Qn(Yn,{type:"search",onClick:()=>e.onSearch(t),children:"Search"})})}),Qn("div",{css:{maxWidth:"28rem",flexGrow:"1"},children:e.error&&Qn("h3",{css:{"--tw-text-opacity":"1",color:"rgb(239 68 68 / var(--tw-text-opacity))"},children:e.error})})]})},io=e=>Qn("div",{css:{marginTop:"1rem",display:"flex",flexDirection:"column"},children:Qn("div",{css:{marginTop:"-0.5rem",marginBottom:"-0.5rem","@media (min-width: 640px)":{marginLeft:"-1.5rem",marginRight:"-1.5rem"},"@media (min-width: 1024px)":{marginLeft:"-2rem",marginRight:"-2rem"}},children:Qn("div",{css:{display:"inline-block",minWidth:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem",verticalAlign:"middle","@media (min-width: 640px)":{paddingLeft:"1.5rem",paddingRight:"1.5rem"},"@media (min-width: 1024px)":{paddingLeft:"2rem",paddingRight:"2rem"}},children:Qn("div",{css:{overflow:"hidden",borderBottomWidth:"1px","--tw-border-opacity":"1",borderColor:"rgb(229 231 235 / var(--tw-border-opacity))","--tw-shadow":"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)","--tw-shadow-colored":"0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color)",boxShadow:"var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)"},children:eo("table",{css:{minWidth:"100%","> :not([hidden]) ~ :not([hidden])":{"--tw-divide-y-reverse":"0",borderTopWidth:"calc(1px * calc(1 - var(--tw-divide-y-reverse)))",borderBottomWidth:"calc(1px * var(--tw-divide-y-reverse))","--tw-divide-opacity":"1",borderColor:"rgb(229 231 235 / var(--tw-divide-opacity))"}},children:[Qn("thead",{children:eo("tr",{children:[Qn("th",{css:{whiteSpace:"nowrap",paddingLeft:"1.5rem",paddingRight:"1.5rem",paddingTop:"0.75rem",paddingBottom:"0.75rem",textAlign:"left",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500",textTransform:"uppercase",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:"Profile Id"}),Qn("th",{css:{whiteSpace:"nowrap",paddingLeft:"1.5rem",paddingRight:"1.5rem",paddingTop:"0.75rem",paddingBottom:"0.75rem",textAlign:"left",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500",textTransform:"uppercase",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:"Name"}),Qn("th",{css:{whiteSpace:"nowrap",paddingLeft:"1.5rem",paddingRight:"1.5rem",paddingTop:"0.75rem",paddingBottom:"0.75rem",textAlign:"left",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500",textTransform:"uppercase",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:"Email"}),Qn("th",{css:{whiteSpace:"nowrap",paddingLeft:"1.5rem",paddingRight:"1.5rem",paddingTop:"1rem",paddingBottom:"1rem",textAlign:"left",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500",textTransform:"uppercase",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:"External Id"}),Qn("th",{css:{whiteSpace:"nowrap",paddingLeft:"1.5rem",paddingRight:"1.5rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",textAlign:"left",fontSize:"0.75rem",lineHeight:"1rem",fontWeight:"500",textTransform:"uppercase",letterSpacing:"0.05em","--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:"Catch E Id"})]})}),Qn("tbody",{children:e.profiles.map(((e,t)=>eo("tr",{css:{"--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity))"},children:[Qn("td",{css:{whiteSpace:"nowrap",paddingLeft:"1.5rem",paddingRight:"1.5rem",paddingTop:"1rem",paddingBottom:"1rem",fontSize:"0.875rem",lineHeight:"1.25rem"},children:e.id}),Qn("td",{css:{whiteSpace:"nowrap",paddingLeft:"1.5rem",paddingRight:"1.5rem",paddingTop:"1rem",paddingBottom:"1rem",fontSize:"0.875rem",lineHeight:"1.25rem"},children:e.name}),Qn("td",{css:{whiteSpace:"nowrap",paddingLeft:"1.5rem",paddingRight:"1.5rem",paddingTop:"1rem",paddingBottom:"1rem",fontSize:"0.875rem",lineHeight:"1.25rem"},children:e.email}),Qn("td",{css:{whiteSpace:"nowrap",paddingLeft:"1.5rem",paddingRight:"1.5rem",paddingTop:"1rem",paddingBottom:"1rem",fontSize:"0.875rem",lineHeight:"1.25rem"},children:e.externalId}),Qn("td",{css:{whiteSpace:"nowrap",paddingLeft:"1.5rem",paddingRight:"1.5rem",paddingTop:"1rem",paddingBottom:"1rem",fontSize:"0.875rem",lineHeight:"1.25rem"},children:e.catchEId})]},t)))})]})})})})});let ao;const co=e=>ao=D({...e,backend:{...e.backend,url:e.backend.url.replace(/\/?$/,"")}}),so=async e=>{if(!(e instanceof Pe))return"Unexpected error occurred";try{return(await e.response.json()).message||`${e.response.status} error occurred`}catch{return`${e.response.status} error occurred`}},lo=()=>{const[e,t]=ue([]),[r,n]=ue(),o=ve(ao);return eo("div",{children:[Qn(oo,{onSearch:async e=>{try{n(void 0);const r=Ae(o.backend.url,o.backend.accessToken),i=await(async(e,t,r)=>await e(`/accounts/${t}/profiles/search?search=${r}`,"GET"))(r,o.account.accountId,e);t(i)}catch(r){n(await so(r))}}}),Qn("div",{children:Qn("h1",{css:{"--tw-text-opacity":"1",color:"rgb(239 68 68 / var(--tw-text-opacity))"},children:r})}),Qn(io,{profiles:e})]})},uo=[{id:"search",displayName:"Search"},{id:"linkedProfiles",displayName:"Linked Profiles"}],po=e=>{switch(e){case"search":return Qn(lo,{});case"linkedProfiles":return Qn("div",{children:"Coming soon..."})}},fo=()=>{const[e,t]=ue("search");return eo(Kn,{children:[Qn(no,{tabs:uo,currentTabId:e,onChange:t}),Qn("div",{css:{marginLeft:"1rem",marginTop:"1rem"},children:po(e)})]})},_o=e=>{const[t,r]=ue(),[n,o]=ue({status:"NotLinked",message:"Access Denied"}),[i]=ue(Oe.create(e.accessToken)),[a,c]=ue("Loading");co({backend:{url:e.backendUrl,accessToken:e.accessToken},account:{accountId:e.accountId}}),co({backend:{url:e.backendUrl,accessToken:e.accessToken},account:{accountId:e.accountId}}),pe((()=>{(async()=>{if(i.isAuthorized&&e.backendUrl&&e.accessToken&&e.accountId)try{const t=Ae(e.backendUrl,e.accessToken),r=await Re(t,e.accountId);o(r),c("Linked"===r.status?"Main":"Unlinked")}catch(t){r(await so(t)),c("Error")}})()}),[e.accessToken,e.accountId,e.backendUrl,i]),pe((()=>{i&&!i.isAuthorized&&(r("Access Denied"),c("Error"))}),[i]);const s=async()=>{try{const t=Ae(e.backendUrl,e.accessToken);return await(async e=>{const t=new Date;t.setUTCDate((new Date).getUTCDate()-2);const r=new Date;r.setUTCDate((new Date).getUTCDate()+2),await e("/ingest/clients","POST",{startDate:t.toISOString().split("T")[0],endDate:r.toISOString().split("T")[0]},!0)})(t),!0}catch(t){return r(await so(t)),c("Error"),!1}},l=async()=>{try{const t=Ae(e.backendUrl,e.accessToken),r=await Re(t,e.accountId);return"Linked"===r.status?(o(r),c("Main"),!0):(n.status!==r.status||n.message!==r.message)&&(o(r),!0)}catch{return!1}},u=()=>{r("Client sync took too long. Please confirm you have updated Catch-E correctly, refresh the page and try again. "),c("Error")};switch(a){case"Loading":return Qn("h1",{css:{"--tw-text-opacity":"1",color:"rgb(107 114 128 / var(--tw-text-opacity))"},children:"Loading..."});case"Main":return Qn(fo,{});case"Error":return Qn("h1",{css:{"--tw-text-opacity":"1",color:"rgb(239 68 68 / var(--tw-text-opacity))"},children:t});case"Unlinked":return eo("div",{children:[Qn("h1",{css:{marginBottom:"1rem",marginLeft:"1rem","--tw-text-opacity":"1",color:"rgb(239 68 68 / var(--tw-text-opacity))"},children:n.message}),Qn(to,{onClick:s,onCheck:l,onTimeout:u,checkInterval:5e3,timeout:3e4,text:"Sync Clients",processingText:"Syncing..."})]})}},ho=Dn({body:{WebkitTapHighlightColor:"#a855f7",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},":host":{"--fl-color-primary-900":"#000563","--fl-color-primary-800":"#031495","--fl-color-primary-700":"#1033c6","--fl-color-primary-600":"#2e66f7","--fl-color-primary-500":"#5786f8","--fl-color-primary-400":"#88abfa","--fl-color-primary-300":"#b5cbfb","--fl-color-primary-200":"#d6e2fc","--fl-color-primary-100":"#eaf0fe","--fl-color-primary-50":"#f2f6ff","--kit-font-family":"Inter, 'Source Sans Pro', sans-serif",fontFamily:"Inter, 'Source Sans Pro', sans-serif"}}),mo=()=>eo(w,{children:[Qn(Wn,{styles:Dn`
|
2
2
|
${{"*, ::before, ::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid",borderColor:"#e5e7eb","--tw-border-spacing-x":"0","--tw-border-spacing-y":"0","--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1","--tw-pan-x":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-scroll-snap-strictness":"proximity","--tw-gradient-from-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-gradient-via-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-gradient-to-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":"rgb(59 130 246 / 0.5)","--tw-blur":"var(--tw-empty,/*!*/ /*!*/)","--tw-brightness":"var(--tw-empty,/*!*/ /*!*/)","--tw-contrast":"var(--tw-empty,/*!*/ /*!*/)","--tw-grayscale":"var(--tw-empty,/*!*/ /*!*/)","--tw-hue-rotate":"var(--tw-empty,/*!*/ /*!*/)","--tw-invert":"var(--tw-empty,/*!*/ /*!*/)","--tw-saturate":"var(--tw-empty,/*!*/ /*!*/)","--tw-sepia":"var(--tw-empty,/*!*/ /*!*/)","--tw-drop-shadow":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-blur":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-brightness":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-contrast":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-grayscale":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-hue-rotate":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-invert":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-opacity":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-saturate":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-sepia":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-size":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-layout":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-paint":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-style":"var(--tw-empty,/*!*/ /*!*/)"},"::before, ::after":{"--tw-content":"''"},"html, :host":{lineHeight:"1.5",WebkitTextSizeAdjust:"100%",MozTabSize:"4",tabSize:"4",fontFamily:'Inter, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',fontFeatureSettings:" normal",fontVariationSettings:" normal",WebkitTapHighlightColor:"transparent"},body:{margin:"0",lineHeight:"inherit"},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},"abbr:where([title])":{textDecoration:"underline dotted"},"h1, h2, h3, h4, h5, h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontFamily:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',fontFeatureSettings:" normal",fontVariationSettings:" normal",fontSize:"1em"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"button, input, optgroup, select, textarea":{fontFamily:"inherit",fontFeatureSettings:"inherit",fontVariationSettings:"inherit",fontSize:"100%",fontWeight:"inherit",lineHeight:"inherit",letterSpacing:"inherit",color:"inherit",margin:"0",padding:"0"},"button, select":{textTransform:"none"},"button, input:where([type='button']), input:where([type='reset']), input:where([type='submit'])":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},":-moz-focusring":{outline:"auto"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button, ::-webkit-outer-spin-button":{height:"auto"},"[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre":{margin:"0"},fieldset:{margin:"0",padding:"0"},legend:{padding:"0"},"ol, ul, menu":{listStyle:"none",margin:"0",padding:"0"},dialog:{padding:"0"},textarea:{resize:"vertical"},"input::placeholder, textarea::placeholder":{opacity:"1",color:"#9ca3af"},'button, [role="button"]':{cursor:"pointer"},":disabled":{cursor:"default"},"img, svg, video, canvas, audio, iframe, embed, object":{display:"block",verticalAlign:"middle"},"img, video":{maxWidth:"100%",height:"auto"},'[hidden]:where(:not([hidden="until-found"]))':{display:"none"},"::backdrop":{"--tw-border-spacing-x":"0","--tw-border-spacing-y":"0","--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1","--tw-pan-x":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-scroll-snap-strictness":"proximity","--tw-gradient-from-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-gradient-via-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-gradient-to-position":"var(--tw-empty,/*!*/ /*!*/)","--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":"rgb(59 130 246 / 0.5)","--tw-blur":"var(--tw-empty,/*!*/ /*!*/)","--tw-brightness":"var(--tw-empty,/*!*/ /*!*/)","--tw-contrast":"var(--tw-empty,/*!*/ /*!*/)","--tw-grayscale":"var(--tw-empty,/*!*/ /*!*/)","--tw-hue-rotate":"var(--tw-empty,/*!*/ /*!*/)","--tw-invert":"var(--tw-empty,/*!*/ /*!*/)","--tw-saturate":"var(--tw-empty,/*!*/ /*!*/)","--tw-sepia":"var(--tw-empty,/*!*/ /*!*/)","--tw-drop-shadow":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-blur":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-brightness":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-contrast":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-grayscale":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-hue-rotate":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-invert":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-opacity":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-saturate":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-sepia":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-size":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-layout":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-paint":"var(--tw-empty,/*!*/ /*!*/)","--tw-contain-style":"var(--tw-empty,/*!*/ /*!*/)"},"[type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select":{appearance:"none",backgroundColor:"#fff",borderColor:"#6b7280",borderWidth:"1px",borderRadius:"0px",paddingTop:"0.5rem",paddingRight:"0.75rem",paddingBottom:"0.5rem",paddingLeft:"0.75rem",fontSize:"1rem",lineHeight:"1.5rem","--tw-shadow":"0 0 #0000"},"[type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":"#2563eb","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)",borderColor:"#2563eb"},"input::placeholder,textarea::placeholder":{color:"#6b7280",opacity:"1"},"::-webkit-datetime-edit-fields-wrapper":{padding:"0"},"::-webkit-date-and-time-value":{minHeight:"1.5em",textAlign:"inherit"},"::-webkit-datetime-edit":{display:"inline-flex"},"::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field":{paddingTop:"0",paddingBottom:"0"},select:{backgroundImage:"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\")",backgroundPosition:"right 0.5rem center",backgroundRepeat:"no-repeat",backgroundSize:"1.5em 1.5em",paddingRight:"2.5rem",printColorAdjust:"exact"},'[multiple],[size]:where(select:not([size="1"]))':{backgroundImage:"initial",backgroundPosition:"initial",backgroundRepeat:"unset",backgroundSize:"initial",paddingRight:"0.75rem",printColorAdjust:"unset"},"[type='checkbox'],[type='radio']":{appearance:"none",padding:"0",printColorAdjust:"exact",display:"inline-block",verticalAlign:"middle",backgroundOrigin:"border-box",userSelect:"none",flexShrink:"0",height:"1rem",width:"1rem",color:"#2563eb",backgroundColor:"#fff",borderColor:"#6b7280",borderWidth:"1px","--tw-shadow":"0 0 #0000"},"[type='checkbox']":{borderRadius:"0px"},"[type='radio']":{borderRadius:"100%"},"[type='checkbox']:focus,[type='radio']:focus":{outline:"2px solid transparent",outlineOffset:"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":"#2563eb","--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",boxShadow:"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"},"[type='checkbox']:checked,[type='radio']:checked":{borderColor:"transparent",backgroundColor:"currentColor",backgroundSize:"100% 100%",backgroundPosition:"center",backgroundRepeat:"no-repeat"},"[type='checkbox']:checked":{backgroundImage:"url(\"data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e\")"},"@media (forced-colors: active)":{"[type='checkbox']:checked":{appearance:"auto"},"[type='radio']:checked":{appearance:"auto"},"[type='checkbox']:indeterminate":{appearance:"auto"}},"[type='radio']:checked":{backgroundImage:"url(\"data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e\")"},"[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus":{borderColor:"transparent",backgroundColor:"currentColor"},"[type='checkbox']:indeterminate":{backgroundImage:"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e\")",borderColor:"transparent",backgroundColor:"currentColor",backgroundSize:"100% 100%",backgroundPosition:"center",backgroundRepeat:"no-repeat"},"[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus":{borderColor:"transparent",backgroundColor:"currentColor"},"[type='file']":{background:"unset",borderColor:"inherit",borderWidth:"0",borderRadius:"0",padding:"0",fontSize:"unset",lineHeight:"inherit"},"[type='file']:focus":{outline:"1px auto -webkit-focus-ring-color"}}}
|
3
|
-
`}),Qn(Wn,{styles:ho})]});!function(e,t,r
|
3
|
+
`}),Qn(Wn,{styles:ho})]});!function(e,t,r){function n(){var t=Reflect.construct(HTMLElement,[],n);return t._vdomComponent=e,t._root=t,t}(n.prototype=Object.create(HTMLElement.prototype)).constructor=n,n.prototype.connectedCallback=V,n.prototype.attributeChangedCallback=G,n.prototype.disconnectedCallback=Y,r=r||e.observedAttributes||Object.keys(e.propTypes||{}),n.observedAttributes=r,r.forEach((function(e){Object.defineProperty(n.prototype,e,{get:function(){return this._vdom.props[e]},set:function(t){this._vdom?this.attributeChangedCallback(e,null,t):(this._props||(this._props={}),this._props[e]=t,this.connectedCallback());var r=typeof t;null!=t&&"string"!==r&&"boolean"!==r&&"number"!==r||this.setAttribute(e,t)}})})),customElements.define(t,n)}((e=>{const t=_e(null),{EmotionProvider:r}=((e,t)=>{const[r,n]=ue();return pe((()=>{if(t&&t.current){const r=t=>{document.getElementsByTagName(e).length>0?t():requestAnimationFrame((()=>r(t)))};r((()=>{n(Dr({container:t.current,key:e}))}))}}),[e,t]),{EmotionProvider:({children:e})=>r?Qn($n,{value:r,children:e}):Qn(Kn,{})}})("superhero-salpac-profile-admin",t);return eo(Kn,{children:[Qn("head",{ref:t}),eo(r,{children:[Qn(mo,{}),Qn("body",{children:Qn(_o,{...e})})]})]})}),"superhero-salpac-profile-admin",["backend-url","access-token"])}();
|