@elliemae/pui-app-bridge 2.7.3 → 2.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +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.7eb553b783d990bdde1c.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>
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.fbafa4024fd77d5e13a1.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>
@@ -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.7eb553b783d990bdde1c.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>
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.fbafa4024fd77d5e13a1.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,25 @@
1
+ (function(kt,q){typeof exports=="object"&&typeof module=="object"?module.exports=q():typeof define=="function"&&define.amd?define([],q):typeof exports=="object"?exports.ice=q():kt.ice=q()})(globalThis,()=>(()=>{var sr={4674:(u,h,e)=>{"use strict";var a=e(7020),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 w(j){return a.isMemo(j)?v:b[j.$$typeof]||p}var S=Object.defineProperty,C=Object.getOwnPropertyNames,R=Object.getOwnPropertySymbols,D=Object.getOwnPropertyDescriptor,G=Object.getPrototypeOf,H=Object.prototype;function T(j,$,V){if(typeof $!="string"){if(H){var X=G($);X&&X!==H&&T(j,X,V)}var L=C($);R&&(L=L.concat(R($)));for(var ge=w(j),P=w($),se=0;se<L.length;++se){var ie=L[se];if(!d[ie]&&!(V&&V[ie])&&!(P&&P[ie])&&!(ge&&ge[ie])){var ve=D($,ie);try{S(j,ie,ve)}catch{}}}}return j}u.exports=T},6171:(u,h,e)=>{var a=e(4671),p=e(714),d=a(p,"DataView");u.exports=d},6766:(u,h,e)=>{var a=e(2405),p=e(8341),d=e(9644),g=e(3784),v=e(6264);function b(w){var S=-1,C=w==null?0:w.length;for(this.clear();++S<C;){var R=w[S];this.set(R[0],R[1])}}b.prototype.clear=a,b.prototype.delete=p,b.prototype.get=d,b.prototype.has=g,b.prototype.set=v,u.exports=b},1022:(u,h,e)=>{var a=e(6821),p=e(7221),d=e(1596),g=e(1992),v=e(552);function b(w){var S=-1,C=w==null?0:w.length;for(this.clear();++S<C;){var R=w[S];this.set(R[0],R[1])}}b.prototype.clear=a,b.prototype.delete=p,b.prototype.get=d,b.prototype.has=g,b.prototype.set=v,u.exports=b},5870:(u,h,e)=>{var a=e(4671),p=e(714),d=a(p,"Map");u.exports=d},8910:(u,h,e)=>{var a=e(4069),p=e(7477),d=e(476),g=e(984),v=e(4136);function b(w){var S=-1,C=w==null?0:w.length;for(this.clear();++S<C;){var R=w[S];this.set(R[0],R[1])}}b.prototype.clear=a,b.prototype.delete=p,b.prototype.get=d,b.prototype.has=g,b.prototype.set=v,u.exports=b},4665:(u,h,e)=>{var a=e(4671),p=e(714),d=a(p,"Promise");u.exports=d},9612:(u,h,e)=>{var a=e(4671),p=e(714),d=a(p,"Set");u.exports=d},7216:(u,h,e)=>{var a=e(1022),p=e(5331),d=e(7063),g=e(134),v=e(9842),b=e(9850);function w(S){var C=this.__data__=new a(S);this.size=C.size}w.prototype.clear=p,w.prototype.delete=d,w.prototype.get=g,w.prototype.has=v,w.prototype.set=b,u.exports=w},9006:(u,h,e)=>{var a=e(714),p=a.Symbol;u.exports=p},8851:(u,h,e)=>{var a=e(714),p=a.Uint8Array;u.exports=p},8154:(u,h,e)=>{var a=e(4671),p=e(714),d=a(p,"WeakMap");u.exports=d},7156: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},7012: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},2995: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},9754:(u,h,e)=>{var a=e(9605),p=e(79),d=e(5874),g=e(3601),v=e(1908),b=e(9046),w=Object.prototype,S=w.hasOwnProperty;function C(R,D){var G=d(R),H=!G&&p(R),T=!G&&!H&&g(R),j=!G&&!H&&!T&&b(R),$=G||H||T||j,V=$?a(R.length,String):[],X=V.length;for(var L in R)(D||S.call(R,L))&&!($&&(L=="length"||T&&(L=="offset"||L=="parent")||j&&(L=="buffer"||L=="byteLength"||L=="byteOffset")||v(L,X)))&&V.push(L);return V}u.exports=C},2275: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},2525: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},2430:(u,h,e)=>{var a=e(3077),p=e(5097);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},5802:(u,h,e)=>{var a=e(3077),p=e(5097),d=Object.prototype,g=d.hasOwnProperty;function v(b,w,S){var C=b[w];(!(g.call(b,w)&&p(C,S))||S===void 0&&!(w in b))&&a(b,w,S)}u.exports=v},9438:(u,h,e)=>{var a=e(5097);function p(d,g){for(var v=d.length;v--;)if(a(d[v][0],g))return v;return-1}u.exports=p},6902:(u,h,e)=>{var a=e(5532),p=e(3511);function d(g,v){return g&&a(v,p(v),g)}u.exports=d},5873:(u,h,e)=>{var a=e(5532),p=e(2844);function d(g,v){return g&&a(v,p(v),g)}u.exports=d},3077:(u,h,e)=>{var a=e(4856);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},9018:(u,h,e)=>{var a=e(7216),p=e(7012),d=e(5802),g=e(6902),v=e(5873),b=e(6743),w=e(310),S=e(5590),C=e(2209),R=e(2573),D=e(3918),G=e(9778),H=e(5290),T=e(4028),j=e(9168),$=e(5874),V=e(3601),X=e(4725),L=e(9400),ge=e(7363),P=e(3511),se=e(2844),ie=1,ve=2,Ae=4,Ie="[object Arguments]",Te="[object Array]",W="[object Boolean]",ke="[object Date]",Le="[object Error]",ye="[object Function]",Ct="[object GeneratorFunction]",$e="[object Map]",it="[object Number]",vt="[object Object]",yt="[object RegExp]",A="[object Set]",F="[object String]",te="[object Symbol]",le="[object WeakMap]",ue="[object ArrayBuffer]",Ee="[object DataView]",ee="[object Float32Array]",xe="[object Float64Array]",be="[object Int8Array]",De="[object Int16Array]",_e="[object Int32Array]",at="[object Uint8Array]",Tt="[object Uint8ClampedArray]",jt="[object Uint16Array]",qe="[object Uint32Array]",we={};we[Ie]=we[Te]=we[ue]=we[Ee]=we[W]=we[ke]=we[ee]=we[xe]=we[be]=we[De]=we[_e]=we[$e]=we[it]=we[vt]=we[yt]=we[A]=we[F]=we[te]=we[at]=we[Tt]=we[jt]=we[qe]=!0,we[Le]=we[ye]=we[le]=!1;function ct(ae,lt,ht,ir,Be,et){var Fe,st=lt&ie,tt=lt&ve,bt=lt&Ae;if(ht&&(Fe=Be?ht(ae,ir,Be,et):ht(ae)),Fe!==void 0)return Fe;if(!L(ae))return ae;var Dt=$(ae);if(Dt){if(Fe=H(ae),!st)return w(ae,Fe)}else{var ut=G(ae),Lt=ut==ye||ut==Ct;if(V(ae))return b(ae,st);if(ut==vt||ut==Ie||Lt&&!Be){if(Fe=tt||Lt?{}:j(ae),!st)return tt?C(ae,v(Fe,ae)):S(ae,g(Fe,ae))}else{if(!we[ut])return Be?ae:{};Fe=T(ae,ut,st)}}et||(et=new a);var Nt=et.get(ae);if(Nt)return Nt;et.set(ae,Fe),ge(ae)?ae.forEach(function(Ke){Fe.add(ct(Ke,lt,ht,Ke,ae,et))}):X(ae)&&ae.forEach(function(Ke,rt){Fe.set(rt,ct(Ke,lt,ht,rt,ae,et))});var Vt=bt?tt?D:R:tt?se:P,zt=Dt?void 0:Vt(ae);return p(zt||ae,function(Ke,rt){zt&&(rt=Ke,Ke=ae[rt]),d(Fe,rt,ct(Ke,lt,ht,rt,ae,et))}),Fe}u.exports=ct},1095:(u,h,e)=>{var a=e(9400),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},9128:(u,h,e)=>{var a=e(3600),p=a();u.exports=p},1855:(u,h,e)=>{var a=e(330),p=e(9628);function d(g,v){v=a(v,g);for(var b=0,w=v.length;g!=null&&b<w;)g=g[p(v[b++])];return b&&b==w?g:void 0}u.exports=d},5920:(u,h,e)=>{var a=e(2525),p=e(5874);function d(g,v,b){var w=v(g);return p(g)?w:a(w,b(g))}u.exports=d},5271:(u,h,e)=>{var a=e(9006),p=e(9650),d=e(6881),g="[object Null]",v="[object Undefined]",b=a?a.toStringTag:void 0;function w(S){return S==null?S===void 0?v:g:b&&b in Object(S)?p(S):d(S)}u.exports=w},3091:u=>{var h=Object.prototype,e=h.hasOwnProperty;function a(p,d){return p!=null&&e.call(p,d)}u.exports=a},4047:(u,h,e)=>{var a=e(5271),p=e(7583),d="[object Arguments]";function g(v){return p(v)&&a(v)==d}u.exports=g},4965:(u,h,e)=>{var a=e(9778),p=e(7583),d="[object Map]";function g(v){return p(v)&&a(v)==d}u.exports=g},4228:(u,h,e)=>{var a=e(7787),p=e(7827),d=e(9400),g=e(462),v=/[\\^$.*+?()[\]{}|]/g,b=/^\[object .+?Constructor\]$/,w=Function.prototype,S=Object.prototype,C=w.toString,R=S.hasOwnProperty,D=RegExp("^"+C.call(R).replace(v,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function G(H){if(!d(H)||p(H))return!1;var T=a(H)?D:b;return T.test(g(H))}u.exports=G},6499:(u,h,e)=>{var a=e(9778),p=e(7583),d="[object Set]";function g(v){return p(v)&&a(v)==d}u.exports=g},550:(u,h,e)=>{var a=e(5271),p=e(4583),d=e(7583),g="[object Arguments]",v="[object Array]",b="[object Boolean]",w="[object Date]",S="[object Error]",C="[object Function]",R="[object Map]",D="[object Number]",G="[object Object]",H="[object RegExp]",T="[object Set]",j="[object String]",$="[object WeakMap]",V="[object ArrayBuffer]",X="[object DataView]",L="[object Float32Array]",ge="[object Float64Array]",P="[object Int8Array]",se="[object Int16Array]",ie="[object Int32Array]",ve="[object Uint8Array]",Ae="[object Uint8ClampedArray]",Ie="[object Uint16Array]",Te="[object Uint32Array]",W={};W[L]=W[ge]=W[P]=W[se]=W[ie]=W[ve]=W[Ae]=W[Ie]=W[Te]=!0,W[g]=W[v]=W[V]=W[b]=W[X]=W[w]=W[S]=W[C]=W[R]=W[D]=W[G]=W[H]=W[T]=W[j]=W[$]=!1;function ke(Le){return d(Le)&&p(Le.length)&&!!W[a(Le)]}u.exports=ke},5351:(u,h,e)=>{var a=e(7894),p=e(2325),d=Object.prototype,g=d.hasOwnProperty;function v(b){if(!a(b))return p(b);var w=[];for(var S in Object(b))g.call(b,S)&&S!="constructor"&&w.push(S);return w}u.exports=v},1500:(u,h,e)=>{var a=e(9400),p=e(7894),d=e(5382),g=Object.prototype,v=g.hasOwnProperty;function b(w){if(!a(w))return d(w);var S=p(w),C=[];for(var R in w)R=="constructor"&&(S||!v.call(w,R))||C.push(R);return C}u.exports=b},4479:(u,h,e)=>{var a=e(7216),p=e(2430),d=e(9128),g=e(3857),v=e(9400),b=e(2844),w=e(6127);function S(C,R,D,G,H){C!==R&&d(R,function(T,j){if(H||(H=new a),v(T))g(C,R,j,D,S,G,H);else{var $=G?G(w(C,j),T,j+"",C,R,H):void 0;$===void 0&&($=T),p(C,j,$)}},b)}u.exports=S},3857:(u,h,e)=>{var a=e(2430),p=e(6743),d=e(1532),g=e(310),v=e(9168),b=e(79),w=e(5874),S=e(6882),C=e(3601),R=e(7787),D=e(9400),G=e(4108),H=e(9046),T=e(6127),j=e(339);function $(V,X,L,ge,P,se,ie){var ve=T(V,L),Ae=T(X,L),Ie=ie.get(Ae);if(Ie){a(V,L,Ie);return}var Te=se?se(ve,Ae,L+"",V,X,ie):void 0,W=Te===void 0;if(W){var ke=w(Ae),Le=!ke&&C(Ae),ye=!ke&&!Le&&H(Ae);Te=Ae,ke||Le||ye?w(ve)?Te=ve:S(ve)?Te=g(ve):Le?(W=!1,Te=p(Ae,!0)):ye?(W=!1,Te=d(Ae,!0)):Te=[]:G(Ae)||b(Ae)?(Te=ve,b(ve)?Te=j(ve):(!D(ve)||R(ve))&&(Te=v(Ae))):W=!1}W&&(ie.set(Ae,Te),P(Te,Ae,ge,se,ie),ie.delete(Ae)),a(V,L,Te)}u.exports=$},6965:(u,h,e)=>{var a=e(9169),p=e(5390),d=e(3232);function g(v,b){return d(p(v,b,a),v+"")}u.exports=g},9435:(u,h,e)=>{var a=e(5802),p=e(330),d=e(1908),g=e(9400),v=e(9628);function b(w,S,C,R){if(!g(w))return w;S=p(S,w);for(var D=-1,G=S.length,H=G-1,T=w;T!=null&&++D<G;){var j=v(S[D]),$=C;if(j==="__proto__"||j==="constructor"||j==="prototype")return w;if(D!=H){var V=T[j];$=R?R(V,j,T):void 0,$===void 0&&($=g(V)?V:d(S[D+1])?[]:{})}a(T,j,$),T=T[j]}return w}u.exports=b},3431:(u,h,e)=>{var a=e(8295),p=e(4856),d=e(9169),g=p?function(v,b){return p(v,"toString",{configurable:!0,enumerable:!1,value:a(b),writable:!0})}:d;u.exports=g},9605:u=>{function h(e,a){for(var p=-1,d=Array(e);++p<e;)d[p]=a(p);return d}u.exports=h},8071:(u,h,e)=>{var a=e(9006),p=e(2275),d=e(5874),g=e(975),v=1/0,b=a?a.prototype:void 0,w=b?b.toString:void 0;function S(C){if(typeof C=="string")return C;if(d(C))return p(C,S)+"";if(g(C))return w?w.call(C):"";var R=C+"";return R=="0"&&1/C==-v?"-0":R}u.exports=S},8232:u=>{function h(e){return function(a){return e(a)}}u.exports=h},330:(u,h,e)=>{var a=e(5874),p=e(759),d=e(9505),g=e(983);function v(b,w){return a(b)?b:p(b,w)?[b]:d(g(b))}u.exports=v},9270:(u,h,e)=>{var a=e(8851);function p(d){var g=new d.constructor(d.byteLength);return new a(g).set(new a(d)),g}u.exports=p},6743:(u,h,e)=>{u=e.nmd(u);var a=e(714),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 w(S,C){if(C)return S.slice();var R=S.length,D=b?b(R):new S.constructor(R);return S.copy(D),D}u.exports=w},5940:(u,h,e)=>{var a=e(9270);function p(d,g){var v=g?a(d.buffer):d.buffer;return new d.constructor(v,d.byteOffset,d.byteLength)}u.exports=p},5320: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},4937:(u,h,e)=>{var a=e(9006),p=a?a.prototype:void 0,d=p?p.valueOf:void 0;function g(v){return d?Object(d.call(v)):{}}u.exports=g},1532:(u,h,e)=>{var a=e(9270);function p(d,g){var v=g?a(d.buffer):d.buffer;return new d.constructor(v,d.byteOffset,d.length)}u.exports=p},310: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},5532:(u,h,e)=>{var a=e(5802),p=e(3077);function d(g,v,b,w){var S=!b;b||(b={});for(var C=-1,R=v.length;++C<R;){var D=v[C],G=w?w(b[D],g[D],D,b,g):void 0;G===void 0&&(G=g[D]),S?p(b,D,G):a(b,D,G)}return b}u.exports=d},5590:(u,h,e)=>{var a=e(5532),p=e(9183);function d(g,v){return a(g,p(g),v)}u.exports=d},2209:(u,h,e)=>{var a=e(5532),p=e(596);function d(g,v){return a(g,p(g),v)}u.exports=d},6450:(u,h,e)=>{var a=e(714),p=a["__core-js_shared__"];u.exports=p},1292:(u,h,e)=>{var a=e(6965),p=e(8819);function d(g){return a(function(v,b){var w=-1,S=b.length,C=S>1?b[S-1]:void 0,R=S>2?b[2]:void 0;for(C=g.length>3&&typeof C=="function"?(S--,C):void 0,R&&p(b[0],b[1],R)&&(C=S<3?void 0:C,S=1),v=Object(v);++w<S;){var D=b[w];D&&g(v,D,w,C)}return v})}u.exports=d},3600:u=>{function h(e){return function(a,p,d){for(var g=-1,v=Object(a),b=d(a),w=b.length;w--;){var S=b[e?w:++g];if(p(v[S],S,v)===!1)break}return a}}u.exports=h},4856:(u,h,e)=>{var a=e(4671),p=function(){try{var d=a(Object,"defineProperty");return d({},"",{}),d}catch{}}();u.exports=p},1603:(u,h,e)=>{var a=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;u.exports=a},2573:(u,h,e)=>{var a=e(5920),p=e(9183),d=e(3511);function g(v){return a(v,d,p)}u.exports=g},3918:(u,h,e)=>{var a=e(5920),p=e(596),d=e(2844);function g(v){return a(v,d,p)}u.exports=g},1200:(u,h,e)=>{var a=e(95);function p(d,g){var v=d.__data__;return a(g)?v[typeof g=="string"?"string":"hash"]:v.map}u.exports=p},4671:(u,h,e)=>{var a=e(4228),p=e(7559);function d(g,v){var b=p(g,v);return a(b)?b:void 0}u.exports=d},7556:(u,h,e)=>{var a=e(8546),p=a(Object.getPrototypeOf,Object);u.exports=p},9650:(u,h,e)=>{var a=e(9006),p=Object.prototype,d=p.hasOwnProperty,g=p.toString,v=a?a.toStringTag:void 0;function b(w){var S=d.call(w,v),C=w[v];try{w[v]=void 0;var R=!0}catch{}var D=g.call(w);return R&&(S?w[v]=C:delete w[v]),D}u.exports=b},9183:(u,h,e)=>{var a=e(2995),p=e(2982),d=Object.prototype,g=d.propertyIsEnumerable,v=Object.getOwnPropertySymbols,b=v?function(w){return w==null?[]:(w=Object(w),a(v(w),function(S){return g.call(w,S)}))}:p;u.exports=b},596:(u,h,e)=>{var a=e(2525),p=e(7556),d=e(9183),g=e(2982),v=Object.getOwnPropertySymbols,b=v?function(w){for(var S=[];w;)a(S,d(w)),w=p(w);return S}:g;u.exports=b},9778:(u,h,e)=>{var a=e(6171),p=e(5870),d=e(4665),g=e(9612),v=e(8154),b=e(5271),w=e(462),S="[object Map]",C="[object Object]",R="[object Promise]",D="[object Set]",G="[object WeakMap]",H="[object DataView]",T=w(a),j=w(p),$=w(d),V=w(g),X=w(v),L=b;(a&&L(new a(new ArrayBuffer(1)))!=H||p&&L(new p)!=S||d&&L(d.resolve())!=R||g&&L(new g)!=D||v&&L(new v)!=G)&&(L=function(ge){var P=b(ge),se=P==C?ge.constructor:void 0,ie=se?w(se):"";if(ie)switch(ie){case T:return H;case j:return S;case $:return R;case V:return D;case X:return G}return P}),u.exports=L},7559:u=>{function h(e,a){return e?.[a]}u.exports=h},9663:(u,h,e)=>{var a=e(330),p=e(79),d=e(5874),g=e(1908),v=e(4583),b=e(9628);function w(S,C,R){C=a(C,S);for(var D=-1,G=C.length,H=!1;++D<G;){var T=b(C[D]);if(!(H=S!=null&&R(S,T)))break;S=S[T]}return H||++D!=G?H:(G=S==null?0:S.length,!!G&&v(G)&&g(T,G)&&(d(S)||p(S)))}u.exports=w},2405:(u,h,e)=>{var a=e(8637);function p(){this.__data__=a?a(null):{},this.size=0}u.exports=p},8341:u=>{function h(e){var a=this.has(e)&&delete this.__data__[e];return this.size-=a?1:0,a}u.exports=h},9644:(u,h,e)=>{var a=e(8637),p="__lodash_hash_undefined__",d=Object.prototype,g=d.hasOwnProperty;function v(b){var w=this.__data__;if(a){var S=w[b];return S===p?void 0:S}return g.call(w,b)?w[b]:void 0}u.exports=v},3784:(u,h,e)=>{var a=e(8637),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},6264:(u,h,e)=>{var a=e(8637),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},5290: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},4028:(u,h,e)=>{var a=e(9270),p=e(5940),d=e(5320),g=e(4937),v=e(1532),b="[object Boolean]",w="[object Date]",S="[object Map]",C="[object Number]",R="[object RegExp]",D="[object Set]",G="[object String]",H="[object Symbol]",T="[object ArrayBuffer]",j="[object DataView]",$="[object Float32Array]",V="[object Float64Array]",X="[object Int8Array]",L="[object Int16Array]",ge="[object Int32Array]",P="[object Uint8Array]",se="[object Uint8ClampedArray]",ie="[object Uint16Array]",ve="[object Uint32Array]";function Ae(Ie,Te,W){var ke=Ie.constructor;switch(Te){case T:return a(Ie);case b:case w:return new ke(+Ie);case j:return p(Ie,W);case $:case V:case X:case L:case ge:case P:case se:case ie:case ve:return v(Ie,W);case S:return new ke;case C:case G:return new ke(Ie);case R:return d(Ie);case D:return new ke;case H:return g(Ie)}}u.exports=Ae},9168:(u,h,e)=>{var a=e(1095),p=e(7556),d=e(7894);function g(v){return typeof v.constructor=="function"&&!d(v)?a(p(v)):{}}u.exports=g},1908: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},8819:(u,h,e)=>{var a=e(5097),p=e(3069),d=e(1908),g=e(9400);function v(b,w,S){if(!g(S))return!1;var C=typeof w;return(C=="number"?p(S)&&d(w,S.length):C=="string"&&w in S)?a(S[w],b):!1}u.exports=v},759:(u,h,e)=>{var a=e(5874),p=e(975),d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,g=/^\w*$/;function v(b,w){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)||w!=null&&b in Object(w)}u.exports=v},95:u=>{function h(e){var a=typeof e;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?e!=="__proto__":e===null}u.exports=h},7827:(u,h,e)=>{var a=e(6450),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},7894: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},6821:u=>{function h(){this.__data__=[],this.size=0}u.exports=h},7221:(u,h,e)=>{var a=e(9438),p=Array.prototype,d=p.splice;function g(v){var b=this.__data__,w=a(b,v);if(w<0)return!1;var S=b.length-1;return w==S?b.pop():d.call(b,w,1),--this.size,!0}u.exports=g},1596:(u,h,e)=>{var a=e(9438);function p(d){var g=this.__data__,v=a(g,d);return v<0?void 0:g[v][1]}u.exports=p},1992:(u,h,e)=>{var a=e(9438);function p(d){return a(this.__data__,d)>-1}u.exports=p},552:(u,h,e)=>{var a=e(9438);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},4069:(u,h,e)=>{var a=e(6766),p=e(1022),d=e(5870);function g(){this.size=0,this.__data__={hash:new a,map:new(d||p),string:new a}}u.exports=g},7477:(u,h,e)=>{var a=e(1200);function p(d){var g=a(this,d).delete(d);return this.size-=g?1:0,g}u.exports=p},476:(u,h,e)=>{var a=e(1200);function p(d){return a(this,d).get(d)}u.exports=p},984:(u,h,e)=>{var a=e(1200);function p(d){return a(this,d).has(d)}u.exports=p},4136:(u,h,e)=>{var a=e(1200);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},2121:(u,h,e)=>{var a=e(8487),p=500;function d(g){var v=a(g,function(w){return b.size===p&&b.clear(),w}),b=v.cache;return v}u.exports=d},8637:(u,h,e)=>{var a=e(4671),p=a(Object,"create");u.exports=p},2325:(u,h,e)=>{var a=e(8546),p=a(Object.keys,Object);u.exports=p},5382:u=>{function h(e){var a=[];if(e!=null)for(var p in Object(e))a.push(p);return a}u.exports=h},6574:(u,h,e)=>{u=e.nmd(u);var a=e(1603),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 w=d&&d.require&&d.require("util").types;return w||v&&v.binding&&v.binding("util")}catch{}}();u.exports=b},6881:u=>{var h=Object.prototype,e=h.toString;function a(p){return e.call(p)}u.exports=a},8546:u=>{function h(e,a){return function(p){return e(a(p))}}u.exports=h},5390:(u,h,e)=>{var a=e(7156),p=Math.max;function d(g,v,b){return v=p(v===void 0?g.length-1:v,0),function(){for(var w=arguments,S=-1,C=p(w.length-v,0),R=Array(C);++S<C;)R[S]=w[v+S];S=-1;for(var D=Array(v+1);++S<v;)D[S]=w[S];return D[v]=b(R),a(g,this,D)}}u.exports=d},714:(u,h,e)=>{var a=e(1603),p=typeof self=="object"&&self&&self.Object===Object&&self,d=a||p||Function("return this")();u.exports=d},6127:u=>{function h(e,a){if(!(a==="constructor"&&typeof e[a]=="function")&&a!="__proto__")return e[a]}u.exports=h},3232:(u,h,e)=>{var a=e(3431),p=e(1824),d=p(a);u.exports=d},1824:u=>{var h=800,e=16,a=Date.now;function p(d){var g=0,v=0;return function(){var b=a(),w=e-(b-v);if(v=b,w>0){if(++g>=h)return arguments[0]}else g=0;return d.apply(void 0,arguments)}}u.exports=p},5331:(u,h,e)=>{var a=e(1022);function p(){this.__data__=new a,this.size=0}u.exports=p},7063:u=>{function h(e){var a=this.__data__,p=a.delete(e);return this.size=a.size,p}u.exports=h},134:u=>{function h(e){return this.__data__.get(e)}u.exports=h},9842:u=>{function h(e){return this.__data__.has(e)}u.exports=h},9850:(u,h,e)=>{var a=e(1022),p=e(5870),d=e(8910),g=200;function v(b,w){var S=this.__data__;if(S instanceof a){var C=S.__data__;if(!p||C.length<g-1)return C.push([b,w]),this.size=++S.size,this;S=this.__data__=new d(C)}return S.set(b,w),this.size=S.size,this}u.exports=v},9505:(u,h,e)=>{var a=e(2121),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(w,S,C,R){b.push(C?R.replace(d,"$1"):S||w)}),b});u.exports=g},9628:(u,h,e)=>{var a=e(975),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},462: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},5402:(u,h,e)=>{var a=e(9018),p=4;function d(g){return a(g,p)}u.exports=d},8295:u=>{function h(e){return function(){return e}}u.exports=h},5097:u=>{function h(e,a){return e===a||e!==e&&a!==a}u.exports=h},5887:(u,h,e)=>{var a=e(1855);function p(d,g,v){var b=d==null?void 0:a(d,g);return b===void 0?v:b}u.exports=p},4339:(u,h,e)=>{var a=e(3091),p=e(9663);function d(g,v){return g!=null&&p(g,v,a)}u.exports=d},9169:u=>{function h(e){return e}u.exports=h},79:(u,h,e)=>{var a=e(4047),p=e(7583),d=Object.prototype,g=d.hasOwnProperty,v=d.propertyIsEnumerable,b=a(function(){return arguments}())?a:function(w){return p(w)&&g.call(w,"callee")&&!v.call(w,"callee")};u.exports=b},5874:u=>{var h=Array.isArray;u.exports=h},3069:(u,h,e)=>{var a=e(7787),p=e(4583);function d(g){return g!=null&&p(g.length)&&!a(g)}u.exports=d},6882:(u,h,e)=>{var a=e(3069),p=e(7583);function d(g){return p(g)&&a(g)}u.exports=d},3601:(u,h,e)=>{u=e.nmd(u);var a=e(714),p=e(6408),d=h&&!h.nodeType&&h,g=d&&!0&&u&&!u.nodeType&&u,v=g&&g.exports===d,b=v?a.Buffer:void 0,w=b?b.isBuffer:void 0,S=w||p;u.exports=S},7787:(u,h,e)=>{var a=e(5271),p=e(9400),d="[object AsyncFunction]",g="[object Function]",v="[object GeneratorFunction]",b="[object Proxy]";function w(S){if(!p(S))return!1;var C=a(S);return C==g||C==v||C==d||C==b}u.exports=w},4583:u=>{var h=9007199254740991;function e(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=h}u.exports=e},4725:(u,h,e)=>{var a=e(4965),p=e(8232),d=e(6574),g=d&&d.isMap,v=g?p(g):a;u.exports=v},9400:u=>{function h(e){var a=typeof e;return e!=null&&(a=="object"||a=="function")}u.exports=h},7583:u=>{function h(e){return e!=null&&typeof e=="object"}u.exports=h},4108:(u,h,e)=>{var a=e(5271),p=e(7556),d=e(7583),g="[object Object]",v=Function.prototype,b=Object.prototype,w=v.toString,S=b.hasOwnProperty,C=w.call(Object);function R(D){if(!d(D)||a(D)!=g)return!1;var G=p(D);if(G===null)return!0;var H=S.call(G,"constructor")&&G.constructor;return typeof H=="function"&&H instanceof H&&w.call(H)==C}u.exports=R},7363:(u,h,e)=>{var a=e(6499),p=e(8232),d=e(6574),g=d&&d.isSet,v=g?p(g):a;u.exports=v},975:(u,h,e)=>{var a=e(5271),p=e(7583),d="[object Symbol]";function g(v){return typeof v=="symbol"||p(v)&&a(v)==d}u.exports=g},9046:(u,h,e)=>{var a=e(550),p=e(8232),d=e(6574),g=d&&d.isTypedArray,v=g?p(g):a;u.exports=v},3511:(u,h,e)=>{var a=e(9754),p=e(5351),d=e(3069);function g(v){return d(v)?a(v):p(v)}u.exports=g},2844:(u,h,e)=>{var a=e(9754),p=e(1500),d=e(3069);function g(v){return d(v)?a(v,!0):p(v)}u.exports=g},8487:(u,h,e)=>{var a=e(8910),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 w=arguments,S=v?v.apply(this,w):w[0],C=b.cache;if(C.has(S))return C.get(S);var R=g.apply(this,w);return b.cache=C.set(S,R)||C,R};return b.cache=new(d.Cache||a),b}d.Cache=a,u.exports=d},2495:(u,h,e)=>{var a=e(4479),p=e(1292),d=p(function(g,v,b){a(g,v,b)});u.exports=d},7579:(u,h,e)=>{var a=e(9435);function p(d,g,v){return d==null?d:a(d,g,v)}u.exports=p},2982:u=>{function h(){return[]}u.exports=h},6408:u=>{function h(){return!1}u.exports=h},339:(u,h,e)=>{var a=e(5532),p=e(2844);function d(g){return a(g,p(g))}u.exports=d},983:(u,h,e)=>{var a=e(8071);function p(d){return d==null?"":a(d)}u.exports=p},9442:function(u,h,e){u=e.nmd(u),function(a,p){"use strict";var d={};a.PubSub?d=a.PubSub:(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(T){var j;for(j in T)if(Object.prototype.hasOwnProperty.call(T,j))return!0;return!1}function b(T){return function(){throw T}}function w(T,j,$){try{T(j,$)}catch(V){setTimeout(b(V),0)}}function S(T,j,$){T(j,$)}function C(T,j,$,V){var X=p[j],L=V?S:w,ge;if(Object.prototype.hasOwnProperty.call(p,j))for(ge in X)Object.prototype.hasOwnProperty.call(X,ge)&&L(X[ge],T,$)}function R(T,j,$){return function(){var X=String(T),L=X.lastIndexOf(".");for(C(T,T,j,$);L!==-1;)X=X.substr(0,L),L=X.lastIndexOf("."),C(T,X,j,$);C(T,g,j,$)}}function D(T){var j=String(T),$=!!(Object.prototype.hasOwnProperty.call(p,j)&&v(p[j]));return $}function G(T){for(var j=String(T),$=D(j)||D(g),V=j.lastIndexOf(".");!$&&V!==-1;)j=j.substr(0,V),V=j.lastIndexOf("."),$=D(j);return $}function H(T,j,$,V){T=typeof T=="symbol"?T.toString():T;var X=R(T,j,V),L=G(T);return L?($===!0?X():setTimeout(X,0),!0):!1}a.publish=function(T,j){return H(T,j,!1,a.immediateExceptions)},a.publishSync=function(T,j){return H(T,j,!0,a.immediateExceptions)},a.subscribe=function(T,j){if(typeof j!="function")return!1;T=typeof T=="symbol"?T.toString():T,Object.prototype.hasOwnProperty.call(p,T)||(p[T]={});var $="uid_"+String(++d);return p[T][$]=j,$},a.subscribeAll=function(T){return a.subscribe(g,T)},a.subscribeOnce=function(T,j){var $=a.subscribe(T,function(){a.unsubscribe($),j.apply(this,arguments)});return a},a.clearAllSubscriptions=function(){p={}},a.clearSubscriptions=function(j){var $;for($ in p)Object.prototype.hasOwnProperty.call(p,$)&&$.indexOf(j)===0&&delete p[$]},a.countSubscriptions=function(j){var $,V,X=0;for($ in p)if(Object.prototype.hasOwnProperty.call(p,$)&&$.indexOf(j)===0){for(V in p[$])X++;break}return X},a.getSubscriptions=function(j){var $,V=[];for($ in p)Object.prototype.hasOwnProperty.call(p,$)&&$.indexOf(j)===0&&V.push($);return V},a.unsubscribe=function(T){var j=function(ie){var ve;for(ve in p)if(Object.prototype.hasOwnProperty.call(p,ve)&&ve.indexOf(ie)===0)return!0;return!1},$=typeof T=="string"&&(Object.prototype.hasOwnProperty.call(p,T)||j(T)),V=!$&&typeof T=="string",X=typeof T=="function",L=!1,ge,P,se;if($){a.clearSubscriptions(T);return}for(ge in p)if(Object.prototype.hasOwnProperty.call(p,ge)){if(P=p[ge],V&&P[T]){delete P[T],L=T;break}if(X)for(se in P)Object.prototype.hasOwnProperty.call(P,se)&&P[se]===T&&(delete P[se],L=!0)}return L}})},5360:(u,h)=>{"use strict";/** @license React v16.13.1
2
+ * react-is.production.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */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,w=e?Symbol.for("react.context"):60110,S=e?Symbol.for("react.async_mode"):60111,C=e?Symbol.for("react.concurrent_mode"):60111,R=e?Symbol.for("react.forward_ref"):60112,D=e?Symbol.for("react.suspense"):60113,G=e?Symbol.for("react.suspense_list"):60120,H=e?Symbol.for("react.memo"):60115,T=e?Symbol.for("react.lazy"):60116,j=e?Symbol.for("react.block"):60121,$=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 se=P.$$typeof;switch(se){case a:switch(P=P.type,P){case S:case C:case d:case v:case g:case D:return P;default:switch(P=P&&P.$$typeof,P){case w:case R:case T:case H:case b:return P;default:return se}}case p:return se}}}function ge(P){return L(P)===C}h.AsyncMode=S,h.ConcurrentMode=C,h.ContextConsumer=w,h.ContextProvider=b,h.Element=a,h.ForwardRef=R,h.Fragment=d,h.Lazy=T,h.Memo=H,h.Portal=p,h.Profiler=v,h.StrictMode=g,h.Suspense=D,h.isAsyncMode=function(P){return ge(P)||L(P)===S},h.isConcurrentMode=ge,h.isContextConsumer=function(P){return L(P)===w},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)===R},h.isFragment=function(P){return L(P)===d},h.isLazy=function(P){return L(P)===T},h.isMemo=function(P){return L(P)===H},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)===D},h.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===d||P===C||P===v||P===g||P===D||P===G||typeof P=="object"&&P!==null&&(P.$$typeof===T||P.$$typeof===H||P.$$typeof===b||P.$$typeof===w||P.$$typeof===R||P.$$typeof===$||P.$$typeof===V||P.$$typeof===X||P.$$typeof===j)},h.typeOf=L},7020:(u,h,e)=>{"use strict";u.exports=e(5360)},6018:(u,h)=>{"use strict";/**
9
+ * @license React
10
+ * react.production.min.js
11
+ *
12
+ * Copyright (c) Facebook, Inc. and its affiliates.
13
+ *
14
+ * This source code is licensed under the MIT license found in the
15
+ * LICENSE file in the root directory of this source tree.
16
+ */var e=Symbol.for("react.element"),a=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),b=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),C=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),D=Symbol.iterator;function G(A){return A===null||typeof A!="object"?null:(A=D&&A[D]||A["@@iterator"],typeof A=="function"?A:null)}var H={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,j={};function $(A,F,te){this.props=A,this.context=F,this.refs=j,this.updater=te||H}$.prototype.isReactComponent={},$.prototype.setState=function(A,F){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,F,"setState")},$.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function V(){}V.prototype=$.prototype;function X(A,F,te){this.props=A,this.context=F,this.refs=j,this.updater=te||H}var L=X.prototype=new V;L.constructor=X,T(L,$.prototype),L.isPureReactComponent=!0;var ge=Array.isArray,P=Object.prototype.hasOwnProperty,se={current:null},ie={key:!0,ref:!0,__self:!0,__source:!0};function ve(A,F,te){var le,ue={},Ee=null,ee=null;if(F!=null)for(le in F.ref!==void 0&&(ee=F.ref),F.key!==void 0&&(Ee=""+F.key),F)P.call(F,le)&&!ie.hasOwnProperty(le)&&(ue[le]=F[le]);var xe=arguments.length-2;if(xe===1)ue.children=te;else if(1<xe){for(var be=Array(xe),De=0;De<xe;De++)be[De]=arguments[De+2];ue.children=be}if(A&&A.defaultProps)for(le in xe=A.defaultProps,xe)ue[le]===void 0&&(ue[le]=xe[le]);return{$$typeof:e,type:A,key:Ee,ref:ee,props:ue,_owner:se.current}}function Ae(A,F){return{$$typeof:e,type:A.type,key:F,ref:A.ref,props:A.props,_owner:A._owner}}function Ie(A){return typeof A=="object"&&A!==null&&A.$$typeof===e}function Te(A){var F={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(te){return F[te]})}var W=/\/+/g;function ke(A,F){return typeof A=="object"&&A!==null&&A.key!=null?Te(""+A.key):F.toString(36)}function Le(A,F,te,le,ue){var Ee=typeof A;(Ee==="undefined"||Ee==="boolean")&&(A=null);var ee=!1;if(A===null)ee=!0;else switch(Ee){case"string":case"number":ee=!0;break;case"object":switch(A.$$typeof){case e:case a:ee=!0}}if(ee)return ee=A,ue=ue(ee),A=le===""?"."+ke(ee,0):le,ge(ue)?(te="",A!=null&&(te=A.replace(W,"$&/")+"/"),Le(ue,F,te,"",function(De){return De})):ue!=null&&(Ie(ue)&&(ue=Ae(ue,te+(!ue.key||ee&&ee.key===ue.key?"":(""+ue.key).replace(W,"$&/")+"/")+A)),F.push(ue)),1;if(ee=0,le=le===""?".":le+":",ge(A))for(var xe=0;xe<A.length;xe++){Ee=A[xe];var be=le+ke(Ee,xe);ee+=Le(Ee,F,te,be,ue)}else if(be=G(A),typeof be=="function")for(A=be.call(A),xe=0;!(Ee=A.next()).done;)Ee=Ee.value,be=le+ke(Ee,xe++),ee+=Le(Ee,F,te,be,ue);else if(Ee==="object")throw F=String(A),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.");return ee}function ye(A,F,te){if(A==null)return A;var le=[],ue=0;return Le(A,le,"","",function(Ee){return F.call(te,Ee,ue++)}),le}function Ct(A){if(A._status===-1){var F=A._result;F=F(),F.then(function(te){(A._status===0||A._status===-1)&&(A._status=1,A._result=te)},function(te){(A._status===0||A._status===-1)&&(A._status=2,A._result=te)}),A._status===-1&&(A._status=0,A._result=F)}if(A._status===1)return A._result.default;throw A._result}var $e={current:null},it={transition:null},vt={ReactCurrentDispatcher:$e,ReactCurrentBatchConfig:it,ReactCurrentOwner:se};function yt(){throw Error("act(...) is not supported in production builds of React.")}h.Children={map:ye,forEach:function(A,F,te){ye(A,function(){F.apply(this,arguments)},te)},count:function(A){var F=0;return ye(A,function(){F++}),F},toArray:function(A){return ye(A,function(F){return F})||[]},only:function(A){if(!Ie(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},h.Component=$,h.Fragment=p,h.Profiler=g,h.PureComponent=X,h.StrictMode=d,h.Suspense=S,h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vt,h.act=yt,h.cloneElement=function(A,F,te){if(A==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var le=T({},A.props),ue=A.key,Ee=A.ref,ee=A._owner;if(F!=null){if(F.ref!==void 0&&(Ee=F.ref,ee=se.current),F.key!==void 0&&(ue=""+F.key),A.type&&A.type.defaultProps)var xe=A.type.defaultProps;for(be in F)P.call(F,be)&&!ie.hasOwnProperty(be)&&(le[be]=F[be]===void 0&&xe!==void 0?xe[be]:F[be])}var be=arguments.length-2;if(be===1)le.children=te;else if(1<be){xe=Array(be);for(var De=0;De<be;De++)xe[De]=arguments[De+2];le.children=xe}return{$$typeof:e,type:A.type,key:ue,ref:Ee,props:le,_owner:ee}},h.createContext=function(A){return A={$$typeof:b,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},A.Provider={$$typeof:v,_context:A},A.Consumer=A},h.createElement=ve,h.createFactory=function(A){var F=ve.bind(null,A);return F.type=A,F},h.createRef=function(){return{current:null}},h.forwardRef=function(A){return{$$typeof:w,render:A}},h.isValidElement=Ie,h.lazy=function(A){return{$$typeof:R,_payload:{_status:-1,_result:A},_init:Ct}},h.memo=function(A,F){return{$$typeof:C,type:A,compare:F===void 0?null:F}},h.startTransition=function(A){var F=it.transition;it.transition={};try{A()}finally{it.transition=F}},h.unstable_act=yt,h.useCallback=function(A,F){return $e.current.useCallback(A,F)},h.useContext=function(A){return $e.current.useContext(A)},h.useDebugValue=function(){},h.useDeferredValue=function(A){return $e.current.useDeferredValue(A)},h.useEffect=function(A,F){return $e.current.useEffect(A,F)},h.useId=function(){return $e.current.useId()},h.useImperativeHandle=function(A,F,te){return $e.current.useImperativeHandle(A,F,te)},h.useInsertionEffect=function(A,F){return $e.current.useInsertionEffect(A,F)},h.useLayoutEffect=function(A,F){return $e.current.useLayoutEffect(A,F)},h.useMemo=function(A,F){return $e.current.useMemo(A,F)},h.useReducer=function(A,F,te){return $e.current.useReducer(A,F,te)},h.useRef=function(A){return $e.current.useRef(A)},h.useState=function(A){return $e.current.useState(A)},h.useSyncExternalStore=function(A,F,te){return $e.current.useSyncExternalStore(A,F,te)},h.useTransition=function(){return $e.current.useTransition()},h.version="18.3.1"},2155:(u,h,e)=>{"use strict";u.exports=e(6018)},162: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 w=Object.prototype.hasOwnProperty.bind(a),S=0;S<v.length;S++){var C=v[S];if(!w(C))return!1;var R=e[C],D=a[C];if(g=p?p.call(d,R,D,C):void 0,g===!1||g===void 0&&R!==D)return!1}return!0}}},kt={};function q(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,q),e.loaded=!0,e.exports}q.n=u=>{var h=u&&u.__esModule?()=>u.default:()=>u;return q.d(h,{a:h}),h},q.d=(u,h)=>{for(var e in h)q.o(h,e)&&!q.o(u,e)&&Object.defineProperty(u,e,{enumerable:!0,get:h[e]})},q.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),q.o=(u,h)=>Object.prototype.hasOwnProperty.call(u,h),q.r=u=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},q.nmd=u=>(u.paths=[],u.children||(u.children=[]),u),q.nc=void 0;var Ht={};return(()=>{"use strict";q.r(Ht),q.d(Ht,{CAppBridge:()=>In,Event:()=>h,ScriptingObject:()=>v,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}}class e{objectId;name;id;constructor(n){const{name:o,objectId:f}=n;this.objectId=f,this.name=o,this.id=`${this.objectId}.${this.name}`.toLowerCase()}}const a=t=>t instanceof h,p=(t,n)=>`${t.toLowerCase()}.${n.toLowerCase()}`,d="function",g=(t,n)=>typeof t===d&&!!n&&!n.startsWith("_");class v{#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];a(y)?o.push(f):g(y,f)&&n.push(f)}),{objectId:this.#e,objectType:this.#t,functions:n,events:o}};_dispose=()=>{};dispose=()=>{}}var b=q(9442);const w="module";var S=(t=>(t.USER="USER",t.PARTNER="PARTNER",t))(S||{});class C{#e=new Map;#t=new Map;#r=n=>{const{so:o,guestId:f}=n,y=o.id.toLowerCase(),x=this.#t.get(f);if(!x)this.#t.set(f,new Map([[y,n]]));else{if(x.has(y))throw new Error(`Scripting Object ${o.id} already exists for guest ${f}`);x.set(y,n)}};#n=({so:n})=>{n._dispose&&typeof n._dispose=="function"&&n._dispose()};#o=({objectId:n,guestId:o})=>{if(n===w&&!o)for(const[,y]of this.#t){const x=y.get(n);if(x)return x}const f=o?this.#t.get(o):null;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,x){const O=f[y];return O instanceof Function&&y!=="constructor"?function(...I){const N=this;return Object.defineProperty(O,"callContext",{value:o,enumerable:!1,writable:!0}),O.apply(N===x?f:N,I)}:O}});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.trim().toLowerCase()===w&&!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.trim().toLowerCase();let y=this.#o({objectId:f,guestId:o?.id});y=y??this.#e.get(f)??null;const{so:x}=y||{};if(!x)return null;if(!o)return x;const O=this.#i({so:x,guest:o});return Object.defineProperty(O,"target",{value:x,enumerable:!1,configurable:!1,writable:!0}),O};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 D={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let G;const H=new Uint8Array(16);function T(){if(!G&&(G=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!G))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return G(H)}const j=[];for(let t=0;t<256;++t)j.push((t+256).toString(16).slice(1));function $(t,n=0){return j[t[n+0]]+j[t[n+1]]+j[t[n+2]]+j[t[n+3]]+"-"+j[t[n+4]]+j[t[n+5]]+"-"+j[t[n+6]]+j[t[n+7]]+"-"+j[t[n+8]]+j[t[n+9]]+"-"+j[t[n+10]]+j[t[n+11]]+j[t[n+12]]+j[t[n+13]]+j[t[n+14]]+j[t[n+15]]}function V(t,n=0){const o=$(t,n);if(!validate(o))throw TypeError("Stringified UUID is invalid");return o}const X=null;function L(t,n,o){if(D.randomUUID&&!n&&!t)return D.randomUUID();t=t||{};const f=t.random||(t.rng||T)();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 $(f)}const ge=L,P=(t,n=[])=>{const o=n||[];return t&&t.forEach?t.forEach(f=>{P(f,o)}):typeof t<"u"&&o.push(t),o};class se{#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:x}=n;x.map(async O=>{try{await O.callback({obj:f,eventName:o,eventParams:y})}catch{}})};#n=async({eventId:n,eventName:o,scriptingObject:f,eventParams:y,feedbackWaitTime:x})=>{const I=(this.#e.get(n)||[]).map(k=>this.#t(k.callback({obj:f,eventName:o,eventParams:y}),x)),N=await Promise.all(I);return P(N)};dispatchEvent=async n=>{const{event:{id:o,name:f,requiresFeedback:y,scriptingObject:x},eventParams:O,feedbackWaitTime:I=1e3}=n;if(!o)throw new Error("Event Id is required");const N=this.#e.get(o)||[];return y?this.#n({eventId:o,eventName:f,scriptingObject:x,eventParams:O,feedbackWaitTime:I}):(this.#r({eventName:f,scriptingObject:x,eventParams:O,listeners:N}),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)||[],x=ge();return y.push({subscriptionId:x,callback:f}),this.#e.set(o,y),x};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)||[],x=y.findIndex(O=>O.subscriptionId===f);x>-1&&(y.splice(x,1),this.#e.set(o,y))}else this.#e.delete(o)};unsubscribeAll=()=>{this.#e.clear()}}const ie="pui-iframe-container-",ve="pui-app-container-",W={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 x=document.createElement("iframe");x.setAttribute("id",`${ie}${t}`),x.setAttribute("title",n.title),x.setAttribute("allowfullscreen","true"),x.setAttribute("allowtransparency","true"),x.setAttribute("allow","microphone; camera"),n.sandbox&&x.setAttribute("sandbox",n.sandbox),x.setAttribute("style",n.style??"flex-grow: 1;border: none;margin: 0;padding: 0;display: block;min-width: 100%;height: 100%;"),x.setAttribute("src",n.src??"./frame.html"),x.addEventListener("load",()=>{if(!x.contentDocument){f(new Error("Frame content window is null"));return}const k=x.contentDocument.getElementById(ve);k&&(k.id=`${k.id}${t}`),o(x)}),y.appendChild(x);const{containerId:O}=n;(document.getElementById(O??"")??document.body).appendChild(y)}),remove:t=>{const n=document.getElementById(`${ie}${t}`);n&&n.remove()},get:t=>document.getElementById(`${ie}${t}`)},ke=()=>({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:["#E1F4ED","#E1F4ED","#289F6B","#207E56","#185D44"],warning:["#FFEFD8","#E06C29","#B25119","#853C12"],danger:["#FBEBED","#FBEBED","#ED5A64","#C64252","#A11B2B"]},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 Le=q(7020),ye=q(2155),Ct=q(162),$e=q.n(Ct);function it(t){function n(B,z,U,Z,E){for(var fe=0,M=0,je=0,de=0,me,J,Ne=0,Ve=0,oe,Ge=oe=me=0,he=0,ze=0,Ft=0,Ue=0,Gt=U.length,Mt=Gt-1,Qe,Y="",Re="",nr="",or="",dt;he<Gt;){if(J=U.charCodeAt(he),he===Mt&&M+de+je+fe!==0&&(M!==0&&(J=M===47?10:47),de=je=fe=0,Gt++,Mt++),M+de+je+fe===0){if(he===Mt&&(0<ze&&(Y=Y.replace(ce,"")),0<Y.trim().length)){switch(J){case 32:case 9:case 59:case 13:case 10:break;default:Y+=U.charAt(he)}J=59}switch(J){case 123:for(Y=Y.trim(),me=Y.charCodeAt(0),oe=1,Ue=++he;he<Gt;){switch(J=U.charCodeAt(he)){case 123:oe++;break;case 125:oe--;break;case 47:switch(J=U.charCodeAt(he+1)){case 42:case 47:e:{for(Ge=he+1;Ge<Mt;++Ge)switch(U.charCodeAt(Ge)){case 47:if(J===42&&U.charCodeAt(Ge-1)===42&&he+2!==Ge){he=Ge+1;break e}break;case 10:if(J===47){he=Ge+1;break e}}he=Ge}}break;case 91:J++;case 40:J++;case 34:case 39:for(;he++<Mt&&U.charCodeAt(he)!==J;);}if(oe===0)break;he++}switch(oe=U.substring(Ue,he),me===0&&(me=(Y=Y.replace(Q,"").trim()).charCodeAt(0)),me){case 64:switch(0<ze&&(Y=Y.replace(ce,"")),J=Y.charCodeAt(1),J){case 100:case 109:case 115:case 45:ze=z;break;default:ze=Pt}if(oe=n(z,ze,oe,J,E+1),Ue=oe.length,0<Xe&&(ze=o(Pt,Y,Ft),dt=I(3,oe,ze,z,Ze,We,Ue,J,E,Z),Y=ze.join(""),dt!==void 0&&(Ue=(oe=dt.trim()).length)===0&&(J=0,oe="")),0<Ue)switch(J){case 115:Y=Y.replace(pt,O);case 100:case 109:case 45:oe=Y+"{"+oe+"}";break;case 107:Y=Y.replace(ne,"$1 $2"),oe=Y+"{"+oe+"}",oe=He===1||He===2&&x("@"+oe,3)?"@-webkit-"+oe+"@"+oe:"@"+oe;break;default:oe=Y+oe,Z===112&&(oe=(Re+=oe,""))}else oe="";break;default:oe=n(z,o(z,Y,Ft),oe,Z,E+1)}nr+=oe,oe=Ft=ze=Ge=me=0,Y="",J=U.charCodeAt(++he);break;case 125:case 59:if(Y=(0<ze?Y.replace(ce,""):Y).trim(),1<(Ue=Y.length))switch(Ge===0&&(me=Y.charCodeAt(0),me===45||96<me&&123>me)&&(Ue=(Y=Y.replace(" ",":")).length),0<Xe&&(dt=I(1,Y,z,B,Ze,We,Re.length,Z,E,Z))!==void 0&&(Ue=(Y=dt.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+U.charAt(he);break}default:Y.charCodeAt(Ue-1)!==58&&(Re+=y(Y,me,J,Y.charCodeAt(2)))}Ft=ze=Ge=me=0,Y="",J=U.charCodeAt(++he)}}switch(J){case 13:case 10:M===47?M=0:1+me===0&&Z!==107&&0<Y.length&&(ze=1,Y+="\0"),0<Xe*Ot&&I(0,Y,z,B,Ze,We,Re.length,Z,E,Z),We=1,Ze++;break;case 59:case 125:if(M+de+je+fe===0){We++;break}default:switch(We++,Qe=U.charAt(he),J){case 9:case 32:if(de+fe+M===0)switch(Ne){case 44:case 58:case 9:case 32:Qe="";break;default:J!==32&&(Qe=" ")}break;case 0:Qe="\\0";break;case 12:Qe="\\f";break;case 11:Qe="\\v";break;case 38:de+M+fe===0&&(ze=Ft=1,Qe="\f"+Qe);break;case 108:if(de+M+fe+ot===0&&0<Ge)switch(he-Ge){case 2:Ne===112&&U.charCodeAt(he-3)===58&&(ot=Ne);case 8:Ve===111&&(ot=Ve)}break;case 58:de+M+fe===0&&(Ge=he);break;case 44:M+je+de+fe===0&&(ze=1,Qe+="\r");break;case 34:case 39:M===0&&(de=de===J?0:de===0?J:de);break;case 91:de+M+je===0&&fe++;break;case 93:de+M+je===0&&fe--;break;case 41:de+M+fe===0&&je--;break;case 40:if(de+M+fe===0){if(me===0)switch(2*Ne+3*Ve){case 533:break;default:me=1}je++}break;case 64:M+je+de+fe+Ge+oe===0&&(oe=1);break;case 42:case 47:if(!(0<de+fe+je))switch(M){case 0:switch(2*J+3*U.charCodeAt(he+1)){case 235:M=47;break;case 220:Ue=he,M=42}break;case 42:J===47&&Ne===42&&Ue+2!==he&&(U.charCodeAt(Ue+2)===33&&(Re+=U.substring(Ue,he+1)),Qe="",M=0)}}M===0&&(Y+=Qe)}Ve=Ne,Ne=J,he++}if(Ue=Re.length,0<Ue){if(ze=z,0<Xe&&(dt=I(2,Re,ze,B,Ze,We,Ue,Z,E,Z),dt!==void 0&&(Re=dt).length===0))return or+Re+nr;if(Re=ze.join(",")+"{"+Re+"}",He*ot!==0){switch(He!==2||x(Re,2)||(ot=0),ot){case 111:Re=Re.replace(Ce,":-moz-$1")+Re;break;case 112:Re=Re.replace(Me,"::-webkit-input-$1")+Re.replace(Me,"::-moz-$1")+Re.replace(Me,":-ms-input-$1")+Re}ot=0}}return or+Re+nr}function o(B,z,U){var Z=z.trim().split(_);z=Z;var E=Z.length,fe=B.length;switch(fe){case 0:case 1:var M=0;for(B=fe===0?"":B[0]+" ";M<E;++M)z[M]=f(B,z[M],U).trim();break;default:var je=M=0;for(z=[];M<E;++M)for(var de=0;de<fe;++de)z[je++]=f(B[de]+" ",Z[M],U).trim()}return z}function f(B,z,U){var Z=z.charCodeAt(0);switch(33>Z&&(Z=(z=z.trim()).charCodeAt(0)),Z){case 38:return z.replace(Se,"$1"+B.trim());case 58:return B.trim()+z.replace(Se,"$1"+B.trim());default:if(0<1*U&&0<z.indexOf("\f"))return z.replace(Se,(B.charCodeAt(0)===58?"":"$1")+B.trim())}return B+z}function y(B,z,U,Z){var E=B+";",fe=2*z+3*U+4*Z;if(fe===944){B=E.indexOf(":",9)+1;var M=E.substring(B,E.length-1).trim();return M=E.substring(0,B).trim()+M+";",He===1||He===2&&x(M,1)?"-webkit-"+M+M:M}if(He===0||He===2&&!x(E,1))return E;switch(fe){case 1015:return E.charCodeAt(10)===97?"-webkit-"+E+E:E;case 951:return E.charCodeAt(3)===116?"-webkit-"+E+E:E;case 963:return E.charCodeAt(5)===110?"-webkit-"+E+E:E;case 1009:if(E.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+E+E;case 978:return"-webkit-"+E+"-moz-"+E+E;case 1019:case 983:return"-webkit-"+E+"-moz-"+E+"-ms-"+E+E;case 883:if(E.charCodeAt(8)===45)return"-webkit-"+E+E;if(0<E.indexOf("image-set(",11))return E.replace(Et,"$1-webkit-$2")+E;break;case 932:if(E.charCodeAt(4)===45)switch(E.charCodeAt(5)){case 103:return"-webkit-box-"+E.replace("-grow","")+"-webkit-"+E+"-ms-"+E.replace("grow","positive")+E;case 115:return"-webkit-"+E+"-ms-"+E.replace("shrink","negative")+E;case 98:return"-webkit-"+E+"-ms-"+E.replace("basis","preferred-size")+E}return"-webkit-"+E+"-ms-"+E+E;case 964:return"-webkit-"+E+"-ms-flex-"+E+E;case 1023:if(E.charCodeAt(8)!==99)break;return M=E.substring(E.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+M+"-webkit-"+E+"-ms-flex-pack"+M+E;case 1005:return re.test(E)?E.replace(Oe,":-webkit-")+E.replace(Oe,":-moz-")+E:E;case 1e3:switch(M=E.substring(13).trim(),z=M.indexOf("-")+1,M.charCodeAt(0)+M.charCodeAt(z)){case 226:M=E.replace(Pe,"tb");break;case 232:M=E.replace(Pe,"tb-rl");break;case 220:M=E.replace(Pe,"lr");break;default:return E}return"-webkit-"+E+"-ms-"+M+E;case 1017:if(E.indexOf("sticky",9)===-1)break;case 975:switch(z=(E=B).length-10,M=(E.charCodeAt(z)===33?E.substring(0,z):E).substring(B.indexOf(":",7)+1).trim(),fe=M.charCodeAt(0)+(M.charCodeAt(7)|0)){case 203:if(111>M.charCodeAt(8))break;case 115:E=E.replace(M,"-webkit-"+M)+";"+E;break;case 207:case 102:E=E.replace(M,"-webkit-"+(102<fe?"inline-":"")+"box")+";"+E.replace(M,"-webkit-"+M)+";"+E.replace(M,"-ms-"+M+"box")+";"+E}return E+";";case 938:if(E.charCodeAt(5)===45)switch(E.charCodeAt(6)){case 105:return M=E.replace("-items",""),"-webkit-"+E+"-webkit-box-"+M+"-ms-flex-"+M+E;case 115:return"-webkit-"+E+"-ms-flex-item-"+E.replace(Ye,"")+E;default:return"-webkit-"+E+"-ms-flex-line-pack"+E.replace("align-content","").replace(Ye,"")+E}break;case 973:case 989:if(E.charCodeAt(3)!==45||E.charCodeAt(4)===122)break;case 931:case 953:if(ft.test(B)===!0)return(M=B.substring(B.indexOf(":")+1)).charCodeAt(0)===115?y(B.replace("stretch","fill-available"),z,U,Z).replace(":fill-available",":stretch"):E.replace(M,"-webkit-"+M)+E.replace(M,"-moz-"+M.replace("fill-",""))+E;break;case 962:if(E="-webkit-"+E+(E.charCodeAt(5)===102?"-ms-"+E:"")+E,U+Z===211&&E.charCodeAt(13)===105&&0<E.indexOf("transform",10))return E.substring(0,E.indexOf(";",27)+1).replace(pe,"$1-webkit-$2")+E}return E}function x(B,z){var U=B.indexOf(z===1?":":"{"),Z=B.substring(0,z!==3?U:10);return U=B.substring(U+1,B.length-1),Rt(z!==2?Z:Z.replace(nt,"$1"),U,z)}function O(B,z){var U=y(z,z.charCodeAt(0),z.charCodeAt(1),z.charCodeAt(2));return U!==z+";"?U.replace(At," or ($1)").substring(4):"("+z+")"}function I(B,z,U,Z,E,fe,M,je,de,me){for(var J=0,Ne=z,Ve;J<Xe;++J)switch(Ve=Je[J].call(K,B,Ne,U,Z,E,fe,M,je,de,me)){case void 0:case!1:case!0:case null:break;default:Ne=Ve}if(Ne!==z)return Ne}function N(B){switch(B){case void 0:case null:Xe=Je.length=0;break;default:if(typeof B=="function")Je[Xe++]=B;else if(typeof B=="object")for(var z=0,U=B.length;z<U;++z)N(B[z]);else Ot=!!B|0}return N}function k(B){return B=B.prefix,B!==void 0&&(Rt=null,B?typeof B!="function"?He=1:(He=2,Rt=B):He=0),k}function K(B,z){var U=B;if(33>U.charCodeAt(0)&&(U=U.trim()),$t=U,U=[$t],0<Xe){var Z=I(-1,z,U,U,Ze,We,0,0,0,0);Z!==void 0&&typeof Z=="string"&&(z=Z)}var E=n(Pt,U,z,0,0);return 0<Xe&&(Z=I(-2,E,U,U,Ze,We,E.length,0,0,0),Z!==void 0&&(E=Z)),$t="",ot=0,We=Ze=1,E}var Q=/^\0+/g,ce=/[\0\r\f]/g,Oe=/: */g,re=/zoo|gra/,pe=/([,: ])(transform)/g,_=/,\r+?/g,Se=/([\t\r\n ])*\f?&/g,ne=/@(k\w+)\s*(\S*)\s*/,Me=/::(place)/g,Ce=/:(read-only)/g,Pe=/[svh]\w+-[tblr]{2}/,pt=/\(\s*(.*)\s*\)/g,At=/([\s\S]*?);/g,Ye=/-self|flex-/g,nt=/[^]*?(:[rp][el]a[\w-]+)[^]*/,ft=/stretch|:\s*\w+\-(?:conte|avail)/,Et=/([^-])(image-set\()/,We=1,Ze=1,ot=0,He=1,Pt=[],Je=[],Xe=0,Rt=null,Ot=0,$t="";return K.use=N,K.set=k,t!==void 0&&k(t),K}const vt=it;var yt={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 A=yt;function F(t){var n=Object.create(null);return function(o){return n[o]===void 0&&(n[o]=t(o)),n[o]}}var te=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|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)-.*))$/,le=F(function(t){return te.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),ue=q(4674),Ee=q.n(ue);function ee(){return(ee=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},be=function(t){return t!==null&&typeof t=="object"&&(t.toString?t.toString():Object.prototype.toString.call(t))==="[object Object]"&&!(0,Le.typeOf)(t)},De=Object.freeze([]),_e=Object.freeze({});function at(t){return typeof t=="function"}function Tt(t){return t.displayName||t.name||"Component"}function jt(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",we="5.3.11",ct=typeof window<"u"&&"HTMLElement"in window,ae=!!(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)),lt={},ht={};function ir(){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 Be(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 et=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,x=y.length,O=x;o>=O;)(O<<=1)<0&&Be(16,""+o);this.groupSizes=new Uint32Array(O),this.groupSizes.set(y),this.length=O;for(var I=x;I<O;I++)this.groupSizes[I]=0}for(var N=this.indexOfGroup(o+1),k=0,K=f.length;k<K;k++)this.tag.insertRule(N,f[k])&&(this.groupSizes[o]++,N++)},n.clearGroup=function(o){if(o<this.length){var f=this.groupSizes[o],y=this.indexOfGroup(o),x=y+f;this.groupSizes[o]=0;for(var O=y;O<x;O++)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],x=this.indexOfGroup(o),O=x+y,I=x;I<O;I++)f+=this.tag.getRule(I)+`/*!sc*/
17
+ `;return f},t}(),Fe=new Map,st=new Map,tt=1,bt=function(t){if(Fe.has(t))return Fe.get(t);for(;st.has(tt);)tt++;var n=tt++;return Fe.set(t,n),st.set(n,t),n},Dt=function(t){return st.get(t)},ut=function(t,n){n>=tt&&(tt=n+1),Fe.set(t,n),st.set(n,t)},Lt="style["+qe+'][data-styled-version="5.3.11"]',Nt=new RegExp("^"+qe+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Vt=function(t,n,o){for(var f,y=o.split(","),x=0,O=y.length;x<O;x++)(f=y[x])&&t.registerName(n,f)},zt=function(t,n){for(var o=(n.textContent||"").split(`/*!sc*/
18
+ `),f=[],y=0,x=o.length;y<x;y++){var O=o[y].trim();if(O){var I=O.match(Nt);if(I){var N=0|parseInt(I[1],10),k=I[2];N!==0&&(ut(k,N),Vt(t,k,I[3]),t.getTag().insertRules(N,f)),f.length=0}else f.push(O)}}},Ke=function(){return q.nc},rt=function(t){var n=document.head,o=t||n,f=document.createElement("style"),y=function(I){for(var N=I.childNodes,k=N.length;k>=0;k--){var K=N[k];if(K&&K.nodeType===1&&K.hasAttribute(qe))return K}}(o),x=y!==void 0?y.nextSibling:null;f.setAttribute(qe,"active"),f.setAttribute("data-styled-version","5.3.11");var O=Ke();return O&&f.setAttribute("nonce",O),o.insertBefore(f,x),f},Ir=function(){function t(o){var f=this.element=rt(o);f.appendChild(document.createTextNode("")),this.sheet=function(y){if(y.sheet)return y.sheet;for(var x=document.styleSheets,O=0,I=x.length;O<I;O++){var N=x[O];if(N.ownerNode===y)return N}Be(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}(),Pr=function(){function t(o){var f=this.element=rt(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),x=this.nodes[o];return this.element.insertBefore(y,x||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}(),Rr=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,$r={isServer:!ct,useCSSOMInjection:!ae},wt=function(){function t(o,f,y){o===void 0&&(o=_e),f===void 0&&(f={}),this.options=ee({},$r,{},o),this.gs=f,this.names=new Map(y),this.server=!!o.isServer,!this.server&&ct&&ar&&(ar=!1,function(x){for(var O=document.querySelectorAll(Lt),I=0,N=O.length;I<N;I++){var k=O[I];k&&k.getAttribute(qe)!=="active"&&(zt(x,k),k.parentNode&&k.parentNode.removeChild(k))}}(this))}t.registerId=function(o){return bt(o)};var n=t.prototype;return n.reconstructWithOptions=function(o,f){return f===void 0&&(f=!0),new t(ee({},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,x=f.useCSSOMInjection,O=f.target,o=y?new Rr(O):x?new Ir(O):new Pr(O),new et(o)));var o,f,y,x,O},n.hasNameForId=function(o,f){return this.names.has(o)&&this.names.get(o).has(f)},n.registerName=function(o,f){if(bt(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(bt(o),y)},n.clearNames=function(o){this.names.has(o)&&this.names.get(o).clear()},n.clearRules=function(o){this.getTag().clearGroup(bt(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,x="",O=0;O<y;O++){var I=Dt(O);if(I!==void 0){var N=o.names.get(I),k=f.getGroup(O);if(N&&k&&N.size){var K=qe+".g"+O+'[id="'+I+'"]',Q="";N!==void 0&&N.forEach(function(ce){ce.length>0&&(Q+=ce+",")}),x+=""+k+K+'{content:"'+Q+`"}/*!sc*/
19
+ `}}}return x}(this)},t}(),Fr=/(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(Fr,"$1-$2")}var xt=function(t,n){for(var o=n.length;o;)t=33*t^n.charCodeAt(--o);return t},lr=function(t){return xt(5381,t)};function ur(t){for(var n=0;n<t.length;n+=1){var o=t[n];if(at(o)&&!jt(o))return!1}return!0}var Mr=lr("5.3.11"),kr=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=xt(Mr,o),this.baseStyle=f,wt.registerId(o)}return t.prototype.generateAndInjectStyles=function(n,o,f){var y=this.componentId,x=[];if(this.baseStyle&&x.push(this.baseStyle.generateAndInjectStyles(n,o,f)),this.isStatic&&!f.hash)if(this.staticRulesId&&o.hasNameForId(y,this.staticRulesId))x.push(this.staticRulesId);else{var O=gt(this.rules,n,o,f).join(""),I=Wt(xt(this.baseHash,O)>>>0);if(!o.hasNameForId(y,I)){var N=f(O,"."+I,void 0,y);o.insertRules(y,I,N)}x.push(I),this.staticRulesId=I}else{for(var k=this.rules.length,K=xt(this.baseHash,f.hash),Q="",ce=0;ce<k;ce++){var Oe=this.rules[ce];if(typeof Oe=="string")Q+=Oe;else if(Oe){var re=gt(Oe,n,o,f),pe=Array.isArray(re)?re.join(""):re;K=xt(K,pe+ce),Q+=pe}}if(Q){var _=Wt(K>>>0);if(!o.hasNameForId(y,_)){var Se=f(Q,"."+_,void 0,y);o.insertRules(y,_,Se)}x.push(_)}}return x.join(" ")},t}(),Dr=/^\s*\/\/.*$/gm,Lr=[":","[",".","#"];function pr(t){var n,o,f,y,x=t===void 0?_e:t,O=x.options,I=O===void 0?_e:O,N=x.plugins,k=N===void 0?De:N,K=new vt(I),Q=[],ce=function(pe){function _(Se){if(Se)try{pe(Se+"}")}catch{}}return function(Se,ne,Me,Ce,Pe,pt,At,Ye,nt,ft){switch(Se){case 1:if(nt===0&&ne.charCodeAt(0)===64)return pe(ne+";"),"";break;case 2:if(Ye===0)return ne+"/*|*/";break;case 3:switch(Ye){case 102:case 112:return pe(Me[0]+ne),"";default:return ne+(ft===0?"/*|*/":"")}case-2:ne.split("/*|*/}").forEach(_)}}}(function(pe){Q.push(pe)}),Oe=function(pe,_,Se){return _===0&&Lr.indexOf(Se[o.length])!==-1||Se.match(y)?pe:"."+n};function re(pe,_,Se,ne){ne===void 0&&(ne="&");var Me=pe.replace(Dr,""),Ce=_&&Se?Se+" "+_+" { "+Me+" }":Me;return n=ne,o=_,f=new RegExp("\\"+o+"\\b","g"),y=new RegExp("(\\"+o+"\\b){2,}"),K(Se||!_?"":_,Ce)}return K.use([].concat(k,[function(pe,_,Se){pe===2&&Se.length&&Se[0].lastIndexOf(o)>0&&(Se[0]=Se[0].replace(f,Oe))},ce,function(pe){if(pe===-2){var _=Q;return Q=[],_}}])),re.hash=k.length?k.reduce(function(pe,_){return _.name||Be(15),xt(pe,_.name)},5381).toString():"",re}var Kt=ye.createContext(),Pn=Kt.Consumer,Yt=ye.createContext(),fr=(Yt.Consumer,new wt),Xt=pr();function Zt(){return(0,ye.useContext)(Kt)||fr}function dr(){return(0,ye.useContext)(Yt)||Xt}function Nr(t){var n=(0,ye.useState)(t.stylisPlugins),o=n[0],f=n[1],y=Zt(),x=(0,ye.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]),O=(0,ye.useMemo)(function(){return pr({options:{prefix:!t.disableVendorPrefixes},plugins:o})},[t.disableVendorPrefixes,o]);return(0,ye.useEffect)(function(){$e()(o,t.stylisPlugins)||f(t.stylisPlugins)},[t.stylisPlugins]),ye.createElement(Kt.Provider,{value:x},ye.createElement(Yt.Provider,{value:O},t.children))}var hr=function(){function t(n,o){var f=this;this.inject=function(y,x){x===void 0&&(x=Xt);var O=f.name+x.hash;y.hasNameForId(f.id,O)||y.insertRules(f.id,O,x(f.rules,O,"@keyframes"))},this.toString=function(){return Be(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}(),zr=/([A-Z])/,Ur=/([A-Z])/g,Br=/^ms-/,Gr=function(t){return"-"+t.toLowerCase()};function gr(t){return zr.test(t)?t.replace(Ur,Gr).replace(Br,"-ms-"):t}var mr=function(t){return t==null||t===!1||t===""};function gt(t,n,o,f){if(Array.isArray(t)){for(var y,x=[],O=0,I=t.length;O<I;O+=1)(y=gt(t[O],n,o,f))!==""&&(Array.isArray(y)?x.push.apply(x,y):x.push(y));return x}if(mr(t))return"";if(jt(t))return"."+t.styledComponentId;if(at(t)){if(typeof(k=t)!="function"||k.prototype&&k.prototype.isReactComponent||!n)return t;var N=t(n);return gt(N,n,o,f)}var k;return t instanceof hr?o?(t.inject(o,f),t.getName(f)):t:be(t)?function K(Q,ce){var Oe,re,pe=[];for(var _ in Q)Q.hasOwnProperty(_)&&!mr(Q[_])&&(Array.isArray(Q[_])&&Q[_].isCss||at(Q[_])?pe.push(gr(_)+":",Q[_],";"):be(Q[_])?pe.push.apply(pe,K(Q[_],_)):pe.push(gr(_)+": "+(Oe=_,(re=Q[_])==null||typeof re=="boolean"||re===""?"":typeof re!="number"||re===0||Oe in A||Oe.startsWith("--")?String(re).trim():re+"px")+";"));return ce?[ce+" {"].concat(pe,["}"]):pe}(t):t.toString()}var vr=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function It(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 at(t)||be(t)?vr(gt(xe(De,[t].concat(o)))):o.length===0&&t.length===1&&typeof t[0]=="string"?t:vr(gt(xe(t,o)))}var Rn=/invalid hook call/i,$n=new Set,Fn=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},Hr=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Vr=/(^-|-$)/g;function Qt(t){return t.replace(Hr,"-").replace(Vr,"")}var _t=function(t){return Wt(lr(t)>>>0)};function Ut(t){return typeof t=="string"&&!0}var qt=function(t){return typeof t=="function"||typeof t=="object"&&t!==null&&!Array.isArray(t)},Wr=function(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"};function Kr(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,x=o;y<x.length;y++){var O=x[y];if(qt(O))for(var I in O)Wr(I)&&Kr(t,O[I],I)}return t}var mt=ye.createContext(),Mn=mt.Consumer;function kn(t){var n=s(mt),o=i(function(){return function(f,y){if(!f)return Be(14);if(at(f)){var x=f(y);return x}return Array.isArray(f)||typeof f!="object"?Be(8):y?ee({},y,{},f):f}(t.theme,n)},[t.theme,n]);return t.children?r.createElement(mt.Provider,{value:o},t.children):null}var er={};function br(t,n,o){var f=jt(t),y=!Ut(t),x=n.attrs,O=x===void 0?De:x,I=n.componentId,N=I===void 0?function(ne,Me){var Ce=typeof ne!="string"?"sc":Qt(ne);er[Ce]=(er[Ce]||0)+1;var Pe=Ce+"-"+_t("5.3.11"+Ce+er[Ce]);return Me?Me+"-"+Pe:Pe}(n.displayName,n.parentComponentId):I,k=n.displayName,K=k===void 0?function(ne){return Ut(ne)?"styled."+ne:"Styled("+Tt(ne)+")"}(t):k,Q=n.displayName&&n.componentId?Qt(n.displayName)+"-"+n.componentId:n.componentId||N,ce=f&&t.attrs?Array.prototype.concat(t.attrs,O).filter(Boolean):O,Oe=n.shouldForwardProp;f&&t.shouldForwardProp&&(Oe=n.shouldForwardProp?function(ne,Me,Ce){return t.shouldForwardProp(ne,Me,Ce)&&n.shouldForwardProp(ne,Me,Ce)}:t.shouldForwardProp);var re,pe=new kr(o,Q,f?t.componentStyle:void 0),_=pe.isStatic&&O.length===0,Se=function(ne,Me){return function(Ce,Pe,pt,At){var Ye=Ce.attrs,nt=Ce.componentStyle,ft=Ce.defaultProps,Et=Ce.foldedComponentIds,We=Ce.shouldForwardProp,Ze=Ce.styledComponentId,ot=Ce.target,He=function(Z,E,fe){Z===void 0&&(Z=_e);var M=ee({},E,{theme:Z}),je={};return fe.forEach(function(de){var me,J,Ne,Ve=de;for(me in at(Ve)&&(Ve=Ve(M)),Ve)M[me]=je[me]=me==="className"?(J=je[me],Ne=Ve[me],J&&Ne?J+" "+Ne:J||Ne):Ve[me]}),[M,je]}(Jt(Pe,(0,ye.useContext)(mt),ft)||_e,Pe,Ye),Pt=He[0],Je=He[1],Xe=function(Z,E,fe,M){var je=Zt(),de=dr(),me=E?Z.generateAndInjectStyles(_e,je,de):Z.generateAndInjectStyles(fe,je,de);return me}(nt,At,Pt,void 0),Rt=pt,Ot=Je.$as||Pe.$as||Je.as||Pe.as||ot,$t=Ut(Ot),B=Je!==Pe?ee({},Pe,{},Je):Pe,z={};for(var U in B)U[0]!=="$"&&U!=="as"&&(U==="forwardedAs"?z.as=B[U]:(We?We(U,le,Ot):!$t||le(U))&&(z[U]=B[U]));return Pe.style&&Je.style!==Pe.style&&(z.style=ee({},Pe.style,{},Je.style)),z.className=Array.prototype.concat(Et,Ze,Xe!==Ze?Xe:null,Pe.className,Je.className).filter(Boolean).join(" "),z.ref=Rt,(0,ye.createElement)(Ot,z)}(re,ne,Me,_)};return Se.displayName=K,(re=ye.forwardRef(Se)).attrs=ce,re.componentStyle=pe,re.displayName=K,re.shouldForwardProp=Oe,re.foldedComponentIds=f?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):De,re.styledComponentId=Q,re.target=f?t.target:t,re.withComponent=function(ne){var Me=n.componentId,Ce=function(pt,At){if(pt==null)return{};var Ye,nt,ft={},Et=Object.keys(pt);for(nt=0;nt<Et.length;nt++)Ye=Et[nt],At.indexOf(Ye)>=0||(ft[Ye]=pt[Ye]);return ft}(n,["componentId"]),Pe=Me&&Me+"-"+(Ut(ne)?ne:Qt(Tt(ne)));return br(ne,ee({},Ce,{attrs:ce,componentId:Pe}),o)},Object.defineProperty(re,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(ne){this._foldedDefaultProps=f?yr({},t.defaultProps,ne):ne}}),Object.defineProperty(re,"toString",{value:function(){return"."+re.styledComponentId}}),y&&Ee()(re,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),re}var wr=function(t){return function n(o,f,y){if(y===void 0&&(y=_e),!(0,Le.isValidElementType)(f))return Be(1,String(f));var x=function(){return o(f,y,It.apply(void 0,arguments))};return x.withConfig=function(O){return n(o,f,ee({},y,{},O))},x.attrs=function(O){return n(o,f,ee({},y,{attrs:Array.prototype.concat(y.attrs,O).filter(Boolean)}))},x}(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){wr[t]=wr(t)});var Yr=function(){function t(o,f){this.rules=o,this.componentId=f,this.isStatic=ur(o),wt.registerId(this.componentId+1)}var n=t.prototype;return n.createStyles=function(o,f,y,x){var O=x(gt(this.rules,f,y,x).join(""),""),I=this.componentId+o;y.insertRules(I,I,O)},n.removeStyles=function(o,f){f.clearRules(this.componentId+o)},n.renderStyles=function(o,f,y,x){o>2&&wt.registerId(this.componentId+o),this.removeStyles(o,y),this.createStyles(o,f,y,x)},t}();function Dn(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=It.apply(void 0,[t].concat(o)),x="sc-global-"+_t(JSON.stringify(y)),O=new Yr(y,x);function I(k){var K=Zt(),Q=dr(),ce=s(mt),Oe=c(K.allocateGSInstance(x)).current;return K.server&&N(Oe,k,K,ce,Q),l(function(){if(!K.server)return N(Oe,k,K,ce,Q),function(){return O.removeStyles(Oe,K)}},[Oe,k,K,ce,Q]),null}function N(k,K,Q,ce,Oe){if(O.isStatic)O.renderStyles(k,lt,Q,Oe);else{var re=ee({},K,{theme:Jt(K,ce,I.defaultProps)});O.renderStyles(k,re,Q,Oe)}}return r.memo(I)}function Ln(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=It.apply(void 0,[t].concat(o)).join(""),x=_t(y);return new hr(x,y)}var Nn=function(){function t(){var o=this;this._emitSheetCSS=function(){var f=o.instance.toString();if(!f)return"";var y=Ke();return"<style "+[y&&'nonce="'+y+'"',qe+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+f+"</style>"},this.getStyleTags=function(){return o.sealed?Be(2):o._emitSheetCSS()},this.getStyleElement=function(){var f;if(o.sealed)return Be(2);var y=((f={})[qe]="",f["data-styled-version"]="5.3.11",f.dangerouslySetInnerHTML={__html:o.instance.toString()},f),x=Ke();return x&&(y.nonce=x),[ye.createElement("style",ee({},y,{key:"sc-0-0"}))]},this.seal=function(){o.sealed=!0},this.instance=new wt({isServer:!0}),this.sealed=!1}var n=t.prototype;return n.collectStyles=function(o){return this.sealed?Be(2):ye.createElement(Nr,{sheet:this.instance},o)},n.interleaveWithNodeStream=function(o){return Be(3)},t}(),zn=function(t){var n=r.forwardRef(function(o,f){var y=s(mt),x=t.defaultProps,O=Jt(o,y,x);return r.createElement(t,ee({},o,{theme:O,ref:f}))});return m(n,t),n.displayName="WithTheme("+Tt(t)+")",n},Un=function(){return s(mt)},Bn={StyleSheet:wt,masterSheet:fr};const Gn=null,Xr=t=>Object.keys(t).reduce((n,o)=>(n[o]=(f,...y)=>It`
20
+ @media (max-width: ${t[o]}) {
21
+ ${It(f,...y)};
22
+ }
23
+ `,n),{}),Zr=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],400:t.colors.success[1],600:t.colors.success[2],900:t.colors.success[3],950:t.colors.success[4]},warning:{400:t.colors.warning[0],500:t.colors.warning[1],600:t.colors.warning[1],900:t.colors.warning[2],950:t.colors.warning[3]},danger:{200:t.colors.danger[0],400:t.colors.danger[1],600:t.colors.danger[2],900:t.colors.danger[3],950:t.colors.danger[4]}},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:Xr({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]}}),Jr=((t=ke())=>()=>Zr(t))(),Vn=()=>{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)}),xr=t=>Number(t.replace("px","")),Sr=()=>{const{width:t}=tr(),{breakpoints:n}=Jr();return t<=xr(n.small)?"small":t<=xr(n.medium)?"medium":"large"};var Qr=q(5402),_r=q.n(Qr),qr=q(5887),en=q.n(qr),tn=q(7579),rn=q.n(tn),nn=q(4339),on=q.n(nn),sn=q(2495),Ar=q.n(sn);const an=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"}}}}'),St="latest",rr=t=>t.replace(/([^:]\/)\/+/g,"$1"),Wn=t=>{const n=document.createElement("a");return n.href=t,n.href},Bt=t=>t?.replace?.(/\/?$/,"/"),cn=()=>window.navigator.userAgent.includes("jsdom");class ln{#e=an;#t;#r;constructor(n){this.#t=n?.version||St,this.#r=Bt(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)=>_r()(en()(this.#e,n,o));set=(n,o)=>rn()(this.#e,n,o);has=(n="")=>on()(this.#e,n);load=async n=>{const o=this.#t.match(/^(?:\d+\.\d+)*/g),f=n??`${this.#r}${o&&o[0]||St}/app.config.json`,y=await fetch(f);if(y.ok)try{const x=await y.json();this.#n(x)}catch(x){if(!n&&this.#t!==St)await this.load(`${this.#r}latest/app.config.json`);else throw new Error("Failed to parse app config",{cause:x})}else{if(!n&&this.#t!==St){await this.load(`${this.#r}latest/app.config.json`);return}throw new Error("Failed to load app config")}}}const un="microFrontendApps",pn=()=>!0,fn=t=>pn()?!0:t?t==="production":!0,dn=t=>t?new URL(t).pathname:"",hn=t=>{const n=document.createElement("a");return n.href=t,n.href},gn=(t,n)=>{const o=n.match(/^(?:\d+\.\d+)*/g);return t.replace(/{SYSTEM_VERSION}/,o&&o[0]||St)},Er=t=>!t||!t.length?!1:t.every(n=>typeof n=="string"),mn=(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(!Er(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(!Er(y.files))throw new Error("invalid value for development.files")}},vn=({id:t,config:n,version:o="latest"})=>{const{mode:f="production"}=n,y=fn(f)?n.production:n.development;n.production&&delete n.production,n.development&&delete n.development;const x=Ar()({id:t},{name:t,mode:"production",manifestPath:"./{SYSTEM_VERSION}/",securityContext:u.USER},n,y);return x.hostUrl=Bt(hn(x.hostUrl||"")),x.homeRoute=Bt(x.homeRoute)||dn(x.hostUrl),x.manifestPath=Bt(gn(x.manifestPath,o)),x};class yn{#e=[];init=({version:n,appConfig:o})=>{const f=o.get(un);if(!f)throw new Error("app.config.json is missing microFrontendApps section");this.#e=Object.keys(f).map(y=>(mn(y,f[y]),vn({id:y,config:f[y],version:n})))};getConfigById=n=>this.#e.find(o=>o.id===n)}const bn="ice-script-",wn=/(?:emuiDiagnostics|global|global-prod|emuiUserMonitoring)(?:..*)?.js/,xn=t=>!wn.test(t);class Sn{#e;constructor(n){this.#e=n}add=({name:n,hostUrl:o,documentEle:f,fileName:y,index:x})=>new Promise((O,I)=>{const N=new URL(y,o),k=f.createElement("script");k.id=`${bn}${n.toLowerCase()}-${x}`,k.src=rr(N.href),k.onload=O.bind(null,k.id),k.onerror=K=>{I(new Error(`Unable to load script ${k.src}`,{cause:new Error(K)}))},k.async=!1,!cn()&&xn(k.src)&&(k.defer=!0),f.head.appendChild(k)});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 x=y.length-1;x>=0;x-=1){const O=y[x],{src:I}=O;f.test(I)&&O.remove()}};removePrefetchLinks=(n,o)=>{const f=new RegExp(n,"i"),y=o.querySelectorAll('[rel="prefetch"]');for(let x=y.length-1;x>=0;x-=1){const O=y[x],{href:I}=O;f.test(I)&&O.remove()}}}const An="ice-style-";class En{#e;constructor(n){this.#e=n}add=({name:n,hostUrl:o,documentEle:f,fileName:y,index:x})=>new Promise((O,I)=>{const N=f.createElement("link");N.id=`${An}${n.toLowerCase()}-${x}`,N.rel="stylesheet";const k=new URL(y,o);N.href=rr(k.href),N.onload=O.bind(null,N.id),N.onerror=K=>{I(new Error(`Unable to load stylesheet ${N.href}`,{cause:new Error(K)}))},f.head.appendChild(N)});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 x=y.length-1;x>=0;x-=1){const O=y[x],{href:I}=O;f.test(I)&&O.remove()}}}const Or=t=>t.replace(/\/\d+\.\d+/,"/latest"),On=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:x}=f;if((x?.get?.("content-type")??"").includes("application/json"))return await f.json();throw new Error(`manifest ${o.href} is not a valid json`)}const y=Or(n);if(n!==y)return Cr({hostUrl:t,manifestPath:Or(n)});throw new Error(`unable to get manifest ${o.href}`)},Tr={get:Cr,getFullFileNameofAssets:(t,n=[])=>n.reduce((o,f)=>{const y=t[f];if(y)o.push(y);else if(On(f))o.push(f);else throw new Error(`unable to locate ${f} in manifest`);return o},[])};class Cn{#e;#t;#r;#n;#o;constructor(n){this.#t=n.guest,this.#e=n.logger,this.#r=n?.version||St,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(`${ie}${o}`);y&&(y.style.height=`${f.height}px`)};subscribe=(n,o)=>(0,b.subscribe)(n,o);unsubscribe=n=>{(0,b.unsubscribe)(n)}}const jr="pui-app-container-",Tn=/\.css$/,jn=t=>Tn.test(t);class In{#e;#t;#r;#n;#o;#s=new yn;#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 ln({version:n.version,baseUrl:n.appConfigBaseUrl}),this.#r=new Sn(o),this.#n=new En(o),this.#i=new C,this.#c=new se}#f=(n,o=document)=>{const{elementIds:f}=this.#a.get(n)||{};f&&f.forEach(y=>{const x=o.getElementById(y);x&&x.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:x,manifestPath:O,homeRoute:I,history:N,theme:k,documentEle:K}=n;return Promise.all(o).then(this.#d.bind(null,f,K)).then(this.#g.bind(null,{id:f,name:y,hostUrl:x,manifestPath:O,homeRoute:I,history:N,theme:k})).catch(Q=>{const ce=`Application load failed. Unable to load one or more resources for appId: ${n.id}. ${Q.message}`;throw this.#e.error({message:ce,appId:n.id,exception:Q}),new Error(ce)})};#g=async({id:n,name:o,hostUrl:f,manifestPath:y,homeRoute:x,history:O,theme:I})=>{const N=window.emui?.[n];if(!N)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(!N.init||typeof N.init!="function")throw new Error(`Application ${o} with id ${n} doesn't expose init method`);const k=new Cn({guest:{id:n},version:this.#t,logger:this.#e,soManager:this.#i,eventManager:this.#c});return N.init({host:k,hostUrl:f,manifestPath:y,homeRoute:x,prevState:null,history:O,theme:I,hostBreakpoint:Sr(),hostViewportSize:tr(),logger:this.#e})};#m=async n=>{const{id:o,files:f,name:y,hostUrl:x,documentEle:O}=n;this.#e.debug(`Application ${o} is loading...`);let I=f;const N=await Tr.get(n);I=Tr.getFullFileNameofAssets(N,f);let k=0;const K=I.map(Q=>{k+=1;const ce={name:y,hostUrl:x,documentEle:O,fileName:Q,index:k};return jn(Q)?this.#n.add(ce):this.#r.add(ce)});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:`${jr}${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:`${jr}${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 x=W.get(n);if(!x?.contentDocument)throw new Error(`Iframe for application with id ${n} is not found`);this.#l({id:n,hostUrl:y,documentEle:x.contentDocument}),this.#i.removeAllScriptingObjects(n),W.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:x}=n,O=this.#s.getConfigById(o);if(!O)throw new Error(`Application with id ${o} is not found`);if(W.get(o))throw new Error(`Application with id ${o} is already open`);const I=await W.create(o,{title:O.name,...f});if(!I?.contentDocument)throw new Error("unable to create iframe for the microapp");try{return await this.#m({...O,history:y,theme:x,documentEle:I.contentDocument}),await this.#u(O),this.#a.get(o)?.guest}catch(N){throw this.#l({id:o,hostUrl:O.hostUrl,documentEle:I.contentDocument}),W.remove(o),N}};publish=(n,o)=>(0,b.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)}}})(),Ht})());
24
+
25
+ //# sourceMappingURL=emuiAppBridge.fbafa4024fd77d5e13a1.js.map