@elliemae/pui-app-bridge 2.6.3 → 2.6.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.554cbf2ff53dbb3c84b8.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.b3a981155e0eb9bcdf31.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.554cbf2ff53dbb3c84b8.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.b3a981155e0eb9bcdf31.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>
@@ -13,7 +13,7 @@
13
13
  *
14
14
  * This source code is licensed under the MIT license found in the
15
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"),T=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),k=Symbol.iterator;function G(A){return A===null||typeof A!="object"?null:(A=k&&A[k]||A["@@iterator"],typeof A=="function"?A:null)}var H={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,I={};function $(A,F,te){this.props=A,this.context=F,this.refs=I,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 Y(A,F,te){this.props=A,this.context=F,this.refs=I,this.updater=te||H}var N=Y.prototype=new V;N.constructor=Y,C(N,$.prototype),N.isPureReactComponent=!0;var le=Array.isArray,P=Object.prototype.hasOwnProperty,re={current:null},ye={key:!0,ref:!0,__self:!0,__source:!0};function xe(A,F,te){var me,ue={},ee=null,Oe=null;if(F!=null)for(me in F.ref!==void 0&&(Oe=F.ref),F.key!==void 0&&(ee=""+F.key),F)P.call(F,me)&&!ye.hasOwnProperty(me)&&(ue[me]=F[me]);var Se=arguments.length-2;if(Se===1)ue.children=te;else if(1<Se){for(var be=Array(Se),je=0;je<Se;je++)be[je]=arguments[je+2];ue.children=be}if(A&&A.defaultProps)for(me in Se=A.defaultProps,Se)ue[me]===void 0&&(ue[me]=Se[me]);return{$$typeof:e,type:A,key:ee,ref:Oe,props:ue,_owner:re.current}}function Ee(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 we(A){var F={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(te){return F[te]})}var X=/\/+/g;function $e(A,F){return typeof A=="object"&&A!==null&&A.key!=null?we(""+A.key):F.toString(36)}function ie(A,F,te,me,ue){var ee=typeof A;(ee==="undefined"||ee==="boolean")&&(A=null);var Oe=!1;if(A===null)Oe=!0;else switch(ee){case"string":case"number":Oe=!0;break;case"object":switch(A.$$typeof){case e:case a:Oe=!0}}if(Oe)return Oe=A,ue=ue(Oe),A=me===""?"."+$e(Oe,0):me,le(ue)?(te="",A!=null&&(te=A.replace(X,"$&/")+"/"),ie(ue,F,te,"",function(je){return je})):ue!=null&&(Ie(ue)&&(ue=Ee(ue,te+(!ue.key||Oe&&Oe.key===ue.key?"":(""+ue.key).replace(X,"$&/")+"/")+A)),F.push(ue)),1;if(Oe=0,me=me===""?".":me+":",le(A))for(var Se=0;Se<A.length;Se++){ee=A[Se];var be=me+$e(ee,Se);Oe+=ie(ee,F,te,be,ue)}else if(be=G(A),typeof be=="function")for(A=be.call(A),Se=0;!(ee=A.next()).done;)ee=ee.value,be=me+$e(ee,Se++),Oe+=ie(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 Oe}function Ke(A,F,te){if(A==null)return A;var me=[],ue=0;return ie(A,me,"","",function(ee){return F.call(te,ee,ue++)}),me}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 Me={current:null},st={transition:null},gt={ReactCurrentDispatcher:Me,ReactCurrentBatchConfig:st,ReactCurrentOwner:re};function mt(){throw Error("act(...) is not supported in production builds of React.")}h.Children={map:Ke,forEach:function(A,F,te){Ke(A,function(){F.apply(this,arguments)},te)},count:function(A){var F=0;return Ke(A,function(){F++}),F},toArray:function(A){return Ke(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=Y,h.StrictMode=d,h.Suspense=S,h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gt,h.act=mt,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 me=C({},A.props),ue=A.key,ee=A.ref,Oe=A._owner;if(F!=null){if(F.ref!==void 0&&(ee=F.ref,Oe=re.current),F.key!==void 0&&(ue=""+F.key),A.type&&A.type.defaultProps)var Se=A.type.defaultProps;for(be in F)P.call(F,be)&&!ye.hasOwnProperty(be)&&(me[be]=F[be]===void 0&&Se!==void 0?Se[be]:F[be])}var be=arguments.length-2;if(be===1)me.children=te;else if(1<be){Se=Array(be);for(var je=0;je<be;je++)Se[je]=arguments[je+2];me.children=Se}return{$$typeof:e,type:A.type,key:ue,ref:ee,props:me,_owner:Oe}},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=xe,h.createFactory=function(A){var F=xe.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:T,type:A,compare:F===void 0?null:F}},h.startTransition=function(A){var F=st.transition;st.transition={};try{A()}finally{st.transition=F}},h.unstable_act=mt,h.useCallback=function(A,F){return Me.current.useCallback(A,F)},h.useContext=function(A){return Me.current.useContext(A)},h.useDebugValue=function(){},h.useDeferredValue=function(A){return Me.current.useDeferredValue(A)},h.useEffect=function(A,F){return Me.current.useEffect(A,F)},h.useId=function(){return Me.current.useId()},h.useImperativeHandle=function(A,F,te){return Me.current.useImperativeHandle(A,F,te)},h.useInsertionEffect=function(A,F){return Me.current.useInsertionEffect(A,F)},h.useLayoutEffect=function(A,F){return Me.current.useLayoutEffect(A,F)},h.useMemo=function(A,F){return Me.current.useMemo(A,F)},h.useReducer=function(A,F,te){return Me.current.useReducer(A,F,te)},h.useRef=function(A){return Me.current.useRef(A)},h.useState=function(A){return Me.current.useState(A)},h.useSyncExternalStore=function(A,F,te){return Me.current.useSyncExternalStore(A,F,te)},h.useTransition=function(){return Me.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 T=v[S];if(!w(T))return!1;var R=e[T],k=a[T];if(g=p?p.call(d,R,k,T):void 0,g===!1||g===void 0&&R!==k)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 Gt={};return(()=>{"use strict";q.r(Gt),q.d(Gt,{CAppBridge:()=>jn,Event:()=>h,ScriptingObject:()=>g,SecurityContext:()=>u});var u=(t=>(t.USER="USER",t.PARTNER="PARTNER",t))(u||{});class h{scriptingObject;name;objectId;requiresFeedback;id;constructor(n){const{name:o,requiresFeedback:f=!1,so:y}=n;if(!o)throw new Error("Event name is required");if(!y)throw new Error("Scripting object is required");this.scriptingObject=y,this.objectId=y.id,this.name=o,this.id=`${this.objectId}.${this.name}`.toLowerCase(),this.requiresFeedback=f}}const e=t=>t instanceof h,a=(t,n)=>`${t.toLowerCase()}.${n.toLowerCase()}`,p="function",d=(t,n)=>typeof t===p&&!!n&&!n.startsWith("_");class g{#e;#t="Object";constructor(n,o){this.#e=n,this.#t=o||this.#t}get id(){return this.#e}get objectType(){return this.#t}_toJSON=()=>{const n=[],o=[];return Object.keys(this).forEach(f=>{const y=this[f];e(y)?o.push(f):d(y,f)&&n.push(f)}),{objectId:this.#e,objectType:this.#t,functions:n,events:o}};_dispose=()=>{};dispose=()=>{}}var v=q(9442);const b="module";var w=(t=>(t.USER="USER",t.PARTNER="PARTNER",t))(w||{});class S{#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})=>{n===b&&!o&&this.#t.forEach(y=>{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(...j){const L=this;return Object.defineProperty(O,"callContext",{value:o,enumerable:!1,writable:!0}),O.apply(L===x?f:L,j)}: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()===b&&!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 R={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let k;const G=new Uint8Array(16);function H(){if(!k&&(k=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!k))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return k(G)}const C=[];for(let t=0;t<256;++t)C.push((t+256).toString(16).slice(1));function I(t,n=0){return C[t[n+0]]+C[t[n+1]]+C[t[n+2]]+C[t[n+3]]+"-"+C[t[n+4]]+C[t[n+5]]+"-"+C[t[n+6]]+C[t[n+7]]+"-"+C[t[n+8]]+C[t[n+9]]+"-"+C[t[n+10]]+C[t[n+11]]+C[t[n+12]]+C[t[n+13]]+C[t[n+14]]+C[t[n+15]]}function $(t,n=0){const o=I(t,n);if(!validate(o))throw TypeError("Stringified UUID is invalid");return o}const V=null;function Y(t,n,o){if(R.randomUUID&&!n&&!t)return R.randomUUID();t=t||{};const f=t.random||(t.rng||H)();if(f[6]=f[6]&15|64,f[8]=f[8]&63|128,n){o=o||0;for(let y=0;y<16;++y)n[o+y]=f[y];return n}return I(f)}const N=Y,le=(t,n=[])=>{const o=n||[];return t&&t.forEach?t.forEach(f=>{le(f,o)}):typeof t<"u"&&o.push(t),o};class P{#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 j=(this.#e.get(n)||[]).map(D=>this.#t(D.callback({obj:f,eventName:o,eventParams:y}),x)),L=await Promise.all(j);return le(L)};dispatchEvent=async n=>{const{event:{id:o,name:f,requiresFeedback:y,scriptingObject:x},eventParams:O,feedbackWaitTime:j=1e3}=n;if(!o)throw new Error("Event Id is required");const L=this.#e.get(o)||[];return y?this.#n({eventId:o,eventName:f,scriptingObject:x,eventParams:O,feedbackWaitTime:j}):(this.#r({eventName:f,scriptingObject:x,eventParams:O,listeners:L}),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=N();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 re="pui-iframe-container-",ye="pui-app-container-",we={create:(t,n)=>new Promise((o,f)=>{const y=document.createElement("div");y.setAttribute("style","display: flex;width: 100%;height: 100%;flex-direction: column;overflow: hidden;");const x=document.createElement("iframe");x.setAttribute("id",`${re}${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 D=x.contentDocument.getElementById(ye);D&&(D.id=`${D.id}${t}`),o(x)}),y.appendChild(x);const{containerId:O}=n;(document.getElementById(O??"")??document.body).appendChild(y)}),remove:t=>{const n=document.getElementById(`${re}${t}`);n&&n.remove()},get:t=>document.getElementById(`${re}${t}`)},X=()=>({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 $e=q(7020),ie=q(2155),Ke=q(162),Ct=q.n(Ke);function Me(t){function n(B,z,U,Z,E){for(var de=0,M=0,Pe=0,he=0,ve,J,Ne=0,Ge=0,se,Ue=se=ve=0,ge=0,Le=0,$t=0,ze=0,Bt=U.length,Mt=Bt-1,_e,K="",Fe="",nr="",or="",ut;ge<Bt;){if(J=U.charCodeAt(ge),ge===Mt&&M+he+Pe+de!==0&&(M!==0&&(J=M===47?10:47),he=Pe=de=0,Bt++,Mt++),M+he+Pe+de===0){if(ge===Mt&&(0<Le&&(K=K.replace(ce,"")),0<K.trim().length)){switch(J){case 32:case 9:case 59:case 13:case 10:break;default:K+=U.charAt(ge)}J=59}switch(J){case 123:for(K=K.trim(),ve=K.charCodeAt(0),se=1,ze=++ge;ge<Bt;){switch(J=U.charCodeAt(ge)){case 123:se++;break;case 125:se--;break;case 47:switch(J=U.charCodeAt(ge+1)){case 42:case 47:e:{for(Ue=ge+1;Ue<Mt;++Ue)switch(U.charCodeAt(Ue)){case 47:if(J===42&&U.charCodeAt(Ue-1)===42&&ge+2!==Ue){ge=Ue+1;break e}break;case 10:if(J===47){ge=Ue+1;break e}}ge=Ue}}break;case 91:J++;case 40:J++;case 34:case 39:for(;ge++<Mt&&U.charCodeAt(ge)!==J;);}if(se===0)break;ge++}switch(se=U.substring(ze,ge),ve===0&&(ve=(K=K.replace(Q,"").trim()).charCodeAt(0)),ve){case 64:switch(0<Le&&(K=K.replace(ce,"")),J=K.charCodeAt(1),J){case 100:case 109:case 115:case 45:Le=z;break;default:Le=It}if(se=n(z,Le,se,J,E+1),ze=se.length,0<Xe&&(Le=o(It,K,$t),ut=j(3,se,Le,z,Je,We,ze,J,E,Z),K=Le.join(""),ut!==void 0&&(ze=(se=ut.trim()).length)===0&&(J=0,se="")),0<ze)switch(J){case 115:K=K.replace(ct,O);case 100:case 109:case 45:se=K+"{"+se+"}";break;case 107:K=K.replace(oe,"$1 $2"),se=K+"{"+se+"}",se=Be===1||Be===2&&x("@"+se,3)?"@-webkit-"+se+"@"+se:"@"+se;break;default:se=K+se,Z===112&&(se=(Fe+=se,""))}else se="";break;default:se=n(z,o(z,K,$t),se,Z,E+1)}nr+=se,se=$t=Le=Ue=ve=0,K="",J=U.charCodeAt(++ge);break;case 125:case 59:if(K=(0<Le?K.replace(ce,""):K).trim(),1<(ze=K.length))switch(Ue===0&&(ve=K.charCodeAt(0),ve===45||96<ve&&123>ve)&&(ze=(K=K.replace(" ",":")).length),0<Xe&&(ut=j(1,K,z,B,Je,We,Fe.length,Z,E,Z))!==void 0&&(ze=(K=ut.trim()).length)===0&&(K="\0\0"),ve=K.charCodeAt(0),J=K.charCodeAt(1),ve){case 0:break;case 64:if(J===105||J===99){or+=K+U.charAt(ge);break}default:K.charCodeAt(ze-1)!==58&&(Fe+=y(K,ve,J,K.charCodeAt(2)))}$t=Le=Ue=ve=0,K="",J=U.charCodeAt(++ge)}}switch(J){case 13:case 10:M===47?M=0:1+ve===0&&Z!==107&&0<K.length&&(Le=1,K+="\0"),0<Xe*Ot&&j(0,K,z,B,Je,We,Fe.length,Z,E,Z),We=1,Je++;break;case 59:case 125:if(M+he+Pe+de===0){We++;break}default:switch(We++,_e=U.charAt(ge),J){case 9:case 32:if(he+de+M===0)switch(Ne){case 44:case 58:case 9:case 32:_e="";break;default:J!==32&&(_e=" ")}break;case 0:_e="\\0";break;case 12:_e="\\f";break;case 11:_e="\\v";break;case 38:he+M+de===0&&(Le=$t=1,_e="\f"+_e);break;case 108:if(he+M+de+rt===0&&0<Ue)switch(ge-Ue){case 2:Ne===112&&U.charCodeAt(ge-3)===58&&(rt=Ne);case 8:Ge===111&&(rt=Ge)}break;case 58:he+M+de===0&&(Ue=ge);break;case 44:M+Pe+he+de===0&&(Le=1,_e+="\r");break;case 34:case 39:M===0&&(he=he===J?0:he===0?J:he);break;case 91:he+M+Pe===0&&de++;break;case 93:he+M+Pe===0&&de--;break;case 41:he+M+de===0&&Pe--;break;case 40:if(he+M+de===0){if(ve===0)switch(2*Ne+3*Ge){case 533:break;default:ve=1}Pe++}break;case 64:M+Pe+he+de+Ue+se===0&&(se=1);break;case 42:case 47:if(!(0<he+de+Pe))switch(M){case 0:switch(2*J+3*U.charCodeAt(ge+1)){case 235:M=47;break;case 220:ze=ge,M=42}break;case 42:J===47&&Ne===42&&ze+2!==ge&&(U.charCodeAt(ze+2)===33&&(Fe+=U.substring(ze,ge+1)),_e="",M=0)}}M===0&&(K+=_e)}Ge=Ne,Ne=J,ge++}if(ze=Fe.length,0<ze){if(Le=z,0<Xe&&(ut=j(2,Fe,Le,B,Je,We,ze,Z,E,Z),ut!==void 0&&(Fe=ut).length===0))return or+Fe+nr;if(Fe=Le.join(",")+"{"+Fe+"}",Be*rt!==0){switch(Be!==2||x(Fe,2)||(rt=0),rt){case 111:Fe=Fe.replace(Te,":-moz-$1")+Fe;break;case 112:Fe=Fe.replace(De,"::-webkit-input-$1")+Fe.replace(De,"::-moz-$1")+Fe.replace(De,":-ms-input-$1")+Fe}rt=0}}return or+Fe+nr}function o(B,z,U){var Z=z.trim().split(_);z=Z;var E=Z.length,de=B.length;switch(de){case 0:case 1:var M=0;for(B=de===0?"":B[0]+" ";M<E;++M)z[M]=f(B,z[M],U).trim();break;default:var Pe=M=0;for(z=[];M<E;++M)for(var he=0;he<de;++he)z[Pe++]=f(B[he]+" ",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(Ae,"$1"+B.trim());case 58:return B.trim()+z.replace(Ae,"$1"+B.trim());default:if(0<1*U&&0<z.indexOf("\f"))return z.replace(Ae,(B.charCodeAt(0)===58?"":"$1")+B.trim())}return B+z}function y(B,z,U,Z){var E=B+";",de=2*z+3*U+4*Z;if(de===944){B=E.indexOf(":",9)+1;var M=E.substring(B,E.length-1).trim();return M=E.substring(0,B).trim()+M+";",Be===1||Be===2&&x(M,1)?"-webkit-"+M+M:M}if(Be===0||Be===2&&!x(E,1))return E;switch(de){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 ne.test(E)?E.replace(Ce,":-webkit-")+E.replace(Ce,":-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(Re,"tb");break;case 232:M=E.replace(Re,"tb-rl");break;case 220:M=E.replace(Re,"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(),de=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<de?"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(lt.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(fe,"$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(tt,"$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 j(B,z,U,Z,E,de,M,Pe,he,ve){for(var J=0,Ne=z,Ge;J<Xe;++J)switch(Ge=Qe[J].call(W,B,Ne,U,Z,E,de,M,Pe,he,ve)){case void 0:case!1:case!0:case null:break;default:Ne=Ge}if(Ne!==z)return Ne}function L(B){switch(B){case void 0:case null:Xe=Qe.length=0;break;default:if(typeof B=="function")Qe[Xe++]=B;else if(typeof B=="object")for(var z=0,U=B.length;z<U;++z)L(B[z]);else Ot=!!B|0}return L}function D(B){return B=B.prefix,B!==void 0&&(Rt=null,B?typeof B!="function"?Be=1:(Be=2,Rt=B):Be=0),D}function W(B,z){var U=B;if(33>U.charCodeAt(0)&&(U=U.trim()),Ft=U,U=[Ft],0<Xe){var Z=j(-1,z,U,U,Je,We,0,0,0,0);Z!==void 0&&typeof Z=="string"&&(z=Z)}var E=n(It,U,z,0,0);return 0<Xe&&(Z=j(-2,E,U,U,Je,We,E.length,0,0,0),Z!==void 0&&(E=Z)),Ft="",rt=0,We=Je=1,E}var Q=/^\0+/g,ce=/[\0\r\f]/g,Ce=/: */g,ne=/zoo|gra/,fe=/([,: ])(transform)/g,_=/,\r+?/g,Ae=/([\t\r\n ])*\f?&/g,oe=/@(k\w+)\s*(\S*)\s*/,De=/::(place)/g,Te=/:(read-only)/g,Re=/[svh]\w+-[tblr]{2}/,ct=/\(\s*(.*)\s*\)/g,At=/([\s\S]*?);/g,Ye=/-self|flex-/g,tt=/[^]*?(:[rp][el]a[\w-]+)[^]*/,lt=/stretch|:\s*\w+\-(?:conte|avail)/,Et=/([^-])(image-set\()/,We=1,Je=1,rt=0,Be=1,It=[],Qe=[],Xe=0,Rt=null,Ot=0,Ft="";return W.use=L,W.set=D,t!==void 0&&D(t),W}const st=Me;var gt={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 mt=gt;function A(t){var n=Object.create(null);return function(o){return n[o]===void 0&&(n[o]=t(o)),n[o]}}var F=/^((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)-.*))$/,te=A(function(t){return F.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),me=q(4674),ue=q.n(me);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 Oe=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},Se=function(t){return t!==null&&typeof t=="object"&&(t.toString?t.toString():Object.prototype.toString.call(t))==="[object Object]"&&!(0,$e.typeOf)(t)},be=Object.freeze([]),je=Object.freeze({});function it(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",ir="5.3.11",pe=typeof window<"u"&&"HTMLElement"in window,vt=!!(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)),ae={},pt={};function ft(){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 He(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 yt=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&&He(16,""+o);this.groupSizes=new Uint32Array(O),this.groupSizes.set(y),this.length=O;for(var j=x;j<O;j++)this.groupSizes[j]=0}for(var L=this.indexOfGroup(o+1),D=0,W=f.length;D<W;D++)this.tag.insertRule(L,f[D])&&(this.groupSizes[o]++,L++)},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,j=x;j<O;j++)f+=this.tag.getRule(j)+`/*!sc*/
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"),T=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),k=Symbol.iterator;function G(A){return A===null||typeof A!="object"?null:(A=k&&A[k]||A["@@iterator"],typeof A=="function"?A:null)}var H={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,I={};function $(A,F,te){this.props=A,this.context=F,this.refs=I,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 Y(A,F,te){this.props=A,this.context=F,this.refs=I,this.updater=te||H}var N=Y.prototype=new V;N.constructor=Y,C(N,$.prototype),N.isPureReactComponent=!0;var le=Array.isArray,P=Object.prototype.hasOwnProperty,re={current:null},ye={key:!0,ref:!0,__self:!0,__source:!0};function xe(A,F,te){var me,ue={},ee=null,Oe=null;if(F!=null)for(me in F.ref!==void 0&&(Oe=F.ref),F.key!==void 0&&(ee=""+F.key),F)P.call(F,me)&&!ye.hasOwnProperty(me)&&(ue[me]=F[me]);var Se=arguments.length-2;if(Se===1)ue.children=te;else if(1<Se){for(var be=Array(Se),je=0;je<Se;je++)be[je]=arguments[je+2];ue.children=be}if(A&&A.defaultProps)for(me in Se=A.defaultProps,Se)ue[me]===void 0&&(ue[me]=Se[me]);return{$$typeof:e,type:A,key:ee,ref:Oe,props:ue,_owner:re.current}}function Ee(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 we(A){var F={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(te){return F[te]})}var X=/\/+/g;function $e(A,F){return typeof A=="object"&&A!==null&&A.key!=null?we(""+A.key):F.toString(36)}function ie(A,F,te,me,ue){var ee=typeof A;(ee==="undefined"||ee==="boolean")&&(A=null);var Oe=!1;if(A===null)Oe=!0;else switch(ee){case"string":case"number":Oe=!0;break;case"object":switch(A.$$typeof){case e:case a:Oe=!0}}if(Oe)return Oe=A,ue=ue(Oe),A=me===""?"."+$e(Oe,0):me,le(ue)?(te="",A!=null&&(te=A.replace(X,"$&/")+"/"),ie(ue,F,te,"",function(je){return je})):ue!=null&&(Ie(ue)&&(ue=Ee(ue,te+(!ue.key||Oe&&Oe.key===ue.key?"":(""+ue.key).replace(X,"$&/")+"/")+A)),F.push(ue)),1;if(Oe=0,me=me===""?".":me+":",le(A))for(var Se=0;Se<A.length;Se++){ee=A[Se];var be=me+$e(ee,Se);Oe+=ie(ee,F,te,be,ue)}else if(be=G(A),typeof be=="function")for(A=be.call(A),Se=0;!(ee=A.next()).done;)ee=ee.value,be=me+$e(ee,Se++),Oe+=ie(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 Oe}function Ke(A,F,te){if(A==null)return A;var me=[],ue=0;return ie(A,me,"","",function(ee){return F.call(te,ee,ue++)}),me}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 Me={current:null},st={transition:null},gt={ReactCurrentDispatcher:Me,ReactCurrentBatchConfig:st,ReactCurrentOwner:re};function mt(){throw Error("act(...) is not supported in production builds of React.")}h.Children={map:Ke,forEach:function(A,F,te){Ke(A,function(){F.apply(this,arguments)},te)},count:function(A){var F=0;return Ke(A,function(){F++}),F},toArray:function(A){return Ke(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=Y,h.StrictMode=d,h.Suspense=S,h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gt,h.act=mt,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 me=C({},A.props),ue=A.key,ee=A.ref,Oe=A._owner;if(F!=null){if(F.ref!==void 0&&(ee=F.ref,Oe=re.current),F.key!==void 0&&(ue=""+F.key),A.type&&A.type.defaultProps)var Se=A.type.defaultProps;for(be in F)P.call(F,be)&&!ye.hasOwnProperty(be)&&(me[be]=F[be]===void 0&&Se!==void 0?Se[be]:F[be])}var be=arguments.length-2;if(be===1)me.children=te;else if(1<be){Se=Array(be);for(var je=0;je<be;je++)Se[je]=arguments[je+2];me.children=Se}return{$$typeof:e,type:A.type,key:ue,ref:ee,props:me,_owner:Oe}},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=xe,h.createFactory=function(A){var F=xe.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:T,type:A,compare:F===void 0?null:F}},h.startTransition=function(A){var F=st.transition;st.transition={};try{A()}finally{st.transition=F}},h.unstable_act=mt,h.useCallback=function(A,F){return Me.current.useCallback(A,F)},h.useContext=function(A){return Me.current.useContext(A)},h.useDebugValue=function(){},h.useDeferredValue=function(A){return Me.current.useDeferredValue(A)},h.useEffect=function(A,F){return Me.current.useEffect(A,F)},h.useId=function(){return Me.current.useId()},h.useImperativeHandle=function(A,F,te){return Me.current.useImperativeHandle(A,F,te)},h.useInsertionEffect=function(A,F){return Me.current.useInsertionEffect(A,F)},h.useLayoutEffect=function(A,F){return Me.current.useLayoutEffect(A,F)},h.useMemo=function(A,F){return Me.current.useMemo(A,F)},h.useReducer=function(A,F,te){return Me.current.useReducer(A,F,te)},h.useRef=function(A){return Me.current.useRef(A)},h.useState=function(A){return Me.current.useState(A)},h.useSyncExternalStore=function(A,F,te){return Me.current.useSyncExternalStore(A,F,te)},h.useTransition=function(){return Me.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 T=v[S];if(!w(T))return!1;var R=e[T],k=a[T];if(g=p?p.call(d,R,k,T):void 0,g===!1||g===void 0&&R!==k)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 Gt={};return(()=>{"use strict";q.r(Gt),q.d(Gt,{CAppBridge:()=>jn,Event:()=>h,ScriptingObject:()=>g,SecurityContext:()=>u});var u=(t=>(t.USER="USER",t.PARTNER="PARTNER",t))(u||{});class h{scriptingObject;name;objectId;requiresFeedback;id;constructor(n){const{name:o,requiresFeedback:f=!1,so:y}=n;if(!o)throw new Error("Event name is required");if(!y)throw new Error("Scripting object is required");this.scriptingObject=y,this.objectId=y.id,this.name=o,this.id=`${this.objectId}.${this.name}`.toLowerCase(),this.requiresFeedback=f}}const e=t=>t instanceof h,a=(t,n)=>`${t.toLowerCase()}.${n.toLowerCase()}`,p="function",d=(t,n)=>typeof t===p&&!!n&&!n.startsWith("_");class g{#e;#t="Object";constructor(n,o){this.#e=n,this.#t=o||this.#t}get id(){return this.#e}get objectType(){return this.#t}_toJSON=()=>{const n=[],o=[];return Object.keys(this).forEach(f=>{const y=this[f];e(y)?o.push(f):d(y,f)&&n.push(f)}),{objectId:this.#e,objectType:this.#t,functions:n,events:o}};_dispose=()=>{};dispose=()=>{}}var v=q(9442);const b="module";var w=(t=>(t.USER="USER",t.PARTNER="PARTNER",t))(w||{});class S{#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===b&&!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(...j){const L=this;return Object.defineProperty(O,"callContext",{value:o,enumerable:!1,writable:!0}),O.apply(L===x?f:L,j)}: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()===b&&!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 R={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let k;const G=new Uint8Array(16);function H(){if(!k&&(k=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!k))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return k(G)}const C=[];for(let t=0;t<256;++t)C.push((t+256).toString(16).slice(1));function I(t,n=0){return C[t[n+0]]+C[t[n+1]]+C[t[n+2]]+C[t[n+3]]+"-"+C[t[n+4]]+C[t[n+5]]+"-"+C[t[n+6]]+C[t[n+7]]+"-"+C[t[n+8]]+C[t[n+9]]+"-"+C[t[n+10]]+C[t[n+11]]+C[t[n+12]]+C[t[n+13]]+C[t[n+14]]+C[t[n+15]]}function $(t,n=0){const o=I(t,n);if(!validate(o))throw TypeError("Stringified UUID is invalid");return o}const V=null;function Y(t,n,o){if(R.randomUUID&&!n&&!t)return R.randomUUID();t=t||{};const f=t.random||(t.rng||H)();if(f[6]=f[6]&15|64,f[8]=f[8]&63|128,n){o=o||0;for(let y=0;y<16;++y)n[o+y]=f[y];return n}return I(f)}const N=Y,le=(t,n=[])=>{const o=n||[];return t&&t.forEach?t.forEach(f=>{le(f,o)}):typeof t<"u"&&o.push(t),o};class P{#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 j=(this.#e.get(n)||[]).map(D=>this.#t(D.callback({obj:f,eventName:o,eventParams:y}),x)),L=await Promise.all(j);return le(L)};dispatchEvent=async n=>{const{event:{id:o,name:f,requiresFeedback:y,scriptingObject:x},eventParams:O,feedbackWaitTime:j=1e3}=n;if(!o)throw new Error("Event Id is required");const L=this.#e.get(o)||[];return y?this.#n({eventId:o,eventName:f,scriptingObject:x,eventParams:O,feedbackWaitTime:j}):(this.#r({eventName:f,scriptingObject:x,eventParams:O,listeners:L}),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=N();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 re="pui-iframe-container-",ye="pui-app-container-",we={create:(t,n)=>new Promise((o,f)=>{const y=document.createElement("div");y.setAttribute("style","display: flex;width: 100%;height: 100%;flex-direction: column;overflow: hidden;");const x=document.createElement("iframe");x.setAttribute("id",`${re}${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 D=x.contentDocument.getElementById(ye);D&&(D.id=`${D.id}${t}`),o(x)}),y.appendChild(x);const{containerId:O}=n;(document.getElementById(O??"")??document.body).appendChild(y)}),remove:t=>{const n=document.getElementById(`${re}${t}`);n&&n.remove()},get:t=>document.getElementById(`${re}${t}`)},X=()=>({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 $e=q(7020),ie=q(2155),Ke=q(162),Ct=q.n(Ke);function Me(t){function n(B,z,U,Z,E){for(var de=0,M=0,Pe=0,he=0,ve,J,Ne=0,Ge=0,se,Ue=se=ve=0,ge=0,Le=0,$t=0,ze=0,Bt=U.length,Mt=Bt-1,_e,K="",Fe="",nr="",or="",ut;ge<Bt;){if(J=U.charCodeAt(ge),ge===Mt&&M+he+Pe+de!==0&&(M!==0&&(J=M===47?10:47),he=Pe=de=0,Bt++,Mt++),M+he+Pe+de===0){if(ge===Mt&&(0<Le&&(K=K.replace(ce,"")),0<K.trim().length)){switch(J){case 32:case 9:case 59:case 13:case 10:break;default:K+=U.charAt(ge)}J=59}switch(J){case 123:for(K=K.trim(),ve=K.charCodeAt(0),se=1,ze=++ge;ge<Bt;){switch(J=U.charCodeAt(ge)){case 123:se++;break;case 125:se--;break;case 47:switch(J=U.charCodeAt(ge+1)){case 42:case 47:e:{for(Ue=ge+1;Ue<Mt;++Ue)switch(U.charCodeAt(Ue)){case 47:if(J===42&&U.charCodeAt(Ue-1)===42&&ge+2!==Ue){ge=Ue+1;break e}break;case 10:if(J===47){ge=Ue+1;break e}}ge=Ue}}break;case 91:J++;case 40:J++;case 34:case 39:for(;ge++<Mt&&U.charCodeAt(ge)!==J;);}if(se===0)break;ge++}switch(se=U.substring(ze,ge),ve===0&&(ve=(K=K.replace(Q,"").trim()).charCodeAt(0)),ve){case 64:switch(0<Le&&(K=K.replace(ce,"")),J=K.charCodeAt(1),J){case 100:case 109:case 115:case 45:Le=z;break;default:Le=It}if(se=n(z,Le,se,J,E+1),ze=se.length,0<Xe&&(Le=o(It,K,$t),ut=j(3,se,Le,z,Je,We,ze,J,E,Z),K=Le.join(""),ut!==void 0&&(ze=(se=ut.trim()).length)===0&&(J=0,se="")),0<ze)switch(J){case 115:K=K.replace(ct,O);case 100:case 109:case 45:se=K+"{"+se+"}";break;case 107:K=K.replace(oe,"$1 $2"),se=K+"{"+se+"}",se=Be===1||Be===2&&x("@"+se,3)?"@-webkit-"+se+"@"+se:"@"+se;break;default:se=K+se,Z===112&&(se=(Fe+=se,""))}else se="";break;default:se=n(z,o(z,K,$t),se,Z,E+1)}nr+=se,se=$t=Le=Ue=ve=0,K="",J=U.charCodeAt(++ge);break;case 125:case 59:if(K=(0<Le?K.replace(ce,""):K).trim(),1<(ze=K.length))switch(Ue===0&&(ve=K.charCodeAt(0),ve===45||96<ve&&123>ve)&&(ze=(K=K.replace(" ",":")).length),0<Xe&&(ut=j(1,K,z,B,Je,We,Fe.length,Z,E,Z))!==void 0&&(ze=(K=ut.trim()).length)===0&&(K="\0\0"),ve=K.charCodeAt(0),J=K.charCodeAt(1),ve){case 0:break;case 64:if(J===105||J===99){or+=K+U.charAt(ge);break}default:K.charCodeAt(ze-1)!==58&&(Fe+=y(K,ve,J,K.charCodeAt(2)))}$t=Le=Ue=ve=0,K="",J=U.charCodeAt(++ge)}}switch(J){case 13:case 10:M===47?M=0:1+ve===0&&Z!==107&&0<K.length&&(Le=1,K+="\0"),0<Xe*Ot&&j(0,K,z,B,Je,We,Fe.length,Z,E,Z),We=1,Je++;break;case 59:case 125:if(M+he+Pe+de===0){We++;break}default:switch(We++,_e=U.charAt(ge),J){case 9:case 32:if(he+de+M===0)switch(Ne){case 44:case 58:case 9:case 32:_e="";break;default:J!==32&&(_e=" ")}break;case 0:_e="\\0";break;case 12:_e="\\f";break;case 11:_e="\\v";break;case 38:he+M+de===0&&(Le=$t=1,_e="\f"+_e);break;case 108:if(he+M+de+rt===0&&0<Ue)switch(ge-Ue){case 2:Ne===112&&U.charCodeAt(ge-3)===58&&(rt=Ne);case 8:Ge===111&&(rt=Ge)}break;case 58:he+M+de===0&&(Ue=ge);break;case 44:M+Pe+he+de===0&&(Le=1,_e+="\r");break;case 34:case 39:M===0&&(he=he===J?0:he===0?J:he);break;case 91:he+M+Pe===0&&de++;break;case 93:he+M+Pe===0&&de--;break;case 41:he+M+de===0&&Pe--;break;case 40:if(he+M+de===0){if(ve===0)switch(2*Ne+3*Ge){case 533:break;default:ve=1}Pe++}break;case 64:M+Pe+he+de+Ue+se===0&&(se=1);break;case 42:case 47:if(!(0<he+de+Pe))switch(M){case 0:switch(2*J+3*U.charCodeAt(ge+1)){case 235:M=47;break;case 220:ze=ge,M=42}break;case 42:J===47&&Ne===42&&ze+2!==ge&&(U.charCodeAt(ze+2)===33&&(Fe+=U.substring(ze,ge+1)),_e="",M=0)}}M===0&&(K+=_e)}Ge=Ne,Ne=J,ge++}if(ze=Fe.length,0<ze){if(Le=z,0<Xe&&(ut=j(2,Fe,Le,B,Je,We,ze,Z,E,Z),ut!==void 0&&(Fe=ut).length===0))return or+Fe+nr;if(Fe=Le.join(",")+"{"+Fe+"}",Be*rt!==0){switch(Be!==2||x(Fe,2)||(rt=0),rt){case 111:Fe=Fe.replace(Te,":-moz-$1")+Fe;break;case 112:Fe=Fe.replace(De,"::-webkit-input-$1")+Fe.replace(De,"::-moz-$1")+Fe.replace(De,":-ms-input-$1")+Fe}rt=0}}return or+Fe+nr}function o(B,z,U){var Z=z.trim().split(_);z=Z;var E=Z.length,de=B.length;switch(de){case 0:case 1:var M=0;for(B=de===0?"":B[0]+" ";M<E;++M)z[M]=f(B,z[M],U).trim();break;default:var Pe=M=0;for(z=[];M<E;++M)for(var he=0;he<de;++he)z[Pe++]=f(B[he]+" ",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(Ae,"$1"+B.trim());case 58:return B.trim()+z.replace(Ae,"$1"+B.trim());default:if(0<1*U&&0<z.indexOf("\f"))return z.replace(Ae,(B.charCodeAt(0)===58?"":"$1")+B.trim())}return B+z}function y(B,z,U,Z){var E=B+";",de=2*z+3*U+4*Z;if(de===944){B=E.indexOf(":",9)+1;var M=E.substring(B,E.length-1).trim();return M=E.substring(0,B).trim()+M+";",Be===1||Be===2&&x(M,1)?"-webkit-"+M+M:M}if(Be===0||Be===2&&!x(E,1))return E;switch(de){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 ne.test(E)?E.replace(Ce,":-webkit-")+E.replace(Ce,":-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(Re,"tb");break;case 232:M=E.replace(Re,"tb-rl");break;case 220:M=E.replace(Re,"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(),de=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<de?"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(lt.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(fe,"$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(tt,"$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 j(B,z,U,Z,E,de,M,Pe,he,ve){for(var J=0,Ne=z,Ge;J<Xe;++J)switch(Ge=Qe[J].call(W,B,Ne,U,Z,E,de,M,Pe,he,ve)){case void 0:case!1:case!0:case null:break;default:Ne=Ge}if(Ne!==z)return Ne}function L(B){switch(B){case void 0:case null:Xe=Qe.length=0;break;default:if(typeof B=="function")Qe[Xe++]=B;else if(typeof B=="object")for(var z=0,U=B.length;z<U;++z)L(B[z]);else Ot=!!B|0}return L}function D(B){return B=B.prefix,B!==void 0&&(Rt=null,B?typeof B!="function"?Be=1:(Be=2,Rt=B):Be=0),D}function W(B,z){var U=B;if(33>U.charCodeAt(0)&&(U=U.trim()),Ft=U,U=[Ft],0<Xe){var Z=j(-1,z,U,U,Je,We,0,0,0,0);Z!==void 0&&typeof Z=="string"&&(z=Z)}var E=n(It,U,z,0,0);return 0<Xe&&(Z=j(-2,E,U,U,Je,We,E.length,0,0,0),Z!==void 0&&(E=Z)),Ft="",rt=0,We=Je=1,E}var Q=/^\0+/g,ce=/[\0\r\f]/g,Ce=/: */g,ne=/zoo|gra/,fe=/([,: ])(transform)/g,_=/,\r+?/g,Ae=/([\t\r\n ])*\f?&/g,oe=/@(k\w+)\s*(\S*)\s*/,De=/::(place)/g,Te=/:(read-only)/g,Re=/[svh]\w+-[tblr]{2}/,ct=/\(\s*(.*)\s*\)/g,At=/([\s\S]*?);/g,Ye=/-self|flex-/g,tt=/[^]*?(:[rp][el]a[\w-]+)[^]*/,lt=/stretch|:\s*\w+\-(?:conte|avail)/,Et=/([^-])(image-set\()/,We=1,Je=1,rt=0,Be=1,It=[],Qe=[],Xe=0,Rt=null,Ot=0,Ft="";return W.use=L,W.set=D,t!==void 0&&D(t),W}const st=Me;var gt={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 mt=gt;function A(t){var n=Object.create(null);return function(o){return n[o]===void 0&&(n[o]=t(o)),n[o]}}var F=/^((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)-.*))$/,te=A(function(t){return F.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),me=q(4674),ue=q.n(me);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 Oe=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},Se=function(t){return t!==null&&typeof t=="object"&&(t.toString?t.toString():Object.prototype.toString.call(t))==="[object Object]"&&!(0,$e.typeOf)(t)},be=Object.freeze([]),je=Object.freeze({});function it(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",ir="5.3.11",pe=typeof window<"u"&&"HTMLElement"in window,vt=!!(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)),ae={},pt={};function ft(){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 He(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 yt=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&&He(16,""+o);this.groupSizes=new Uint32Array(O),this.groupSizes.set(y),this.length=O;for(var j=x;j<O;j++)this.groupSizes[j]=0}for(var L=this.indexOfGroup(o+1),D=0,W=f.length;D<W;D++)this.tag.insertRule(L,f[D])&&(this.groupSizes[o]++,L++)},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,j=x;j<O;j++)f+=this.tag.getRule(j)+`/*!sc*/
17
17
  `;return f},t}(),Ve=new Map,ke=new Map,et=1,nt=function(t){if(Ve.has(t))return Ve.get(t);for(;ke.has(et);)et++;var n=et++;return Ve.set(t,n),ke.set(n,t),n},Ht=function(t){return ke.get(t)},Dt=function(t,n){n>=et&&(et=n+1),Ve.set(t,n),ke.set(n,t)},at="style["+qe+'][data-styled-version="5.3.11"]',Nt=new RegExp("^"+qe+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Lt=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)},Vt=function(t,n){for(var o=(n.textContent||"").split(`/*!sc*/
18
18
  `),f=[],y=0,x=o.length;y<x;y++){var O=o[y].trim();if(O){var j=O.match(Nt);if(j){var L=0|parseInt(j[1],10),D=j[2];L!==0&&(Dt(D,L),Lt(t,D,j[3]),t.getTag().insertRules(L,f)),f.length=0}else f.push(O)}}},bt=function(){return q.nc},Ze=function(t){var n=document.head,o=t||n,f=document.createElement("style"),y=function(j){for(var L=j.childNodes,D=L.length;D>=0;D--){var W=L[D];if(W&&W.nodeType===1&&W.hasAttribute(qe))return W}}(o),x=y!==void 0?y.nextSibling:null;f.setAttribute(qe,"active"),f.setAttribute("data-styled-version","5.3.11");var O=bt();return O&&f.setAttribute("nonce",O),o.insertBefore(f,x),f},ot=function(){function t(o){var f=this.element=Ze(o);f.appendChild(document.createTextNode("")),this.sheet=function(y){if(y.sheet)return y.sheet;for(var x=document.styleSheets,O=0,j=x.length;O<j;O++){var L=x[O];if(L.ownerNode===y)return L}He(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=Ze(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}(),Ir=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=pe,Rr={isServer:!pe,useCSSOMInjection:!vt},wt=function(){function t(o,f,y){o===void 0&&(o=je),f===void 0&&(f={}),this.options=ee({},Rr,{},o),this.gs=f,this.names=new Map(y),this.server=!!o.isServer,!this.server&&pe&&ar&&(ar=!1,function(x){for(var O=document.querySelectorAll(at),j=0,L=O.length;j<L;j++){var D=O[j];D&&D.getAttribute(qe)!=="active"&&(Vt(x,D),D.parentNode&&D.parentNode.removeChild(D))}}(this))}t.registerId=function(o){return nt(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 Ir(O):x?new ot(O):new Pr(O),new yt(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(nt(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(nt(o),y)},n.clearNames=function(o){this.names.has(o)&&this.names.get(o).clear()},n.clearRules=function(o){this.getTag().clearGroup(nt(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 j=Ht(O);if(j!==void 0){var L=o.names.get(j),D=f.getGroup(O);if(L&&D&&L.size){var W=qe+".g"+O+'[id="'+j+'"]',Q="";L!==void 0&&L.forEach(function(ce){ce.length>0&&(Q+=ce+",")}),x+=""+D+W+'{content:"'+Q+`"}/*!sc*/
19
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(it(o)&&!jt(o))return!1}return!0}var $r=lr("5.3.11"),Mr=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($r,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=dt(this.rules,n,o,f).join(""),j=Wt(xt(this.baseHash,O)>>>0);if(!o.hasNameForId(y,j)){var L=f(O,"."+j,void 0,y);o.insertRules(y,j,L)}x.push(j),this.staticRulesId=j}else{for(var D=this.rules.length,W=xt(this.baseHash,f.hash),Q="",ce=0;ce<D;ce++){var Ce=this.rules[ce];if(typeof Ce=="string")Q+=Ce;else if(Ce){var ne=dt(Ce,n,o,f),fe=Array.isArray(ne)?ne.join(""):ne;W=xt(W,fe+ce),Q+=fe}}if(Q){var _=Wt(W>>>0);if(!o.hasNameForId(y,_)){var Ae=f(Q,"."+_,void 0,y);o.insertRules(y,_,Ae)}x.push(_)}}return x.join(" ")},t}(),kr=/^\s*\/\/.*$/gm,Dr=[":","[",".","#"];function pr(t){var n,o,f,y,x=t===void 0?je:t,O=x.options,j=O===void 0?je:O,L=x.plugins,D=L===void 0?be:L,W=new st(j),Q=[],ce=function(fe){function _(Ae){if(Ae)try{fe(Ae+"}")}catch{}}return function(Ae,oe,De,Te,Re,ct,At,Ye,tt,lt){switch(Ae){case 1:if(tt===0&&oe.charCodeAt(0)===64)return fe(oe+";"),"";break;case 2:if(Ye===0)return oe+"/*|*/";break;case 3:switch(Ye){case 102:case 112:return fe(De[0]+oe),"";default:return oe+(lt===0?"/*|*/":"")}case-2:oe.split("/*|*/}").forEach(_)}}}(function(fe){Q.push(fe)}),Ce=function(fe,_,Ae){return _===0&&Dr.indexOf(Ae[o.length])!==-1||Ae.match(y)?fe:"."+n};function ne(fe,_,Ae,oe){oe===void 0&&(oe="&");var De=fe.replace(kr,""),Te=_&&Ae?Ae+" "+_+" { "+De+" }":De;return n=oe,o=_,f=new RegExp("\\"+o+"\\b","g"),y=new RegExp("(\\"+o+"\\b){2,}"),W(Ae||!_?"":_,Te)}return W.use([].concat(D,[function(fe,_,Ae){fe===2&&Ae.length&&Ae[0].lastIndexOf(o)>0&&(Ae[0]=Ae[0].replace(f,Ce))},ce,function(fe){if(fe===-2){var _=Q;return Q=[],_}}])),ne.hash=D.length?D.reduce(function(fe,_){return _.name||He(15),xt(fe,_.name)},5381).toString():"",ne}var Kt=ie.createContext(),Pn=Kt.Consumer,Yt=ie.createContext(),fr=(Yt.Consumer,new wt),Xt=pr();function Zt(){return(0,ie.useContext)(Kt)||fr}function dr(){return(0,ie.useContext)(Yt)||Xt}function Nr(t){var n=(0,ie.useState)(t.stylisPlugins),o=n[0],f=n[1],y=Zt(),x=(0,ie.useMemo)(function(){var j=y;return t.sheet?j=t.sheet:t.target&&(j=j.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(j=j.reconstructWithOptions({useCSSOMInjection:!1})),j},[t.disableCSSOMInjection,t.sheet,t.target]),O=(0,ie.useMemo)(function(){return pr({options:{prefix:!t.disableVendorPrefixes},plugins:o})},[t.disableVendorPrefixes,o]);return(0,ie.useEffect)(function(){Ct()(o,t.stylisPlugins)||f(t.stylisPlugins)},[t.stylisPlugins]),ie.createElement(Kt.Provider,{value:x},ie.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 He(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}(),Lr=/([A-Z])/,zr=/([A-Z])/g,Ur=/^ms-/,Br=function(t){return"-"+t.toLowerCase()};function gr(t){return Lr.test(t)?t.replace(zr,Br).replace(Ur,"-ms-"):t}var mr=function(t){return t==null||t===!1||t===""};function dt(t,n,o,f){if(Array.isArray(t)){for(var y,x=[],O=0,j=t.length;O<j;O+=1)(y=dt(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(it(t)){if(typeof(D=t)!="function"||D.prototype&&D.prototype.isReactComponent||!n)return t;var L=t(n);return dt(L,n,o,f)}var D;return t instanceof hr?o?(t.inject(o,f),t.getName(f)):t:Se(t)?function W(Q,ce){var Ce,ne,fe=[];for(var _ in Q)Q.hasOwnProperty(_)&&!mr(Q[_])&&(Array.isArray(Q[_])&&Q[_].isCss||it(Q[_])?fe.push(gr(_)+":",Q[_],";"):Se(Q[_])?fe.push.apply(fe,W(Q[_],_)):fe.push(gr(_)+": "+(Ce=_,(ne=Q[_])==null||typeof ne=="boolean"||ne===""?"":typeof ne!="number"||ne===0||Ce in mt||Ce.startsWith("--")?String(ne).trim():ne+"px")+";"));return ce?[ce+" {"].concat(fe,["}"]):fe}(t):t.toString()}var vr=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function Pt(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];return it(t)||Se(t)?vr(dt(Oe(be,[t].concat(o)))):o.length===0&&t.length===1&&typeof t[0]=="string"?t:vr(dt(Oe(t,o)))}var In=/invalid hook call/i,Rn=new Set,Fn=function(t,n){if(0)var o,f,y},Jt=function(t,n,o){return o===void 0&&(o=je),t.theme!==o.theme&&t.theme||n||o.theme},Gr=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Hr=/(^-|-$)/g;function Qt(t){return t.replace(Gr,"-").replace(Hr,"")}var _t=function(t){return Wt(lr(t)>>>0)};function zt(t){return typeof t=="string"&&!0}var qt=function(t){return typeof t=="function"||typeof t=="object"&&t!==null&&!Array.isArray(t)},Vr=function(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"};function Wr(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 j in O)Vr(j)&&Wr(t,O[j],j)}return t}var ht=ie.createContext(),$n=ht.Consumer;function Mn(t){var n=s(ht),o=i(function(){return function(f,y){if(!f)return He(14);if(it(f)){var x=f(y);return x}return Array.isArray(f)||typeof f!="object"?He(8):y?ee({},y,{},f):f}(t.theme,n)},[t.theme,n]);return t.children?r.createElement(ht.Provider,{value:o},t.children):null}var er={};function br(t,n,o){var f=jt(t),y=!zt(t),x=n.attrs,O=x===void 0?be:x,j=n.componentId,L=j===void 0?function(oe,De){var Te=typeof oe!="string"?"sc":Qt(oe);er[Te]=(er[Te]||0)+1;var Re=Te+"-"+_t("5.3.11"+Te+er[Te]);return De?De+"-"+Re:Re}(n.displayName,n.parentComponentId):j,D=n.displayName,W=D===void 0?function(oe){return zt(oe)?"styled."+oe:"Styled("+Tt(oe)+")"}(t):D,Q=n.displayName&&n.componentId?Qt(n.displayName)+"-"+n.componentId:n.componentId||L,ce=f&&t.attrs?Array.prototype.concat(t.attrs,O).filter(Boolean):O,Ce=n.shouldForwardProp;f&&t.shouldForwardProp&&(Ce=n.shouldForwardProp?function(oe,De,Te){return t.shouldForwardProp(oe,De,Te)&&n.shouldForwardProp(oe,De,Te)}:t.shouldForwardProp);var ne,fe=new Mr(o,Q,f?t.componentStyle:void 0),_=fe.isStatic&&O.length===0,Ae=function(oe,De){return function(Te,Re,ct,At){var Ye=Te.attrs,tt=Te.componentStyle,lt=Te.defaultProps,Et=Te.foldedComponentIds,We=Te.shouldForwardProp,Je=Te.styledComponentId,rt=Te.target,Be=function(Z,E,de){Z===void 0&&(Z=je);var M=ee({},E,{theme:Z}),Pe={};return de.forEach(function(he){var ve,J,Ne,Ge=he;for(ve in it(Ge)&&(Ge=Ge(M)),Ge)M[ve]=Pe[ve]=ve==="className"?(J=Pe[ve],Ne=Ge[ve],J&&Ne?J+" "+Ne:J||Ne):Ge[ve]}),[M,Pe]}(Jt(Re,(0,ie.useContext)(ht),lt)||je,Re,Ye),It=Be[0],Qe=Be[1],Xe=function(Z,E,de,M){var Pe=Zt(),he=dr(),ve=E?Z.generateAndInjectStyles(je,Pe,he):Z.generateAndInjectStyles(de,Pe,he);return ve}(tt,At,It,void 0),Rt=ct,Ot=Qe.$as||Re.$as||Qe.as||Re.as||rt,Ft=zt(Ot),B=Qe!==Re?ee({},Re,{},Qe):Re,z={};for(var U in B)U[0]!=="$"&&U!=="as"&&(U==="forwardedAs"?z.as=B[U]:(We?We(U,te,Ot):!Ft||te(U))&&(z[U]=B[U]));return Re.style&&Qe.style!==Re.style&&(z.style=ee({},Re.style,{},Qe.style)),z.className=Array.prototype.concat(Et,Je,Xe!==Je?Xe:null,Re.className,Qe.className).filter(Boolean).join(" "),z.ref=Rt,(0,ie.createElement)(Ot,z)}(ne,oe,De,_)};return Ae.displayName=W,(ne=ie.forwardRef(Ae)).attrs=ce,ne.componentStyle=fe,ne.displayName=W,ne.shouldForwardProp=Ce,ne.foldedComponentIds=f?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):be,ne.styledComponentId=Q,ne.target=f?t.target:t,ne.withComponent=function(oe){var De=n.componentId,Te=function(ct,At){if(ct==null)return{};var Ye,tt,lt={},Et=Object.keys(ct);for(tt=0;tt<Et.length;tt++)Ye=Et[tt],At.indexOf(Ye)>=0||(lt[Ye]=ct[Ye]);return lt}(n,["componentId"]),Re=De&&De+"-"+(zt(oe)?oe:Qt(Tt(oe)));return br(oe,ee({},Te,{attrs:ce,componentId:Re}),o)},Object.defineProperty(ne,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(oe){this._foldedDefaultProps=f?yr({},t.defaultProps,oe):oe}}),Object.defineProperty(ne,"toString",{value:function(){return"."+ne.styledComponentId}}),y&&ue()(ne,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),ne}var wr=function(t){return function n(o,f,y){if(y===void 0&&(y=je),!(0,$e.isValidElementType)(f))return He(1,String(f));var x=function(){return o(f,y,Pt.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 Kr=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(dt(this.rules,f,y,x).join(""),""),j=this.componentId+o;y.insertRules(j,j,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 kn(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),f=1;f<n;f++)o[f-1]=arguments[f];var y=Pt.apply(void 0,[t].concat(o)),x="sc-global-"+_t(JSON.stringify(y)),O=new Kr(y,x);function j(D){var W=Zt(),Q=dr(),ce=s(ht),Ce=c(W.allocateGSInstance(x)).current;return W.server&&L(Ce,D,W,ce,Q),l(function(){if(!W.server)return L(Ce,D,W,ce,Q),function(){return O.removeStyles(Ce,W)}},[Ce,D,W,ce,Q]),null}function L(D,W,Q,ce,Ce){if(O.isStatic)O.renderStyles(D,ae,Q,Ce);else{var ne=ee({},W,{theme:Jt(W,ce,j.defaultProps)});O.renderStyles(D,ne,Q,Ce)}}return r.memo(j)}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=Pt.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=bt();return"<style "+[y&&'nonce="'+y+'"',qe+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+f+"</style>"},this.getStyleTags=function(){return o.sealed?He(2):o._emitSheetCSS()},this.getStyleElement=function(){var f;if(o.sealed)return He(2);var y=((f={})[qe]="",f["data-styled-version"]="5.3.11",f.dangerouslySetInnerHTML={__html:o.instance.toString()},f),x=bt();return x&&(y.nonce=x),[ie.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?He(2):ie.createElement(Nr,{sheet:this.instance},o)},n.interleaveWithNodeStream=function(o){return He(3)},t}(),Ln=function(t){var n=r.forwardRef(function(o,f){var y=s(ht),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},zn=function(){return s(ht)},Un={StyleSheet:wt,masterSheet:fr};const Bn=null,Yr=t=>Object.keys(t).reduce((n,o)=>(n[o]=(f,...y)=>Pt`
@@ -22,4 +22,4 @@
22
22
  }
23
23
  `,n),{}),Xr=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:Yr({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]}}),Zr=((t=X())=>()=>Xr(t))(),Hn=()=>{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}=Zr();return t<=xr(n.small)?"small":t<=xr(n.medium)?"medium":"large"};var Jr=q(5402),Qr=q.n(Jr),_r=q(5887),qr=q.n(_r),en=q(7579),tn=q.n(en),rn=q(4339),nn=q.n(rn),on=q(2495),Ar=q.n(on);const sn=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"),Vn=t=>{const n=document.createElement("a");return n.href=t,n.href},Ut=t=>t?.replace?.(/\/?$/,"/"),an=()=>window.navigator.userAgent.includes("jsdom");class cn{#e=sn;#t;#r;constructor(n){this.#t=n?.version||St,this.#r=Ut(n?.baseUrl||"")}#n=n=>{const{activeEnv:o}=n,f=n.env[o]||{};n.env&&delete n.env,this.#e=Ar()(n,f)};get=(n="",o=null)=>Qr()(qr()(this.#e,n,o));set=(n,o)=>tn()(this.#e,n,o);has=(n="")=>nn()(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 ln="microFrontendApps",un=()=>!0,pn=t=>un()?!0:t?t==="production":!0,fn=t=>t?new URL(t).pathname:"",dn=t=>{const n=document.createElement("a");return n.href=t,n.href},hn=(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"),gn=(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")}},mn=({id:t,config:n,version:o="latest"})=>{const{mode:f="production"}=n,y=pn(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=Ut(dn(x.hostUrl||"")),x.homeRoute=Ut(x.homeRoute)||fn(x.hostUrl),x.manifestPath=Ut(hn(x.manifestPath,o)),x};class vn{#e=[];init=({version:n,appConfig:o})=>{const f=o.get(ln);if(!f)throw new Error("app.config.json is missing microFrontendApps section");this.#e=Object.keys(f).map(y=>(gn(y,f[y]),mn({id:y,config:f[y],version:n})))};getConfigById=n=>this.#e.find(o=>o.id===n)}const yn="ice-script-",bn=/(?:emuiDiagnostics|global|global-prod|emuiUserMonitoring)(?:..*)?.js/,wn=t=>!bn.test(t);class xn{#e;constructor(n){this.#e=n}add=({name:n,hostUrl:o,documentEle:f,fileName:y,index:x})=>new Promise((O,j)=>{const L=new URL(y,o),D=f.createElement("script");D.id=`${yn}${n.toLowerCase()}-${x}`,D.src=rr(L.href),D.onload=O.bind(null,D.id),D.onerror=W=>{j(new Error(`Unable to load script ${D.src}`,{cause:new Error(W)}))},D.async=!1,!an()&&wn(D.src)&&(D.defer=!0),f.head.appendChild(D)});remove=(n="",o=document)=>new Promise(f=>{const y=o.getElementById(n);y||(this.#e.warn(`script with id ${n} not found`),f()),y.remove(),f()});removeDynamicImportedScripts=(n,o)=>{const f=new RegExp(n,"i"),y=o.getElementsByTagName("script");for(let x=y.length-1;x>=0;x-=1){const O=y[x],{src:j}=O;f.test(j)&&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:j}=O;f.test(j)&&O.remove()}}}const Sn="ice-style-";class An{#e;constructor(n){this.#e=n}add=({name:n,hostUrl:o,documentEle:f,fileName:y,index:x})=>new Promise((O,j)=>{const L=f.createElement("link");L.id=`${Sn}${n.toLowerCase()}-${x}`,L.rel="stylesheet";const D=new URL(y,o);L.href=rr(D.href),L.onload=O.bind(null,L.id),L.onerror=W=>{j(new Error(`Unable to load stylesheet ${L.href}`,{cause:new Error(W)}))},f.head.appendChild(L)});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:j}=O;f.test(j)&&O.remove()}}}const Or=t=>t.replace(/\/\d+\.\d+/,"/latest"),En=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(En(f))o.push(f);else throw new Error(`unable to locate ${f} in manifest`);return o},[])};class On{#e;#t;#r;#n;#o;constructor(n){this.#t=n.guest,this.#e=n.logger,this.#r=n?.version||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(`${re}${o}`);y&&(y.style.height=`${f.height}px`)};subscribe=(n,o)=>(0,v.subscribe)(n,o);unsubscribe=n=>{(0,v.unsubscribe)(n)}}const jr="pui-app-container-",Cn=/\.css$/,Tn=t=>Cn.test(t);class jn{#e;#t;#r;#n;#o;#s=new vn;#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 cn({version:n.version,baseUrl:n.appConfigBaseUrl}),this.#r=new xn(o),this.#n=new An(o),this.#i=new S,this.#c=new P}#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:j,history:L,theme:D,documentEle:W}=n;return Promise.all(o).then(this.#d.bind(null,f,W)).then(this.#g.bind(null,{id:f,name:y,hostUrl:x,manifestPath:O,homeRoute:j,history:L,theme:D})).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:j})=>{const L=window.emui?.[n];if(!L)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(!L.init||typeof L.init!="function")throw new Error(`Application ${o} with id ${n} doesn't expose init method`);const D=new On({guest:{id:n},version:this.#t,logger:this.#e,soManager:this.#i,eventManager:this.#c});return L.init({host:D,hostUrl:f,manifestPath:y,homeRoute:x,prevState:null,history:O,theme:j,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 j=f;const L=await Tr.get(n);j=Tr.getFullFileNameofAssets(L,f);let D=0;const W=j.map(Q=>{D+=1;const ce={name:y,hostUrl:x,documentEle:O,fileName:Q,index:D};return Tn(Q)?this.#n.add(ce):this.#r.add(ce)});await this.#h(n,W),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=we.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),we.remove(n)}};dispatchEvent=async n=>this.#c.dispatchEvent(n);getGuest=n=>this.#a.get(n)?.guest;getGuests=()=>[...this.#a.values()].map(n=>n.guest);init=async()=>{await this.#o.load(),this.#s.init({version:this.#t,appConfig:this.#o})};mountApp=async n=>{if(!n)throw new Error("id is required");const o=this.#s.getConfigById(n);if(!o)throw new Error(`Application with id ${n} is not found`);await this.#u(o)};openApp=async n=>{const{id:o,frameOptions:f,history:y,theme:x}=n,O=this.#s.getConfigById(o);if(!O)throw new Error(`Application with id ${o} is not found`);if(we.get(o))throw new Error(`Application with id ${o} is already open`);const j=await we.create(o,{title:O.name,...f});if(!j?.contentDocument)throw new Error("unable to create iframe for the microapp");try{return await this.#m({...O,history:y,theme:x,documentEle:j.contentDocument}),await this.#u(O),this.#a.get(o)?.guest}catch(L){throw this.#l({id:o,hostUrl:O.hostUrl,documentEle:j.contentDocument}),we.remove(o),L}};publish=(n,o)=>(0,v.publish)(n,o);removeAllEventListeners=()=>{this.#c.unsubscribeAll()};removeScriptingObject=n=>{this.#i.removeScriptingObject(n)};unmountApp=async n=>{if(!n)throw new Error("id is required");const o=this.#s.getConfigById(n);if(!o)throw new Error(`Application with id ${n} is not found`);await this.#p(o)}}})(),Gt})());
24
24
 
25
- //# sourceMappingURL=emuiAppBridge.554cbf2ff53dbb3c84b8.js.map
25
+ //# sourceMappingURL=emuiAppBridge.b3a981155e0eb9bcdf31.js.map