@elliemae/pui-app-bridge 2.1.0 → 2.3.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.
- package/dist/public/frame.html +1 -1
- package/dist/public/index.html +1 -1
- package/dist/public/js/emuiAppBridge.a90a617911b273467444.js +24 -0
- package/dist/public/js/emuiAppBridge.a90a617911b273467444.js.br +0 -0
- package/dist/public/js/emuiAppBridge.a90a617911b273467444.js.gz +0 -0
- package/dist/public/js/emuiAppBridge.a90a617911b273467444.js.map +1 -0
- package/dist/umd/index.js +13 -6
- package/dist/umd/index.js.br +0 -0
- package/dist/umd/index.js.gz +0 -0
- package/dist/umd/index.js.map +1 -1
- package/package.json +11 -11
- package/dist/public/js/emuiAppBridge.8a7290bbea3251cf917e.js +0 -17
- package/dist/public/js/emuiAppBridge.8a7290bbea3251cf917e.js.br +0 -0
- package/dist/public/js/emuiAppBridge.8a7290bbea3251cf917e.js.gz +0 -0
- package/dist/public/js/emuiAppBridge.8a7290bbea3251cf917e.js.map +0 -1
package/dist/public/frame.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="mobile-web-app-capable" content="yes"/><link rel="icon" href="/favicon.ico"/><title>Application</title><script>!function(e,t,n,a,c,o,s){e.GoogleAnalyticsObject=c,e[c]=e[c]||function(){(e[c].q=e[c].q||[]).push(arguments)},e[c].l=1*new Date,o=t.createElement(n),s=t.getElementsByTagName(n)[0],o.async=1,o.src="https://www.google-analytics.com/analytics.js",s.parentNode.insertBefore(o,s)}(window,document,"script",0,"ga")</script><style>.full-width{width:100%}.full-height{height:100%}</style><script defer="defer" src="js/emuiAppBridge.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="mobile-web-app-capable" content="yes"/><link rel="icon" href="/favicon.ico"/><title>Application</title><script>!function(e,t,n,a,c,o,s){e.GoogleAnalyticsObject=c,e[c]=e[c]||function(){(e[c].q=e[c].q||[]).push(arguments)},e[c].l=1*new Date,o=t.createElement(n),s=t.getElementsByTagName(n)[0],o.async=1,o.src="https://www.google-analytics.com/analytics.js",s.parentNode.insertBefore(o,s)}(window,document,"script",0,"ga")</script><style>.full-width{width:100%}.full-height{height:100%}</style><script defer="defer" src="js/emuiAppBridge.a90a617911b273467444.js"></script></head><body class="full-width full-height"><noscript>If you're seeing this message, that means <strong>JavaScript has been disabled on your browser</strong>, please <strong>enable JS</strong> to make this app work.</noscript><div id="pui-app-container-" class="full-width full-height"></div></body></html>
|
package/dist/public/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Host</title><script src="https://cdn.tailwindcss.com?plugins=forms"></script><script src="https://qa.assets.rd.elliemae.io/pui-diagnostics@3"></script><script defer="defer" src="js/emuiAppBridge.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Host</title><script src="https://cdn.tailwindcss.com?plugins=forms"></script><script src="https://qa.assets.rd.elliemae.io/pui-diagnostics@3"></script><script defer="defer" src="js/emuiAppBridge.a90a617911b273467444.js"></script></head><body><header class="bg-indigo-300 h-10 flex place-items-center"><div class="px-2">ICE Mortgage Product</div></header><main class="mx-auto max-w-7xl px-2 sm:px-6 lg:px-8"><div class="min-w-0 flex-1 mt-4"><h1 class="text-2xl font-bold leading-7 text-gray-900 sm:truncate sm:text-3xl sm:tracking-tight">Loan Application</h1></div><div id="successFeedback" class="hidden rounded-md bg-green-50 p-4"><div class="flex"><div class="flex-shrink-0"><svg class="h-5 w-5 text-green-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd"/></svg></div><div class="ml-3"><p class="text-sm font-medium text-green-800">Loan Saved Successfully</p></div></div></div><div id="errorFeedback" class="hidden rounded-md bg-red-50 p-4"><div class="flex"><div class="flex-shrink-0"><svg class="h-5 w-5 text-red-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z" clip-rule="evenodd"/></svg></div><div class="ml-3"><h3 class="text-sm font-medium text-red-800">Credit Score is not meeting the requirement</h3></div></div></div><div class="mt-2 sm:grid sm:grid-cols-2 sm:gap-2"><form class="px-2 py-2 space-y-8 divide-y divide-gray-200 bg-gray-50"><div class="space-y-8 divide-y divide-gray-200 sm:space-y-5"><div class="space-y-6 sm:space-y-5"><div><h3 class="text-lg font-medium leading-6 text-gray-900">Personal Information</h3></div><div class="space-y-6 sm:space-y-5"><div class="sm:grid sm:grid-cols-3 sm:items-start sm:gap-4 sm:border-gray-200"><label for="firstName" class="block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2">First name</label><div class="mt-1 sm:col-span-2 sm:mt-0"><input name="firstName" id="firstName" autocomplete="given-name" class="block w-full max-w-lg rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:max-w-xs sm:text-sm" value="John" placeholder="John"/></div></div><div class="sm:grid sm:grid-cols-3 sm:items-start sm:gap-4 sm:border-gray-200"><label for="lastName" class="block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2">Last name</label><div class="mt-1 sm:col-span-2 sm:mt-0"><input name="lastName" id="lastName" autocomplete="family-name" class="block w-full max-w-lg rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:max-w-xs sm:text-sm" value="Doe" placeholder="Doe"/></div></div><div class="sm:grid sm:grid-cols-3 sm:items-start sm:gap-4 sm:border-gray-200"><label for="ssn" class="block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2">SSN</label><div class="mt-1 sm:col-span-2 sm:mt-0"><input type="number" name="ssn" id="ssn" class="block w-full max-w-lg rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:max-w-xs sm:text-sm" value="123456789" placeholder="123456789"/></div></div></div><div><h3 class="text-lg font-medium leading-6 text-gray-900">Loan Information</h3></div><div class="space-y-6 sm:space-y-5"><div class="sm:grid sm:grid-cols-3 sm:items-start sm:gap-4 sm:border-gray-200"><label for="amount" class="block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2">Amount</label><div class="mt-1 sm:col-span-2 sm:mt-0"><input type="number" name="amount" id="amount" class="block w-full max-w-lg rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:max-w-xs sm:text-sm" value="500000" placeholder="500000"/></div></div><div class="sm:grid sm:grid-cols-3 sm:items-start sm:gap-4 sm:border-gray-200"><label for="Term" class="block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2">Term (years)</label><div class="mt-1 sm:col-span-2 sm:mt-0"><input type="number" name="term" id="term" class="block w-full max-w-lg rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:max-w-xs sm:text-sm" value="30" placeholder="30"/></div></div><div class="sm:grid sm:grid-cols-3 sm:items-start sm:gap-4 sm:border-gray-200"><label for="downPayment" class="block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2">Down Payment</label><div class="mt-1 sm:col-span-2 sm:mt-0"><input type="number" name="downPayment" id="downPayment" class="block w-full max-w-lg rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:max-w-xs sm:text-sm" value="50000" placeholder="50000"/></div></div><div class="sm:grid sm:grid-cols-3 sm:items-start sm:gap-4 sm:border-gray-200"><label for="creditScore" class="block text-sm font-medium text-gray-700 sm:mt-px sm:pt-2">Credit Score</label><div class="mt-1 sm:mt-0"><output id="creditScore" class="block w-full max-w-lg pl-2 pt-2 sm:max-w-xs sm:text-sm">NA</output></div><div class="mt-1 sm:mt-0"><button id="getCreditScore" type="button" class="inline-flex items-center rounded-full border border-transparent bg-indigo-600 p-1 text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" d="M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3"/></svg></button></div></div></div></div></div><button id="saveLoan" type="button" class="inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">Save</button></form><div id="aside-container" class="flex flex-col gap-4 items-start mt-4 border-2 p-2 rounded-lg border-dashed border-cyan-300 sm:mt-0"></div></div><div id="bottom-container" class="flex flex-col gap-4 items-start mt-4 p-2 sm:mt-0"></div></main><script src="./init.js" type="module"></script></body></html>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
(function(kt,ee){typeof exports=="object"&&typeof module=="object"?module.exports=ee():typeof define=="function"&&define.amd?define([],ee):typeof exports=="object"?exports.ice=ee():kt.ice=ee()})(globalThis,()=>(()=>{var sr={63:(u,h,e)=>{"use strict";var a=e(9415),p={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},d={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},g={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},v={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},b={};b[a.ForwardRef]=g,b[a.Memo]=v;function x(R){return a.isMemo(R)?v:b[R.$$typeof]||p}var S=Object.defineProperty,E=Object.getOwnPropertyNames,T=Object.getOwnPropertySymbols,k=Object.getOwnPropertyDescriptor,H=Object.getPrototypeOf,N=Object.prototype;function j(R,M,V){if(typeof M!="string"){if(N){var X=H(M);X&&X!==N&&j(R,X,V)}var L=E(M);T&&(L=L.concat(T(M)));for(var he=x(R),P=x(M),ce=0;ce<L.length;++ce){var be=L[ce];if(!d[be]&&!(V&&V[be])&&!(P&&P[be])&&!(he&&he[be])){var ye=k(M,be);try{S(R,be,ye)}catch{}}}}return R}u.exports=j},4466:(u,h,e)=>{var a=e(5234),p=e(3250),d=a(p,"DataView");u.exports=d},5208:(u,h,e)=>{var a=e(4440),p=e(4108),d=e(1085),g=e(7706),v=e(8636);function b(x){var S=-1,E=x==null?0:x.length;for(this.clear();++S<E;){var T=x[S];this.set(T[0],T[1])}}b.prototype.clear=a,b.prototype.delete=p,b.prototype.get=d,b.prototype.has=g,b.prototype.set=v,u.exports=b},1998:(u,h,e)=>{var a=e(266),p=e(2875),d=e(5828),g=e(4115),v=e(7690);function b(x){var S=-1,E=x==null?0:x.length;for(this.clear();++S<E;){var T=x[S];this.set(T[0],T[1])}}b.prototype.clear=a,b.prototype.delete=p,b.prototype.get=d,b.prototype.has=g,b.prototype.set=v,u.exports=b},2887:(u,h,e)=>{var a=e(5234),p=e(3250),d=a(p,"Map");u.exports=d},5678:(u,h,e)=>{var a=e(9016),p=e(2363),d=e(4348),g=e(3062),v=e(262);function b(x){var S=-1,E=x==null?0:x.length;for(this.clear();++S<E;){var T=x[S];this.set(T[0],T[1])}}b.prototype.clear=a,b.prototype.delete=p,b.prototype.get=d,b.prototype.has=g,b.prototype.set=v,u.exports=b},5747:(u,h,e)=>{var a=e(5234),p=e(3250),d=a(p,"Promise");u.exports=d},6616:(u,h,e)=>{var a=e(5234),p=e(3250),d=a(p,"Set");u.exports=d},9549:(u,h,e)=>{var a=e(1998),p=e(3210),d=e(8603),g=e(8947),v=e(885),b=e(8938);function x(S){var E=this.__data__=new a(S);this.size=E.size}x.prototype.clear=p,x.prototype.delete=d,x.prototype.get=g,x.prototype.has=v,x.prototype.set=b,u.exports=x},861:(u,h,e)=>{var a=e(3250),p=a.Symbol;u.exports=p},3526:(u,h,e)=>{var a=e(3250),p=a.Uint8Array;u.exports=p},8001:(u,h,e)=>{var a=e(5234),p=e(3250),d=a(p,"WeakMap");u.exports=d},2274:u=>{function h(e,a,p){switch(p.length){case 0:return e.call(a);case 1:return e.call(a,p[0]);case 2:return e.call(a,p[0],p[1]);case 3:return e.call(a,p[0],p[1],p[2])}return e.apply(a,p)}u.exports=h},4004:u=>{function h(e,a){for(var p=-1,d=e==null?0:e.length;++p<d&&a(e[p],p,e)!==!1;);return e}u.exports=h},2493:u=>{function h(e,a){for(var p=-1,d=e==null?0:e.length,g=0,v=[];++p<d;){var b=e[p];a(b,p,e)&&(v[g++]=b)}return v}u.exports=h},5825:(u,h,e)=>{var a=e(8509),p=e(9312),d=e(5589),g=e(5778),v=e(5023),b=e(922),x=Object.prototype,S=x.hasOwnProperty;function E(T,k){var H=d(T),N=!H&&p(T),j=!H&&!N&&g(T),R=!H&&!N&&!j&&b(T),M=H||N||j||R,V=M?a(T.length,String):[],X=V.length;for(var L in T)(k||S.call(T,L))&&!(M&&(L=="length"||j&&(L=="offset"||L=="parent")||R&&(L=="buffer"||L=="byteLength"||L=="byteOffset")||v(L,X)))&&V.push(L);return V}u.exports=E},9233:u=>{function h(e,a){for(var p=-1,d=e==null?0:e.length,g=Array(d);++p<d;)g[p]=a(e[p],p,e);return g}u.exports=h},111:u=>{function h(e,a){for(var p=-1,d=a.length,g=e.length;++p<d;)e[g+p]=a[p];return e}u.exports=h},3532:(u,h,e)=>{var a=e(7500),p=e(8260);function d(g,v,b){(b!==void 0&&!p(g[v],b)||b===void 0&&!(v in g))&&a(g,v,b)}u.exports=d},3192:(u,h,e)=>{var a=e(7500),p=e(8260),d=Object.prototype,g=d.hasOwnProperty;function v(b,x,S){var E=b[x];(!(g.call(b,x)&&p(E,S))||S===void 0&&!(x in b))&&a(b,x,S)}u.exports=v},8498:(u,h,e)=>{var a=e(8260);function p(d,g){for(var v=d.length;v--;)if(a(d[v][0],g))return v;return-1}u.exports=p},4265:(u,h,e)=>{var a=e(8618),p=e(2096);function d(g,v){return g&&a(v,p(v),g)}u.exports=d},1629:(u,h,e)=>{var a=e(8618),p=e(9882);function d(g,v){return g&&a(v,p(v),g)}u.exports=d},7500:(u,h,e)=>{var a=e(5595);function p(d,g,v){g=="__proto__"&&a?a(d,g,{configurable:!0,enumerable:!0,value:v,writable:!0}):d[g]=v}u.exports=p},8361:(u,h,e)=>{var a=e(9549),p=e(4004),d=e(3192),g=e(4265),v=e(1629),b=e(6502),x=e(2166),S=e(7272),E=e(2066),T=e(4357),k=e(5713),H=e(7493),N=e(2865),j=e(1908),R=e(4046),M=e(5589),V=e(5778),X=e(7613),L=e(3702),he=e(693),P=e(2096),ce=e(9882),be=1,ye=2,Oe=4,we="[object Arguments]",Se="[object Array]",W="[object Boolean]",re="[object Date]",Ge="[object Error]",Qe="[object Function]",He="[object GeneratorFunction]",At="[object Map]",A="[object Number]",F="[object Object]",_="[object RegExp]",ge="[object Set]",ie="[object String]",Ee="[object Symbol]",je="[object WeakMap]",te="[object ArrayBuffer]",xe="[object DataView]",ke="[object Float32Array]",ht="[object Float64Array]",_e="[object Int8Array]",it="[object Int16Array]",Ot="[object Int32Array]",Et="[object Uint8Array]",qe="[object Uint8ClampedArray]",ir="[object Uint16Array]",Ct="[object Uint32Array]",ve={};ve[we]=ve[Se]=ve[te]=ve[xe]=ve[W]=ve[re]=ve[ke]=ve[ht]=ve[_e]=ve[it]=ve[Ot]=ve[At]=ve[A]=ve[F]=ve[_]=ve[ge]=ve[ie]=ve[Ee]=ve[Et]=ve[qe]=ve[ir]=ve[Ct]=!0,ve[Ge]=ve[Qe]=ve[je]=!1;function gt(le,pt,Me,Ht,nt,Ve){var Fe,ot=pt&be,mt=pt&ye,Vt=pt&Oe;if(Me&&(Fe=nt?Me(le,Ht,nt,Ve):Me(le)),Fe!==void 0)return Fe;if(!L(le))return le;var Dt=M(le);if(Dt){if(Fe=N(le),!ot)return x(le,Fe)}else{var at=H(le),Nt=at==Qe||at==He;if(V(le))return b(le,ot);if(at==F||at==we||Nt&&!nt){if(Fe=mt||Nt?{}:R(le),!ot)return mt?E(le,v(Fe,le)):S(le,g(Fe,le))}else{if(!ve[at])return nt?le:{};Fe=j(le,at,ot)}}Ve||(Ve=new a);var Lt=Ve.get(le);if(Lt)return Lt;Ve.set(le,Fe),he(le)?le.forEach(function(et){Fe.add(gt(et,pt,Me,et,le,Ve))}):X(le)&&le.forEach(function(et,st){Fe.set(st,gt(et,pt,Me,st,le,Ve))});var jt=Vt?mt?k:T:mt?ce:P,Tt=Dt?void 0:jt(le);return p(Tt||le,function(et,st){Tt&&(st=et,et=le[st]),d(Fe,st,gt(et,pt,Me,st,le,Ve))}),Fe}u.exports=gt},7890:(u,h,e)=>{var a=e(3702),p=Object.create,d=function(){function g(){}return function(v){if(!a(v))return{};if(p)return p(v);g.prototype=v;var b=new g;return g.prototype=void 0,b}}();u.exports=d},9943:(u,h,e)=>{var a=e(2545),p=a();u.exports=p},548:(u,h,e)=>{var a=e(4007),p=e(6040);function d(g,v){v=a(v,g);for(var b=0,x=v.length;g!=null&&b<x;)g=g[p(v[b++])];return b&&b==x?g:void 0}u.exports=d},4468:(u,h,e)=>{var a=e(111),p=e(5589);function d(g,v,b){var x=v(g);return p(g)?x:a(x,b(g))}u.exports=d},9823:(u,h,e)=>{var a=e(861),p=e(1339),d=e(5151),g="[object Null]",v="[object Undefined]",b=a?a.toStringTag:void 0;function x(S){return S==null?S===void 0?v:g:b&&b in Object(S)?p(S):d(S)}u.exports=x},2586:u=>{var h=Object.prototype,e=h.hasOwnProperty;function a(p,d){return p!=null&&e.call(p,d)}u.exports=a},3016:(u,h,e)=>{var a=e(9823),p=e(440),d="[object Arguments]";function g(v){return p(v)&&a(v)==d}u.exports=g},2275:(u,h,e)=>{var a=e(7493),p=e(440),d="[object Map]";function g(v){return p(v)&&a(v)==d}u.exports=g},9817:(u,h,e)=>{var a=e(5563),p=e(8597),d=e(3702),g=e(5784),v=/[\\^$.*+?()[\]{}|]/g,b=/^\[object .+?Constructor\]$/,x=Function.prototype,S=Object.prototype,E=x.toString,T=S.hasOwnProperty,k=RegExp("^"+E.call(T).replace(v,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function H(N){if(!d(N)||p(N))return!1;var j=a(N)?k:b;return j.test(g(N))}u.exports=H},7170:(u,h,e)=>{var a=e(7493),p=e(440),d="[object Set]";function g(v){return p(v)&&a(v)==d}u.exports=g},2448:(u,h,e)=>{var a=e(9823),p=e(6052),d=e(440),g="[object Arguments]",v="[object Array]",b="[object Boolean]",x="[object Date]",S="[object Error]",E="[object Function]",T="[object Map]",k="[object Number]",H="[object Object]",N="[object RegExp]",j="[object Set]",R="[object String]",M="[object WeakMap]",V="[object ArrayBuffer]",X="[object DataView]",L="[object Float32Array]",he="[object Float64Array]",P="[object Int8Array]",ce="[object Int16Array]",be="[object Int32Array]",ye="[object Uint8Array]",Oe="[object Uint8ClampedArray]",we="[object Uint16Array]",Se="[object Uint32Array]",W={};W[L]=W[he]=W[P]=W[ce]=W[be]=W[ye]=W[Oe]=W[we]=W[Se]=!0,W[g]=W[v]=W[V]=W[b]=W[X]=W[x]=W[S]=W[E]=W[T]=W[k]=W[H]=W[N]=W[j]=W[R]=W[M]=!1;function re(Ge){return d(Ge)&&p(Ge.length)&&!!W[a(Ge)]}u.exports=re},1351:(u,h,e)=>{var a=e(2840),p=e(2825),d=Object.prototype,g=d.hasOwnProperty;function v(b){if(!a(b))return p(b);var x=[];for(var S in Object(b))g.call(b,S)&&S!="constructor"&&x.push(S);return x}u.exports=v},1309:(u,h,e)=>{var a=e(3702),p=e(2840),d=e(4866),g=Object.prototype,v=g.hasOwnProperty;function b(x){if(!a(x))return d(x);var S=p(x),E=[];for(var T in x)T=="constructor"&&(S||!v.call(x,T))||E.push(T);return E}u.exports=b},2133:(u,h,e)=>{var a=e(9549),p=e(3532),d=e(9943),g=e(1241),v=e(3702),b=e(9882),x=e(1933);function S(E,T,k,H,N){E!==T&&d(T,function(j,R){if(N||(N=new a),v(j))g(E,T,R,k,S,H,N);else{var M=H?H(x(E,R),j,R+"",E,T,N):void 0;M===void 0&&(M=j),p(E,R,M)}},b)}u.exports=S},1241:(u,h,e)=>{var a=e(3532),p=e(6502),d=e(1327),g=e(2166),v=e(4046),b=e(9312),x=e(5589),S=e(8268),E=e(5778),T=e(5563),k=e(3702),H=e(4256),N=e(922),j=e(1933),R=e(6222);function M(V,X,L,he,P,ce,be){var ye=j(V,L),Oe=j(X,L),we=be.get(Oe);if(we){a(V,L,we);return}var Se=ce?ce(ye,Oe,L+"",V,X,be):void 0,W=Se===void 0;if(W){var re=x(Oe),Ge=!re&&E(Oe),Qe=!re&&!Ge&&N(Oe);Se=Oe,re||Ge||Qe?x(ye)?Se=ye:S(ye)?Se=g(ye):Ge?(W=!1,Se=p(Oe,!0)):Qe?(W=!1,Se=d(Oe,!0)):Se=[]:H(Oe)||b(Oe)?(Se=ye,b(ye)?Se=R(ye):(!k(ye)||T(ye))&&(Se=v(Oe))):W=!1}W&&(be.set(Oe,Se),P(Se,Oe,he,ce,be),be.delete(Oe)),a(V,L,Se)}u.exports=M},9735:(u,h,e)=>{var a=e(229),p=e(340),d=e(4173);function g(v,b){return d(p(v,b,a),v+"")}u.exports=g},2619:(u,h,e)=>{var a=e(3192),p=e(4007),d=e(5023),g=e(3702),v=e(6040);function b(x,S,E,T){if(!g(x))return x;S=p(S,x);for(var k=-1,H=S.length,N=H-1,j=x;j!=null&&++k<H;){var R=v(S[k]),M=E;if(R==="__proto__"||R==="constructor"||R==="prototype")return x;if(k!=N){var V=j[R];M=T?T(V,R,j):void 0,M===void 0&&(M=g(V)?V:d(S[k+1])?[]:{})}a(j,R,M),j=j[R]}return x}u.exports=b},6739:(u,h,e)=>{var a=e(9203),p=e(5595),d=e(229),g=p?function(v,b){return p(v,"toString",{configurable:!0,enumerable:!1,value:a(b),writable:!0})}:d;u.exports=g},8509:u=>{function h(e,a){for(var p=-1,d=Array(e);++p<e;)d[p]=a(p);return d}u.exports=h},6245:(u,h,e)=>{var a=e(861),p=e(9233),d=e(5589),g=e(2624),v=1/0,b=a?a.prototype:void 0,x=b?b.toString:void 0;function S(E){if(typeof E=="string")return E;if(d(E))return p(E,S)+"";if(g(E))return x?x.call(E):"";var T=E+"";return T=="0"&&1/E==-v?"-0":T}u.exports=S},1525:u=>{function h(e){return function(a){return e(a)}}u.exports=h},4007:(u,h,e)=>{var a=e(5589),p=e(5130),d=e(4041),g=e(9835);function v(b,x){return a(b)?b:p(b,x)?[b]:d(g(b))}u.exports=v},2962:(u,h,e)=>{var a=e(3526);function p(d){var g=new d.constructor(d.byteLength);return new a(g).set(new a(d)),g}u.exports=p},6502:(u,h,e)=>{u=e.nmd(u);var a=e(3250),p=h&&!h.nodeType&&h,d=p&&!0&&u&&!u.nodeType&&u,g=d&&d.exports===p,v=g?a.Buffer:void 0,b=v?v.allocUnsafe:void 0;function x(S,E){if(E)return S.slice();var T=S.length,k=b?b(T):new S.constructor(T);return S.copy(k),k}u.exports=x},7037:(u,h,e)=>{var a=e(2962);function p(d,g){var v=g?a(d.buffer):d.buffer;return new d.constructor(v,d.byteOffset,d.byteLength)}u.exports=p},3429:u=>{var h=/\w*$/;function e(a){var p=new a.constructor(a.source,h.exec(a));return p.lastIndex=a.lastIndex,p}u.exports=e},9349:(u,h,e)=>{var a=e(861),p=a?a.prototype:void 0,d=p?p.valueOf:void 0;function g(v){return d?Object(d.call(v)):{}}u.exports=g},1327:(u,h,e)=>{var a=e(2962);function p(d,g){var v=g?a(d.buffer):d.buffer;return new d.constructor(v,d.byteOffset,d.length)}u.exports=p},2166:u=>{function h(e,a){var p=-1,d=e.length;for(a||(a=Array(d));++p<d;)a[p]=e[p];return a}u.exports=h},8618:(u,h,e)=>{var a=e(3192),p=e(7500);function d(g,v,b,x){var S=!b;b||(b={});for(var E=-1,T=v.length;++E<T;){var k=v[E],H=x?x(b[k],g[k],k,b,g):void 0;H===void 0&&(H=g[k]),S?p(b,k,H):a(b,k,H)}return b}u.exports=d},7272:(u,h,e)=>{var a=e(8618),p=e(4450);function d(g,v){return a(g,p(g),v)}u.exports=d},2066:(u,h,e)=>{var a=e(8618),p=e(4969);function d(g,v){return a(g,p(g),v)}u.exports=d},1622:(u,h,e)=>{var a=e(3250),p=a["__core-js_shared__"];u.exports=p},6948:(u,h,e)=>{var a=e(9735),p=e(8132);function d(g){return a(function(v,b){var x=-1,S=b.length,E=S>1?b[S-1]:void 0,T=S>2?b[2]:void 0;for(E=g.length>3&&typeof E=="function"?(S--,E):void 0,T&&p(b[0],b[1],T)&&(E=S<3?void 0:E,S=1),v=Object(v);++x<S;){var k=b[x];k&&g(v,k,x,E)}return v})}u.exports=d},2545:u=>{function h(e){return function(a,p,d){for(var g=-1,v=Object(a),b=d(a),x=b.length;x--;){var S=b[e?x:++g];if(p(v[S],S,v)===!1)break}return a}}u.exports=h},5595:(u,h,e)=>{var a=e(5234),p=function(){try{var d=a(Object,"defineProperty");return d({},"",{}),d}catch{}}();u.exports=p},302:(u,h,e)=>{var a=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;u.exports=a},4357:(u,h,e)=>{var a=e(4468),p=e(4450),d=e(2096);function g(v){return a(v,d,p)}u.exports=g},5713:(u,h,e)=>{var a=e(4468),p=e(4969),d=e(9882);function g(v){return a(v,d,p)}u.exports=g},7570:(u,h,e)=>{var a=e(8949);function p(d,g){var v=d.__data__;return a(g)?v[typeof g=="string"?"string":"hash"]:v.map}u.exports=p},5234:(u,h,e)=>{var a=e(9817),p=e(7736);function d(g,v){var b=p(g,v);return a(b)?b:void 0}u.exports=d},8490:(u,h,e)=>{var a=e(3540),p=a(Object.getPrototypeOf,Object);u.exports=p},1339:(u,h,e)=>{var a=e(861),p=Object.prototype,d=p.hasOwnProperty,g=p.toString,v=a?a.toStringTag:void 0;function b(x){var S=d.call(x,v),E=x[v];try{x[v]=void 0;var T=!0}catch{}var k=g.call(x);return T&&(S?x[v]=E:delete x[v]),k}u.exports=b},4450:(u,h,e)=>{var a=e(2493),p=e(4506),d=Object.prototype,g=d.propertyIsEnumerable,v=Object.getOwnPropertySymbols,b=v?function(x){return x==null?[]:(x=Object(x),a(v(x),function(S){return g.call(x,S)}))}:p;u.exports=b},4969:(u,h,e)=>{var a=e(111),p=e(8490),d=e(4450),g=e(4506),v=Object.getOwnPropertySymbols,b=v?function(x){for(var S=[];x;)a(S,d(x)),x=p(x);return S}:g;u.exports=b},7493:(u,h,e)=>{var a=e(4466),p=e(2887),d=e(5747),g=e(6616),v=e(8001),b=e(9823),x=e(5784),S="[object Map]",E="[object Object]",T="[object Promise]",k="[object Set]",H="[object WeakMap]",N="[object DataView]",j=x(a),R=x(p),M=x(d),V=x(g),X=x(v),L=b;(a&&L(new a(new ArrayBuffer(1)))!=N||p&&L(new p)!=S||d&&L(d.resolve())!=T||g&&L(new g)!=k||v&&L(new v)!=H)&&(L=function(he){var P=b(he),ce=P==E?he.constructor:void 0,be=ce?x(ce):"";if(be)switch(be){case j:return N;case R:return S;case M:return T;case V:return k;case X:return H}return P}),u.exports=L},7736:u=>{function h(e,a){return e?.[a]}u.exports=h},3544:(u,h,e)=>{var a=e(4007),p=e(9312),d=e(5589),g=e(5023),v=e(6052),b=e(6040);function x(S,E,T){E=a(E,S);for(var k=-1,H=E.length,N=!1;++k<H;){var j=b(E[k]);if(!(N=S!=null&&T(S,j)))break;S=S[j]}return N||++k!=H?N:(H=S==null?0:S.length,!!H&&v(H)&&g(j,H)&&(d(S)||p(S)))}u.exports=x},4440:(u,h,e)=>{var a=e(4545);function p(){this.__data__=a?a(null):{},this.size=0}u.exports=p},4108:u=>{function h(e){var a=this.has(e)&&delete this.__data__[e];return this.size-=a?1:0,a}u.exports=h},1085:(u,h,e)=>{var a=e(4545),p="__lodash_hash_undefined__",d=Object.prototype,g=d.hasOwnProperty;function v(b){var x=this.__data__;if(a){var S=x[b];return S===p?void 0:S}return g.call(x,b)?x[b]:void 0}u.exports=v},7706:(u,h,e)=>{var a=e(4545),p=Object.prototype,d=p.hasOwnProperty;function g(v){var b=this.__data__;return a?b[v]!==void 0:d.call(b,v)}u.exports=g},8636:(u,h,e)=>{var a=e(4545),p="__lodash_hash_undefined__";function d(g,v){var b=this.__data__;return this.size+=this.has(g)?0:1,b[g]=a&&v===void 0?p:v,this}u.exports=d},2865:u=>{var h=Object.prototype,e=h.hasOwnProperty;function a(p){var d=p.length,g=new p.constructor(d);return d&&typeof p[0]=="string"&&e.call(p,"index")&&(g.index=p.index,g.input=p.input),g}u.exports=a},1908:(u,h,e)=>{var a=e(2962),p=e(7037),d=e(3429),g=e(9349),v=e(1327),b="[object Boolean]",x="[object Date]",S="[object Map]",E="[object Number]",T="[object RegExp]",k="[object Set]",H="[object String]",N="[object Symbol]",j="[object ArrayBuffer]",R="[object DataView]",M="[object Float32Array]",V="[object Float64Array]",X="[object Int8Array]",L="[object Int16Array]",he="[object Int32Array]",P="[object Uint8Array]",ce="[object Uint8ClampedArray]",be="[object Uint16Array]",ye="[object Uint32Array]";function Oe(we,Se,W){var re=we.constructor;switch(Se){case j:return a(we);case b:case x:return new re(+we);case R:return p(we,W);case M:case V:case X:case L:case he:case P:case ce:case be:case ye:return v(we,W);case S:return new re;case E:case H:return new re(we);case T:return d(we);case k:return new re;case N:return g(we)}}u.exports=Oe},4046:(u,h,e)=>{var a=e(7890),p=e(8490),d=e(2840);function g(v){return typeof v.constructor=="function"&&!d(v)?a(p(v)):{}}u.exports=g},5023:u=>{var h=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function a(p,d){var g=typeof p;return d=d??h,!!d&&(g=="number"||g!="symbol"&&e.test(p))&&p>-1&&p%1==0&&p<d}u.exports=a},8132:(u,h,e)=>{var a=e(8260),p=e(568),d=e(5023),g=e(3702);function v(b,x,S){if(!g(S))return!1;var E=typeof x;return(E=="number"?p(S)&&d(x,S.length):E=="string"&&x in S)?a(S[x],b):!1}u.exports=v},5130:(u,h,e)=>{var a=e(5589),p=e(2624),d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,g=/^\w*$/;function v(b,x){if(a(b))return!1;var S=typeof b;return S=="number"||S=="symbol"||S=="boolean"||b==null||p(b)?!0:g.test(b)||!d.test(b)||x!=null&&b in Object(x)}u.exports=v},8949:u=>{function h(e){var a=typeof e;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?e!=="__proto__":e===null}u.exports=h},8597:(u,h,e)=>{var a=e(1622),p=function(){var g=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return g?"Symbol(src)_1."+g:""}();function d(g){return!!p&&p in g}u.exports=d},2840:u=>{var h=Object.prototype;function e(a){var p=a&&a.constructor,d=typeof p=="function"&&p.prototype||h;return a===d}u.exports=e},266:u=>{function h(){this.__data__=[],this.size=0}u.exports=h},2875:(u,h,e)=>{var a=e(8498),p=Array.prototype,d=p.splice;function g(v){var b=this.__data__,x=a(b,v);if(x<0)return!1;var S=b.length-1;return x==S?b.pop():d.call(b,x,1),--this.size,!0}u.exports=g},5828:(u,h,e)=>{var a=e(8498);function p(d){var g=this.__data__,v=a(g,d);return v<0?void 0:g[v][1]}u.exports=p},4115:(u,h,e)=>{var a=e(8498);function p(d){return a(this.__data__,d)>-1}u.exports=p},7690:(u,h,e)=>{var a=e(8498);function p(d,g){var v=this.__data__,b=a(v,d);return b<0?(++this.size,v.push([d,g])):v[b][1]=g,this}u.exports=p},9016:(u,h,e)=>{var a=e(5208),p=e(1998),d=e(2887);function g(){this.size=0,this.__data__={hash:new a,map:new(d||p),string:new a}}u.exports=g},2363:(u,h,e)=>{var a=e(7570);function p(d){var g=a(this,d).delete(d);return this.size-=g?1:0,g}u.exports=p},4348:(u,h,e)=>{var a=e(7570);function p(d){return a(this,d).get(d)}u.exports=p},3062:(u,h,e)=>{var a=e(7570);function p(d){return a(this,d).has(d)}u.exports=p},262:(u,h,e)=>{var a=e(7570);function p(d,g){var v=a(this,d),b=v.size;return v.set(d,g),this.size+=v.size==b?0:1,this}u.exports=p},2924:(u,h,e)=>{var a=e(7997),p=500;function d(g){var v=a(g,function(x){return b.size===p&&b.clear(),x}),b=v.cache;return v}u.exports=d},4545:(u,h,e)=>{var a=e(5234),p=a(Object,"create");u.exports=p},2825:(u,h,e)=>{var a=e(3540),p=a(Object.keys,Object);u.exports=p},4866:u=>{function h(e){var a=[];if(e!=null)for(var p in Object(e))a.push(p);return a}u.exports=h},8690:(u,h,e)=>{u=e.nmd(u);var a=e(302),p=h&&!h.nodeType&&h,d=p&&!0&&u&&!u.nodeType&&u,g=d&&d.exports===p,v=g&&a.process,b=function(){try{var x=d&&d.require&&d.require("util").types;return x||v&&v.binding&&v.binding("util")}catch{}}();u.exports=b},5151:u=>{var h=Object.prototype,e=h.toString;function a(p){return e.call(p)}u.exports=a},3540:u=>{function h(e,a){return function(p){return e(a(p))}}u.exports=h},340:(u,h,e)=>{var a=e(2274),p=Math.max;function d(g,v,b){return v=p(v===void 0?g.length-1:v,0),function(){for(var x=arguments,S=-1,E=p(x.length-v,0),T=Array(E);++S<E;)T[S]=x[v+S];S=-1;for(var k=Array(v+1);++S<v;)k[S]=x[S];return k[v]=b(T),a(g,this,k)}}u.exports=d},3250:(u,h,e)=>{var a=e(302),p=typeof self=="object"&&self&&self.Object===Object&&self,d=a||p||Function("return this")();u.exports=d},1933:u=>{function h(e,a){if(!(a==="constructor"&&typeof e[a]=="function")&&a!="__proto__")return e[a]}u.exports=h},4173:(u,h,e)=>{var a=e(6739),p=e(7357),d=p(a);u.exports=d},7357:u=>{var h=800,e=16,a=Date.now;function p(d){var g=0,v=0;return function(){var b=a(),x=e-(b-v);if(v=b,x>0){if(++g>=h)return arguments[0]}else g=0;return d.apply(void 0,arguments)}}u.exports=p},3210:(u,h,e)=>{var a=e(1998);function p(){this.__data__=new a,this.size=0}u.exports=p},8603:u=>{function h(e){var a=this.__data__,p=a.delete(e);return this.size=a.size,p}u.exports=h},8947:u=>{function h(e){return this.__data__.get(e)}u.exports=h},885:u=>{function h(e){return this.__data__.has(e)}u.exports=h},8938:(u,h,e)=>{var a=e(1998),p=e(2887),d=e(5678),g=200;function v(b,x){var S=this.__data__;if(S instanceof a){var E=S.__data__;if(!p||E.length<g-1)return E.push([b,x]),this.size=++S.size,this;S=this.__data__=new d(E)}return S.set(b,x),this.size=S.size,this}u.exports=v},4041:(u,h,e)=>{var a=e(2924),p=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,g=a(function(v){var b=[];return v.charCodeAt(0)===46&&b.push(""),v.replace(p,function(x,S,E,T){b.push(E?T.replace(d,"$1"):S||x)}),b});u.exports=g},6040:(u,h,e)=>{var a=e(2624),p=1/0;function d(g){if(typeof g=="string"||a(g))return g;var v=g+"";return v=="0"&&1/g==-p?"-0":v}u.exports=d},5784:u=>{var h=Function.prototype,e=h.toString;function a(p){if(p!=null){try{return e.call(p)}catch{}try{return p+""}catch{}}return""}u.exports=a},7953:(u,h,e)=>{var a=e(8361),p=4;function d(g){return a(g,p)}u.exports=d},9203:u=>{function h(e){return function(){return e}}u.exports=h},8260:u=>{function h(e,a){return e===a||e!==e&&a!==a}u.exports=h},3546:(u,h,e)=>{var a=e(548);function p(d,g,v){var b=d==null?void 0:a(d,g);return b===void 0?v:b}u.exports=p},5346:(u,h,e)=>{var a=e(2586),p=e(3544);function d(g,v){return g!=null&&p(g,v,a)}u.exports=d},229:u=>{function h(e){return e}u.exports=h},9312:(u,h,e)=>{var a=e(3016),p=e(440),d=Object.prototype,g=d.hasOwnProperty,v=d.propertyIsEnumerable,b=a(function(){return arguments}())?a:function(x){return p(x)&&g.call(x,"callee")&&!v.call(x,"callee")};u.exports=b},5589:u=>{var h=Array.isArray;u.exports=h},568:(u,h,e)=>{var a=e(5563),p=e(6052);function d(g){return g!=null&&p(g.length)&&!a(g)}u.exports=d},8268:(u,h,e)=>{var a=e(568),p=e(440);function d(g){return p(g)&&a(g)}u.exports=d},5778:(u,h,e)=>{u=e.nmd(u);var a=e(3250),p=e(7999),d=h&&!h.nodeType&&h,g=d&&!0&&u&&!u.nodeType&&u,v=g&&g.exports===d,b=v?a.Buffer:void 0,x=b?b.isBuffer:void 0,S=x||p;u.exports=S},5563:(u,h,e)=>{var a=e(9823),p=e(3702),d="[object AsyncFunction]",g="[object Function]",v="[object GeneratorFunction]",b="[object Proxy]";function x(S){if(!p(S))return!1;var E=a(S);return E==g||E==v||E==d||E==b}u.exports=x},6052:u=>{var h=9007199254740991;function e(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=h}u.exports=e},7613:(u,h,e)=>{var a=e(2275),p=e(1525),d=e(8690),g=d&&d.isMap,v=g?p(g):a;u.exports=v},3702:u=>{function h(e){var a=typeof e;return e!=null&&(a=="object"||a=="function")}u.exports=h},440:u=>{function h(e){return e!=null&&typeof e=="object"}u.exports=h},4256:(u,h,e)=>{var a=e(9823),p=e(8490),d=e(440),g="[object Object]",v=Function.prototype,b=Object.prototype,x=v.toString,S=b.hasOwnProperty,E=x.call(Object);function T(k){if(!d(k)||a(k)!=g)return!1;var H=p(k);if(H===null)return!0;var N=S.call(H,"constructor")&&H.constructor;return typeof N=="function"&&N instanceof N&&x.call(N)==E}u.exports=T},693:(u,h,e)=>{var a=e(7170),p=e(1525),d=e(8690),g=d&&d.isSet,v=g?p(g):a;u.exports=v},2624:(u,h,e)=>{var a=e(9823),p=e(440),d="[object Symbol]";function g(v){return typeof v=="symbol"||p(v)&&a(v)==d}u.exports=g},922:(u,h,e)=>{var a=e(2448),p=e(1525),d=e(8690),g=d&&d.isTypedArray,v=g?p(g):a;u.exports=v},2096:(u,h,e)=>{var a=e(5825),p=e(1351),d=e(568);function g(v){return d(v)?a(v):p(v)}u.exports=g},9882:(u,h,e)=>{var a=e(5825),p=e(1309),d=e(568);function g(v){return d(v)?a(v,!0):p(v)}u.exports=g},7997:(u,h,e)=>{var a=e(5678),p="Expected a function";function d(g,v){if(typeof g!="function"||v!=null&&typeof v!="function")throw new TypeError(p);var b=function(){var x=arguments,S=v?v.apply(this,x):x[0],E=b.cache;if(E.has(S))return E.get(S);var T=g.apply(this,x);return b.cache=E.set(S,T)||E,T};return b.cache=new(d.Cache||a),b}d.Cache=a,u.exports=d},8469:(u,h,e)=>{var a=e(2133),p=e(6948),d=p(function(g,v,b){a(g,v,b)});u.exports=d},6226:(u,h,e)=>{var a=e(2619);function p(d,g,v){return d==null?d:a(d,g,v)}u.exports=p},4506:u=>{function h(){return[]}u.exports=h},7999:u=>{function h(){return!1}u.exports=h},6222:(u,h,e)=>{var a=e(8618),p=e(9882);function d(g){return a(g,p(g))}u.exports=d},9835:(u,h,e)=>{var a=e(6245);function p(d){return d==null?"":a(d)}u.exports=p},2458:u=>{"use strict";/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/var h=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function p(g){if(g==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(g)}function d(){try{if(!Object.assign)return!1;var g=new String("abc");if(g[5]="de",Object.getOwnPropertyNames(g)[0]==="5")return!1;for(var v={},b=0;b<10;b++)v["_"+String.fromCharCode(b)]=b;var x=Object.getOwnPropertyNames(v).map(function(E){return v[E]});if(x.join("")!=="0123456789")return!1;var S={};return"abcdefghijklmnopqrst".split("").forEach(function(E){S[E]=E}),Object.keys(Object.assign({},S)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}u.exports=d()?Object.assign:function(g,v){for(var b,x=p(g),S,E=1;E<arguments.length;E++){b=Object(arguments[E]);for(var T in b)e.call(b,T)&&(x[T]=b[T]);if(h){S=h(b);for(var k=0;k<S.length;k++)a.call(b,S[k])&&(x[S[k]]=b[S[k]])}}return x}},3907:function(u,h,e){u=e.nmd(u),function(a,p){"use strict";var d={};a.PubSub?(d=a.PubSub,console.warn("PubSub already loaded, using existing version")):(a.PubSub=d,p(d)),u!==void 0&&u.exports&&(h=u.exports=d),h.PubSub=d,u.exports=h=d}(typeof window=="object"&&window||this,function(a){"use strict";var p={},d=-1,g="*";function v(j){var R;for(R in j)if(Object.prototype.hasOwnProperty.call(j,R))return!0;return!1}function b(j){return function(){throw j}}function x(j,R,M){try{j(R,M)}catch(V){setTimeout(b(V),0)}}function S(j,R,M){j(R,M)}function E(j,R,M,V){var X=p[R],L=V?S:x,he;if(Object.prototype.hasOwnProperty.call(p,R))for(he in X)Object.prototype.hasOwnProperty.call(X,he)&&L(X[he],j,M)}function T(j,R,M){return function(){var X=String(j),L=X.lastIndexOf(".");for(E(j,j,R,M);L!==-1;)X=X.substr(0,L),L=X.lastIndexOf("."),E(j,X,R,M);E(j,g,R,M)}}function k(j){var R=String(j),M=!!(Object.prototype.hasOwnProperty.call(p,R)&&v(p[R]));return M}function H(j){for(var R=String(j),M=k(R)||k(g),V=R.lastIndexOf(".");!M&&V!==-1;)R=R.substr(0,V),V=R.lastIndexOf("."),M=k(R);return M}function N(j,R,M,V){j=typeof j=="symbol"?j.toString():j;var X=T(j,R,V),L=H(j);return L?(M===!0?X():setTimeout(X,0),!0):!1}a.publish=function(j,R){return N(j,R,!1,a.immediateExceptions)},a.publishSync=function(j,R){return N(j,R,!0,a.immediateExceptions)},a.subscribe=function(j,R){if(typeof R!="function")return!1;j=typeof j=="symbol"?j.toString():j,Object.prototype.hasOwnProperty.call(p,j)||(p[j]={});var M="uid_"+String(++d);return p[j][M]=R,M},a.subscribeAll=function(j){return a.subscribe(g,j)},a.subscribeOnce=function(j,R){var M=a.subscribe(j,function(){a.unsubscribe(M),R.apply(this,arguments)});return a},a.clearAllSubscriptions=function(){p={}},a.clearSubscriptions=function(R){var M;for(M in p)Object.prototype.hasOwnProperty.call(p,M)&&M.indexOf(R)===0&&delete p[M]},a.countSubscriptions=function(R){var M,V,X=0;for(M in p)if(Object.prototype.hasOwnProperty.call(p,M)&&M.indexOf(R)===0){for(V in p[M])X++;break}return X},a.getSubscriptions=function(R){var M,V=[];for(M in p)Object.prototype.hasOwnProperty.call(p,M)&&M.indexOf(R)===0&&V.push(M);return V},a.unsubscribe=function(j){var R=function(be){var ye;for(ye in p)if(Object.prototype.hasOwnProperty.call(p,ye)&&ye.indexOf(be)===0)return!0;return!1},M=typeof j=="string"&&(Object.prototype.hasOwnProperty.call(p,j)||R(j)),V=!M&&typeof j=="string",X=typeof j=="function",L=!1,he,P,ce;if(M){a.clearSubscriptions(j);return}for(he in p)if(Object.prototype.hasOwnProperty.call(p,he)){if(P=p[he],V&&P[j]){delete P[j],L=j;break}if(X)for(ce in P)Object.prototype.hasOwnProperty.call(P,ce)&&P[ce]===j&&(delete P[ce],L=!0)}return L}})},4507:(u,h)=>{"use strict";/** @license React v16.13.1
|
|
6
|
+
* react-is.production.min.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,p=e?Symbol.for("react.portal"):60106,d=e?Symbol.for("react.fragment"):60107,g=e?Symbol.for("react.strict_mode"):60108,v=e?Symbol.for("react.profiler"):60114,b=e?Symbol.for("react.provider"):60109,x=e?Symbol.for("react.context"):60110,S=e?Symbol.for("react.async_mode"):60111,E=e?Symbol.for("react.concurrent_mode"):60111,T=e?Symbol.for("react.forward_ref"):60112,k=e?Symbol.for("react.suspense"):60113,H=e?Symbol.for("react.suspense_list"):60120,N=e?Symbol.for("react.memo"):60115,j=e?Symbol.for("react.lazy"):60116,R=e?Symbol.for("react.block"):60121,M=e?Symbol.for("react.fundamental"):60117,V=e?Symbol.for("react.responder"):60118,X=e?Symbol.for("react.scope"):60119;function L(P){if(typeof P=="object"&&P!==null){var ce=P.$$typeof;switch(ce){case a:switch(P=P.type,P){case S:case E:case d:case v:case g:case k:return P;default:switch(P=P&&P.$$typeof,P){case x:case T:case j:case N:case b:return P;default:return ce}}case p:return ce}}}function he(P){return L(P)===E}h.AsyncMode=S,h.ConcurrentMode=E,h.ContextConsumer=x,h.ContextProvider=b,h.Element=a,h.ForwardRef=T,h.Fragment=d,h.Lazy=j,h.Memo=N,h.Portal=p,h.Profiler=v,h.StrictMode=g,h.Suspense=k,h.isAsyncMode=function(P){return he(P)||L(P)===S},h.isConcurrentMode=he,h.isContextConsumer=function(P){return L(P)===x},h.isContextProvider=function(P){return L(P)===b},h.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===a},h.isForwardRef=function(P){return L(P)===T},h.isFragment=function(P){return L(P)===d},h.isLazy=function(P){return L(P)===j},h.isMemo=function(P){return L(P)===N},h.isPortal=function(P){return L(P)===p},h.isProfiler=function(P){return L(P)===v},h.isStrictMode=function(P){return L(P)===g},h.isSuspense=function(P){return L(P)===k},h.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===d||P===E||P===v||P===g||P===k||P===H||typeof P=="object"&&P!==null&&(P.$$typeof===j||P.$$typeof===N||P.$$typeof===b||P.$$typeof===x||P.$$typeof===T||P.$$typeof===M||P.$$typeof===V||P.$$typeof===X||P.$$typeof===R)},h.typeOf=L},9415:(u,h,e)=>{"use strict";u.exports=e(4507)},3714:(u,h,e)=>{"use strict";/** @license React v17.0.2
|
|
13
|
+
* react.production.min.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/var a=e(2458),p=60103,d=60106;h.Fragment=60107,h.StrictMode=60108,h.Profiler=60114;var g=60109,v=60110,b=60112;h.Suspense=60113;var x=60115,S=60116;if(typeof Symbol=="function"&&Symbol.for){var E=Symbol.for;p=E("react.element"),d=E("react.portal"),h.Fragment=E("react.fragment"),h.StrictMode=E("react.strict_mode"),h.Profiler=E("react.profiler"),g=E("react.provider"),v=E("react.context"),b=E("react.forward_ref"),h.Suspense=E("react.suspense"),x=E("react.memo"),S=E("react.lazy")}var T=typeof Symbol=="function"&&Symbol.iterator;function k(A){return A===null||typeof A!="object"?null:(A=T&&A[T]||A["@@iterator"],typeof A=="function"?A:null)}function H(A){for(var F="https://reactjs.org/docs/error-decoder.html?invariant="+A,_=1;_<arguments.length;_++)F+="&args[]="+encodeURIComponent(arguments[_]);return"Minified React error #"+A+"; visit "+F+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j={};function R(A,F,_){this.props=A,this.context=F,this.refs=j,this.updater=_||N}R.prototype.isReactComponent={},R.prototype.setState=function(A,F){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error(H(85));this.updater.enqueueSetState(this,A,F,"setState")},R.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function M(){}M.prototype=R.prototype;function V(A,F,_){this.props=A,this.context=F,this.refs=j,this.updater=_||N}var X=V.prototype=new M;X.constructor=V,a(X,R.prototype),X.isPureReactComponent=!0;var L={current:null},he=Object.prototype.hasOwnProperty,P={key:!0,ref:!0,__self:!0,__source:!0};function ce(A,F,_){var ge,ie={},Ee=null,je=null;if(F!=null)for(ge in F.ref!==void 0&&(je=F.ref),F.key!==void 0&&(Ee=""+F.key),F)he.call(F,ge)&&!P.hasOwnProperty(ge)&&(ie[ge]=F[ge]);var te=arguments.length-2;if(te===1)ie.children=_;else if(1<te){for(var xe=Array(te),ke=0;ke<te;ke++)xe[ke]=arguments[ke+2];ie.children=xe}if(A&&A.defaultProps)for(ge in te=A.defaultProps,te)ie[ge]===void 0&&(ie[ge]=te[ge]);return{$$typeof:p,type:A,key:Ee,ref:je,props:ie,_owner:L.current}}function be(A,F){return{$$typeof:p,type:A.type,key:F,ref:A.ref,props:A.props,_owner:A._owner}}function ye(A){return typeof A=="object"&&A!==null&&A.$$typeof===p}function Oe(A){var F={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(_){return F[_]})}var we=/\/+/g;function Se(A,F){return typeof A=="object"&&A!==null&&A.key!=null?Oe(""+A.key):F.toString(36)}function W(A,F,_,ge,ie){var Ee=typeof A;(Ee==="undefined"||Ee==="boolean")&&(A=null);var je=!1;if(A===null)je=!0;else switch(Ee){case"string":case"number":je=!0;break;case"object":switch(A.$$typeof){case p:case d:je=!0}}if(je)return je=A,ie=ie(je),A=ge===""?"."+Se(je,0):ge,Array.isArray(ie)?(_="",A!=null&&(_=A.replace(we,"$&/")+"/"),W(ie,F,_,"",function(ke){return ke})):ie!=null&&(ye(ie)&&(ie=be(ie,_+(!ie.key||je&&je.key===ie.key?"":(""+ie.key).replace(we,"$&/")+"/")+A)),F.push(ie)),1;if(je=0,ge=ge===""?".":ge+":",Array.isArray(A))for(var te=0;te<A.length;te++){Ee=A[te];var xe=ge+Se(Ee,te);je+=W(Ee,F,_,xe,ie)}else if(xe=k(A),typeof xe=="function")for(A=xe.call(A),te=0;!(Ee=A.next()).done;)Ee=Ee.value,xe=ge+Se(Ee,te++),je+=W(Ee,F,_,xe,ie);else if(Ee==="object")throw F=""+A,Error(H(31,F==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":F));return je}function re(A,F,_){if(A==null)return A;var ge=[],ie=0;return W(A,ge,"","",function(Ee){return F.call(_,Ee,ie++)}),ge}function Ge(A){if(A._status===-1){var F=A._result;F=F(),A._status=0,A._result=F,F.then(function(_){A._status===0&&(_=_.default,A._status=1,A._result=_)},function(_){A._status===0&&(A._status=2,A._result=_)})}if(A._status===1)return A._result;throw A._result}var Qe={current:null};function He(){var A=Qe.current;if(A===null)throw Error(H(321));return A}var At={ReactCurrentDispatcher:Qe,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:L,IsSomeRendererActing:{current:!1},assign:a};h.Children={map:re,forEach:function(A,F,_){re(A,function(){F.apply(this,arguments)},_)},count:function(A){var F=0;return re(A,function(){F++}),F},toArray:function(A){return re(A,function(F){return F})||[]},only:function(A){if(!ye(A))throw Error(H(143));return A}},h.Component=R,h.PureComponent=V,h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=At,h.cloneElement=function(A,F,_){if(A==null)throw Error(H(267,A));var ge=a({},A.props),ie=A.key,Ee=A.ref,je=A._owner;if(F!=null){if(F.ref!==void 0&&(Ee=F.ref,je=L.current),F.key!==void 0&&(ie=""+F.key),A.type&&A.type.defaultProps)var te=A.type.defaultProps;for(xe in F)he.call(F,xe)&&!P.hasOwnProperty(xe)&&(ge[xe]=F[xe]===void 0&&te!==void 0?te[xe]:F[xe])}var xe=arguments.length-2;if(xe===1)ge.children=_;else if(1<xe){te=Array(xe);for(var ke=0;ke<xe;ke++)te[ke]=arguments[ke+2];ge.children=te}return{$$typeof:p,type:A.type,key:ie,ref:Ee,props:ge,_owner:je}},h.createContext=function(A,F){return F===void 0&&(F=null),A={$$typeof:v,_calculateChangedBits:F,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider={$$typeof:g,_context:A},A.Consumer=A},h.createElement=ce,h.createFactory=function(A){var F=ce.bind(null,A);return F.type=A,F},h.createRef=function(){return{current:null}},h.forwardRef=function(A){return{$$typeof:b,render:A}},h.isValidElement=ye,h.lazy=function(A){return{$$typeof:S,_payload:{_status:-1,_result:A},_init:Ge}},h.memo=function(A,F){return{$$typeof:x,type:A,compare:F===void 0?null:F}},h.useCallback=function(A,F){return He().useCallback(A,F)},h.useContext=function(A,F){return He().useContext(A,F)},h.useDebugValue=function(){},h.useEffect=function(A,F){return He().useEffect(A,F)},h.useImperativeHandle=function(A,F,_){return He().useImperativeHandle(A,F,_)},h.useLayoutEffect=function(A,F){return He().useLayoutEffect(A,F)},h.useMemo=function(A,F){return He().useMemo(A,F)},h.useReducer=function(A,F,_){return He().useReducer(A,F,_)},h.useRef=function(A){return He().useRef(A)},h.useState=function(A){return He().useState(A)},h.version="17.0.2"},9901:(u,h,e)=>{"use strict";u.exports=e(3714)},1236:u=>{u.exports=function(e,a,p,d){var g=p?p.call(d,e,a):void 0;if(g!==void 0)return!!g;if(e===a)return!0;if(typeof e!="object"||!e||typeof a!="object"||!a)return!1;var v=Object.keys(e),b=Object.keys(a);if(v.length!==b.length)return!1;for(var x=Object.prototype.hasOwnProperty.bind(a),S=0;S<v.length;S++){var E=v[S];if(!x(E))return!1;var T=e[E],k=a[E];if(g=p?p.call(d,T,k,E):void 0,g===!1||g===void 0&&T!==k)return!1}return!0}}},kt={};function ee(u){var h=kt[u];if(h!==void 0)return h.exports;var e=kt[u]={id:u,loaded:!1,exports:{}};return sr[u].call(e.exports,e,e.exports,ee),e.loaded=!0,e.exports}ee.n=u=>{var h=u&&u.__esModule?()=>u.default:()=>u;return ee.d(h,{a:h}),h},ee.d=(u,h)=>{for(var e in h)ee.o(h,e)&&!ee.o(u,e)&&Object.defineProperty(u,e,{enumerable:!0,get:h[e]})},ee.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),ee.o=(u,h)=>Object.prototype.hasOwnProperty.call(u,h),ee.r=u=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},ee.nmd=u=>(u.paths=[],u.children||(u.children=[]),u),ee.nc=void 0;var Gt={};return(()=>{"use strict";ee.r(Gt),ee.d(Gt,{CAppBridge:()=>jn,Event:()=>h,ScriptingObject:()=>g,SecurityContext:()=>u});var u=(t=>(t.USER="USER",t.PARTNER="PARTNER",t))(u||{});class h{scriptingObject;name;objectId;requiresFeedback;id;constructor(n){const{name:o,requiresFeedback:f=!1,so:y}=n;if(!o)throw new Error("Event name is required");if(!y)throw new Error("Scripting object is required");this.scriptingObject=y,this.objectId=y.id,this.name=o,this.id=`${this.objectId}.${this.name}`.toLowerCase(),this.requiresFeedback=f}}const e=t=>t instanceof h,a=(t,n)=>`${t.toLowerCase()}.${n.toLowerCase()}`,p="function",d=(t,n)=>typeof t===p&&!!n&&!n.startsWith("_");class g{#e;#t="Object";constructor(n,o){this.#e=n,this.#t=o||this.#t}get id(){return this.#e}get objectType(){return this.#t}_toJSON=()=>{const n=[],o=[];return Object.keys(this).forEach(f=>{const y=this[f];e(y)?o.push(f):d(y,f)&&n.push(f)}),{objectId:this.#e,objectType:this.#t,functions:n,events:o}};_dispose=()=>{};dispose=()=>{}}var v=ee(3907),b=(t=>(t.USER="USER",t.PARTNER="PARTNER",t))(b||{});class x{#e=new Map;#t=new Map;#r=n=>{const{so:o,guestId:f}=n,y=o.id.toLowerCase(),w=this.#t.get(f);if(!w)this.#t.set(f,new Map([[y,n]]));else{if(w.has(y))throw new Error(`Scripting Object ${o.id} already exists for guest ${f}`);w.set(y,n)}};#n=({so:n})=>{n._dispose&&typeof n._dispose=="function"&&n._dispose()};#o=({objectId:n,guestId:o})=>{const f=this.#t.get(o);return f?f.get(n)??null:null};#s=({objectId:n,guestId:o}={})=>{if(o){if(!n){const y=this.#t.get(o);y&&y.forEach(this.#n),this.#t.delete(o);return}const f=this.#t.get(o);if(f){const y=f.get(n);y&&this.#n(y),f.delete(n)}}else n&&this.#t.forEach(f=>{const y=f.get(n);y&&this.#n(y),f.delete(n)})};#i=({so:n,guest:o})=>new Proxy(n,{get(f,y,w){const C=f[y];return C instanceof Function&&y!=="constructor"?function(...I){const z=this;return Object.defineProperty(C,"callContext",{value:o,enumerable:!1,writable:!0}),C.apply(z===w?f:z,I)}:C}});addScriptingObject=(n,o)=>{const{guestId:f}=o||{};if(!n?.id||!n?._toJSON)throw new Error("Object is not derived from ScriptingObject");const y=n.id.toLowerCase();if(y==="module"&&!f)throw new Error("Guest id is required to add Module scripting object");if(f){this.#r({so:n,...o,guestId:f});return}if(this.#e.has(y))throw new Error(`Scripting Object ${n.id} already exists`);this.#e.set(y,{so:n,...o})};getObject=(n,o)=>{const f=n.toLowerCase();let y=null;o?.id&&(y=this.#o({objectId:f,guestId:o.id})),y=y??this.#e.get(f);const{so:w}=y||{};if(!w)return null;if(!o)return w;const C=this.#i({so:w,guest:o});return Object.defineProperty(C,"target",{value:w,enumerable:!1,configurable:!1,writable:!0}),C};removeScriptingObject=(n,o)=>{const f=n.toLowerCase();if(o)this.#s({objectId:f,guestId:o});else{this.#s({objectId:f});const y=this.#e.get(f);y&&this.#n(y),this.#e.delete(f)}};removeAllScriptingObjects=n=>{n?this.#s({guestId:n}):(this.#e.forEach(this.#n),this.#e.clear())}}const E={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let T;const k=new Uint8Array(16);function H(){if(!T&&(T=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!T))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return T(k)}const N=[];for(let t=0;t<256;++t)N.push((t+256).toString(16).slice(1));function j(t,n=0){return N[t[n+0]]+N[t[n+1]]+N[t[n+2]]+N[t[n+3]]+"-"+N[t[n+4]]+N[t[n+5]]+"-"+N[t[n+6]]+N[t[n+7]]+"-"+N[t[n+8]]+N[t[n+9]]+"-"+N[t[n+10]]+N[t[n+11]]+N[t[n+12]]+N[t[n+13]]+N[t[n+14]]+N[t[n+15]]}function R(t,n=0){const o=j(t,n);if(!validate(o))throw TypeError("Stringified UUID is invalid");return o}const M=null;function V(t,n,o){if(E.randomUUID&&!n&&!t)return E.randomUUID();t=t||{};const f=t.random||(t.rng||H)();if(f[6]=f[6]&15|64,f[8]=f[8]&63|128,n){o=o||0;for(let y=0;y<16;++y)n[o+y]=f[y];return n}return j(f)}const X=V,L=(t,n=[])=>{const o=n||[];return t&&t.forEach?t.forEach(f=>{L(f,o)}):typeof t<"u"&&o.push(t),o};class he{#e=new Map;#t=(n,o)=>{const f=new Promise(y=>{setTimeout(()=>{y()},o)});return Promise.race([n,f])};#r=n=>{const{eventName:o,scriptingObject:f,eventParams:y,listeners:w}=n;w.map(async C=>{try{await C.callback({obj:f,eventName:o,eventParams:y})}catch{}})};#n=async({eventId:n,eventName:o,scriptingObject:f,eventParams:y,feedbackWaitTime:w})=>{const I=(this.#e.get(n)||[]).map(D=>this.#t(D.callback({obj:f,eventName:o,eventParams:y}),w)),z=await Promise.all(I);return L(z)};dispatchEvent=async n=>{const{event:{id:o,name:f,requiresFeedback:y,scriptingObject:w},eventParams:C,feedbackWaitTime:I=1e3}=n;if(!o)throw new Error("Event Id is required");const z=this.#e.get(o)||[];return y?this.#n({eventId:o,eventName:f,scriptingObject:w,eventParams:C,feedbackWaitTime:I}):(this.#r({eventName:f,scriptingObject:w,eventParams:C,listeners:z}),Promise.resolve())};subscribe=n=>{const{eventId:o,listener:f}=n;if(!o)throw new Error("eventId is required");if(!f)throw new Error("Listener is required");const y=this.#e.get(o)||[],w=X();return y.push({subscriptionId:w,callback:f}),this.#e.set(o,y),w};unsubscribe=n=>{const{eventId:o,subscriptionId:f}=n;if(!o)throw new Error("eventId id is required");if(f){const y=this.#e.get(o)||[],w=y.findIndex(C=>C.subscriptionId===f);w>-1&&(y.splice(w,1),this.#e.set(o,y))}else this.#e.delete(o)};unsubscribeAll=()=>{this.#e.clear()}}const P="pui-iframe-container-",ce="pui-app-container-",we={create:(t,n)=>new Promise((o,f)=>{const y=document.createElement("div");y.setAttribute("style","display: flex;width: 100%;height: 100%;flex-direction: column;overflow: hidden;");const w=document.createElement("iframe");w.setAttribute("id",`${P}${t}`),w.setAttribute("title",n.title),w.setAttribute("allowfullscreen","true"),w.setAttribute("allowtransparency","true"),w.setAttribute("allow","microphone; camera"),n.sandbox&&w.setAttribute("sandbox",n.sandbox),w.setAttribute("style",n.style??"flex-grow: 1;border: none;margin: 0;padding: 0;display: block;min-width: 100%;height: 100%;"),w.setAttribute("src",n.src??"./frame.html"),w.addEventListener("load",()=>{if(!w.contentDocument){f(new Error("Frame content window is null"));return}const D=w.contentDocument.getElementById(ce);D&&(D.id=`${D.id}${t}`),o(w)}),y.appendChild(w);const{containerId:C}=n;(document.getElementById(C??"")??document.body).appendChild(y)}),remove:t=>{const n=document.getElementById(`${P}${t}`);n&&n.remove()},get:t=>document.getElementById(`${P}${t}`)},Se=()=>({breakpoints:["512px","768px","1024px"],spaces:["0","4px","8px","12px","16px","32px","48px","56px","64px","72px"],fontSizes:["0.8461rem","0.9230rem","1rem","1.0769rem","1.2307rem","1.3846rem","1.8461rem","2.7692rem"],fontWeights:[100,200,300,400,500,600,700,800,900],lineHeights:["1rem","1.15rem","1.25rem","1.5rem"],letterSpacings:["normal","0.1rem","-0.05rem","0.25rem"],fonts:["proxima-nova, Arial, sans-serif"],colors:{neutral:["#FFFFFF","#F6F7F9","#EBEDF0","#E0E3E8","#CBCFD7","#B0B9C8","#8C93A6","#697489","#464F5C","#353C46","#25292F"],brand:["#F6FBFF","#EBF6FF","#A3D6FF","#52A6EC","#1394E5","#1E79C2","#006AA9","#005181"],success:["#D4F0E5","#207E56"],warning:["#FBDE31","#FBB431","#D17A00"],danger:["#F7CDD2","#C64252"]},shadows:["0 1px 5px 0 rgba(0, 0, 0, 0.13), 0 2px 4px 0 rgba(0, 0, 0, 0.2)","0 6px 20px 0 rgba(0, 0, 0, 0.24), 0 8px 17px 0 rgba(0, 0, 0, 0.19)","0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19)","0 16px 28px 0 rgba(0, 0, 0, 0.24), 0 25px 55px 0 rgba(0, 0, 0, 0.19)","0 27px 24px 0 rgba(0, 0, 0, 0.24), 0 40px 77px 0 rgba(0, 0, 0, 0.19)"],zIndex:[1e3,2e3,3e3,500,4e3],states:[null,"@media (prefers-reduced-motion: no-preference)","@media (prefers-reduced-motion: reduce)","&:first-child","&:last-child","&:odd","&:even","&:visited","&:checked","&:focus-within","&:hover","&:focus","&:focus-visible","&:active","&:disabled, &[aria-disabled=true]","&::placeholder"]});var W=ee(9415),re=ee(9901),Ge=ee(1236),Qe=ee.n(Ge);function He(t){function n(G,U,B,Z,O){for(var pe=0,$=0,Pe=0,fe=0,me,J,De=0,Be=0,se,ze=se=me=0,de=0,Ne=0,$t=0,Le=0,Bt=B.length,Mt=Bt-1,Je,Y="",Re="",nr="",or="",ut;de<Bt;){if(J=B.charCodeAt(de),de===Mt&&$+fe+Pe+pe!==0&&($!==0&&(J=$===47?10:47),fe=Pe=pe=0,Bt++,Mt++),$+fe+Pe+pe===0){if(de===Mt&&(0<Ne&&(Y=Y.replace(ae,"")),0<Y.trim().length)){switch(J){case 32:case 9:case 59:case 13:case 10:break;default:Y+=B.charAt(de)}J=59}switch(J){case 123:for(Y=Y.trim(),me=Y.charCodeAt(0),se=1,Le=++de;de<Bt;){switch(J=B.charCodeAt(de)){case 123:se++;break;case 125:se--;break;case 47:switch(J=B.charCodeAt(de+1)){case 42:case 47:e:{for(ze=de+1;ze<Mt;++ze)switch(B.charCodeAt(ze)){case 47:if(J===42&&B.charCodeAt(ze-1)===42&&de+2!==ze){de=ze+1;break e}break;case 10:if(J===47){de=ze+1;break e}}de=ze}}break;case 91:J++;case 40:J++;case 34:case 39:for(;de++<Mt&&B.charCodeAt(de)!==J;);}if(se===0)break;de++}switch(se=B.substring(Le,de),me===0&&(me=(Y=Y.replace(Q,"").trim()).charCodeAt(0)),me){case 64:switch(0<Ne&&(Y=Y.replace(ae,"")),J=Y.charCodeAt(1),J){case 100:case 109:case 115:case 45:Ne=U;break;default:Ne=It}if(se=n(U,Ne,se,J,O+1),Le=se.length,0<Ye&&(Ne=o(It,Y,$t),ut=I(3,se,Ne,U,Xe,We,Le,J,O,Z),Y=Ne.join(""),ut!==void 0&&(Le=(se=ut.trim()).length)===0&&(J=0,se="")),0<Le)switch(J){case 115:Y=Y.replace(ct,C);case 100:case 109:case 45:se=Y+"{"+se+"}";break;case 107:Y=Y.replace(oe,"$1 $2"),se=Y+"{"+se+"}",se=Ue===1||Ue===2&&w("@"+se,3)?"@-webkit-"+se+"@"+se:"@"+se;break;default:se=Y+se,Z===112&&(se=(Re+=se,""))}else se="";break;default:se=n(U,o(U,Y,$t),se,Z,O+1)}nr+=se,se=$t=Ne=ze=me=0,Y="",J=B.charCodeAt(++de);break;case 125:case 59:if(Y=(0<Ne?Y.replace(ae,""):Y).trim(),1<(Le=Y.length))switch(ze===0&&(me=Y.charCodeAt(0),me===45||96<me&&123>me)&&(Le=(Y=Y.replace(" ",":")).length),0<Ye&&(ut=I(1,Y,U,G,Xe,We,Re.length,Z,O,Z))!==void 0&&(Le=(Y=ut.trim()).length)===0&&(Y="\0\0"),me=Y.charCodeAt(0),J=Y.charCodeAt(1),me){case 0:break;case 64:if(J===105||J===99){or+=Y+B.charAt(de);break}default:Y.charCodeAt(Le-1)!==58&&(Re+=y(Y,me,J,Y.charCodeAt(2)))}$t=Ne=ze=me=0,Y="",J=B.charCodeAt(++de)}}switch(J){case 13:case 10:$===47?$=0:1+me===0&&Z!==107&&0<Y.length&&(Ne=1,Y+="\0"),0<Ye*St&&I(0,Y,U,G,Xe,We,Re.length,Z,O,Z),We=1,Xe++;break;case 59:case 125:if($+fe+Pe+pe===0){We++;break}default:switch(We++,Je=B.charAt(de),J){case 9:case 32:if(fe+pe+$===0)switch(De){case 44:case 58:case 9:case 32:Je="";break;default:J!==32&&(Je=" ")}break;case 0:Je="\\0";break;case 12:Je="\\f";break;case 11:Je="\\v";break;case 38:fe+$+pe===0&&(Ne=$t=1,Je="\f"+Je);break;case 108:if(fe+$+pe+rt===0&&0<ze)switch(de-ze){case 2:De===112&&B.charCodeAt(de-3)===58&&(rt=De);case 8:Be===111&&(rt=Be)}break;case 58:fe+$+pe===0&&(ze=de);break;case 44:$+Pe+fe+pe===0&&(Ne=1,Je+="\r");break;case 34:case 39:$===0&&(fe=fe===J?0:fe===0?J:fe);break;case 91:fe+$+Pe===0&&pe++;break;case 93:fe+$+Pe===0&&pe--;break;case 41:fe+$+pe===0&&Pe--;break;case 40:if(fe+$+pe===0){if(me===0)switch(2*De+3*Be){case 533:break;default:me=1}Pe++}break;case 64:$+Pe+fe+pe+ze+se===0&&(se=1);break;case 42:case 47:if(!(0<fe+pe+Pe))switch($){case 0:switch(2*J+3*B.charCodeAt(de+1)){case 235:$=47;break;case 220:Le=de,$=42}break;case 42:J===47&&De===42&&Le+2!==de&&(B.charCodeAt(Le+2)===33&&(Re+=B.substring(Le,de+1)),Je="",$=0)}}$===0&&(Y+=Je)}Be=De,De=J,de++}if(Le=Re.length,0<Le){if(Ne=U,0<Ye&&(ut=I(2,Re,Ne,G,Xe,We,Le,Z,O,Z),ut!==void 0&&(Re=ut).length===0))return or+Re+nr;if(Re=Ne.join(",")+"{"+Re+"}",Ue*rt!==0){switch(Ue!==2||w(Re,2)||(rt=0),rt){case 111:Re=Re.replace(Te,":-moz-$1")+Re;break;case 112:Re=Re.replace($e,"::-webkit-input-$1")+Re.replace($e,"::-moz-$1")+Re.replace($e,":-ms-input-$1")+Re}rt=0}}return or+Re+nr}function o(G,U,B){var Z=U.trim().split(q);U=Z;var O=Z.length,pe=G.length;switch(pe){case 0:case 1:var $=0;for(G=pe===0?"":G[0]+" ";$<O;++$)U[$]=f(G,U[$],B).trim();break;default:var Pe=$=0;for(U=[];$<O;++$)for(var fe=0;fe<pe;++fe)U[Pe++]=f(G[fe]+" ",Z[$],B).trim()}return U}function f(G,U,B){var Z=U.charCodeAt(0);switch(33>Z&&(Z=(U=U.trim()).charCodeAt(0)),Z){case 38:return U.replace(Ae,"$1"+G.trim());case 58:return G.trim()+U.replace(Ae,"$1"+G.trim());default:if(0<1*B&&0<U.indexOf("\f"))return U.replace(Ae,(G.charCodeAt(0)===58?"":"$1")+G.trim())}return G+U}function y(G,U,B,Z){var O=G+";",pe=2*U+3*B+4*Z;if(pe===944){G=O.indexOf(":",9)+1;var $=O.substring(G,O.length-1).trim();return $=O.substring(0,G).trim()+$+";",Ue===1||Ue===2&&w($,1)?"-webkit-"+$+$:$}if(Ue===0||Ue===2&&!w(O,1))return O;switch(pe){case 1015:return O.charCodeAt(10)===97?"-webkit-"+O+O:O;case 951:return O.charCodeAt(3)===116?"-webkit-"+O+O:O;case 963:return O.charCodeAt(5)===110?"-webkit-"+O+O:O;case 1009:if(O.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+O+O;case 978:return"-webkit-"+O+"-moz-"+O+O;case 1019:case 983:return"-webkit-"+O+"-moz-"+O+"-ms-"+O+O;case 883:if(O.charCodeAt(8)===45)return"-webkit-"+O+O;if(0<O.indexOf("image-set(",11))return O.replace(wt,"$1-webkit-$2")+O;break;case 932:if(O.charCodeAt(4)===45)switch(O.charCodeAt(5)){case 103:return"-webkit-box-"+O.replace("-grow","")+"-webkit-"+O+"-ms-"+O.replace("grow","positive")+O;case 115:return"-webkit-"+O+"-ms-"+O.replace("shrink","negative")+O;case 98:return"-webkit-"+O+"-ms-"+O.replace("basis","preferred-size")+O}return"-webkit-"+O+"-ms-"+O+O;case 964:return"-webkit-"+O+"-ms-flex-"+O+O;case 1023:if(O.charCodeAt(8)!==99)break;return $=O.substring(O.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+$+"-webkit-"+O+"-ms-flex-pack"+$+O;case 1005:return ne.test(O)?O.replace(Ce,":-webkit-")+O.replace(Ce,":-moz-")+O:O;case 1e3:switch($=O.substring(13).trim(),U=$.indexOf("-")+1,$.charCodeAt(0)+$.charCodeAt(U)){case 226:$=O.replace(Ie,"tb");break;case 232:$=O.replace(Ie,"tb-rl");break;case 220:$=O.replace(Ie,"lr");break;default:return O}return"-webkit-"+O+"-ms-"+$+O;case 1017:if(O.indexOf("sticky",9)===-1)break;case 975:switch(U=(O=G).length-10,$=(O.charCodeAt(U)===33?O.substring(0,U):O).substring(G.indexOf(":",7)+1).trim(),pe=$.charCodeAt(0)+($.charCodeAt(7)|0)){case 203:if(111>$.charCodeAt(8))break;case 115:O=O.replace($,"-webkit-"+$)+";"+O;break;case 207:case 102:O=O.replace($,"-webkit-"+(102<pe?"inline-":"")+"box")+";"+O.replace($,"-webkit-"+$)+";"+O.replace($,"-ms-"+$+"box")+";"+O}return O+";";case 938:if(O.charCodeAt(5)===45)switch(O.charCodeAt(6)){case 105:return $=O.replace("-items",""),"-webkit-"+O+"-webkit-box-"+$+"-ms-flex-"+$+O;case 115:return"-webkit-"+O+"-ms-flex-item-"+O.replace(Ke,"")+O;default:return"-webkit-"+O+"-ms-flex-line-pack"+O.replace("align-content","").replace(Ke,"")+O}break;case 973:case 989:if(O.charCodeAt(3)!==45||O.charCodeAt(4)===122)break;case 931:case 953:if(lt.test(G)===!0)return($=G.substring(G.indexOf(":")+1)).charCodeAt(0)===115?y(G.replace("stretch","fill-available"),U,B,Z).replace(":fill-available",":stretch"):O.replace($,"-webkit-"+$)+O.replace($,"-moz-"+$.replace("fill-",""))+O;break;case 962:if(O="-webkit-"+O+(O.charCodeAt(5)===102?"-ms-"+O:"")+O,B+Z===211&&O.charCodeAt(13)===105&&0<O.indexOf("transform",10))return O.substring(0,O.indexOf(";",27)+1).replace(ue,"$1-webkit-$2")+O}return O}function w(G,U){var B=G.indexOf(U===1?":":"{"),Z=G.substring(0,U!==3?B:10);return B=G.substring(B+1,G.length-1),Rt(U!==2?Z:Z.replace(tt,"$1"),B,U)}function C(G,U){var B=y(U,U.charCodeAt(0),U.charCodeAt(1),U.charCodeAt(2));return B!==U+";"?B.replace(xt," or ($1)").substring(4):"("+U+")"}function I(G,U,B,Z,O,pe,$,Pe,fe,me){for(var J=0,De=U,Be;J<Ye;++J)switch(Be=Ze[J].call(K,G,De,B,Z,O,pe,$,Pe,fe,me)){case void 0:case!1:case!0:case null:break;default:De=Be}if(De!==U)return De}function z(G){switch(G){case void 0:case null:Ye=Ze.length=0;break;default:if(typeof G=="function")Ze[Ye++]=G;else if(typeof G=="object")for(var U=0,B=G.length;U<B;++U)z(G[U]);else St=!!G|0}return z}function D(G){return G=G.prefix,G!==void 0&&(Rt=null,G?typeof G!="function"?Ue=1:(Ue=2,Rt=G):Ue=0),D}function K(G,U){var B=G;if(33>B.charCodeAt(0)&&(B=B.trim()),Ft=B,B=[Ft],0<Ye){var Z=I(-1,U,B,B,Xe,We,0,0,0,0);Z!==void 0&&typeof Z=="string"&&(U=Z)}var O=n(It,B,U,0,0);return 0<Ye&&(Z=I(-2,O,B,B,Xe,We,O.length,0,0,0),Z!==void 0&&(O=Z)),Ft="",rt=0,We=Xe=1,O}var Q=/^\0+/g,ae=/[\0\r\f]/g,Ce=/: */g,ne=/zoo|gra/,ue=/([,: ])(transform)/g,q=/,\r+?/g,Ae=/([\t\r\n ])*\f?&/g,oe=/@(k\w+)\s*(\S*)\s*/,$e=/::(place)/g,Te=/:(read-only)/g,Ie=/[svh]\w+-[tblr]{2}/,ct=/\(\s*(.*)\s*\)/g,xt=/([\s\S]*?);/g,Ke=/-self|flex-/g,tt=/[^]*?(:[rp][el]a[\w-]+)[^]*/,lt=/stretch|:\s*\w+\-(?:conte|avail)/,wt=/([^-])(image-set\()/,We=1,Xe=1,rt=0,Ue=1,It=[],Ze=[],Ye=0,Rt=null,St=0,Ft="";return K.use=z,K.set=D,t!==void 0&&D(t),K}const At=He;var A={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};const F=A;function _(t){var n=Object.create(null);return function(o){return n[o]===void 0&&(n[o]=t(o)),n[o]}}var ge=/^((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)-.*))$/,ie=_(function(t){return ge.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),Ee=ee(63),je=ee.n(Ee);function te(){return(te=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var f in o)Object.prototype.hasOwnProperty.call(o,f)&&(t[f]=o[f])}return t}).apply(this,arguments)}var xe=function(t,n){for(var o=[t[0]],f=0,y=n.length;f<y;f+=1)o.push(n[f],t[f+1]);return o},ke=function(t){return t!==null&&typeof t=="object"&&(t.toString?t.toString():Object.prototype.toString.call(t))==="[object Object]"&&!(0,W.typeOf)(t)},ht=Object.freeze([]),_e=Object.freeze({});function it(t){return typeof t=="function"}function Ot(t){return t.displayName||t.name||"Component"}function Et(t){return t&&typeof t.styledComponentId=="string"}var qe=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ir="5.3.11",Ct=typeof window<"u"&&"HTMLElement"in window,ve=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""&&process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY)),gt={},le={};function pt(){for(var t=arguments.length<=0?void 0:arguments[0],n=[],o=1,f=arguments.length;o<f;o+=1)n.push(o<0||arguments.length<=o?void 0:arguments[o]);return n.forEach(function(y){t=t.replace(/%[a-z]/,y)}),t}function Me(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];throw new Error("An error occurred. See https://git.io/JUIaE#"+t+" for more information."+(o.length>0?" Args: "+o.join(", "):""))}var Ht=function(){function t(o){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=o}var n=t.prototype;return n.indexOfGroup=function(o){for(var f=0,y=0;y<o;y++)f+=this.groupSizes[y];return f},n.insertRules=function(o,f){if(o>=this.groupSizes.length){for(var y=this.groupSizes,w=y.length,C=w;o>=C;)(C<<=1)<0&&Me(16,""+o);this.groupSizes=new Uint32Array(C),this.groupSizes.set(y),this.length=C;for(var I=w;I<C;I++)this.groupSizes[I]=0}for(var z=this.indexOfGroup(o+1),D=0,K=f.length;D<K;D++)this.tag.insertRule(z,f[D])&&(this.groupSizes[o]++,z++)},n.clearGroup=function(o){if(o<this.length){var f=this.groupSizes[o],y=this.indexOfGroup(o),w=y+f;this.groupSizes[o]=0;for(var C=y;C<w;C++)this.tag.deleteRule(y)}},n.getGroup=function(o){var f="";if(o>=this.length||this.groupSizes[o]===0)return f;for(var y=this.groupSizes[o],w=this.indexOfGroup(o),C=w+y,I=w;I<C;I++)f+=this.tag.getRule(I)+`/*!sc*/
|
|
20
|
+
`;return f},t}(),nt=new Map,Ve=new Map,Fe=1,ot=function(t){if(nt.has(t))return nt.get(t);for(;Ve.has(Fe);)Fe++;var n=Fe++;return nt.set(t,n),Ve.set(n,t),n},mt=function(t){return Ve.get(t)},Vt=function(t,n){n>=Fe&&(Fe=n+1),nt.set(t,n),Ve.set(n,t)},Dt="style["+qe+'][data-styled-version="5.3.11"]',at=new RegExp("^"+qe+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Nt=function(t,n,o){for(var f,y=o.split(","),w=0,C=y.length;w<C;w++)(f=y[w])&&t.registerName(n,f)},Lt=function(t,n){for(var o=(n.textContent||"").split(`/*!sc*/
|
|
21
|
+
`),f=[],y=0,w=o.length;y<w;y++){var C=o[y].trim();if(C){var I=C.match(at);if(I){var z=0|parseInt(I[1],10),D=I[2];z!==0&&(Vt(D,z),Nt(t,D,I[3]),t.getTag().insertRules(z,f)),f.length=0}else f.push(C)}}},jt=function(){return ee.nc},Tt=function(t){var n=document.head,o=t||n,f=document.createElement("style"),y=function(I){for(var z=I.childNodes,D=z.length;D>=0;D--){var K=z[D];if(K&&K.nodeType===1&&K.hasAttribute(qe))return K}}(o),w=y!==void 0?y.nextSibling:null;f.setAttribute(qe,"active"),f.setAttribute("data-styled-version","5.3.11");var C=jt();return C&&f.setAttribute("nonce",C),o.insertBefore(f,w),f},et=function(){function t(o){var f=this.element=Tt(o);f.appendChild(document.createTextNode("")),this.sheet=function(y){if(y.sheet)return y.sheet;for(var w=document.styleSheets,C=0,I=w.length;C<I;C++){var z=w[C];if(z.ownerNode===y)return z}Me(17)}(f),this.length=0}var n=t.prototype;return n.insertRule=function(o,f){try{return this.sheet.insertRule(f,o),this.length++,!0}catch{return!1}},n.deleteRule=function(o){this.sheet.deleteRule(o),this.length--},n.getRule=function(o){var f=this.sheet.cssRules[o];return f!==void 0&&typeof f.cssText=="string"?f.cssText:""},t}(),st=function(){function t(o){var f=this.element=Tt(o);this.nodes=f.childNodes,this.length=0}var n=t.prototype;return n.insertRule=function(o,f){if(o<=this.length&&o>=0){var y=document.createTextNode(f),w=this.nodes[o];return this.element.insertBefore(y,w||null),this.length++,!0}return!1},n.deleteRule=function(o){this.element.removeChild(this.nodes[o]),this.length--},n.getRule=function(o){return o<this.length?this.nodes[o].textContent:""},t}(),Pr=function(){function t(o){this.rules=[],this.length=0}var n=t.prototype;return n.insertRule=function(o,f){return o<=this.length&&(this.rules.splice(o,0,f),this.length++,!0)},n.deleteRule=function(o){this.rules.splice(o,1),this.length--},n.getRule=function(o){return o<this.length?this.rules[o]:""},t}(),ar=Ct,Ir={isServer:!Ct,useCSSOMInjection:!ve},vt=function(){function t(o,f,y){o===void 0&&(o=_e),f===void 0&&(f={}),this.options=te({},Ir,{},o),this.gs=f,this.names=new Map(y),this.server=!!o.isServer,!this.server&&Ct&&ar&&(ar=!1,function(w){for(var C=document.querySelectorAll(Dt),I=0,z=C.length;I<z;I++){var D=C[I];D&&D.getAttribute(qe)!=="active"&&(Lt(w,D),D.parentNode&&D.parentNode.removeChild(D))}}(this))}t.registerId=function(o){return ot(o)};var n=t.prototype;return n.reconstructWithOptions=function(o,f){return f===void 0&&(f=!0),new t(te({},this.options,{},o),this.gs,f&&this.names||void 0)},n.allocateGSInstance=function(o){return this.gs[o]=(this.gs[o]||0)+1},n.getTag=function(){return this.tag||(this.tag=(y=(f=this.options).isServer,w=f.useCSSOMInjection,C=f.target,o=y?new Pr(C):w?new et(C):new st(C),new Ht(o)));var o,f,y,w,C},n.hasNameForId=function(o,f){return this.names.has(o)&&this.names.get(o).has(f)},n.registerName=function(o,f){if(ot(o),this.names.has(o))this.names.get(o).add(f);else{var y=new Set;y.add(f),this.names.set(o,y)}},n.insertRules=function(o,f,y){this.registerName(o,f),this.getTag().insertRules(ot(o),y)},n.clearNames=function(o){this.names.has(o)&&this.names.get(o).clear()},n.clearRules=function(o){this.getTag().clearGroup(ot(o)),this.clearNames(o)},n.clearTag=function(){this.tag=void 0},n.toString=function(){return function(o){for(var f=o.getTag(),y=f.length,w="",C=0;C<y;C++){var I=mt(C);if(I!==void 0){var z=o.names.get(I),D=f.getGroup(C);if(z&&D&&z.size){var K=qe+".g"+C+'[id="'+I+'"]',Q="";z!==void 0&&z.forEach(function(ae){ae.length>0&&(Q+=ae+",")}),w+=""+D+K+'{content:"'+Q+`"}/*!sc*/
|
|
22
|
+
`}}}return w}(this)},t}(),Rr=/(a)(d)/gi,cr=function(t){return String.fromCharCode(t+(t>25?39:97))};function Wt(t){var n,o="";for(n=Math.abs(t);n>52;n=n/52|0)o=cr(n%52)+o;return(cr(n%52)+o).replace(Rr,"$1-$2")}var yt=function(t,n){for(var o=n.length;o;)t=33*t^n.charCodeAt(--o);return t},lr=function(t){return yt(5381,t)};function ur(t){for(var n=0;n<t.length;n+=1){var o=t[n];if(it(o)&&!Et(o))return!1}return!0}var Fr=lr("5.3.11"),$r=function(){function t(n,o,f){this.rules=n,this.staticRulesId="",this.isStatic=(f===void 0||f.isStatic)&&ur(n),this.componentId=o,this.baseHash=yt(Fr,o),this.baseStyle=f,vt.registerId(o)}return t.prototype.generateAndInjectStyles=function(n,o,f){var y=this.componentId,w=[];if(this.baseStyle&&w.push(this.baseStyle.generateAndInjectStyles(n,o,f)),this.isStatic&&!f.hash)if(this.staticRulesId&&o.hasNameForId(y,this.staticRulesId))w.push(this.staticRulesId);else{var C=ft(this.rules,n,o,f).join(""),I=Wt(yt(this.baseHash,C)>>>0);if(!o.hasNameForId(y,I)){var z=f(C,"."+I,void 0,y);o.insertRules(y,I,z)}w.push(I),this.staticRulesId=I}else{for(var D=this.rules.length,K=yt(this.baseHash,f.hash),Q="",ae=0;ae<D;ae++){var Ce=this.rules[ae];if(typeof Ce=="string")Q+=Ce;else if(Ce){var ne=ft(Ce,n,o,f),ue=Array.isArray(ne)?ne.join(""):ne;K=yt(K,ue+ae),Q+=ue}}if(Q){var q=Wt(K>>>0);if(!o.hasNameForId(y,q)){var Ae=f(Q,"."+q,void 0,y);o.insertRules(y,q,Ae)}w.push(q)}}return w.join(" ")},t}(),Mr=/^\s*\/\/.*$/gm,kr=[":","[",".","#"];function pr(t){var n,o,f,y,w=t===void 0?_e:t,C=w.options,I=C===void 0?_e:C,z=w.plugins,D=z===void 0?ht:z,K=new At(I),Q=[],ae=function(ue){function q(Ae){if(Ae)try{ue(Ae+"}")}catch{}}return function(Ae,oe,$e,Te,Ie,ct,xt,Ke,tt,lt){switch(Ae){case 1:if(tt===0&&oe.charCodeAt(0)===64)return ue(oe+";"),"";break;case 2:if(Ke===0)return oe+"/*|*/";break;case 3:switch(Ke){case 102:case 112:return ue($e[0]+oe),"";default:return oe+(lt===0?"/*|*/":"")}case-2:oe.split("/*|*/}").forEach(q)}}}(function(ue){Q.push(ue)}),Ce=function(ue,q,Ae){return q===0&&kr.indexOf(Ae[o.length])!==-1||Ae.match(y)?ue:"."+n};function ne(ue,q,Ae,oe){oe===void 0&&(oe="&");var $e=ue.replace(Mr,""),Te=q&&Ae?Ae+" "+q+" { "+$e+" }":$e;return n=oe,o=q,f=new RegExp("\\"+o+"\\b","g"),y=new RegExp("(\\"+o+"\\b){2,}"),K(Ae||!q?"":q,Te)}return K.use([].concat(D,[function(ue,q,Ae){ue===2&&Ae.length&&Ae[0].lastIndexOf(o)>0&&(Ae[0]=Ae[0].replace(f,Ce))},ae,function(ue){if(ue===-2){var q=Q;return Q=[],q}}])),ne.hash=D.length?D.reduce(function(ue,q){return q.name||Me(15),yt(ue,q.name)},5381).toString():"",ne}var Kt=re.createContext(),Tn=Kt.Consumer,Yt=re.createContext(),fr=(Yt.Consumer,new vt),Xt=pr();function Zt(){return(0,re.useContext)(Kt)||fr}function dr(){return(0,re.useContext)(Yt)||Xt}function Dr(t){var n=(0,re.useState)(t.stylisPlugins),o=n[0],f=n[1],y=Zt(),w=(0,re.useMemo)(function(){var I=y;return t.sheet?I=t.sheet:t.target&&(I=I.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(I=I.reconstructWithOptions({useCSSOMInjection:!1})),I},[t.disableCSSOMInjection,t.sheet,t.target]),C=(0,re.useMemo)(function(){return pr({options:{prefix:!t.disableVendorPrefixes},plugins:o})},[t.disableVendorPrefixes,o]);return(0,re.useEffect)(function(){Qe()(o,t.stylisPlugins)||f(t.stylisPlugins)},[t.stylisPlugins]),re.createElement(Kt.Provider,{value:w},re.createElement(Yt.Provider,{value:C},t.children))}var hr=function(){function t(n,o){var f=this;this.inject=function(y,w){w===void 0&&(w=Xt);var C=f.name+w.hash;y.hasNameForId(f.id,C)||y.insertRules(f.id,C,w(f.rules,C,"@keyframes"))},this.toString=function(){return Me(12,String(f.name))},this.name=n,this.id="sc-keyframes-"+n,this.rules=o}return t.prototype.getName=function(n){return n===void 0&&(n=Xt),this.name+n.hash},t}(),Nr=/([A-Z])/,Lr=/([A-Z])/g,zr=/^ms-/,Ur=function(t){return"-"+t.toLowerCase()};function gr(t){return Nr.test(t)?t.replace(Lr,Ur).replace(zr,"-ms-"):t}var mr=function(t){return t==null||t===!1||t===""};function ft(t,n,o,f){if(Array.isArray(t)){for(var y,w=[],C=0,I=t.length;C<I;C+=1)(y=ft(t[C],n,o,f))!==""&&(Array.isArray(y)?w.push.apply(w,y):w.push(y));return w}if(mr(t))return"";if(Et(t))return"."+t.styledComponentId;if(it(t)){if(typeof(D=t)!="function"||D.prototype&&D.prototype.isReactComponent||!n)return t;var z=t(n);return ft(z,n,o,f)}var D;return t instanceof hr?o?(t.inject(o,f),t.getName(f)):t:ke(t)?function K(Q,ae){var Ce,ne,ue=[];for(var q in Q)Q.hasOwnProperty(q)&&!mr(Q[q])&&(Array.isArray(Q[q])&&Q[q].isCss||it(Q[q])?ue.push(gr(q)+":",Q[q],";"):ke(Q[q])?ue.push.apply(ue,K(Q[q],q)):ue.push(gr(q)+": "+(Ce=q,(ne=Q[q])==null||typeof ne=="boolean"||ne===""?"":typeof ne!="number"||ne===0||Ce in F||Ce.startsWith("--")?String(ne).trim():ne+"px")+";"));return ae?[ae+" {"].concat(ue,["}"]):ue}(t):t.toString()}var vr=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function Pt(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];return it(t)||ke(t)?vr(ft(xe(ht,[t].concat(o)))):o.length===0&&t.length===1&&typeof t[0]=="string"?t:vr(ft(xe(t,o)))}var Pn=/invalid hook call/i,In=new Set,Rn=function(t,n){if(0)var o,f,y},Jt=function(t,n,o){return o===void 0&&(o=_e),t.theme!==o.theme&&t.theme||n||o.theme},Br=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Gr=/(^-|-$)/g;function Qt(t){return t.replace(Br,"-").replace(Gr,"")}var _t=function(t){return Wt(lr(t)>>>0)};function zt(t){return typeof t=="string"&&!0}var qt=function(t){return typeof t=="function"||typeof t=="object"&&t!==null&&!Array.isArray(t)},Hr=function(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"};function Vr(t,n,o){var f=t[o];qt(n)&&qt(f)?yr(f,n):t[o]=n}function yr(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];for(var y=0,w=o;y<w.length;y++){var C=w[y];if(qt(C))for(var I in C)Hr(I)&&Vr(t,C[I],I)}return t}var dt=re.createContext(),Fn=dt.Consumer;function $n(t){var n=s(dt),o=i(function(){return function(f,y){if(!f)return Me(14);if(it(f)){var w=f(y);return w}return Array.isArray(f)||typeof f!="object"?Me(8):y?te({},y,{},f):f}(t.theme,n)},[t.theme,n]);return t.children?r.createElement(dt.Provider,{value:o},t.children):null}var er={};function br(t,n,o){var f=Et(t),y=!zt(t),w=n.attrs,C=w===void 0?ht:w,I=n.componentId,z=I===void 0?function(oe,$e){var Te=typeof oe!="string"?"sc":Qt(oe);er[Te]=(er[Te]||0)+1;var Ie=Te+"-"+_t("5.3.11"+Te+er[Te]);return $e?$e+"-"+Ie:Ie}(n.displayName,n.parentComponentId):I,D=n.displayName,K=D===void 0?function(oe){return zt(oe)?"styled."+oe:"Styled("+Ot(oe)+")"}(t):D,Q=n.displayName&&n.componentId?Qt(n.displayName)+"-"+n.componentId:n.componentId||z,ae=f&&t.attrs?Array.prototype.concat(t.attrs,C).filter(Boolean):C,Ce=n.shouldForwardProp;f&&t.shouldForwardProp&&(Ce=n.shouldForwardProp?function(oe,$e,Te){return t.shouldForwardProp(oe,$e,Te)&&n.shouldForwardProp(oe,$e,Te)}:t.shouldForwardProp);var ne,ue=new $r(o,Q,f?t.componentStyle:void 0),q=ue.isStatic&&C.length===0,Ae=function(oe,$e){return function(Te,Ie,ct,xt){var Ke=Te.attrs,tt=Te.componentStyle,lt=Te.defaultProps,wt=Te.foldedComponentIds,We=Te.shouldForwardProp,Xe=Te.styledComponentId,rt=Te.target,Ue=function(Z,O,pe){Z===void 0&&(Z=_e);var $=te({},O,{theme:Z}),Pe={};return pe.forEach(function(fe){var me,J,De,Be=fe;for(me in it(Be)&&(Be=Be($)),Be)$[me]=Pe[me]=me==="className"?(J=Pe[me],De=Be[me],J&&De?J+" "+De:J||De):Be[me]}),[$,Pe]}(Jt(Ie,(0,re.useContext)(dt),lt)||_e,Ie,Ke),It=Ue[0],Ze=Ue[1],Ye=function(Z,O,pe,$){var Pe=Zt(),fe=dr(),me=O?Z.generateAndInjectStyles(_e,Pe,fe):Z.generateAndInjectStyles(pe,Pe,fe);return me}(tt,xt,It,void 0),Rt=ct,St=Ze.$as||Ie.$as||Ze.as||Ie.as||rt,Ft=zt(St),G=Ze!==Ie?te({},Ie,{},Ze):Ie,U={};for(var B in G)B[0]!=="$"&&B!=="as"&&(B==="forwardedAs"?U.as=G[B]:(We?We(B,ie,St):!Ft||ie(B))&&(U[B]=G[B]));return Ie.style&&Ze.style!==Ie.style&&(U.style=te({},Ie.style,{},Ze.style)),U.className=Array.prototype.concat(wt,Xe,Ye!==Xe?Ye:null,Ie.className,Ze.className).filter(Boolean).join(" "),U.ref=Rt,(0,re.createElement)(St,U)}(ne,oe,$e,q)};return Ae.displayName=K,(ne=re.forwardRef(Ae)).attrs=ae,ne.componentStyle=ue,ne.displayName=K,ne.shouldForwardProp=Ce,ne.foldedComponentIds=f?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):ht,ne.styledComponentId=Q,ne.target=f?t.target:t,ne.withComponent=function(oe){var $e=n.componentId,Te=function(ct,xt){if(ct==null)return{};var Ke,tt,lt={},wt=Object.keys(ct);for(tt=0;tt<wt.length;tt++)Ke=wt[tt],xt.indexOf(Ke)>=0||(lt[Ke]=ct[Ke]);return lt}(n,["componentId"]),Ie=$e&&$e+"-"+(zt(oe)?oe:Qt(Ot(oe)));return br(oe,te({},Te,{attrs:ae,componentId:Ie}),o)},Object.defineProperty(ne,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(oe){this._foldedDefaultProps=f?yr({},t.defaultProps,oe):oe}}),Object.defineProperty(ne,"toString",{value:function(){return"."+ne.styledComponentId}}),y&&je()(ne,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),ne}var xr=function(t){return function n(o,f,y){if(y===void 0&&(y=_e),!(0,W.isValidElementType)(f))return Me(1,String(f));var w=function(){return o(f,y,Pt.apply(void 0,arguments))};return w.withConfig=function(C){return n(o,f,te({},y,{},C))},w.attrs=function(C){return n(o,f,te({},y,{attrs:Array.prototype.concat(y.attrs,C).filter(Boolean)}))},w}(br,t)};["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","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(t){xr[t]=xr(t)});var Wr=function(){function t(o,f){this.rules=o,this.componentId=f,this.isStatic=ur(o),vt.registerId(this.componentId+1)}var n=t.prototype;return n.createStyles=function(o,f,y,w){var C=w(ft(this.rules,f,y,w).join(""),""),I=this.componentId+o;y.insertRules(I,I,C)},n.removeStyles=function(o,f){f.clearRules(this.componentId+o)},n.renderStyles=function(o,f,y,w){o>2&&vt.registerId(this.componentId+o),this.removeStyles(o,y),this.createStyles(o,f,y,w)},t}();function Mn(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];var y=Pt.apply(void 0,[t].concat(o)),w="sc-global-"+_t(JSON.stringify(y)),C=new Wr(y,w);function I(D){var K=Zt(),Q=dr(),ae=s(dt),Ce=c(K.allocateGSInstance(w)).current;return K.server&&z(Ce,D,K,ae,Q),l(function(){if(!K.server)return z(Ce,D,K,ae,Q),function(){return C.removeStyles(Ce,K)}},[Ce,D,K,ae,Q]),null}function z(D,K,Q,ae,Ce){if(C.isStatic)C.renderStyles(D,gt,Q,Ce);else{var ne=te({},K,{theme:Jt(K,ae,I.defaultProps)});C.renderStyles(D,ne,Q,Ce)}}return r.memo(I)}function kn(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];var y=Pt.apply(void 0,[t].concat(o)).join(""),w=_t(y);return new hr(w,y)}var Dn=function(){function t(){var o=this;this._emitSheetCSS=function(){var f=o.instance.toString();if(!f)return"";var y=jt();return"<style "+[y&&'nonce="'+y+'"',qe+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+f+"</style>"},this.getStyleTags=function(){return o.sealed?Me(2):o._emitSheetCSS()},this.getStyleElement=function(){var f;if(o.sealed)return Me(2);var y=((f={})[qe]="",f["data-styled-version"]="5.3.11",f.dangerouslySetInnerHTML={__html:o.instance.toString()},f),w=jt();return w&&(y.nonce=w),[re.createElement("style",te({},y,{key:"sc-0-0"}))]},this.seal=function(){o.sealed=!0},this.instance=new vt({isServer:!0}),this.sealed=!1}var n=t.prototype;return n.collectStyles=function(o){return this.sealed?Me(2):re.createElement(Dr,{sheet:this.instance},o)},n.interleaveWithNodeStream=function(o){return Me(3)},t}(),Nn=function(t){var n=r.forwardRef(function(o,f){var y=s(dt),w=t.defaultProps,C=Jt(o,y,w);return r.createElement(t,te({},o,{theme:C,ref:f}))});return m(n,t),n.displayName="WithTheme("+Ot(t)+")",n},Ln=function(){return s(dt)},zn={StyleSheet:vt,masterSheet:fr};const Un=null,Kr=t=>Object.keys(t).reduce((n,o)=>(n[o]=(f,...y)=>Pt(["@media (max-width:","){",";}"],t[o],Pt(f,...y)),n),{}),Yr=t=>({space:{...t.spaces,xxxs:t.spaces[1],xxs:t.spaces[2],xxs2:t.spaces[3],xs:t.spaces[4],s:t.spaces[5],m:t.spaces[6],l:t.spaces[7],xl:t.spaces[8],xxl:t.spaces[9]},fontSizes:{...t.fontSizes,title:{500:t.fontSizes[3],600:t.fontSizes[4],700:t.fontSizes[5],800:t.fontSizes[6],900:t.fontSizes[7]},subTitle:{300:t.fontSizes[1],400:t.fontSizes[2]},label:{200:t.fontSizes[0],300:t.fontSizes[1],400:t.fontSizes[2]},value:{300:t.fontSizes[1],400:t.fontSizes[2],500:t.fontSizes[3],600:t.fontSizes[4]},hyperlink:{200:t.fontSizes[0],300:t.fontSizes[1],400:t.fontSizes[2]},microText:{200:t.fontSizes[0]}},fontWeights:{...t.fontWeights,thin:t.fontWeights[0],light:t.fontWeights[1],regular:t.fontWeights[3],semibold:t.fontWeights[5],bold:t.fontWeights[8]},lineHeights:{...t.lineHeights,r:t.lineHeights[0],m:t.lineHeights[1],l:t.lineHeights[2],xl:t.lineHeights[3]},letterSpacings:{normal:t.letterSpacings[0],tracked:t.letterSpacings[1],tight:t.letterSpacings[2],mega:t.letterSpacings[3]},fonts:{...t.fonts,default:t.fonts[0]},colors:{neutral:{"000":t.colors.neutral[0],"050":t.colors.neutral[1],"080":t.colors.neutral[2],100:t.colors.neutral[3],200:t.colors.neutral[4],300:t.colors.neutral[5],400:t.colors.neutral[6],500:t.colors.neutral[7],600:t.colors.neutral[8],700:t.colors.neutral[9],800:t.colors.neutral[10]},brand:{100:t.colors.brand[0],200:t.colors.brand[1],300:t.colors.brand[2],400:t.colors.brand[3],500:t.colors.brand[4],600:t.colors.brand[5],700:t.colors.brand[6],800:t.colors.brand[7]},success:{300:t.colors.success[0],900:t.colors.success[1]},warning:{400:t.colors.warning[0],500:t.colors.warning[1],600:t.colors.warning[1],900:t.colors.warning[2]},danger:{200:t.colors.danger[0],900:t.colors.danger[1]}},shadows:{xs:t.shadows[0],s:t.shadows[1],m:t.shadows[2],l:t.shadows[3],xl:t.shadows[4]},breakpoints:{...t.breakpoints,small:t.breakpoints[0],medium:t.breakpoints[1],large:t.breakpoints[2]},media:Kr({small:t.breakpoints[0],medium:t.breakpoints[1],large:t.breakpoints[2]}),zIndex:{dialog:t.zIndex[0],popper:t.zIndex[1],tooltip:t.zIndex[2],backdrop:t.zIndex[3],loader:t.zIndex[4]},states:{_:t.states[0],motionSafe:t.states[1],motionReduce:t.states[2],first:t.states[3],last:t.states[4],odd:t.states[5],even:t.states[6],visited:t.states[7],checked:t.states[8],focusWithin:t.states[9],hover:t.states[10],focus:t.states[11],focusVisible:t.states[12],active:t.states[13],disabled:t.states[14],placeholder:t.states[15]}}),Xr=((t=Se())=>()=>Yr(t))(),Gn=()=>{try{return window.parent.document,window.parent}catch{return window}},tr=()=>({width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}),wr=t=>Number(t.replace("px","")),Sr=()=>{const{width:t}=tr(),{breakpoints:n}=Xr();return t<=wr(n.small)?"small":t<=wr(n.medium)?"medium":"large"};var Zr=ee(7953),Jr=ee.n(Zr),Qr=ee(3546),_r=ee.n(Qr),qr=ee(6226),en=ee.n(qr),tn=ee(5346),rn=ee.n(tn),nn=ee(8469),Ar=ee.n(nn);const on=JSON.parse('{"appId":"microfe","activeEnv":"localhost","googleTagManager":true,"sessionTimeoutWarnInterval":"7200000","sessionTimeoutInterval":"9000000","microFrontendApps":{"loanapp":{"name":"Loan","hostUrl":"./loan","development":{"files":["index.js"]},"production":{"files":["index.js"]}},"taskapp":{"name":"Task","hostUrl":"./task","mode":"development","development":{"files":["index.dev.js"]},"production":{"files":["index.js"]}},"travelhub":{"name":"TravelHub","hostUrl":"./travelhub","development":{"files":["app.js","landing.js","app.css","landing.css"]},"production":{"files":["app.js","landing.js","app.css","landing.css"]}},"flights":{"name":"Flights","hostUrl":"./flights","development":{"files":["app.js","app.css"]},"production":{"files":["app.js","app.css"]}},"hotels":{"name":"Hotels","hostUrl":"./hotels","development":{"files":["app.js","app.css"]},"production":{"files":["app.js","app.css"]}}},"serviceEndpoints":{"api":"","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"},"env":{"localhost":{"serviceEndpoints":{"api":"","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"dev":{"serviceEndpoints":{"api":"https://dev.api.puiservice.rd.elliemae.io","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"dev2":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"qa":{"serviceEndpoints":{"api":"https://dev.api.puiservice.rd.elliemae.io","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"qa2":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"qa3":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"int":{"serviceEndpoints":{"api":"https://int.api.ellielabs.com","idp":"https://int.idp.ellielabs.com","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg-osb1":{"serviceEndpoints":{"api":"https://encompass-peg-api.elliemae.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg-osb2":{"serviceEndpoints":{"api":"https://encompass-peg2-api.elliemae.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg":{"serviceEndpoints":{"api":"https://peg2-west.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg-oapi-west":{"serviceEndpoints":{"api":"https://peg2-west.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg-oapi-east":{"serviceEndpoints":{"api":"https://peg2-east.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg2-oapi-east":{"serviceEndpoints":{"api":"https://peg2-east.api.ellielabs.com","idp":"https://peg.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"peg3":{"serviceEndpoints":{"api":"https://pel1.api.ellielabs.com","idp":"https://peg3.idp.ellielabs.com/authorize","logger":"https://int.api.ellielabs.com/diagnostics/v2/logging"}},"stage":{"serviceEndpoints":{"api":"https://stg.api.elliemae.com","idp":"https://stg.idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}},"beta":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}},"demo":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}},"epc":{"serviceEndpoints":{"api":"https://concept.api.elliemae.com","idp":"https://concept.idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}},"prod":{"serviceEndpoints":{"api":"https://api.elliemae.com","idp":"https://idp.elliemae.com/authorize","logger":"https://api.ellielabs.com/diagnostics/v2/logging"}}}}'),bt="latest",rr=t=>t.replace(/([^:]\/)\/+/g,"$1"),Hn=t=>{const n=document.createElement("a");return n.href=t,n.href},Ut=t=>t?.replace?.(/\/?$/,"/"),sn=()=>window.navigator.userAgent.includes("jsdom");class an{#e=on;#t;#r;constructor(n){this.#t=n?.version||bt,this.#r=Ut(n?.baseUrl||"")}#n=n=>{const{activeEnv:o}=n,f=n.env[o]||{};n.env&&delete n.env,this.#e=Ar()(n,f)};get=(n="",o=null)=>Jr()(_r()(this.#e,n,o));set=(n,o)=>en()(this.#e,n,o);has=(n="")=>rn()(this.#e,n);load=async n=>{const o=this.#t.match(/^(?:\d+\.\d+)*/g),f=n??`${this.#r}${o&&o[0]||bt}/app.config.json`,y=await fetch(f);if(y.ok)try{const w=await y.json();this.#n(w)}catch(w){if(!n&&this.#t!==bt)await this.load(`${this.#r}latest/app.config.json`);else throw new Error("Failed to parse app config",{cause:w})}else{if(!n&&this.#t!==bt){await this.load(`${this.#r}latest/app.config.json`);return}throw new Error("Failed to load app config")}}}const cn="microFrontendApps",ln=()=>!0,un=t=>ln()?!0:t?t==="production":!0,pn=t=>t?new URL(t).pathname:"",fn=t=>{const n=document.createElement("a");return n.href=t,n.href},dn=(t,n)=>{const o=n.match(/^(?:\d+\.\d+)*/g);return t.replace(/{SYSTEM_VERSION}/,o&&o[0]||bt)},Or=t=>!t||!t.length?!1:t.every(n=>typeof n=="string"),hn=(t,n)=>{const{mode:o="production"}=n;if(o!=="production"&&o!=="development")throw new Error(`invalid mode '${o}' for ${t}`);const{production:f,development:y}=n;if(o==="production"){if(!f)throw new Error(`microFrontendApps.${t} is missing production section in app.config.json`);if(!Or(f.files))throw new Error("invalid value for production.files")}if(o==="development"){if(!y)throw new Error(`microFrontendApps.${t} is missing development section in app.config.json`);if(!Or(y.files))throw new Error("invalid value for development.files")}},gn=({id:t,config:n,version:o="latest"})=>{const{mode:f="production"}=n,y=un(f)?n.production:n.development;n.production&&delete n.production,n.development&&delete n.development;const w=Ar()({id:t},{name:t,mode:"production",manifestPath:"./{SYSTEM_VERSION}/",securityContext:u.USER},n,y);return w.hostUrl=Ut(fn(w.hostUrl||"")),w.homeRoute=Ut(w.homeRoute)||pn(w.hostUrl),w.manifestPath=Ut(dn(w.manifestPath,o)),w};class mn{#e=[];init=({version:n,appConfig:o})=>{const f=o.get(cn);if(!f)throw new Error("app.config.json is missing microFrontendApps section");this.#e=Object.keys(f).map(y=>(hn(y,f[y]),gn({id:y,config:f[y],version:n})))};getConfigById=n=>this.#e.find(o=>o.id===n)}const vn="ice-script-",yn=/(?:emuiDiagnostics|global|global-prod|emuiUserMonitoring)(?:..*)?.js/,bn=t=>!yn.test(t);class xn{#e;constructor(n){this.#e=n}add=({name:n,hostUrl:o,documentEle:f,fileName:y,index:w})=>new Promise((C,I)=>{const z=new URL(y,o),D=f.createElement("script");D.id=`${vn}${n.toLowerCase()}-${w}`,D.src=rr(z.href),D.onload=C.bind(null,D.id),D.onerror=K=>{I(new Error(`Unable to load script ${D.src}`,{cause:new Error(K)}))},D.async=!1,!sn()&&bn(D.src)&&(D.defer=!0),f.head.appendChild(D)});remove=(n="",o=document)=>new Promise(f=>{const y=o.getElementById(n);y||(this.#e.warn(`script with id ${n} not found`),f()),y.remove(),f()});removeDynamicImportedScripts=(n,o)=>{const f=new RegExp(n,"i"),y=o.getElementsByTagName("script");for(let w=y.length-1;w>=0;w-=1){const C=y[w],{src:I}=C;f.test(I)&&C.remove()}};removePrefetchLinks=(n,o)=>{const f=new RegExp(n,"i"),y=o.querySelectorAll('[rel="prefetch"]');for(let w=y.length-1;w>=0;w-=1){const C=y[w],{href:I}=C;f.test(I)&&C.remove()}}}const wn="ice-style-";class Sn{#e;constructor(n){this.#e=n}add=({name:n,hostUrl:o,documentEle:f,fileName:y,index:w})=>new Promise((C,I)=>{const z=f.createElement("link");z.id=`${wn}${n.toLowerCase()}-${w}`,z.rel="stylesheet";const D=new URL(y,o);z.href=rr(D.href),z.onload=C.bind(null,z.id),z.onerror=K=>{I(new Error(`Unable to load stylesheet ${z.href}`,{cause:new Error(K)}))},f.head.appendChild(z)});remove=(n="",o=document)=>new Promise(f=>{const y=o.getElementById(n);y||(this.#e.warn(`style with id ${n} not found`),f()),y.remove(),f()});removeDynamicImportedStyles=(n,o)=>{const f=new RegExp(n,"i"),y=o.querySelectorAll('[rel="stylesheet"]');for(let w=y.length-1;w>=0;w-=1){const C=y[w],{href:I}=C;f.test(I)&&C.remove()}}}const Er=t=>t.replace(/\/\d+\.\d+/,"/latest"),An=t=>{let n;try{n=new URL(t)}catch{return!1}return n.protocol==="http:"||n.protocol==="https:"},Cr=async({hostUrl:t,manifestPath:n})=>{const o=new URL(`${n}manifest.json`,t),f=await fetch(rr(o.href));if(f.ok){const{headers:w}=f;if((w?.get?.("content-type")??"").includes("application/json"))return await f.json();throw new Error(`manifest ${o.href} is not a valid json`)}const y=Er(n);if(n!==y)return Cr({hostUrl:t,manifestPath:Er(n)});throw new Error(`unable to get manifest ${o.href}`)},jr={get:Cr,getFullFileNameofAssets:(t,n=[])=>n.reduce((o,f)=>{const y=t[f];if(y)o.push(y);else if(An(f))o.push(f);else throw new Error(`unable to locate ${f} in manifest`);return o},[])};class On{#e;#t;#r;#n;#o;constructor(n){this.#t=n.guest,this.#e=n.logger,this.#r=n?.version||bt,this.#n=n.soManager,this.#o=n.eventManager}addEventListener=n=>this.#o.subscribe(n);get version(){return this.#r}getObject=n=>Promise.resolve(this.#n.getObject(n,this.#t));removeEventListener=n=>{this.#o.unsubscribe(n)};setAppWindowSize=n=>{const{appId:o,size:f}=n,y=document.getElementById(`${P}${o}`);y&&(y.style.height=`${f.height}px`)};subscribe=(n,o)=>(0,v.subscribe)(n,o);unsubscribe=n=>{(0,v.unsubscribe)(n)}}const Tr="pui-app-container-",En=/\.css$/,Cn=t=>En.test(t);class jn{#e;#t;#r;#n;#o;#s=new mn;#i;#c;#a=new Map;constructor(n){const{logger:o}=n;if(!o)throw new Error("logger is required");this.#e=n.logger,this.#t=n.version,this.#o=new an({version:n.version,baseUrl:n.appConfigBaseUrl}),this.#r=new xn(o),this.#n=new Sn(o),this.#i=new x,this.#c=new he}#f=(n,o=document)=>{const{elementIds:f}=this.#a.get(n)||{};f&&f.forEach(y=>{const w=o.getElementById(y);w&&w.remove()})};#d=(n,o,f)=>{const y=window.emui?.[n]||{};this.#a.set(n,{elementIds:f,guest:{guestWindow:o?.defaultView,...y}})};#h=(n,o)=>{const{id:f,name:y,hostUrl:w,manifestPath:C,homeRoute:I,history:z,theme:D,documentEle:K}=n;return Promise.all(o).then(this.#d.bind(null,f,K)).then(this.#g.bind(null,{id:f,name:y,hostUrl:w,manifestPath:C,homeRoute:I,history:z,theme:D})).catch(Q=>{const ae=`Application load failed. Unable to load one or more resources for appId: ${n.id}. ${Q.message}`;throw this.#e.error({message:ae,appId:n.id,exception:Q}),new Error(ae)})};#g=async({id:n,name:o,hostUrl:f,manifestPath:y,homeRoute:w,history:C,theme:I})=>{const z=window.emui?.[n];if(!z)throw new Error(`Application ${o} with ${n} is not found. Most probably the appId property of app.config.json is not set to ${n}`);if(!z.init||typeof z.init!="function")throw new Error(`Application ${o} with id ${n} doesn't expose init method`);const D=new On({guest:{id:n},version:this.#t,logger:this.#e,soManager:this.#i,eventManager:this.#c});return z.init({host:D,hostUrl:f,manifestPath:y,homeRoute:w,prevState:null,history:C,theme:I,hostBreakpoint:Sr(),hostViewportSize:tr(),logger:this.#e})};#m=async n=>{const{id:o,files:f,name:y,hostUrl:w,documentEle:C}=n;this.#e.debug(`Application ${o} is loading...`);let I=f;const z=await jr.get(n);I=jr.getFullFileNameofAssets(z,f);let D=0;const K=I.map(Q=>{D+=1;const ae={name:y,hostUrl:w,documentEle:C,fileName:Q,index:D};return Cn(Q)?this.#n.add(ae):this.#r.add(ae)});await this.#h(n,K),this.#e.audit({message:"Application loaded",appId:o})};#l=({id:n,hostUrl:o,documentEle:f})=>{this.#e.debug(`Application ${n} unloading...`),window.emui?.[n]&&(this.#f(n,f),this.#r.removeDynamicImportedScripts(o,f),this.#r.removePrefetchLinks(o,f),this.#n.removeDynamicImportedStyles(o,f),window.emui?.[n]&&delete window.emui[n],this.#a.delete(n),this.#e.info({message:"Application unloaded",appId:n}))};#u=async({id:n,name:o})=>{const f=window.emui?.[n]||{};if(!f?.mount||typeof f?.mount!="function")throw new Error(`Application ${o} with id ${n} doesn't expose mount method`);return f.mount({containerId:`${Tr}${n}`,hostBreakpoint:Sr(),hostViewportSize:tr()})};#p=({id:n,name:o})=>{const f=window.emui?.[n]||{};if(!f?.unmount)return null;if(typeof f.unmount!="function")throw new Error(`Application ${o} with id ${n} doesn't expose unmount method`);return f.unmount({containerId:`${Tr}${n}`})};addScriptingObject=(n,o)=>{this.#i.addScriptingObject(n,o)};closeAllApps=async()=>{await Promise.all([...this.#a.keys()].map(this.closeApp))};closeApp=async n=>{if(!n)throw new Error("id is required");const o=this.#s.getConfigById(n);if(!o)throw new Error(`Application with id ${n} is not found`);const{name:f,hostUrl:y}=o;try{await this.#p({id:n,name:f})}finally{const w=we.get(n);if(!w?.contentDocument)throw new Error(`Iframe for application with id ${n} is not found`);this.#l({id:n,hostUrl:y,documentEle:w.contentDocument}),this.#i.removeAllScriptingObjects(n),we.remove(n)}};dispatchEvent=async n=>this.#c.dispatchEvent(n);getGuest=n=>this.#a.get(n)?.guest;getGuests=()=>[...this.#a.values()].map(n=>n.guest);init=async()=>{await this.#o.load(),this.#s.init({version:this.#t,appConfig:this.#o})};mountApp=async n=>{if(!n)throw new Error("id is required");const o=this.#s.getConfigById(n);if(!o)throw new Error(`Application with id ${n} is not found`);await this.#u(o)};openApp=async n=>{const{id:o,frameOptions:f,history:y,theme:w}=n,C=this.#s.getConfigById(o);if(!C)throw new Error(`Application with id ${o} is not found`);if(we.get(o))throw new Error(`Application with id ${o} is already open`);const I=await we.create(o,{title:C.name,...f});if(!I?.contentDocument)throw new Error("unable to create iframe for the microapp");try{return await this.#m({...C,history:y,theme:w,documentEle:I.contentDocument}),await this.#u(C),this.#a.get(o)?.guest}catch(z){throw this.#l({id:o,hostUrl:C.hostUrl,documentEle:I.contentDocument}),we.remove(o),z}};publish=(n,o)=>(0,v.publish)(n,o);removeAllEventListeners=()=>{this.#c.unsubscribeAll()};removeScriptingObject=n=>{this.#i.removeScriptingObject(n)};unmountApp=async n=>{if(!n)throw new Error("id is required");const o=this.#s.getConfigById(n);if(!o)throw new Error(`Application with id ${n} is not found`);await this.#p(o)}}})(),Gt})());
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=emuiAppBridge.a90a617911b273467444.js.map
|
|
Binary file
|
|
Binary file
|