@elliemae/pui-app-bridge 2.28.8 → 2.28.9

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.
@@ -0,0 +1,17 @@
1
+ (function(xt,_e){typeof exports=="object"&&typeof module=="object"?module.exports=_e(require("React")):typeof define=="function"&&define.amd?define(["React"],_e):typeof exports=="object"?exports.ice=_e(require("React")):xt.ice=_e(xt.React)})(globalThis,dr=>(()=>{var xt={4674(o,p,t){"use strict";var i=t(7020),c={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},g={};g[i.ForwardRef]=u,g[i.Memo]=f;function m(D){return i.isMemo(D)?f:g[D.$$typeof]||c}var v=Object.defineProperty,w=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,O=Object.getOwnPropertyDescriptor,F=Object.getPrototypeOf,M=Object.prototype;function L(D,z,Y){if(typeof z!="string"){if(M){var le=F(z);le&&le!==M&&L(D,le,Y)}var j=w(z);x&&(j=j.concat(x(z)));for(var pe=m(D),S=m(z),oe=0;oe<j.length;++oe){var ce=j[oe];if(!l[ce]&&!(Y&&Y[ce])&&!(S&&S[ce])&&!(pe&&pe[ce])){var ie=O(z,ce);try{v(D,ce,ie)}catch{}}}}return D}o.exports=L},8054(o,p,t){var i=t(5592),c=t(907),l=i(c,"DataView");o.exports=l},3219(o,p,t){var i=t(2130),c=t(1924),l=t(4743),u=t(1755),f=t(5203);function g(m){var v=-1,w=m==null?0:m.length;for(this.clear();++v<w;){var x=m[v];this.set(x[0],x[1])}}g.prototype.clear=i,g.prototype.delete=c,g.prototype.get=l,g.prototype.has=u,g.prototype.set=f,o.exports=g},7321(o,p,t){var i=t(3044),c=t(4066),l=t(8461),u=t(4417),f=t(2777);function g(m){var v=-1,w=m==null?0:m.length;for(this.clear();++v<w;){var x=m[v];this.set(x[0],x[1])}}g.prototype.clear=i,g.prototype.delete=c,g.prototype.get=l,g.prototype.has=u,g.prototype.set=f,o.exports=g},2565(o,p,t){var i=t(5592),c=t(907),l=i(c,"Map");o.exports=l},111(o,p,t){var i=t(4614),c=t(9504),l=t(9251),u=t(5791),f=t(1511);function g(m){var v=-1,w=m==null?0:m.length;for(this.clear();++v<w;){var x=m[v];this.set(x[0],x[1])}}g.prototype.clear=i,g.prototype.delete=c,g.prototype.get=l,g.prototype.has=u,g.prototype.set=f,o.exports=g},8246(o,p,t){var i=t(5592),c=t(907),l=i(c,"Promise");o.exports=l},4099(o,p,t){var i=t(5592),c=t(907),l=i(c,"Set");o.exports=l},5963(o,p,t){var i=t(7321),c=t(1306),l=t(3180),u=t(5247),f=t(2835),g=t(9179);function m(v){var w=this.__data__=new i(v);this.size=w.size}m.prototype.clear=c,m.prototype.delete=l,m.prototype.get=u,m.prototype.has=f,m.prototype.set=g,o.exports=m},7759(o,p,t){var i=t(907),c=i.Symbol;o.exports=c},9386(o,p,t){var i=t(907),c=i.Uint8Array;o.exports=c},6221(o,p,t){var i=t(5592),c=t(907),l=i(c,"WeakMap");o.exports=l},6047(o){function p(t,i,c){switch(c.length){case 0:return t.call(i);case 1:return t.call(i,c[0]);case 2:return t.call(i,c[0],c[1]);case 3:return t.call(i,c[0],c[1],c[2])}return t.apply(i,c)}o.exports=p},6259(o){function p(t,i){for(var c=-1,l=t==null?0:t.length;++c<l&&i(t[c],c,t)!==!1;);return t}o.exports=p},1840(o){function p(t,i){for(var c=-1,l=t==null?0:t.length,u=0,f=[];++c<l;){var g=t[c];i(g,c,t)&&(f[u++]=g)}return f}o.exports=p},3737(o,p,t){var i=t(5562),c=t(1750),l=t(2619),u=t(3446),f=t(2159),g=t(3133),m=Object.prototype,v=m.hasOwnProperty;function w(x,O){var F=l(x),M=!F&&c(x),L=!F&&!M&&u(x),D=!F&&!M&&!L&&g(x),z=F||M||L||D,Y=z?i(x.length,String):[],le=Y.length;for(var j in x)(O||v.call(x,j))&&!(z&&(j=="length"||L&&(j=="offset"||j=="parent")||D&&(j=="buffer"||j=="byteLength"||j=="byteOffset")||f(j,le)))&&Y.push(j);return Y}o.exports=w},5862(o){function p(t,i){for(var c=-1,l=t==null?0:t.length,u=Array(l);++c<l;)u[c]=i(t[c],c,t);return u}o.exports=p},9130(o){function p(t,i){for(var c=-1,l=i.length,u=t.length;++c<l;)t[u+c]=i[c];return t}o.exports=p},8971(o,p,t){var i=t(3706),c=t(9506);function l(u,f,g){(g!==void 0&&!c(u[f],g)||g===void 0&&!(f in u))&&i(u,f,g)}o.exports=l},3853(o,p,t){var i=t(3706),c=t(9506),l=Object.prototype,u=l.hasOwnProperty;function f(g,m,v){var w=g[m];(!(u.call(g,m)&&c(w,v))||v===void 0&&!(m in g))&&i(g,m,v)}o.exports=f},7831(o,p,t){var i=t(9506);function c(l,u){for(var f=l.length;f--;)if(i(l[f][0],u))return f;return-1}o.exports=c},2183(o,p,t){var i=t(7145),c=t(2096);function l(u,f){return u&&i(f,c(f),u)}o.exports=l},4076(o,p,t){var i=t(7145),c=t(7999);function l(u,f){return u&&i(f,c(f),u)}o.exports=l},3706(o,p,t){var i=t(4665);function c(l,u,f){u=="__proto__"&&i?i(l,u,{configurable:!0,enumerable:!0,value:f,writable:!0}):l[u]=f}o.exports=c},6057(o,p,t){var i=t(5963),c=t(6259),l=t(3853),u=t(2183),f=t(4076),g=t(5196),m=t(3549),v=t(6573),w=t(9934),x=t(6280),O=t(6839),F=t(1663),M=t(143),L=t(7265),D=t(8879),z=t(2619),Y=t(3446),le=t(7884),j=t(9323),pe=t(5070),S=t(2096),oe=t(7999),ce=1,ie=2,ne=4,ge="[object Arguments]",fe="[object Array]",G="[object Boolean]",ye="[object Date]",Q="[object Error]",Ee="[object Function]",Be="[object GeneratorFunction]",ft="[object Map]",St="[object Number]",qe="[object Object]",zt="[object RegExp]",Bt="[object Set]",Vt="[object String]",be="[object Symbol]",At="[object WeakMap]",hr="[object ArrayBuffer]",gr="[object DataView]",Gt="[object Float32Array]",Et="[object Float64Array]",ot="[object Int8Array]",Ct="[object Int16Array]",mr="[object Int32Array]",vr="[object Uint8Array]",Ht="[object Uint8ClampedArray]",Wt="[object Uint16Array]",Ot="[object Uint32Array]",se={};se[ge]=se[fe]=se[hr]=se[gr]=se[G]=se[ye]=se[Gt]=se[Et]=se[ot]=se[Ct]=se[mr]=se[ft]=se[St]=se[qe]=se[zt]=se[Bt]=se[Vt]=se[be]=se[vr]=se[Ht]=se[Wt]=se[Ot]=!0,se[Q]=se[Ee]=se[At]=!1;function et(Z,He,We,Kt,tt,Ve){var de,it=He&ce,rt=He&ie,Me=He&ne;if(We&&(de=tt?We(Z,Kt,tt,Ve):We(Z)),de!==void 0)return de;if(!j(Z))return Z;var $e=z(Z);if($e){if(de=M(Z),!it)return m(Z,de)}else{var Ke=F(Z),Tt=Ke==Ee||Ke==Be;if(Y(Z))return g(Z,it);if(Ke==qe||Ke==ge||Tt&&!tt){if(de=rt||Tt?{}:D(Z),!it)return rt?w(Z,f(de,Z)):v(Z,u(de,Z))}else{if(!se[Ke])return tt?Z:{};de=L(Z,Ke,it)}}Ve||(Ve=new i);var Pt=Ve.get(Z);if(Pt)return Pt;Ve.set(Z,de),pe(Z)?Z.forEach(function(Ne){de.add(et(Ne,He,We,Ne,Z,Ve))}):le(Z)&&Z.forEach(function(Ne,Ge){de.set(Ge,et(Ne,He,We,Ge,Z,Ve))});var Yt=Me?rt?O:x:rt?oe:S,It=$e?void 0:Yt(Z);return c(It||Z,function(Ne,Ge){It&&(Ge=Ne,Ne=Z[Ge]),l(de,Ge,et(Ne,He,We,Ge,Z,Ve))}),de}o.exports=et},8514(o,p,t){var i=t(9323),c=Object.create,l=function(){function u(){}return function(f){if(!i(f))return{};if(c)return c(f);u.prototype=f;var g=new u;return u.prototype=void 0,g}}();o.exports=l},5795(o,p,t){var i=t(3375),c=i();o.exports=c},3208(o,p,t){var i=t(2155),c=t(5155);function l(u,f){f=i(f,u);for(var g=0,m=f.length;u!=null&&g<m;)u=u[c(f[g++])];return g&&g==m?u:void 0}o.exports=l},1405(o,p,t){var i=t(9130),c=t(2619);function l(u,f,g){var m=f(u);return c(u)?m:i(m,g(u))}o.exports=l},1490(o,p,t){var i=t(7759),c=t(4817),l=t(7748),u="[object Null]",f="[object Undefined]",g=i?i.toStringTag:void 0;function m(v){return v==null?v===void 0?f:u:g&&g in Object(v)?c(v):l(v)}o.exports=m},2780(o){var p=Object.prototype,t=p.hasOwnProperty;function i(c,l){return c!=null&&t.call(c,l)}o.exports=i},2960(o,p,t){var i=t(1490),c=t(2292),l="[object Arguments]";function u(f){return c(f)&&i(f)==l}o.exports=u},9694(o,p,t){var i=t(1663),c=t(2292),l="[object Map]";function u(f){return c(f)&&i(f)==l}o.exports=u},4401(o,p,t){var i=t(860),c=t(2958),l=t(9323),u=t(8815),f=/[\\^$.*+?()[\]{}|]/g,g=/^\[object .+?Constructor\]$/,m=Function.prototype,v=Object.prototype,w=m.toString,x=v.hasOwnProperty,O=RegExp("^"+w.call(x).replace(f,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function F(M){if(!l(M)||c(M))return!1;var L=i(M)?O:g;return L.test(u(M))}o.exports=F},8172(o,p,t){var i=t(1663),c=t(2292),l="[object Set]";function u(f){return c(f)&&i(f)==l}o.exports=u},5283(o,p,t){var i=t(1490),c=t(5300),l=t(2292),u="[object Arguments]",f="[object Array]",g="[object Boolean]",m="[object Date]",v="[object Error]",w="[object Function]",x="[object Map]",O="[object Number]",F="[object Object]",M="[object RegExp]",L="[object Set]",D="[object String]",z="[object WeakMap]",Y="[object ArrayBuffer]",le="[object DataView]",j="[object Float32Array]",pe="[object Float64Array]",S="[object Int8Array]",oe="[object Int16Array]",ce="[object Int32Array]",ie="[object Uint8Array]",ne="[object Uint8ClampedArray]",ge="[object Uint16Array]",fe="[object Uint32Array]",G={};G[j]=G[pe]=G[S]=G[oe]=G[ce]=G[ie]=G[ne]=G[ge]=G[fe]=!0,G[u]=G[f]=G[Y]=G[g]=G[le]=G[m]=G[v]=G[w]=G[x]=G[O]=G[F]=G[M]=G[L]=G[D]=G[z]=!1;function ye(Q){return l(Q)&&c(Q.length)&&!!G[i(Q)]}o.exports=ye},2322(o,p,t){var i=t(8861),c=t(9692),l=Object.prototype,u=l.hasOwnProperty;function f(g){if(!i(g))return c(g);var m=[];for(var v in Object(g))u.call(g,v)&&v!="constructor"&&m.push(v);return m}o.exports=f},5045(o,p,t){var i=t(9323),c=t(8861),l=t(1779),u=Object.prototype,f=u.hasOwnProperty;function g(m){if(!i(m))return l(m);var v=c(m),w=[];for(var x in m)x=="constructor"&&(v||!f.call(m,x))||w.push(x);return w}o.exports=g},3912(o,p,t){var i=t(5963),c=t(8971),l=t(5795),u=t(8342),f=t(9323),g=t(7999),m=t(5760);function v(w,x,O,F,M){w!==x&&l(x,function(L,D){if(M||(M=new i),f(L))u(w,x,D,O,v,F,M);else{var z=F?F(m(w,D),L,D+"",w,x,M):void 0;z===void 0&&(z=L),c(w,D,z)}},g)}o.exports=v},8342(o,p,t){var i=t(8971),c=t(5196),l=t(5979),u=t(3549),f=t(8879),g=t(1750),m=t(2619),v=t(1891),w=t(3446),x=t(860),O=t(9323),F=t(1281),M=t(3133),L=t(5760),D=t(4514);function z(Y,le,j,pe,S,oe,ce){var ie=L(Y,j),ne=L(le,j),ge=ce.get(ne);if(ge){i(Y,j,ge);return}var fe=oe?oe(ie,ne,j+"",Y,le,ce):void 0,G=fe===void 0;if(G){var ye=m(ne),Q=!ye&&w(ne),Ee=!ye&&!Q&&M(ne);fe=ne,ye||Q||Ee?m(ie)?fe=ie:v(ie)?fe=u(ie):Q?(G=!1,fe=c(ne,!0)):Ee?(G=!1,fe=l(ne,!0)):fe=[]:F(ne)||g(ne)?(fe=ie,g(ie)?fe=D(ie):(!O(ie)||x(ie))&&(fe=f(ne))):G=!1}G&&(ce.set(ne,fe),S(fe,ne,pe,oe,ce),ce.delete(ne)),i(Y,j,fe)}o.exports=z},6936(o,p,t){var i=t(4846),c=t(8619),l=t(9599);function u(f,g){return l(c(f,g,i),f+"")}o.exports=u},604(o,p,t){var i=t(3853),c=t(2155),l=t(2159),u=t(9323),f=t(5155);function g(m,v,w,x){if(!u(m))return m;v=c(v,m);for(var O=-1,F=v.length,M=F-1,L=m;L!=null&&++O<F;){var D=f(v[O]),z=w;if(D==="__proto__"||D==="constructor"||D==="prototype")return m;if(O!=M){var Y=L[D];z=x?x(Y,D,L):void 0,z===void 0&&(z=u(Y)?Y:l(v[O+1])?[]:{})}i(L,D,z),L=L[D]}return m}o.exports=g},7680(o,p,t){var i=t(6148),c=t(4665),l=t(4846),u=c?function(f,g){return c(f,"toString",{configurable:!0,enumerable:!1,value:i(g),writable:!0})}:l;o.exports=u},5562(o){function p(t,i){for(var c=-1,l=Array(t);++c<t;)l[c]=i(c);return l}o.exports=p},1978(o,p,t){var i=t(7759),c=t(5862),l=t(2619),u=t(7964),f=1/0,g=i?i.prototype:void 0,m=g?g.toString:void 0;function v(w){if(typeof w=="string")return w;if(l(w))return c(w,v)+"";if(u(w))return m?m.call(w):"";var x=w+"";return x=="0"&&1/w==-f?"-0":x}o.exports=v},6(o,p,t){var i=t(5082),c=/^\s+/;function l(u){return u&&u.slice(0,i(u)+1).replace(c,"")}o.exports=l},1155(o){function p(t){return function(i){return t(i)}}o.exports=p},2155(o,p,t){var i=t(2619),c=t(5304),l=t(4352),u=t(7164);function f(g,m){return i(g)?g:c(g,m)?[g]:l(u(g))}o.exports=f},2859(o,p,t){var i=t(9386);function c(l){var u=new l.constructor(l.byteLength);return new i(u).set(new i(l)),u}o.exports=c},5196(o,p,t){o=t.nmd(o);var i=t(907),c=p&&!p.nodeType&&p,l=c&&!0&&o&&!o.nodeType&&o,u=l&&l.exports===c,f=u?i.Buffer:void 0,g=f?f.allocUnsafe:void 0;function m(v,w){if(w)return v.slice();var x=v.length,O=g?g(x):new v.constructor(x);return v.copy(O),O}o.exports=m},7795(o,p,t){var i=t(2859);function c(l,u){var f=u?i(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.byteLength)}o.exports=c},6899(o){var p=/\w*$/;function t(i){var c=new i.constructor(i.source,p.exec(i));return c.lastIndex=i.lastIndex,c}o.exports=t},4518(o,p,t){var i=t(7759),c=i?i.prototype:void 0,l=c?c.valueOf:void 0;function u(f){return l?Object(l.call(f)):{}}o.exports=u},5979(o,p,t){var i=t(2859);function c(l,u){var f=u?i(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}o.exports=c},3549(o){function p(t,i){var c=-1,l=t.length;for(i||(i=Array(l));++c<l;)i[c]=t[c];return i}o.exports=p},7145(o,p,t){var i=t(3853),c=t(3706);function l(u,f,g,m){var v=!g;g||(g={});for(var w=-1,x=f.length;++w<x;){var O=f[w],F=m?m(g[O],u[O],O,g,u):void 0;F===void 0&&(F=u[O]),v?c(g,O,F):i(g,O,F)}return g}o.exports=l},6573(o,p,t){var i=t(7145),c=t(1454);function l(u,f){return i(u,c(u),f)}o.exports=l},9934(o,p,t){var i=t(7145),c=t(6649);function l(u,f){return i(u,c(u),f)}o.exports=l},3703(o,p,t){var i=t(907),c=i["__core-js_shared__"];o.exports=c},2917(o,p,t){var i=t(6936),c=t(9542);function l(u){return i(function(f,g){var m=-1,v=g.length,w=v>1?g[v-1]:void 0,x=v>2?g[2]:void 0;for(w=u.length>3&&typeof w=="function"?(v--,w):void 0,x&&c(g[0],g[1],x)&&(w=v<3?void 0:w,v=1),f=Object(f);++m<v;){var O=g[m];O&&u(f,O,m,w)}return f})}o.exports=l},3375(o){function p(t){return function(i,c,l){for(var u=-1,f=Object(i),g=l(i),m=g.length;m--;){var v=g[t?m:++u];if(c(f[v],v,f)===!1)break}return i}}o.exports=p},4665(o,p,t){var i=t(5592),c=function(){try{var l=i(Object,"defineProperty");return l({},"",{}),l}catch{}}();o.exports=c},6710(o){var p=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;o.exports=p},6280(o,p,t){var i=t(1405),c=t(1454),l=t(2096);function u(f){return i(f,l,c)}o.exports=u},6839(o,p,t){var i=t(1405),c=t(6649),l=t(7999);function u(f){return i(f,l,c)}o.exports=u},9257(o,p,t){var i=t(7500);function c(l,u){var f=l.__data__;return i(u)?f[typeof u=="string"?"string":"hash"]:f.map}o.exports=c},5592(o,p,t){var i=t(4401),c=t(2490);function l(u,f){var g=c(u,f);return i(g)?g:void 0}o.exports=l},553(o,p,t){var i=t(7937),c=i(Object.getPrototypeOf,Object);o.exports=c},4817(o,p,t){var i=t(7759),c=Object.prototype,l=c.hasOwnProperty,u=c.toString,f=i?i.toStringTag:void 0;function g(m){var v=l.call(m,f),w=m[f];try{m[f]=void 0;var x=!0}catch{}var O=u.call(m);return x&&(v?m[f]=w:delete m[f]),O}o.exports=g},1454(o,p,t){var i=t(1840),c=t(5615),l=Object.prototype,u=l.propertyIsEnumerable,f=Object.getOwnPropertySymbols,g=f?function(m){return m==null?[]:(m=Object(m),i(f(m),function(v){return u.call(m,v)}))}:c;o.exports=g},6649(o,p,t){var i=t(9130),c=t(553),l=t(1454),u=t(5615),f=Object.getOwnPropertySymbols,g=f?function(m){for(var v=[];m;)i(v,l(m)),m=c(m);return v}:u;o.exports=g},1663(o,p,t){var i=t(8054),c=t(2565),l=t(8246),u=t(4099),f=t(6221),g=t(1490),m=t(8815),v="[object Map]",w="[object Object]",x="[object Promise]",O="[object Set]",F="[object WeakMap]",M="[object DataView]",L=m(i),D=m(c),z=m(l),Y=m(u),le=m(f),j=g;(i&&j(new i(new ArrayBuffer(1)))!=M||c&&j(new c)!=v||l&&j(l.resolve())!=x||u&&j(new u)!=O||f&&j(new f)!=F)&&(j=function(pe){var S=g(pe),oe=S==w?pe.constructor:void 0,ce=oe?m(oe):"";if(ce)switch(ce){case L:return M;case D:return v;case z:return x;case Y:return O;case le:return F}return S}),o.exports=j},2490(o){function p(t,i){return t?.[i]}o.exports=p},5728(o,p,t){var i=t(2155),c=t(1750),l=t(2619),u=t(2159),f=t(5300),g=t(5155);function m(v,w,x){w=i(w,v);for(var O=-1,F=w.length,M=!1;++O<F;){var L=g(w[O]);if(!(M=v!=null&&x(v,L)))break;v=v[L]}return M||++O!=F?M:(F=v==null?0:v.length,!!F&&f(F)&&u(L,F)&&(l(v)||c(v)))}o.exports=m},2130(o,p,t){var i=t(9444);function c(){this.__data__=i?i(null):{},this.size=0}o.exports=c},1924(o){function p(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}o.exports=p},4743(o,p,t){var i=t(9444),c="__lodash_hash_undefined__",l=Object.prototype,u=l.hasOwnProperty;function f(g){var m=this.__data__;if(i){var v=m[g];return v===c?void 0:v}return u.call(m,g)?m[g]:void 0}o.exports=f},1755(o,p,t){var i=t(9444),c=Object.prototype,l=c.hasOwnProperty;function u(f){var g=this.__data__;return i?g[f]!==void 0:l.call(g,f)}o.exports=u},5203(o,p,t){var i=t(9444),c="__lodash_hash_undefined__";function l(u,f){var g=this.__data__;return this.size+=this.has(u)?0:1,g[u]=i&&f===void 0?c:f,this}o.exports=l},143(o){var p=Object.prototype,t=p.hasOwnProperty;function i(c){var l=c.length,u=new c.constructor(l);return l&&typeof c[0]=="string"&&t.call(c,"index")&&(u.index=c.index,u.input=c.input),u}o.exports=i},7265(o,p,t){var i=t(2859),c=t(7795),l=t(6899),u=t(4518),f=t(5979),g="[object Boolean]",m="[object Date]",v="[object Map]",w="[object Number]",x="[object RegExp]",O="[object Set]",F="[object String]",M="[object Symbol]",L="[object ArrayBuffer]",D="[object DataView]",z="[object Float32Array]",Y="[object Float64Array]",le="[object Int8Array]",j="[object Int16Array]",pe="[object Int32Array]",S="[object Uint8Array]",oe="[object Uint8ClampedArray]",ce="[object Uint16Array]",ie="[object Uint32Array]";function ne(ge,fe,G){var ye=ge.constructor;switch(fe){case L:return i(ge);case g:case m:return new ye(+ge);case D:return c(ge,G);case z:case Y:case le:case j:case pe:case S:case oe:case ce:case ie:return f(ge,G);case v:return new ye;case w:case F:return new ye(ge);case x:return l(ge);case O:return new ye;case M:return u(ge)}}o.exports=ne},8879(o,p,t){var i=t(8514),c=t(553),l=t(8861);function u(f){return typeof f.constructor=="function"&&!l(f)?i(c(f)):{}}o.exports=u},2159(o){var p=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function i(c,l){var u=typeof c;return l=l??p,!!l&&(u=="number"||u!="symbol"&&t.test(c))&&c>-1&&c%1==0&&c<l}o.exports=i},9542(o,p,t){var i=t(9506),c=t(644),l=t(2159),u=t(9323);function f(g,m,v){if(!u(v))return!1;var w=typeof m;return(w=="number"?c(v)&&l(m,v.length):w=="string"&&m in v)?i(v[m],g):!1}o.exports=f},5304(o,p,t){var i=t(2619),c=t(7964),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;function f(g,m){if(i(g))return!1;var v=typeof g;return v=="number"||v=="symbol"||v=="boolean"||g==null||c(g)?!0:u.test(g)||!l.test(g)||m!=null&&g in Object(m)}o.exports=f},7500(o){function p(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}o.exports=p},2958(o,p,t){var i=t(3703),c=function(){var u=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}();function l(u){return!!c&&c in u}o.exports=l},8861(o){var p=Object.prototype;function t(i){var c=i&&i.constructor,l=typeof c=="function"&&c.prototype||p;return i===l}o.exports=t},3044(o){function p(){this.__data__=[],this.size=0}o.exports=p},4066(o,p,t){var i=t(7831),c=Array.prototype,l=c.splice;function u(f){var g=this.__data__,m=i(g,f);if(m<0)return!1;var v=g.length-1;return m==v?g.pop():l.call(g,m,1),--this.size,!0}o.exports=u},8461(o,p,t){var i=t(7831);function c(l){var u=this.__data__,f=i(u,l);return f<0?void 0:u[f][1]}o.exports=c},4417(o,p,t){var i=t(7831);function c(l){return i(this.__data__,l)>-1}o.exports=c},2777(o,p,t){var i=t(7831);function c(l,u){var f=this.__data__,g=i(f,l);return g<0?(++this.size,f.push([l,u])):f[g][1]=u,this}o.exports=c},4614(o,p,t){var i=t(3219),c=t(7321),l=t(2565);function u(){this.size=0,this.__data__={hash:new i,map:new(l||c),string:new i}}o.exports=u},9504(o,p,t){var i=t(9257);function c(l){var u=i(this,l).delete(l);return this.size-=u?1:0,u}o.exports=c},9251(o,p,t){var i=t(9257);function c(l){return i(this,l).get(l)}o.exports=c},5791(o,p,t){var i=t(9257);function c(l){return i(this,l).has(l)}o.exports=c},1511(o,p,t){var i=t(9257);function c(l,u){var f=i(this,l),g=f.size;return f.set(l,u),this.size+=f.size==g?0:1,this}o.exports=c},3426(o,p,t){var i=t(8590),c=500;function l(u){var f=i(u,function(m){return g.size===c&&g.clear(),m}),g=f.cache;return f}o.exports=l},9444(o,p,t){var i=t(5592),c=i(Object,"create");o.exports=c},9692(o,p,t){var i=t(7937),c=i(Object.keys,Object);o.exports=c},1779(o){function p(t){var i=[];if(t!=null)for(var c in Object(t))i.push(c);return i}o.exports=p},1587(o,p,t){o=t.nmd(o);var i=t(6710),c=p&&!p.nodeType&&p,l=c&&!0&&o&&!o.nodeType&&o,u=l&&l.exports===c,f=u&&i.process,g=function(){try{var m=l&&l.require&&l.require("util").types;return m||f&&f.binding&&f.binding("util")}catch{}}();o.exports=g},7748(o){var p=Object.prototype,t=p.toString;function i(c){return t.call(c)}o.exports=i},7937(o){function p(t,i){return function(c){return t(i(c))}}o.exports=p},8619(o,p,t){var i=t(6047),c=Math.max;function l(u,f,g){return f=c(f===void 0?u.length-1:f,0),function(){for(var m=arguments,v=-1,w=c(m.length-f,0),x=Array(w);++v<w;)x[v]=m[f+v];v=-1;for(var O=Array(f+1);++v<f;)O[v]=m[v];return O[f]=g(x),i(u,this,O)}}o.exports=l},907(o,p,t){var i=t(6710),c=typeof self=="object"&&self&&self.Object===Object&&self,l=i||c||Function("return this")();o.exports=l},5760(o){function p(t,i){if(!(i==="constructor"&&typeof t[i]=="function")&&i!="__proto__")return t[i]}o.exports=p},9599(o,p,t){var i=t(7680),c=t(6101),l=c(i);o.exports=l},6101(o){var p=800,t=16,i=Date.now;function c(l){var u=0,f=0;return function(){var g=i(),m=t-(g-f);if(f=g,m>0){if(++u>=p)return arguments[0]}else u=0;return l.apply(void 0,arguments)}}o.exports=c},1306(o,p,t){var i=t(7321);function c(){this.__data__=new i,this.size=0}o.exports=c},3180(o){function p(t){var i=this.__data__,c=i.delete(t);return this.size=i.size,c}o.exports=p},5247(o){function p(t){return this.__data__.get(t)}o.exports=p},2835(o){function p(t){return this.__data__.has(t)}o.exports=p},9179(o,p,t){var i=t(7321),c=t(2565),l=t(111),u=200;function f(g,m){var v=this.__data__;if(v instanceof i){var w=v.__data__;if(!c||w.length<u-1)return w.push([g,m]),this.size=++v.size,this;v=this.__data__=new l(w)}return v.set(g,m),this.size=v.size,this}o.exports=f},4352(o,p,t){var i=t(3426),c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,u=i(function(f){var g=[];return f.charCodeAt(0)===46&&g.push(""),f.replace(c,function(m,v,w,x){g.push(w?x.replace(l,"$1"):v||m)}),g});o.exports=u},5155(o,p,t){var i=t(7964),c=1/0;function l(u){if(typeof u=="string"||i(u))return u;var f=u+"";return f=="0"&&1/u==-c?"-0":f}o.exports=l},8815(o){var p=Function.prototype,t=p.toString;function i(c){if(c!=null){try{return t.call(c)}catch{}try{return c+""}catch{}}return""}o.exports=i},5082(o){var p=/\s/;function t(i){for(var c=i.length;c--&&p.test(i.charAt(c)););return c}o.exports=t},8313(o,p,t){var i=t(6057),c=1,l=4;function u(f){return i(f,c|l)}o.exports=u},6148(o){function p(t){return function(){return t}}o.exports=p},671(o,p,t){var i=t(9323),c=t(5062),l=t(9480),u="Expected a function",f=Math.max,g=Math.min;function m(v,w,x){var O,F,M,L,D,z,Y=0,le=!1,j=!1,pe=!0;if(typeof v!="function")throw new TypeError(u);w=l(w)||0,i(x)&&(le=!!x.leading,j="maxWait"in x,M=j?f(l(x.maxWait)||0,w):M,pe="trailing"in x?!!x.trailing:pe);function S(Q){var Ee=O,Be=F;return O=F=void 0,Y=Q,L=v.apply(Be,Ee),L}function oe(Q){return Y=Q,D=setTimeout(ne,w),le?S(Q):L}function ce(Q){var Ee=Q-z,Be=Q-Y,ft=w-Ee;return j?g(ft,M-Be):ft}function ie(Q){var Ee=Q-z,Be=Q-Y;return z===void 0||Ee>=w||Ee<0||j&&Be>=M}function ne(){var Q=c();if(ie(Q))return ge(Q);D=setTimeout(ne,ce(Q))}function ge(Q){return D=void 0,pe&&O?S(Q):(O=F=void 0,L)}function fe(){D!==void 0&&clearTimeout(D),Y=0,O=z=F=D=void 0}function G(){return D===void 0?L:ge(c())}function ye(){var Q=c(),Ee=ie(Q);if(O=arguments,F=this,z=Q,Ee){if(D===void 0)return oe(z);if(j)return clearTimeout(D),D=setTimeout(ne,w),S(z)}return D===void 0&&(D=setTimeout(ne,w)),L}return ye.cancel=fe,ye.flush=G,ye}o.exports=m},9506(o){function p(t,i){return t===i||t!==t&&i!==i}o.exports=p},2438(o,p,t){var i=t(3208);function c(l,u,f){var g=l==null?void 0:i(l,u);return g===void 0?f:g}o.exports=c},2146(o,p,t){var i=t(2780),c=t(5728);function l(u,f){return u!=null&&c(u,f,i)}o.exports=l},4846(o){function p(t){return t}o.exports=p},1750(o,p,t){var i=t(2960),c=t(2292),l=Object.prototype,u=l.hasOwnProperty,f=l.propertyIsEnumerable,g=i(function(){return arguments}())?i:function(m){return c(m)&&u.call(m,"callee")&&!f.call(m,"callee")};o.exports=g},2619(o){var p=Array.isArray;o.exports=p},644(o,p,t){var i=t(860),c=t(5300);function l(u){return u!=null&&c(u.length)&&!i(u)}o.exports=l},1891(o,p,t){var i=t(644),c=t(2292);function l(u){return c(u)&&i(u)}o.exports=l},3446(o,p,t){o=t.nmd(o);var i=t(907),c=t(9349),l=p&&!p.nodeType&&p,u=l&&!0&&o&&!o.nodeType&&o,f=u&&u.exports===l,g=f?i.Buffer:void 0,m=g?g.isBuffer:void 0,v=m||c;o.exports=v},860(o,p,t){var i=t(1490),c=t(9323),l="[object AsyncFunction]",u="[object Function]",f="[object GeneratorFunction]",g="[object Proxy]";function m(v){if(!c(v))return!1;var w=i(v);return w==u||w==f||w==l||w==g}o.exports=m},5300(o){var p=9007199254740991;function t(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=p}o.exports=t},7884(o,p,t){var i=t(9694),c=t(1155),l=t(1587),u=l&&l.isMap,f=u?c(u):i;o.exports=f},9323(o){function p(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}o.exports=p},2292(o){function p(t){return t!=null&&typeof t=="object"}o.exports=p},1281(o,p,t){var i=t(1490),c=t(553),l=t(2292),u="[object Object]",f=Function.prototype,g=Object.prototype,m=f.toString,v=g.hasOwnProperty,w=m.call(Object);function x(O){if(!l(O)||i(O)!=u)return!1;var F=c(O);if(F===null)return!0;var M=v.call(F,"constructor")&&F.constructor;return typeof M=="function"&&M instanceof M&&m.call(M)==w}o.exports=x},5070(o,p,t){var i=t(8172),c=t(1155),l=t(1587),u=l&&l.isSet,f=u?c(u):i;o.exports=f},7964(o,p,t){var i=t(1490),c=t(2292),l="[object Symbol]";function u(f){return typeof f=="symbol"||c(f)&&i(f)==l}o.exports=u},3133(o,p,t){var i=t(5283),c=t(1155),l=t(1587),u=l&&l.isTypedArray,f=u?c(u):i;o.exports=f},2096(o,p,t){var i=t(3737),c=t(2322),l=t(644);function u(f){return l(f)?i(f):c(f)}o.exports=u},7999(o,p,t){var i=t(3737),c=t(5045),l=t(644);function u(f){return l(f)?i(f,!0):c(f)}o.exports=u},8590(o,p,t){var i=t(111),c="Expected a function";function l(u,f){if(typeof u!="function"||f!=null&&typeof f!="function")throw new TypeError(c);var g=function(){var m=arguments,v=f?f.apply(this,m):m[0],w=g.cache;if(w.has(v))return w.get(v);var x=u.apply(this,m);return g.cache=w.set(v,x)||w,x};return g.cache=new(l.Cache||i),g}l.Cache=i,o.exports=l},8970(o,p,t){var i=t(3912),c=t(2917),l=c(function(u,f,g){i(u,f,g)});o.exports=l},5062(o,p,t){var i=t(907),c=function(){return i.Date.now()};o.exports=c},2154(o,p,t){var i=t(604);function c(l,u,f){return l==null?l:i(l,u,f)}o.exports=c},5615(o){function p(){return[]}o.exports=p},9349(o){function p(){return!1}o.exports=p},6712(o,p,t){var i=t(671),c=t(9323),l="Expected a function";function u(f,g,m){var v=!0,w=!0;if(typeof f!="function")throw new TypeError(l);return c(m)&&(v="leading"in m?!!m.leading:v,w="trailing"in m?!!m.trailing:w),i(f,g,{leading:v,maxWait:g,trailing:w})}o.exports=u},9480(o,p,t){var i=t(6),c=t(9323),l=t(7964),u=NaN,f=/^[-+]0x[0-9a-f]+$/i,g=/^0b[01]+$/i,m=/^0o[0-7]+$/i,v=parseInt;function w(x){if(typeof x=="number")return x;if(l(x))return u;if(c(x)){var O=typeof x.valueOf=="function"?x.valueOf():x;x=c(O)?O+"":O}if(typeof x!="string")return x===0?x:+x;x=i(x);var F=g.test(x);return F||m.test(x)?v(x.slice(2),F?2:8):f.test(x)?u:+x}o.exports=w},4514(o,p,t){var i=t(7145),c=t(7999);function l(u){return i(u,c(u))}o.exports=l},7164(o,p,t){var i=t(1978);function c(l){return l==null?"":i(l)}o.exports=c},5360(o,p){"use strict";/** @license React v16.13.1
2
+ * react-is.production.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */var t=typeof Symbol=="function"&&Symbol.for,i=t?Symbol.for("react.element"):60103,c=t?Symbol.for("react.portal"):60106,l=t?Symbol.for("react.fragment"):60107,u=t?Symbol.for("react.strict_mode"):60108,f=t?Symbol.for("react.profiler"):60114,g=t?Symbol.for("react.provider"):60109,m=t?Symbol.for("react.context"):60110,v=t?Symbol.for("react.async_mode"):60111,w=t?Symbol.for("react.concurrent_mode"):60111,x=t?Symbol.for("react.forward_ref"):60112,O=t?Symbol.for("react.suspense"):60113,F=t?Symbol.for("react.suspense_list"):60120,M=t?Symbol.for("react.memo"):60115,L=t?Symbol.for("react.lazy"):60116,D=t?Symbol.for("react.block"):60121,z=t?Symbol.for("react.fundamental"):60117,Y=t?Symbol.for("react.responder"):60118,le=t?Symbol.for("react.scope"):60119;function j(S){if(typeof S=="object"&&S!==null){var oe=S.$$typeof;switch(oe){case i:switch(S=S.type,S){case v:case w:case l:case f:case u:case O:return S;default:switch(S=S&&S.$$typeof,S){case m:case x:case L:case M:case g:return S;default:return oe}}case c:return oe}}}function pe(S){return j(S)===w}p.AsyncMode=v,p.ConcurrentMode=w,p.ContextConsumer=m,p.ContextProvider=g,p.Element=i,p.ForwardRef=x,p.Fragment=l,p.Lazy=L,p.Memo=M,p.Portal=c,p.Profiler=f,p.StrictMode=u,p.Suspense=O,p.isAsyncMode=function(S){return pe(S)||j(S)===v},p.isConcurrentMode=pe,p.isContextConsumer=function(S){return j(S)===m},p.isContextProvider=function(S){return j(S)===g},p.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===i},p.isForwardRef=function(S){return j(S)===x},p.isFragment=function(S){return j(S)===l},p.isLazy=function(S){return j(S)===L},p.isMemo=function(S){return j(S)===M},p.isPortal=function(S){return j(S)===c},p.isProfiler=function(S){return j(S)===f},p.isStrictMode=function(S){return j(S)===u},p.isSuspense=function(S){return j(S)===O},p.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===l||S===w||S===f||S===u||S===O||S===F||typeof S=="object"&&S!==null&&(S.$$typeof===L||S.$$typeof===M||S.$$typeof===g||S.$$typeof===m||S.$$typeof===x||S.$$typeof===z||S.$$typeof===Y||S.$$typeof===le||S.$$typeof===D)},p.typeOf=j},7020(o,p,t){"use strict";o.exports=t(5360)},162(o){o.exports=function(t,i,c,l){var u=c?c.call(l,t,i):void 0;if(u!==void 0)return!!u;if(t===i)return!0;if(typeof t!="object"||!t||typeof i!="object"||!i)return!1;var f=Object.keys(t),g=Object.keys(i);if(f.length!==g.length)return!1;for(var m=Object.prototype.hasOwnProperty.bind(i),v=0;v<f.length;v++){var w=f[v];if(!m(w))return!1;var x=t[w],O=i[w];if(u=c?c.call(l,x,O,w):void 0,u===!1||u===void 0&&x!==O)return!1}return!0}},4883(o){"use strict";o.exports=dr}},_e={};function X(o){var p=_e[o];if(p!==void 0)return p.exports;var t=_e[o]={id:o,loaded:!1,exports:{}};return xt[o](t,t.exports,X),t.loaded=!0,t.exports}X.n=o=>{var p=o&&o.__esModule?()=>o.default:()=>o;return X.d(p,{a:p}),p},X.d=(o,p)=>{for(var t in p)X.o(p,t)&&!X.o(o,t)&&Object.defineProperty(o,t,{enumerable:!0,get:p[t]})},X.o=(o,p)=>Object.prototype.hasOwnProperty.call(o,p),X.r=o=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},X.nmd=o=>(o.paths=[],o.children||(o.children=[]),o),(()=>{var o;globalThis.importScripts&&(o=globalThis.location+"");var p=globalThis.document;if(!o&&p&&(p.currentScript&&p.currentScript.tagName.toUpperCase()==="SCRIPT"&&(o=p.currentScript.src),!o)){var t=p.getElementsByTagName("script");if(t.length)for(var i=t.length-1;i>-1&&(!o||!/^http(s?):/.test(o));)o=t[i--].src}if(!o)throw new Error("Automatic publicPath is not supported in this browser");o=o.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),X.p=o+"../"})(),X.nc=void 0;var Ut={};return(()=>{"use strict";X.r(Ut),X.d(Ut,{CAppBridge:()=>Jn,Event:()=>ie,LaunchMode:()=>S,MicroAppManager:()=>oe,ScriptLoader:()=>Nr,ScriptingObject:()=>Q,SecurityContext:()=>o,StyleLoader:()=>Ur});var o=(r=>(r.USER="USER",r.PARTNER="PARTNER",r))(o||{}),p=X(8313),t=X.n(p),i=X(2438),c=X.n(i),l=X(2154),u=X.n(l),f=X(2146),g=X.n(f),m=X(8970),v=X.n(m);const w=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"]}},"ssfapp":{"name":"SSF App","hostUrl":"./ssf-app","microappManager":"ssf"}},"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"}}}}'),x="latest",O=r=>r.replace(/([^:]\/)\/+/g,"$1"),F=r=>{const e=document.createElement("a");return e.href=r,e.href},M=r=>r?.replace?.(/\/?$/,"/"),L=(r,e)=>`${r.replace(/\/+$/,"")}/${e.replace(/^\/+/,"")}`,D=r=>/^(\/|https?:\/\/)/.test(r),z=(r,e)=>{const n=M(e);if(D(n)){const{origin:s}=new URL(r,window.location.href);return O(new URL(n,s).href)}return O(new URL(n,M(r)).href)},Y=(r,e)=>O(new URL("manifest.json",z(r,e)).href),le=()=>window.navigator.userAgent.includes("jsdom"),j=r=>r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),pe=r=>{try{if(new URL(r,window.location.href).origin===window.location.origin)return r;const n=window.location.hostname==="localhost"?"latest":window.emui?.version?.match(/^(\d+\.\d+)/)?.[1]??"latest";return`${window.location.origin}/${n}/frame.html`}catch{return r}};var S=(r=>(r.DEVELOPMENT="development",r.PRODUCTION="production",r))(S||{}),oe=(r=>(r.SSF="ssf",r.APPSDK="appsdk",r))(oe||{});class ce{#e=w;#t;#r;constructor(e){this.#t=e?.version||x,this.#r=M(e?.baseUrl||"")}#i=e=>{const{activeEnv:n,env:s,...a}=e,d=s[n]||{};this.#e=v()({},a,d)};get=(e="",n=null)=>t()(c()(this.#e,e,n));set=(e,n)=>{u()(this.#e,e,n)};has=(e="")=>g()(this.#e,e);setPreloadedConfig=e=>{this.#e=e};#n=()=>{if(!/(?:\/)(\d+\.\d+|latest)(?:\/?)?$/.test(this.#r)){const n=this.#t.match(/^(?:\d+\.\d+)*/g);return M(`${this.#r}${n?.[0]||x}`)}return this.#r};#o=()=>{const e=this.#n();return M(e.replace(/(\/)(\d+\.\d+|latest)\/?$/,"$1latest/"))};load=async e=>{const n=e??`${this.#n()}app.config.json`,s=`${this.#o()}app.config.json`,a=h=>!e&&h!==s;let d;try{d=await fetch(n)}catch(h){if(a(n)){await this.load(s);return}throw new Error("Failed to fetch app config",{cause:h})}if(d.ok)try{const h=await d.json();this.#i(h)}catch(h){if(a(n)){await this.load(s);return}throw new Error("Failed to parse app config",{cause:h})}else if(a(n))await this.load(s);else throw new Error("Failed to load app config")}}class ie{name;objectId;id;constructor(e){const{name:n,objectId:s}=e;if(!n)throw new Error("Event name is required");if(!s)throw new Error("Scripting object id is required");this.objectId=s,this.name=n,this.id=`${this.objectId}.${this.name}`.toLowerCase()}}class ne{static[Symbol.hasInstance](e){return typeof e=="object"&&e!==null&&"getType"in e&&typeof e.getType=="function"&&e.getType()==="ProxyEvent"}#e;objectId;name;id;getType(){return"ProxyEvent"}constructor(e){const{name:n,objectId:s,eventSrc:a}=e;if(!n)throw new Error("Event name is required");if(!s)throw new Error("Scripting object id is required");if(!a)throw new Error("Event source is required");this.objectId=s,this.name=n,this.#e=a,this.id=`${this.objectId}.${this.name}`.toLowerCase()}subscribe=e=>this.#e.subscribe({eventId:this.id,callback:e});unsubscribe=e=>{this.#e.unsubscribe({eventId:this.id,token:e})}}const ge=r=>r instanceof ie,fe=(r,e)=>`${r.toLowerCase()}.${e.toLowerCase()}`,G="function",ye=(r,e)=>typeof r===G&&!!e&&!e.startsWith("_");class Q{#e;#t="Object";constructor(e,n){this.#e=e,this.#t=n||this.#t}get id(){return this.#e}get objectType(){return this.#t}_toJSON=()=>{const e=[],n=[];return Object.keys(this).forEach(s=>{const a=this[s];ge(a)?n.push(s):ye(a,s)&&e.push(s)}),{objectId:this.#e,objectType:this.#t,functions:e,events:n}};_dispose=()=>{};dispose=()=>{}}var Ee=X(6712),Be=X.n(Ee);const St={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let qe;const zt=new Uint8Array(16);function Bt(){if(!qe&&(qe=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!qe))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return qe(zt)}var Vt;const be=[];for(let r=0;r<256;++r)be.push((r+256).toString(16).slice(1));function At(r,e=0){return be[r[e+0]]+be[r[e+1]]+be[r[e+2]]+be[r[e+3]]+"-"+be[r[e+4]]+be[r[e+5]]+"-"+be[r[e+6]]+be[r[e+7]]+"-"+be[r[e+8]]+be[r[e+9]]+"-"+be[r[e+10]]+be[r[e+11]]+be[r[e+12]]+be[r[e+13]]+be[r[e+14]]+be[r[e+15]]}function hr(r,e=0){const n=At(r,e);if(!Vt(n))throw TypeError("Stringified UUID is invalid");return n}const gr=null;function Gt(r,e,n){if(St.randomUUID&&!e&&!r)return St.randomUUID();r=r||{};const s=r.random||(r.rng||Bt)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e){n=n||0;for(let a=0;a<16;++a)e[n+a]=s[a];return e}return At(s)}const Et=Gt;var ot=(r=>(r.Analytics="analytics",r.Application="application",r.Auth="auth",r.Form="form",r.Global="global",r.Http="http",r.Loan="loan",r.LoanV2="loanV2",r.MemStorage="memstorage",r.Module="module",r.Service="service",r.Session="session",r.Styling="styling",r.Transaction="transaction",r.TransactionTemplate="transactiontemplate",r.WebSocket="websocket",r))(ot||{});const Ct="module";var mr=null,vr=null;class Ht{#e=e=>e.trim().toLowerCase();#t=new Map;#r=new Map;#i=e=>{const{so:n,guestId:s,onDuplicate:a="throw",securityContext:d}=e,h=this.#e(n.id),b={so:n,guestId:s,securityContext:d},E=this.#r.get(s);if(!E){this.#r.set(s,new Map([[h,b]]));return}if(E.has(h)){if(a==="ignore")return;throw new Error(`Scripting Object ${n.id} already exists for guest ${s}`)}E.set(h,b)};#n=({so:e})=>{if(e._dispose&&typeof e._dispose=="function")try{e._dispose()}catch{}};#o=({objectId:e,guestId:n})=>{if(e===Ct&&!n)for(const[,a]of this.#r){const d=a.get(e);if(d)return d}const s=n?this.#r.get(n):null;return s?s.get(e)??null:null};#s=({objectId:e,guestId:n}={})=>{if(n){if(!e){const a=this.#r.get(n);a&&a.forEach(this.#n),this.#r.delete(n);return}const s=this.#r.get(n);if(s){const a=s.get(e);a&&this.#n(a),s.delete(e)}}else e&&this.#r.forEach(s=>{const a=s.get(e);a&&this.#n(a),s.delete(e)})};addScriptingObject=(e,n)=>{const{guestId:s,onDuplicate:a="throw",securityContext:d}=n||{};if(!e?.id||!e?._toJSON)throw new Error("Object is not derived from ScriptingObject");const h=this.#e(e.id);if(h===Ct&&!s)throw new Error("Guest id is required to add Module scripting object");if(s){this.#i({so:e,...n,guestId:s,onDuplicate:a});return}if(this.#t.has(h)){if(a==="ignore")return;throw new Error(`Scripting Object ${e.id} already exists`)}this.#t.set(h,{so:e,guestId:s,securityContext:d})};getObject=(e,n)=>{const s=this.#e(e);let a=this.#o({objectId:s,guestId:n?.id});a=a??this.#t.get(s)??null;const{so:d}=a||{};return d||null};has=(e,n)=>this.getObject(e,n)!==null;listScriptingObjects=e=>{const n=new Set(this.#t.keys()),s=this.#r.get(e);if(s)for(const a of s.keys())n.add(a);return Array.from(n)};removeScriptingObject=(e,n)=>{const s=this.#e(e);if(n)this.#s({objectId:s,guestId:n});else{this.#s({objectId:s});const a=this.#t.get(s);a&&this.#n(a),this.#t.delete(s)}};removeAllScriptingObjects=e=>{e?this.#s({guestId:e}):(this.#t.forEach(this.#n),this.#t.clear())}}class Wt{__TYPE__="Proxy";id;objectType;constructor(e,n){this.id=e,this.objectType=n}}const Ot=r=>r?.constructor?.name==="Proxy"||r?.constructor?.name==="ScriptingObjectProxy"||r?.__TYPE__==="Proxy";class se{#e=new Map;#t=new WeakMap;#r;constructor(e){this.#r=e}#i=(e,n)=>{const s=new Promise(a=>{setTimeout(()=>{a()},n)});return Promise.race([e,s])};#n=e=>{const{eventName:n,scriptingObject:s,eventParams:a,listeners:d}=e;d.forEach(h=>{h.criteria&&!(a&&this.#s(a,h.criteria))||Promise.resolve(h.callback({obj:s,eventName:n,eventParams:a})).catch(b=>{this.#r?.warn(`Error in event listener for "${n}": ${b.message}`)})})};#o=async({eventId:e,eventName:n,scriptingObject:s,eventParams:a,feedbackWaitTime:d})=>{const b=(this.#e.get(e)||[]).map(A=>A.criteria&&!(a?this.#s(a,A.criteria):!1)?Promise.resolve():this.#i(A.callback({obj:s,eventName:n,eventParams:a}),d));return(await Promise.all(b)).flat(1/0).filter(A=>A!==void 0)};#s(e,n){return Object.entries(n).every(([s,a])=>{const d=e[s];if("eq"in a)return d===a.eq;if("in"in a)return Array.isArray(a.in)&&a.in.includes(d);if("includes"in a)return Array.isArray(d)&&d.includes(a.includes);if("gt"in a){const h=typeof d=="number"?d:Number(d);return!Number.isNaN(h)&&h>a.gt}if("lt"in a){const h=typeof d=="number"?d:Number(d);return!Number.isNaN(h)&&h<a.lt}if("regex"in a){let h=this.#t.get(a);if(h===void 0){try{h=new RegExp(a.regex)}catch{h=null}this.#t.set(a,h)}return h!==null&&typeof d=="string"&&h.test(d)}return!1})}dispatchEvent=async(e,n)=>{const{event:{id:s,name:a},eventParams:d,eventOptions:h}=n,{timeout:b}=h??{};if(!s)throw new Error("Event Id is required");const E=this.#e.get(s)||[];return!b||b<=0?(this.#n({eventName:a,scriptingObject:e,eventParams:d,listeners:E}),Promise.resolve()):this.#o({eventId:s,eventName:a,scriptingObject:e,eventParams:d,feedbackWaitTime:b})};subscribe=e=>{const{eventId:n,callback:s,criteria:a}=e;if(!n)throw new Error("eventId is required");if(!s)throw new Error("Callback is required");const d=this.#e.get(n)||[],h=Et();return d.push({token:h,criteria:a,callback:s}),this.#e.set(n,d),h};unsubscribe=e=>{const{eventId:n,token:s}=e;if(!n)throw new Error("eventId id is required");if(s){const a=this.#e.get(n)||[],d=a.findIndex(h=>h.token===s);d>-1&&(a.splice(d,1),this.#e.set(n,a))}else this.#e.delete(n)};unsubscribeAll=()=>{this.#e.clear()}}const et=X.p+"assets/frame.4cbbcfa9ded96b660559.html?resource",Z="pui-app-container-",He=r=>{const e=r.src??et.default??et,n=pe(e);if(!r.queryParams)return n;const s=r.queryParams.replace(/[^a-zA-Z0-9&=_.~%+-]/g,"");return`${n}${n.includes("?")?"&":"?"}${s}`},We=({documentEle:r,hostUrl:e,manifestPath:n,guestId:s})=>{const a=r.getElementById(Z);a&&(a.id=`${a.id}${s}`);const d=z(e,n);let h=r.getElementsByTagName("base")?.[0];if(h){h.href=d;return}h=r.createElement("base"),h.href=d,r.getElementsByTagName("head")[0].appendChild(h)},Kt=({id:r,instanceId:e,manifestPath:n,hostUrl:s,options:a})=>new Promise((d,h)=>{const{signal:b}=a;if(b?.aborted){h(new DOMException("iframe creation aborted","AbortError"));return}const E=document.createElement("div");E.setAttribute("style","display: flex;width: 100%;height: 100%;flex-direction: column;overflow: hidden;");const A=document.createElement("iframe");A.setAttribute("id",e),A.setAttribute("data-testid",r),A.setAttribute("title",a.title),A.setAttribute("allowfullscreen","true"),A.setAttribute("allowtransparency","true"),a.permissionPolicy&&A.setAttribute("allow",a.permissionPolicy),a.sandbox&&A.setAttribute("sandbox",a.sandbox),A.setAttribute("style",a.style??"flex-grow: 1;border: none;margin: 0;padding: 0;display: block;min-width: 100%;height: 100%;"),A.setAttribute("src",He(a));const I=1e4;let T=!1,H,K;const k=()=>{clearTimeout(H),b?.removeEventListener("abort",K)},W=()=>b?.aborted?(T||(T=!0,k(),E.remove(),h(new DOMException("iframe creation aborted","AbortError"))),!0):!1;if(K=()=>{W()},W())return;b?.addEventListener("abort",K),H=setTimeout(()=>{T||(T=!0,k(),E.remove(),h(new Error(`iframe for ${r} failed to load within ${I}ms`)))},I),A.addEventListener("error",()=>{T||(T=!0,k(),E.remove(),h(new Error(`iframe for ${r} failed to load`)))}),A.addEventListener("load",()=>{T||W()||A.contentDocument&&(T=!0,k(),We({documentEle:A.contentDocument,hostUrl:s,manifestPath:n,guestId:r}),d(A))}),E.appendChild(A);const{containerId:N}=a;(document.getElementById(N??"")??document.body).appendChild(E)}),tt=r=>document.getElementById(r),de={create:Kt,remove:r=>{const e=tt(r);e&&e.parentElement?.remove()},get:tt},it=()=>({breakpoints:["512px","768px","1024px","350px"],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","#C9E7FF"],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 rt=X(7020),Me=X(4883),$e=X.n(Me),Ke=X(162),Tt=X.n(Ke);function Pt(r){function e($,P,R,B,y){for(var q=0,C=0,he=0,ee=0,re,V,xe=0,Te=0,_,Ce=_=re=0,te=0,Se=0,bt=0,Ae=0,Nt=R.length,wt=Nt-1,ke,U="",ve="",pr="",fr="",Qe;te<Nt;){if(V=R.charCodeAt(te),te===wt&&C+ee+he+q!==0&&(C!==0&&(V=C===47?10:47),ee=he=q=0,Nt++,wt++),C+ee+he+q===0){if(te===wt&&(0<Se&&(U=U.replace(H,"")),0<U.trim().length)){switch(V){case 32:case 9:case 59:case 13:case 10:break;default:U+=R.charAt(te)}V=59}switch(V){case 123:for(U=U.trim(),re=U.charCodeAt(0),_=1,Ae=++te;te<Nt;){switch(V=R.charCodeAt(te)){case 123:_++;break;case 125:_--;break;case 47:switch(V=R.charCodeAt(te+1)){case 42:case 47:e:{for(Ce=te+1;Ce<wt;++Ce)switch(R.charCodeAt(Ce)){case 47:if(V===42&&R.charCodeAt(Ce-1)===42&&te+2!==Ce){te=Ce+1;break e}break;case 10:if(V===47){te=Ce+1;break e}}te=Ce}}break;case 91:V++;case 40:V++;case 34:case 39:for(;te++<wt&&R.charCodeAt(te)!==V;);}if(_===0)break;te++}switch(_=R.substring(Ae,te),re===0&&(re=(U=U.replace(T,"").trim()).charCodeAt(0)),re){case 64:switch(0<Se&&(U=U.replace(H,"")),V=U.charCodeAt(1),V){case 100:case 109:case 115:case 45:Se=P;break;default:Se=mt}if(_=e(P,Se,_,V,y+1),Ae=_.length,0<Re&&(Se=n(mt,U,bt),Qe=b(3,_,Se,P,De,Ie,Ae,V,y,B),U=Se.join(""),Qe!==void 0&&(Ae=(_=Qe.trim()).length)===0&&(V=0,_="")),0<Ae)switch(V){case 115:U=U.replace(Ze,h);case 100:case 109:case 45:_=U+"{"+_+"}";break;case 107:U=U.replace(J,"$1 $2"),_=U+"{"+_+"}",_=Oe===1||Oe===2&&d("@"+_,3)?"@-webkit-"+_+"@"+_:"@"+_;break;default:_=U+_,B===112&&(_=(ve+=_,""))}else _="";break;default:_=e(P,n(P,U,bt),_,B,y+1)}pr+=_,_=bt=Se=Ce=re=0,U="",V=R.charCodeAt(++te);break;case 125:case 59:if(U=(0<Se?U.replace(H,""):U).trim(),1<(Ae=U.length))switch(Ce===0&&(re=U.charCodeAt(0),re===45||96<re&&123>re)&&(Ae=(U=U.replace(" ",":")).length),0<Re&&(Qe=b(1,U,P,$,De,Ie,ve.length,B,y,B))!==void 0&&(Ae=(U=Qe.trim()).length)===0&&(U="\0\0"),re=U.charCodeAt(0),V=U.charCodeAt(1),re){case 0:break;case 64:if(V===105||V===99){fr+=U+R.charAt(te);break}default:U.charCodeAt(Ae-1)!==58&&(ve+=a(U,re,V,U.charCodeAt(2)))}bt=Se=Ce=re=0,U="",V=R.charCodeAt(++te)}}switch(V){case 13:case 10:C===47?C=0:1+re===0&&B!==107&&0<U.length&&(Se=1,U+="\0"),0<Re*pt&&b(0,U,P,$,De,Ie,ve.length,B,y,B),Ie=1,De++;break;case 59:case 125:if(C+ee+he+q===0){Ie++;break}default:switch(Ie++,ke=R.charAt(te),V){case 9:case 32:if(ee+q+C===0)switch(xe){case 44:case 58:case 9:case 32:ke="";break;default:V!==32&&(ke=" ")}break;case 0:ke="\\0";break;case 12:ke="\\f";break;case 11:ke="\\v";break;case 38:ee+C+q===0&&(Se=bt=1,ke="\f"+ke);break;case 108:if(ee+C+q+ze===0&&0<Ce)switch(te-Ce){case 2:xe===112&&R.charCodeAt(te-3)===58&&(ze=xe);case 8:Te===111&&(ze=Te)}break;case 58:ee+C+q===0&&(Ce=te);break;case 44:C+he+ee+q===0&&(Se=1,ke+="\r");break;case 34:case 39:C===0&&(ee=ee===V?0:ee===0?V:ee);break;case 91:ee+C+he===0&&q++;break;case 93:ee+C+he===0&&q--;break;case 41:ee+C+q===0&&he--;break;case 40:if(ee+C+q===0){if(re===0)switch(2*xe+3*Te){case 533:break;default:re=1}he++}break;case 64:C+he+ee+q+Ce+_===0&&(_=1);break;case 42:case 47:if(!(0<ee+q+he))switch(C){case 0:switch(2*V+3*R.charCodeAt(te+1)){case 235:C=47;break;case 220:Ae=te,C=42}break;case 42:V===47&&xe===42&&Ae+2!==te&&(R.charCodeAt(Ae+2)===33&&(ve+=R.substring(Ae,te+1)),ke="",C=0)}}C===0&&(U+=ke)}Te=xe,xe=V,te++}if(Ae=ve.length,0<Ae){if(Se=P,0<Re&&(Qe=b(2,ve,Se,$,De,Ie,Ae,B,y,B),Qe!==void 0&&(ve=Qe).length===0))return fr+ve+pr;if(ve=Se.join(",")+"{"+ve+"}",Oe*ze!==0){switch(Oe!==2||d(ve,2)||(ze=0),ze){case 111:ve=ve.replace(ue,":-moz-$1")+ve;break;case 112:ve=ve.replace(we,"::-webkit-input-$1")+ve.replace(we,"::-moz-$1")+ve.replace(we,":-ms-input-$1")+ve}ze=0}}return fr+ve+pr}function n($,P,R){var B=P.trim().split(N);P=B;var y=B.length,q=$.length;switch(q){case 0:case 1:var C=0;for($=q===0?"":$[0]+" ";C<y;++C)P[C]=s($,P[C],R).trim();break;default:var he=C=0;for(P=[];C<y;++C)for(var ee=0;ee<q;++ee)P[he++]=s($[ee]+" ",B[C],R).trim()}return P}function s($,P,R){var B=P.charCodeAt(0);switch(33>B&&(B=(P=P.trim()).charCodeAt(0)),B){case 38:return P.replace(ae,"$1"+$.trim());case 58:return $.trim()+P.replace(ae,"$1"+$.trim());default:if(0<1*R&&0<P.indexOf("\f"))return P.replace(ae,($.charCodeAt(0)===58?"":"$1")+$.trim())}return $+P}function a($,P,R,B){var y=$+";",q=2*P+3*R+4*B;if(q===944){$=y.indexOf(":",9)+1;var C=y.substring($,y.length-1).trim();return C=y.substring(0,$).trim()+C+";",Oe===1||Oe===2&&d(C,1)?"-webkit-"+C+C:C}if(Oe===0||Oe===2&&!d(y,1))return y;switch(q){case 1015:return y.charCodeAt(10)===97?"-webkit-"+y+y:y;case 951:return y.charCodeAt(3)===116?"-webkit-"+y+y:y;case 963:return y.charCodeAt(5)===110?"-webkit-"+y+y:y;case 1009:if(y.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+y+y;case 978:return"-webkit-"+y+"-moz-"+y+y;case 1019:case 983:return"-webkit-"+y+"-moz-"+y+"-ms-"+y+y;case 883:if(y.charCodeAt(8)===45)return"-webkit-"+y+y;if(0<y.indexOf("image-set(",11))return y.replace(ut,"$1-webkit-$2")+y;break;case 932:if(y.charCodeAt(4)===45)switch(y.charCodeAt(5)){case 103:return"-webkit-box-"+y.replace("-grow","")+"-webkit-"+y+"-ms-"+y.replace("grow","positive")+y;case 115:return"-webkit-"+y+"-ms-"+y.replace("shrink","negative")+y;case 98:return"-webkit-"+y+"-ms-"+y.replace("basis","preferred-size")+y}return"-webkit-"+y+"-ms-"+y+y;case 964:return"-webkit-"+y+"-ms-flex-"+y+y;case 1023:if(y.charCodeAt(8)!==99)break;return C=y.substring(y.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+C+"-webkit-"+y+"-ms-flex-pack"+C+y;case 1005:return k.test(y)?y.replace(K,":-webkit-")+y.replace(K,":-moz-")+y:y;case 1e3:switch(C=y.substring(13).trim(),P=C.indexOf("-")+1,C.charCodeAt(0)+C.charCodeAt(P)){case 226:C=y.replace(me,"tb");break;case 232:C=y.replace(me,"tb-rl");break;case 220:C=y.replace(me,"lr");break;default:return y}return"-webkit-"+y+"-ms-"+C+y;case 1017:if(y.indexOf("sticky",9)===-1)break;case 975:switch(P=(y=$).length-10,C=(y.charCodeAt(P)===33?y.substring(0,P):y).substring($.indexOf(":",7)+1).trim(),q=C.charCodeAt(0)+(C.charCodeAt(7)|0)){case 203:if(111>C.charCodeAt(8))break;case 115:y=y.replace(C,"-webkit-"+C)+";"+y;break;case 207:case 102:y=y.replace(C,"-webkit-"+(102<q?"inline-":"")+"box")+";"+y.replace(C,"-webkit-"+C)+";"+y.replace(C,"-ms-"+C+"box")+";"+y}return y+";";case 938:if(y.charCodeAt(5)===45)switch(y.charCodeAt(6)){case 105:return C=y.replace("-items",""),"-webkit-"+y+"-webkit-box-"+C+"-ms-flex-"+C+y;case 115:return"-webkit-"+y+"-ms-flex-item-"+y.replace(je,"")+y;default:return"-webkit-"+y+"-ms-flex-line-pack"+y.replace("align-content","").replace(je,"")+y}break;case 973:case 989:if(y.charCodeAt(3)!==45||y.charCodeAt(4)===122)break;case 931:case 953:if(Je.test($)===!0)return(C=$.substring($.indexOf(":")+1)).charCodeAt(0)===115?a($.replace("stretch","fill-available"),P,R,B).replace(":fill-available",":stretch"):y.replace(C,"-webkit-"+C)+y.replace(C,"-moz-"+C.replace("fill-",""))+y;break;case 962:if(y="-webkit-"+y+(y.charCodeAt(5)===102?"-ms-"+y:"")+y,R+B===211&&y.charCodeAt(13)===105&&0<y.indexOf("transform",10))return y.substring(0,y.indexOf(";",27)+1).replace(W,"$1-webkit-$2")+y}return y}function d($,P){var R=$.indexOf(P===1?":":"{"),B=$.substring(0,P!==3?R:10);return R=$.substring(R+1,$.length-1),vt(P!==2?B:B.replace(Ue,"$1"),R,P)}function h($,P){var R=a(P,P.charCodeAt(0),P.charCodeAt(1),P.charCodeAt(2));return R!==P+";"?R.replace(lt," or ($1)").substring(4):"("+P+")"}function b($,P,R,B,y,q,C,he,ee,re){for(var V=0,xe=P,Te;V<Re;++V)switch(Te=Le[V].call(I,$,xe,R,B,y,q,C,he,ee,re)){case void 0:case!1:case!0:case null:break;default:xe=Te}if(xe!==P)return xe}function E($){switch($){case void 0:case null:Re=Le.length=0;break;default:if(typeof $=="function")Le[Re++]=$;else if(typeof $=="object")for(var P=0,R=$.length;P<R;++P)E($[P]);else pt=!!$|0}return E}function A($){return $=$.prefix,$!==void 0&&(vt=null,$?typeof $!="function"?Oe=1:(Oe=2,vt=$):Oe=0),A}function I($,P){var R=$;if(33>R.charCodeAt(0)&&(R=R.trim()),yt=R,R=[yt],0<Re){var B=b(-1,P,R,R,De,Ie,0,0,0,0);B!==void 0&&typeof B=="string"&&(P=B)}var y=e(mt,R,P,0,0);return 0<Re&&(B=b(-2,y,R,R,De,Ie,y.length,0,0,0),B!==void 0&&(y=B)),yt="",ze=0,Ie=De=1,y}var T=/^\0+/g,H=/[\0\r\f]/g,K=/: */g,k=/zoo|gra/,W=/([,: ])(transform)/g,N=/,\r+?/g,ae=/([\t\r\n ])*\f?&/g,J=/@(k\w+)\s*(\S*)\s*/,we=/::(place)/g,ue=/:(read-only)/g,me=/[svh]\w+-[tblr]{2}/,Ze=/\(\s*(.*)\s*\)/g,lt=/([\s\S]*?);/g,je=/-self|flex-/g,Ue=/[^]*?(:[rp][el]a[\w-]+)[^]*/,Je=/stretch|:\s*\w+\-(?:conte|avail)/,ut=/([^-])(image-set\()/,Ie=1,De=1,ze=0,Oe=1,mt=[],Le=[],Re=0,vt=null,pt=0,yt="";return I.use=E,I.set=A,r!==void 0&&A(r),I}const Yt=Pt;var It={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 Ne=It;function Ge(r){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=r(n)),e[n]}}var Gr=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|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)-.*))$/,yr=Ge(function(r){return Gr.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),Hr=X(4674),Wr=X.n(Hr),jt,Kr,Rt,Yr,Xr,Zr;function Pe(){return(Pe=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])}return r}).apply(this,arguments)}var br=function(r,e){for(var n=[r[0]],s=0,a=e.length;s<a;s+=1)n.push(e[s],r[s+1]);return n},Xt=function(r){return r!==null&&typeof r=="object"&&(r.toString?r.toString():Object.prototype.toString.call(r))==="[object Object]"&&!(0,rt.typeOf)(r)},Mt=Object.freeze([]),Ye=Object.freeze({});function at(r){return typeof r=="function"}function Zt(r){return r.displayName||r.name||"Component"}function Jt(r){return r&&typeof r.styledComponentId=="string"}var Xe=typeof process<"u"&&!0&&("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",Qn="5.3.11",Qt=typeof window<"u"&&"HTMLElement"in window,Jr=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&("MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY!==void 0&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY!==""?"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY!=="false"&&"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY:"MISSING_ENV_VAR".SC_DISABLE_SPEEDY!==void 0&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY!==""&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY!=="false"&&"MISSING_ENV_VAR".SC_DISABLE_SPEEDY)),Qr=null,_n=null;function qn(){for(var r=arguments.length<=0?void 0:arguments[0],e=[],n=1,s=arguments.length;n<s;n+=1)e.push(n<0||arguments.length<=n?void 0:arguments[n]);return e.forEach(function(a){r=r.replace(/%[a-z]/,a)}),r}function Fe(r){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s<e;s++)n[s-1]=arguments[s];throw new Error("An error occurred. See https://git.io/JUIaE#"+r+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var _r=function(){function r(n){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=n}var e=r.prototype;return e.indexOfGroup=function(n){for(var s=0,a=0;a<n;a++)s+=this.groupSizes[a];return s},e.insertRules=function(n,s){if(n>=this.groupSizes.length){for(var a=this.groupSizes,d=a.length,h=d;n>=h;)(h<<=1)<0&&Fe(16,""+n);this.groupSizes=new Uint32Array(h),this.groupSizes.set(a),this.length=h;for(var b=d;b<h;b++)this.groupSizes[b]=0}for(var E=this.indexOfGroup(n+1),A=0,I=s.length;A<I;A++)this.tag.insertRule(E,s[A])&&(this.groupSizes[n]++,E++)},e.clearGroup=function(n){if(n<this.length){var s=this.groupSizes[n],a=this.indexOfGroup(n),d=a+s;this.groupSizes[n]=0;for(var h=a;h<d;h++)this.tag.deleteRule(a)}},e.getGroup=function(n){var s="";if(n>=this.length||this.groupSizes[n]===0)return s;for(var a=this.groupSizes[n],d=this.indexOfGroup(n),h=d+a,b=d;b<h;b++)s+=this.tag.getRule(b)+`/*!sc*/
9
+ `;return s},r}(),$t=new Map,Ft=new Map,dt=1,Dt=function(r){if($t.has(r))return $t.get(r);for(;Ft.has(dt);)dt++;var e=dt++;return $t.set(r,e),Ft.set(e,r),e},qr=function(r){return Ft.get(r)},en=function(r,e){e>=dt&&(dt=e+1),$t.set(r,e),Ft.set(e,r)},tn="style["+Xe+'][data-styled-version="5.3.11"]',rn=new RegExp("^"+Xe+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),nn=function(r,e,n){for(var s,a=n.split(","),d=0,h=a.length;d<h;d++)(s=a[d])&&r.registerName(e,s)},sn=function(r,e){for(var n=(e.textContent||"").split(`/*!sc*/
10
+ `),s=[],a=0,d=n.length;a<d;a++){var h=n[a].trim();if(h){var b=h.match(rn);if(b){var E=0|parseInt(b[1],10),A=b[2];E!==0&&(en(A,E),nn(r,A,b[3]),r.getTag().insertRules(E,s)),s.length=0}else s.push(h)}}},_t=function(){return X.nc},wr=function(r){var e=document.head,n=r||e,s=document.createElement("style"),a=function(b){for(var E=b.childNodes,A=E.length;A>=0;A--){var I=E[A];if(I&&I.nodeType===1&&I.hasAttribute(Xe))return I}}(n),d=a!==void 0?a.nextSibling:null;s.setAttribute(Xe,"active"),s.setAttribute("data-styled-version","5.3.11");var h=_t();return h&&s.setAttribute("nonce",h),n.insertBefore(s,d),s},on=function(){function r(n){var s=this.element=wr(n);s.appendChild(document.createTextNode("")),this.sheet=function(a){if(a.sheet)return a.sheet;for(var d=document.styleSheets,h=0,b=d.length;h<b;h++){var E=d[h];if(E.ownerNode===a)return E}Fe(17)}(s),this.length=0}var e=r.prototype;return e.insertRule=function(n,s){try{return this.sheet.insertRule(s,n),this.length++,!0}catch{return!1}},e.deleteRule=function(n){this.sheet.deleteRule(n),this.length--},e.getRule=function(n){var s=this.sheet.cssRules[n];return s!==void 0&&typeof s.cssText=="string"?s.cssText:""},r}(),an=function(){function r(n){var s=this.element=wr(n);this.nodes=s.childNodes,this.length=0}var e=r.prototype;return e.insertRule=function(n,s){if(n<=this.length&&n>=0){var a=document.createTextNode(s),d=this.nodes[n];return this.element.insertBefore(a,d||null),this.length++,!0}return!1},e.deleteRule=function(n){this.element.removeChild(this.nodes[n]),this.length--},e.getRule=function(n){return n<this.length?this.nodes[n].textContent:""},r}(),cn=function(){function r(n){this.rules=[],this.length=0}var e=r.prototype;return e.insertRule=function(n,s){return n<=this.length&&(this.rules.splice(n,0,s),this.length++,!0)},e.deleteRule=function(n){this.rules.splice(n,1),this.length--},e.getRule=function(n){return n<this.length?this.rules[n]:""},r}(),xr=Qt,ln={isServer:!Qt,useCSSOMInjection:!Jr},ht=function(){function r(n,s,a){n===void 0&&(n=Ye),s===void 0&&(s={}),this.options=Pe({},ln,{},n),this.gs=s,this.names=new Map(a),this.server=!!n.isServer,!this.server&&Qt&&xr&&(xr=!1,function(d){for(var h=document.querySelectorAll(tn),b=0,E=h.length;b<E;b++){var A=h[b];A&&A.getAttribute(Xe)!=="active"&&(sn(d,A),A.parentNode&&A.parentNode.removeChild(A))}}(this))}r.registerId=function(n){return Dt(n)};var e=r.prototype;return e.reconstructWithOptions=function(n,s){return s===void 0&&(s=!0),new r(Pe({},this.options,{},n),this.gs,s&&this.names||void 0)},e.allocateGSInstance=function(n){return this.gs[n]=(this.gs[n]||0)+1},e.getTag=function(){return this.tag||(this.tag=(a=(s=this.options).isServer,d=s.useCSSOMInjection,h=s.target,n=a?new cn(h):d?new on(h):new an(h),new _r(n)));var n,s,a,d,h},e.hasNameForId=function(n,s){return this.names.has(n)&&this.names.get(n).has(s)},e.registerName=function(n,s){if(Dt(n),this.names.has(n))this.names.get(n).add(s);else{var a=new Set;a.add(s),this.names.set(n,a)}},e.insertRules=function(n,s,a){this.registerName(n,s),this.getTag().insertRules(Dt(n),a)},e.clearNames=function(n){this.names.has(n)&&this.names.get(n).clear()},e.clearRules=function(n){this.getTag().clearGroup(Dt(n)),this.clearNames(n)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(n){for(var s=n.getTag(),a=s.length,d="",h=0;h<a;h++){var b=qr(h);if(b!==void 0){var E=n.names.get(b),A=s.getGroup(h);if(E&&A&&E.size){var I=Xe+".g"+h+'[id="'+b+'"]',T="";E!==void 0&&E.forEach(function(H){H.length>0&&(T+=H+",")}),d+=""+A+I+'{content:"'+T+`"}/*!sc*/
11
+ `}}}return d}(this)},r}(),un=/(a)(d)/gi,Sr=function(r){return String.fromCharCode(r+(r>25?39:97))};function qt(r){var e,n="";for(e=Math.abs(r);e>52;e=e/52|0)n=Sr(e%52)+n;return(Sr(e%52)+n).replace(un,"$1-$2")}var ct=function(r,e){for(var n=e.length;n;)r=33*r^e.charCodeAt(--n);return r},Ar=function(r){return ct(5381,r)};function Er(r){for(var e=0;e<r.length;e+=1){var n=r[e];if(at(n)&&!Jt(n))return!1}return!0}var pn=Ar("5.3.11"),fn=function(){function r(e,n,s){this.rules=e,this.staticRulesId="",this.isStatic=(s===void 0||s.isStatic)&&Er(e),this.componentId=n,this.baseHash=ct(pn,n),this.baseStyle=s,ht.registerId(n)}return r.prototype.generateAndInjectStyles=function(e,n,s){var a=this.componentId,d=[];if(this.baseStyle&&d.push(this.baseStyle.generateAndInjectStyles(e,n,s)),this.isStatic&&!s.hash)if(this.staticRulesId&&n.hasNameForId(a,this.staticRulesId))d.push(this.staticRulesId);else{var h=nt(this.rules,e,n,s).join(""),b=qt(ct(this.baseHash,h)>>>0);if(!n.hasNameForId(a,b)){var E=s(h,"."+b,void 0,a);n.insertRules(a,b,E)}d.push(b),this.staticRulesId=b}else{for(var A=this.rules.length,I=ct(this.baseHash,s.hash),T="",H=0;H<A;H++){var K=this.rules[H];if(typeof K=="string")T+=K;else if(K){var k=nt(K,e,n,s),W=Array.isArray(k)?k.join(""):k;I=ct(I,W+H),T+=W}}if(T){var N=qt(I>>>0);if(!n.hasNameForId(a,N)){var ae=s(T,"."+N,void 0,a);n.insertRules(a,N,ae)}d.push(N)}}return d.join(" ")},r}(),dn=/^\s*\/\/.*$/gm,hn=[":","[",".","#"];function Cr(r){var e,n,s,a,d=r===void 0?Ye:r,h=d.options,b=h===void 0?Ye:h,E=d.plugins,A=E===void 0?Mt:E,I=new Yt(b),T=[],H=function(W){function N(ae){if(ae)try{W(ae+"}")}catch{}}return function(ae,J,we,ue,me,Ze,lt,je,Ue,Je){switch(ae){case 1:if(Ue===0&&J.charCodeAt(0)===64)return W(J+";"),"";break;case 2:if(je===0)return J+"/*|*/";break;case 3:switch(je){case 102:case 112:return W(we[0]+J),"";default:return J+(Je===0?"/*|*/":"")}case-2:J.split("/*|*/}").forEach(N)}}}(function(W){T.push(W)}),K=function(W,N,ae){return N===0&&hn.indexOf(ae[n.length])!==-1||ae.match(a)?W:"."+e};function k(W,N,ae,J){J===void 0&&(J="&");var we=W.replace(dn,""),ue=N&&ae?ae+" "+N+" { "+we+" }":we;return e=J,n=N,s=new RegExp("\\"+n+"\\b","g"),a=new RegExp("(\\"+n+"\\b){2,}"),I(ae||!N?"":N,ue)}return I.use([].concat(A,[function(W,N,ae){W===2&&ae.length&&ae[0].lastIndexOf(n)>0&&(ae[0]=ae[0].replace(s,K))},H,function(W){if(W===-2){var N=T;return T=[],N}}])),k.hash=A.length?A.reduce(function(W,N){return N.name||Fe(15),ct(W,N.name)},5381).toString():"",k}var er=$e().createContext(),es=er.Consumer,tr=$e().createContext(),gn=(tr.Consumer,new ht),rr=Cr();function nr(){return(0,Me.useContext)(er)||gn}function Or(){return(0,Me.useContext)(tr)||rr}function mn(r){var e=(0,Me.useState)(r.stylisPlugins),n=e[0],s=e[1],a=nr(),d=(0,Me.useMemo)(function(){var b=a;return r.sheet?b=r.sheet:r.target&&(b=b.reconstructWithOptions({target:r.target},!1)),r.disableCSSOMInjection&&(b=b.reconstructWithOptions({useCSSOMInjection:!1})),b},[r.disableCSSOMInjection,r.sheet,r.target]),h=(0,Me.useMemo)(function(){return Cr({options:{prefix:!r.disableVendorPrefixes},plugins:n})},[r.disableVendorPrefixes,n]);return(0,Me.useEffect)(function(){Tt()(n,r.stylisPlugins)||s(r.stylisPlugins)},[r.stylisPlugins]),$e().createElement(er.Provider,{value:d},$e().createElement(tr.Provider,{value:h},r.children))}var Tr=function(){function r(e,n){var s=this;this.inject=function(a,d){d===void 0&&(d=rr);var h=s.name+d.hash;a.hasNameForId(s.id,h)||a.insertRules(s.id,h,d(s.rules,h,"@keyframes"))},this.toString=function(){return Fe(12,String(s.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=n}return r.prototype.getName=function(e){return e===void 0&&(e=rr),this.name+e.hash},r}(),vn=/([A-Z])/,yn=/([A-Z])/g,bn=/^ms-/,wn=function(r){return"-"+r.toLowerCase()};function Pr(r){return vn.test(r)?r.replace(yn,wn).replace(bn,"-ms-"):r}var Ir=function(r){return r==null||r===!1||r===""};function nt(r,e,n,s){if(Array.isArray(r)){for(var a,d=[],h=0,b=r.length;h<b;h+=1)(a=nt(r[h],e,n,s))!==""&&(Array.isArray(a)?d.push.apply(d,a):d.push(a));return d}if(Ir(r))return"";if(Jt(r))return"."+r.styledComponentId;if(at(r)){if(typeof(A=r)!="function"||A.prototype&&A.prototype.isReactComponent||!e)return r;var E=r(e);return nt(E,e,n,s)}var A;return r instanceof Tr?n?(r.inject(n,s),r.getName(s)):r:Xt(r)?function I(T,H){var K,k,W=[];for(var N in T)T.hasOwnProperty(N)&&!Ir(T[N])&&(Array.isArray(T[N])&&T[N].isCss||at(T[N])?W.push(Pr(N)+":",T[N],";"):Xt(T[N])?W.push.apply(W,I(T[N],N)):W.push(Pr(N)+": "+(K=N,(k=T[N])==null||typeof k=="boolean"||k===""?"":typeof k!="number"||k===0||K in Ne||K.startsWith("--")?String(k).trim():k+"px")+";"));return H?[H+" {"].concat(W,["}"]):W}(r):r.toString()}var jr=function(r){return Array.isArray(r)&&(r.isCss=!0),r};function gt(r){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s<e;s++)n[s-1]=arguments[s];return at(r)||Xt(r)?jr(nt(br(Mt,[r].concat(n)))):n.length===0&&r.length===1&&typeof r[0]=="string"?r:jr(nt(br(r,n)))}var ts=/invalid hook call/i,rs=new Set,ns=function(r,e){if(0)var n,s,a},sr=function(r,e,n){return n===void 0&&(n=Ye),r.theme!==n.theme&&r.theme||e||n.theme},xn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Sn=/(^-|-$)/g;function or(r){return r.replace(xn,"-").replace(Sn,"")}var ir=function(r){return qt(Ar(r)>>>0)};function Lt(r){return typeof r=="string"&&!0}var ar=function(r){return typeof r=="function"||typeof r=="object"&&r!==null&&!Array.isArray(r)},An=function(r){return r!=="__proto__"&&r!=="constructor"&&r!=="prototype"};function En(r,e,n){var s=r[n];ar(e)&&ar(s)?Rr(s,e):r[n]=e}function Rr(r){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s<e;s++)n[s-1]=arguments[s];for(var a=0,d=n;a<d.length;a++){var h=d[a];if(ar(h))for(var b in h)An(b)&&En(r,h[b],b)}return r}var st=$e().createContext(),ss=st.Consumer;function os(r){var e=jt(st),n=Kr(function(){return function(s,a){if(!s)return Fe(14);if(at(s)){var d=s(a);return d}return Array.isArray(s)||typeof s!="object"?Fe(8):a?Pe({},a,{},s):s}(r.theme,e)},[r.theme,e]);return r.children?Rt.createElement(st.Provider,{value:n},r.children):null}var cr={};function Mr(r,e,n){var s=Jt(r),a=!Lt(r),d=e.attrs,h=d===void 0?Mt:d,b=e.componentId,E=b===void 0?function(J,we){var ue=typeof J!="string"?"sc":or(J);cr[ue]=(cr[ue]||0)+1;var me=ue+"-"+ir("5.3.11"+ue+cr[ue]);return we?we+"-"+me:me}(e.displayName,e.parentComponentId):b,A=e.displayName,I=A===void 0?function(J){return Lt(J)?"styled."+J:"Styled("+Zt(J)+")"}(r):A,T=e.displayName&&e.componentId?or(e.displayName)+"-"+e.componentId:e.componentId||E,H=s&&r.attrs?Array.prototype.concat(r.attrs,h).filter(Boolean):h,K=e.shouldForwardProp;s&&r.shouldForwardProp&&(K=e.shouldForwardProp?function(J,we,ue){return r.shouldForwardProp(J,we,ue)&&e.shouldForwardProp(J,we,ue)}:r.shouldForwardProp);var k,W=new fn(n,T,s?r.componentStyle:void 0),N=W.isStatic&&h.length===0,ae=function(J,we){return function(ue,me,Ze,lt){var je=ue.attrs,Ue=ue.componentStyle,Je=ue.defaultProps,ut=ue.foldedComponentIds,Ie=ue.shouldForwardProp,De=ue.styledComponentId,ze=ue.target,Oe=function(B,y,q){B===void 0&&(B=Ye);var C=Pe({},y,{theme:B}),he={};return q.forEach(function(ee){var re,V,xe,Te=ee;for(re in at(Te)&&(Te=Te(C)),Te)C[re]=he[re]=re==="className"?(V=he[re],xe=Te[re],V&&xe?V+" "+xe:V||xe):Te[re]}),[C,he]}(sr(me,(0,Me.useContext)(st),Je)||Ye,me,je),mt=Oe[0],Le=Oe[1],Re=function(B,y,q,C){var he=nr(),ee=Or(),re=y?B.generateAndInjectStyles(Ye,he,ee):B.generateAndInjectStyles(q,he,ee);return re}(Ue,lt,mt,void 0),vt=Ze,pt=Le.$as||me.$as||Le.as||me.as||ze,yt=Lt(pt),$=Le!==me?Pe({},me,{},Le):me,P={};for(var R in $)R[0]!=="$"&&R!=="as"&&(R==="forwardedAs"?P.as=$[R]:(Ie?Ie(R,yr,pt):!yt||yr(R))&&(P[R]=$[R]));return me.style&&Le.style!==me.style&&(P.style=Pe({},me.style,{},Le.style)),P.className=Array.prototype.concat(ut,De,Re!==De?Re:null,me.className,Le.className).filter(Boolean).join(" "),P.ref=vt,(0,Me.createElement)(pt,P)}(k,J,we,N)};return ae.displayName=I,(k=$e().forwardRef(ae)).attrs=H,k.componentStyle=W,k.displayName=I,k.shouldForwardProp=K,k.foldedComponentIds=s?Array.prototype.concat(r.foldedComponentIds,r.styledComponentId):Mt,k.styledComponentId=T,k.target=s?r.target:r,k.withComponent=function(J){var we=e.componentId,ue=function(Ze,lt){if(Ze==null)return{};var je,Ue,Je={},ut=Object.keys(Ze);for(Ue=0;Ue<ut.length;Ue++)je=ut[Ue],lt.indexOf(je)>=0||(Je[je]=Ze[je]);return Je}(e,["componentId"]),me=we&&we+"-"+(Lt(J)?J:or(Zt(J)));return Mr(J,Pe({},ue,{attrs:H,componentId:me}),n)},Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(J){this._foldedDefaultProps=s?Rr({},r.defaultProps,J):J}}),Object.defineProperty(k,"toString",{value:function(){return"."+k.styledComponentId}}),a&&Wr()(k,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),k}var $r=function(r){return function e(n,s,a){if(a===void 0&&(a=Ye),!(0,rt.isValidElementType)(s))return Fe(1,String(s));var d=function(){return n(s,a,gt.apply(void 0,arguments))};return d.withConfig=function(h){return e(n,s,Pe({},a,{},h))},d.attrs=function(h){return e(n,s,Pe({},a,{attrs:Array.prototype.concat(a.attrs,h).filter(Boolean)}))},d}(Mr,r)};["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(r){$r[r]=$r(r)});var Cn=function(){function r(n,s){this.rules=n,this.componentId=s,this.isStatic=Er(n),ht.registerId(this.componentId+1)}var e=r.prototype;return e.createStyles=function(n,s,a,d){var h=d(nt(this.rules,s,a,d).join(""),""),b=this.componentId+n;a.insertRules(b,b,h)},e.removeStyles=function(n,s){s.clearRules(this.componentId+n)},e.renderStyles=function(n,s,a,d){n>2&&ht.registerId(this.componentId+n),this.removeStyles(n,a),this.createStyles(n,s,a,d)},r}();function is(r){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s<e;s++)n[s-1]=arguments[s];var a=gt.apply(void 0,[r].concat(n)),d="sc-global-"+ir(JSON.stringify(a)),h=new Cn(a,d);function b(A){var I=nr(),T=Or(),H=jt(st),K=Yr(I.allocateGSInstance(d)).current;return I.server&&E(K,A,I,H,T),Xr(function(){if(!I.server)return E(K,A,I,H,T),function(){return h.removeStyles(K,I)}},[K,A,I,H,T]),null}function E(A,I,T,H,K){if(h.isStatic)h.renderStyles(A,Qr,T,K);else{var k=Pe({},I,{theme:sr(I,H,b.defaultProps)});h.renderStyles(A,k,T,K)}}return Rt.memo(b)}function as(r){for(var e=arguments.length,n=new Array(e>1?e-1:0),s=1;s<e;s++)n[s-1]=arguments[s];var a=gt.apply(void 0,[r].concat(n)).join(""),d=ir(a);return new Tr(d,a)}var cs=function(){function r(){var n=this;this._emitSheetCSS=function(){var s=n.instance.toString();if(!s)return"";var a=_t();return"<style "+[a&&'nonce="'+a+'"',Xe+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+s+"</style>"},this.getStyleTags=function(){return n.sealed?Fe(2):n._emitSheetCSS()},this.getStyleElement=function(){var s;if(n.sealed)return Fe(2);var a=((s={})[Xe]="",s["data-styled-version"]="5.3.11",s.dangerouslySetInnerHTML={__html:n.instance.toString()},s),d=_t();return d&&(a.nonce=d),[$e().createElement("style",Pe({},a,{key:"sc-0-0"}))]},this.seal=function(){n.sealed=!0},this.instance=new ht({isServer:!0}),this.sealed=!1}var e=r.prototype;return e.collectStyles=function(n){return this.sealed?Fe(2):$e().createElement(mn,{sheet:this.instance},n)},e.interleaveWithNodeStream=function(n){return Fe(3)},r}(),ls=function(r){var e=Rt.forwardRef(function(n,s){var a=jt(st),d=r.defaultProps,h=sr(n,a,d);return Rt.createElement(r,Pe({},n,{theme:h,ref:s}))});return Zr(e,r),e.displayName="WithTheme("+Zt(r)+")",e},us=function(){return jt(st)},ps=null;const fs=null,On=r=>Object.keys(r).reduce((e,n)=>(e[n]=(s,...a)=>gt`
12
+ @media (max-width: ${r[n]}) {
13
+ ${gt(s,...a)};
14
+ }
15
+ `,e),{}),Tn=r=>({space:{...r.spaces,xxxs:r.spaces[1],xxs:r.spaces[2],xxs2:r.spaces[3],xs:r.spaces[4],s:r.spaces[5],m:r.spaces[6],l:r.spaces[7],xl:r.spaces[8],xxl:r.spaces[9]},fontSizes:{...r.fontSizes,title:{500:r.fontSizes[3],600:r.fontSizes[4],700:r.fontSizes[5],800:r.fontSizes[6],900:r.fontSizes[7]},subTitle:{300:r.fontSizes[1],400:r.fontSizes[2]},label:{200:r.fontSizes[0],300:r.fontSizes[1],400:r.fontSizes[2]},value:{300:r.fontSizes[1],400:r.fontSizes[2],500:r.fontSizes[3],600:r.fontSizes[4]},hyperlink:{200:r.fontSizes[0],300:r.fontSizes[1],400:r.fontSizes[2]},microText:{200:r.fontSizes[0]}},fontWeights:{...r.fontWeights,thin:r.fontWeights[0],light:r.fontWeights[1],regular:r.fontWeights[3],semibold:r.fontWeights[5],bold:r.fontWeights[8]},lineHeights:{...r.lineHeights,r:r.lineHeights[0],m:r.lineHeights[1],l:r.lineHeights[2],xl:r.lineHeights[3]},letterSpacings:{normal:r.letterSpacings[0],tracked:r.letterSpacings[1],tight:r.letterSpacings[2],mega:r.letterSpacings[3]},fonts:{...r.fonts,default:r.fonts[0]},colors:{neutral:{"000":r.colors.neutral[0],"050":r.colors.neutral[1],"080":r.colors.neutral[2],100:r.colors.neutral[3],200:r.colors.neutral[4],300:r.colors.neutral[5],400:r.colors.neutral[6],500:r.colors.neutral[7],600:r.colors.neutral[8],700:r.colors.neutral[9],800:r.colors.neutral[10]},brand:{100:r.colors.brand[0],200:r.colors.brand[1],250:r.colors.brand[8],300:r.colors.brand[2],400:r.colors.brand[3],500:r.colors.brand[4],600:r.colors.brand[5],700:r.colors.brand[6],800:r.colors.brand[7]},success:{300:r.colors.success[0],400:r.colors.success[1],600:r.colors.success[2],900:r.colors.success[3],950:r.colors.success[4]},warning:{400:r.colors.warning[0],500:r.colors.warning[1],600:r.colors.warning[1],900:r.colors.warning[2],950:r.colors.warning[3]},danger:{200:r.colors.danger[0],400:r.colors.danger[1],600:r.colors.danger[2],900:r.colors.danger[3],950:r.colors.danger[4]}},shadows:{xs:r.shadows[0],s:r.shadows[1],m:r.shadows[2],l:r.shadows[3],xl:r.shadows[4]},breakpoints:{...r.breakpoints,xsmall:r.breakpoints[3],small:r.breakpoints[0],medium:r.breakpoints[1],large:r.breakpoints[2]},media:On({xsmall:r.breakpoints[3],small:r.breakpoints[0],medium:r.breakpoints[1],large:r.breakpoints[2]}),zIndex:{dialog:r.zIndex[0],popper:r.zIndex[1],tooltip:r.zIndex[2],backdrop:r.zIndex[3],loader:r.zIndex[4]},states:{_:r.states[0],motionSafe:r.states[1],motionReduce:r.states[2],first:r.states[3],last:r.states[4],odd:r.states[5],even:r.states[6],visited:r.states[7],checked:r.states[8],focusWithin:r.states[9],hover:r.states[10],focus:r.states[11],focusVisible:r.states[12],active:r.states[13],disabled:r.states[14],placeholder:r.states[15]}}),Pn=((r=it())=>()=>Tn(r))(),hs=()=>{try{return window.parent.document,window.parent}catch{return window}},lr=()=>({width:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}),Fr=r=>Number(r.replace("px","")),Dr=()=>{const{width:r}=lr(),{breakpoints:e}=Pn();return r<=Fr(e.small)?"small":r<=Fr(e.medium)?"medium":"large"},In="microFrontendApps",jn=()=>!0,Rn=r=>jn()?!0:String(r).toLowerCase()===S.PRODUCTION.toLowerCase(),Mn=r=>r?new URL(r).pathname:"",$n=r=>{const e=document.createElement("a");return e.href=r,e.href},Fn=(r,e)=>{const n=e.match(/^(?:\d+\.\d+)*/g);return r.replace(/{SYSTEM_VERSION}/,n&&n[0]||x)},Lr=r=>!r||!r.length?!1:r.every(e=>typeof e=="string"),Dn=(r,e)=>{const{mode:n=S.PRODUCTION}=e;if(String(n).toLowerCase()!==S.PRODUCTION.toLowerCase()&&String(n).toLowerCase()!==S.DEVELOPMENT.toLowerCase())throw new Error(`invalid mode '${String(n)}' for ${r}`);const{production:s,development:a,microappManager:d=oe.APPSDK}=e;if(String(d).toLowerCase()===oe.APPSDK.toLowerCase()){if(String(n).toLowerCase()===S.PRODUCTION.toLowerCase()){if(!s)throw new Error(`microFrontendApps.${r} is missing production section in app.config.json`);if(!Lr(s.files))throw new Error("invalid value for production.files")}if(String(n).toLowerCase()===S.DEVELOPMENT.toLowerCase()){if(!a)throw new Error(`microFrontendApps.${r} is missing development section in app.config.json`);if(!Lr(a.files))throw new Error("invalid value for development.files")}}},Ln=({id:r,config:e,version:n="latest"})=>{const{mode:s=S.PRODUCTION,production:a,development:d,...h}=e,b=Rn(s)?a:d,E=v()({id:r},{name:r,mode:S.PRODUCTION,manifestPath:"./{SYSTEM_VERSION}/",securityContext:o.USER,isJsModule:!0},h,{mode:s},b);return E.hostUrl=M($n(E.hostUrl||"")),E.homeRoute=M(E.homeRoute)||Mn(E.hostUrl),E.manifestPath=M(Fn(E.manifestPath,n)),E};class kn{#e=[];init=({version:e,appConfig:n})=>{const s=n.get(In);s&&(this.#e=Object.keys(s).map(a=>(Dn(a,s[a]),Ln({id:a,config:s[a],version:e}))))};getConfigById=e=>this.#e.find(n=>n.id===e)}const Nn=/^https?:\/\//i,Un=(r,e)=>{if(!Nn.test(r))return!1;try{return!r.startsWith(new URL(e).href)}catch{return!0}},zn=(r,e)=>{const n=[],s=[];return r.forEach(a=>{Un(a.href,e)?n.push(a):s.push(a)}),{external:n,local:s}},Bn=r=>{if(!r)return;const e=r,n=e.emui?._ASSET_PATH;n&&(e.__webpack_public_path__=new URL("../",n).href)},Vn=(r,e)=>{if(!(!r||!e))try{const n=r;n.__webpack_public_path__=new URL("./",e).href}catch{}},kr=(r,e)=>{if(!r)return;if(r.emui?._ASSET_PATH){Bn(r);return}Vn(r,e)},Gn="ice-script-";class Nr{#e;constructor(e){this.#e=e}#t=({href:e,isESMModule:n=!0,documentEle:s})=>{const a=s.createElement("link");a.rel=n?"modulepreload":"preload",a.href=e,a.crossOrigin="anonymous",n||(a.as="script"),s.head.appendChild(a)};#r=({id:e,documentEle:n,isESMModule:s=!0})=>{const a=n.createElement("script");return a.id=e,a.crossOrigin="anonymous",a.nonce="__CSP_NONCE__",!le()&&s&&(a.type="module"),a.async=!1,a};#i=(e,n)=>new Promise((s,a)=>{e.onload=s.bind(null,e.id),e.onerror=d=>{this.#e.error({message:`Error loading script ${e.src}`,exception:new Error(d)}),a(new Error(`Unable to load script ${e.src}`,{cause:new Error(d)}))},e.src=O(n)});#n=async(e,n,s)=>{if(e.length===0)return;const a=e.map(({id:h})=>this.#r({id:h,documentEle:n,isESMModule:s}));a.forEach(h=>{n.head.appendChild(h)});const d=e.map(({href:h},b)=>this.#i(a[b],h));await Promise.all(d)};#o=async({scripts:e,documentEle:n,isESMModule:s,hostUrl:a})=>{if(e.length===0)return;if(!a){await this.#n(e,n,s);return}const{external:d,local:h}=zn(e,a);await this.#n(d,n,s),kr(n.defaultView,a),await this.#n(h,n,s)};load=async(e,n)=>{const{documentEle:s,isESMModule:a}=n,d=/^https?:\/\//i,h=e.map((b,E)=>{const A=`${Gn}${n.name.toLowerCase()}-${E}`,I=d.test(b)?b:new URL(b,n.hostUrl).href;return this.#t({href:I,documentEle:s,isESMModule:a}),{id:A,href:I}});return await this.#o({scripts:h,documentEle:s,isESMModule:a,hostUrl:n.hostUrl}),kr(s.defaultView,n.hostUrl),h.map(b=>b.id)};remove=(e="",n=document)=>new Promise(s=>{const a=n.getElementById(e);if(!a){this.#e.warn(`script with id ${e} not found`),s();return}a.remove(),s()});removeDynamicImportedScripts=(e,n)=>{const s=new RegExp(j(e),"i"),a=n.getElementsByTagName("script");for(let d=a.length-1;d>=0;d-=1){const h=a[d],{src:b}=h;s.test(b)&&h.remove()}};removePrefetchLinks=(e,n)=>{const s=new RegExp(j(e),"i"),a=n.querySelectorAll('[rel="prefetch"]');for(let d=a.length-1;d>=0;d-=1){const h=a[d],{href:b}=h;s.test(b)&&h.remove()}}}const Hn="ice-style-";class Ur{#e;constructor(e){this.#e=e}#t=({id:e,href:n,documentEle:s})=>new Promise((a,d)=>{const h=s.createElement("link");h.id=e,h.nonce="__CSP_NONCE__",h.rel="stylesheet",h.href=O(n),h.onload=a.bind(null,h.id),h.onerror=b=>{this.#e.error({message:`Error loading stylesheet ${h.href}`,exception:new Error(b)}),d(new Error(`Unable to load stylesheet ${h.href}`,{cause:new Error(b)}))},s.head.appendChild(h)});load=async(e,n)=>{const s=[],a=e.map((d,h)=>{const b=new URL(d,n.hostUrl),E=`${Hn}${n.name.toLowerCase()}-${h}`;return s.push(E),this.#t({id:E,href:b.href,documentEle:n.documentEle})});return await Promise.all(a),s};remove=(e="",n=document)=>new Promise(s=>{const a=n.getElementById(e);if(!a){this.#e.warn(`style with id ${e} not found`),s();return}a.remove(),s()});removeDynamicImportedStyles=(e,n)=>{const s=new RegExp(j(e),"i"),a=n.querySelectorAll('[rel="stylesheet"]');for(let d=a.length-1;d>=0;d-=1){const h=a[d],{href:b}=h;s.test(b)&&h.remove()}}}const Wn=r=>r.replace(/\/\d+\.\d+/,"/latest"),Kn=r=>{let e;try{e=new URL(r)}catch{return!1}return e.protocol==="http:"||e.protocol==="https:"},ur=new Map,kt={get:async({hostUrl:r,manifestPath:e})=>{const n=Y(r,e),s=ur.get(n);if(s)return s;const a=async d=>{const h=await fetch(d);if(!h.ok)throw new Error(`unable to get manifest ${d}`);if(!(h.headers?.get?.("content-type")??"").includes("application/json"))throw new Error(`manifest ${d} is not a valid json`);const E=await h.json();return ur.set(d,E),E};try{return await a(n)}catch(d){const h=Wn(e);if(e!==h){const b=Y(r,h);return await a(b)}throw d}},getFullFileNameofAssets:(r,e=[])=>e.reduce((n,s)=>{const a=r[s];if(a)n.push(a);else if(Kn(s))n.push(s);else throw new Error(`unable to locate ${s} in manifest`);return n},[]),clearCache:()=>ur.clear()};class zr{#e;#t;#r;#i;#n;constructor(e){this.#t=e.guest,this.#e=e.containerId,this.#r=e?.version||x,this.#i=e.soManager,this.#n=e.eventManager}get version(){return this.#r}getObject=e=>{try{const n=this.#i.getObject(e,this.#t);if(!n)return Promise.resolve(null);const s=new Wt(n.id,n.objectType);return Object.keys(n).forEach(a=>{const d=n[a];d instanceof ie?Object.defineProperty(s,a,{value:new ie({name:a,objectId:n.id}),enumerable:!0}):ye(d,a)&&Object.defineProperty(s,a,{value:(...h)=>{const b=s[a]?.callContext?.callChain;return Object.defineProperty(d,"callContext",{value:{guest:this.#t,...b?.length?{callChain:b}:{}},configurable:!0,enumerable:!0,writable:!0}),n[a](...h)},enumerable:!0})}),Promise.resolve(s)}catch(n){return Promise.reject(n)}};setAppWindowSize=e=>{if(!this.#e)return;const{size:n}=e,s=document.getElementById(this.#e);s&&(s.style.height=`${n.height}px`,s.style.width=`${n.width}px`)};subscribe=e=>this.#n.subscribe(e);unsubscribe=e=>{this.#n.unsubscribe(e)}}class Yn{constructor(){window.emui||(window.emui={}),window.emui.registerApp=this.#e}#e=({appId:e,app:n})=>{if(!e)throw new Error("appId is required");if(e==="__proto__"||e==="constructor"||e==="prototype")throw new Error(`Invalid appId: ${e}`);if(!n?.uuid)throw new Error("application uuid is required");if(window.emui[e]=window.emui[e]||[],Array.isArray(window.emui[e])){const s=window.emui[e].findIndex(a=>a.uuid===n.uuid);s>-1?window.emui[e][s]=n:window.emui[e].push(n)}else{let s=window.emui[e];s?.uuid===n.uuid?(s={...s,...n},window.emui[e]=[s]):typeof s.init>"u"?window.emui[e]=[{...s,...n}]:window.emui[e]=[window.emui[e],n]}};get=({id:e,instanceId:n})=>{const s=window.emui?.[e];return Array.isArray(s)?s.find(d=>d.uuid===n)??null:s?.uuid===n?s:null};add=({id:e,instanceId:n,documentEle:s})=>{if(!n)throw new Error(`instanceId (uuid) is required to register application ${e}`);const a={uuid:n,init:null,mount:null,unmount:null},d=window.emui[e];d?Array.isArray(d)?d.push(a):window.emui[e]=[d,a]:window.emui[e]=[a],s.defaultView&&(s.defaultView.emui=s.defaultView.emui??{},s.defaultView.emui.uuid=n)};delete=({id:e,instanceId:n})=>{if(Array.isArray(window.emui[e])){const s=window.emui[e].findIndex(a=>a.uuid===n);s>-1&&window.emui[e].splice(s,1),window.emui[e].length===0&&delete window.emui[e]}else delete window.emui[e]}}const Xn=12e4,Br=["click","scroll","keypress","touchstart"],Zn=/\.css$/,Vr=r=>Zn.test(r);class Jn{#e;#t;#r;#i;#n;#o=new kn;#s;#l;#a=new Map;#u=new Map;#c=new Yn;#p=!0;constructor(e){const{logger:n}=e;if(!n)throw new Error("logger is required");this.#e=e.logger,this.#t=e.version,this.#p=e.extendSession??!0,this.#n=new ce({version:e.version,baseUrl:e.appConfigBaseUrl}),this.#r=new Nr(n),this.#i=new Ur(n),this.#s=new Ht,this.#l=new se(this.#e)}#g(e){return typeof e=="function"}#m=e=>e instanceof ne||typeof e?.subscribe=="function";#v=(e,n)=>`Application ${e} with instance id ${n} is not found. Most probably the appId property of app.config.json is not set to ${e}`;#y=(e,n=document)=>{const{elementIds:s}=this.#a.get(e)||{};s&&s.forEach(a=>{const d=n.getElementById(a);d&&d.remove()})};#b=({id:e,instanceId:n,documentEle:s,elementIds:a,microFEHost:d})=>{const h=this.#c.get({id:e,instanceId:n});if(!h)throw new Error(this.#v(e,n));this.#a.set(n,{id:e,instanceId:n,elementIds:a,guest:{guestWindow:s?.defaultView,...h},microFEHost:d})};#w=async({id:e,instanceId:n,containerId:s,hostUrl:a,manifestPath:d,homeRoute:h,initialRoute:b,history:E,theme:A,microFEHost:I})=>{const T=this.#c.get({id:e,instanceId:n});if(!T)throw new Error(`Application ${e} with instance id ${n} is not found. Most probably the appId property of app.config.json is not set to ${e}`);if(!T.init||typeof T.init!="function")throw new Error(`Application ${e} with instance id ${n} doesn't expose init method`);const H=I??new zr({guest:{id:e},version:this.#t,containerId:s,logger:this.#e,soManager:this.#s,eventManager:this.#l});return T.init({host:H,hostUrl:a,manifestPath:d,homeRoute:h,initialRoute:b,prevState:null,history:E,theme:A,hostBreakpoint:Dr(),hostViewportSize:lr(),logger:this.#e})};#x=async e=>{try{const{id:n,instanceId:s,files:a,name:d,hostUrl:h,documentEle:b,isJsModule:E}=e;this.#e.debug(`Application ${n} with instance id ${s} is loading...`);let A=a;const I=e.manifest??await kt.get(e);A=kt.getFullFileNameofAssets(I,a);const T=A.filter(N=>Vr(N)),H=A.filter(N=>!Vr(N)),K={name:d,hostUrl:h,documentEle:b,isESMModule:E},[k,W]=await Promise.all([this.#i.load(T,K),this.#r.load(H,K)]);this.#b({id:n,instanceId:s,documentEle:b,elementIds:[...k,...W],microFEHost:e.microFEHost}),e.selfInitialize||await this.#w(e),this.#e.audit(`Application ${n} with instance id ${s} loaded`)}catch(n){const s=`Application load failed. Unable to load one or more resources for ${e.id} with instance id ${e.instanceId}. ${n.message}`;throw this.#e.error({message:s,appId:e.id,exception:n}),new Error(s)}};#f=({id:e,instanceId:n,hostUrl:s,documentEle:a})=>{this.#e.debug(`Application ${e} with instance id ${n} unloading...`),this.#c.get({id:e,instanceId:n})&&(this.#y(n,a),this.#r.removeDynamicImportedScripts(s,a),this.#r.removePrefetchLinks(s,a),this.#i.removeDynamicImportedStyles(s,a),this.#c.delete({id:e,instanceId:n}),this.#e.audit(`Application ${e} with instance id ${n} unloaded`))};#d=async({id:e,instanceId:n})=>{const s=this.#c.get({id:e,instanceId:n});if(!s?.mount||typeof s?.mount!="function")throw new Error(`Application ${e} with instance id ${n} doesn't expose mount method`);return s.mount({containerId:`${Z}${e}`,hostBreakpoint:Dr(),hostViewportSize:lr()})};#h=({id:e,instanceId:n})=>{const s=this.#c.get({id:e,instanceId:n});if(!s?.unmount)return null;if(typeof s.unmount!="function")throw new Error(`Application ${e} with instance id ${n} doesn't expose unmount method`);return s.unmount({containerId:`${Z}${e}`})};#S=({id:e,instanceId:n})=>{if(this.#p)try{const s=this.#s.getObject(ot.Application);if(!s){this.#e.warn({message:`Application scripting object not available for ${e} to manage session`});return}const a=this.#a.get(n);if(!a)return;a.keepAlive=Be()(async()=>{try{await s.keepSessionAlive()}catch(h){this.#e.error(`Error keeping session alive. ${h.message}`)}},Xn);const d=de.get(n);Br.forEach(h=>{d?.contentDocument?.addEventListener(h,a.keepAlive)})}catch(s){this.#e.warn({message:`Application scripting object not available for ${e} to manage session`,exception:s})}};#A=(e,n)=>{const d=this.#s.getObject(ot.Module,{id:e})?._setUnloadHandler;typeof d=="function"&&d(()=>this.closeApp(n))};#E=async e=>{const n=this.#s.getObject(ot.Module,{id:e});if(!n)return!0;try{const s=await this.#l.dispatchEvent(n,{event:{id:"module.unloading",name:"unloading"},eventParams:{moduleId:e},eventOptions:{timeout:1e3}});if(Array.isArray(s)&&s.some(a=>a===!1))return this.#e.info(`Unload denied by guest ${e} via module.unloading event`),!1}catch(s){this.#e.warn({message:`Error dispatching module.unloading event for ${e}`,exception:s})}return!0};#C=e=>{if(!this.#p||!e)return;const{keepAlive:n,instanceId:s}=e;if(n){const d=de.get(s)?.contentDocument;d&&Br.forEach(h=>{d.removeEventListener(h,n)}),e.keepAlive?.cancel()}};addScriptingObject=(e,n)=>{if(Ot(e)){const s=this.cloneScriptingObject(e);this.#s.addScriptingObject(s,n)}else this.#s.addScriptingObject(e,n)};cloneScriptingObject=e=>{if(!e)throw new Error("proxy is required");const n=new Q(e.id,e.objectType);let s=[];return Object.keys(e).forEach(a=>{const d=e[a];if(this.#m(d)){const h=new ie({name:d.name||a,objectId:n.id});Object.defineProperty(n,a,{value:h,enumerable:!0});const b=({eventParams:A,eventOptions:I})=>this.dispatchEvent({event:h,eventParams:A,eventOptions:I}),E=d.subscribe(b);s.push(()=>{d.unsubscribe(E)})}else if(this.#g(d)&&(Object.defineProperty(n,a,{value:async(...h)=>{const b=n[a]?.callContext;if(b?.guest){const A=b.callChain??[],I=b.guest.id,T=this.#u.get(I),H={id:I};T&&(H.metadata=T),Object.defineProperty(d,"callContext",{value:{callChain:[...A,H]},configurable:!0,enumerable:!0,writable:!0})}const E=await d(...h);return Ot(E)?this.cloneScriptingObject(E):E},enumerable:!0}),a==="dispose")){const h=n.dispose;Object.defineProperty(n,a,{value:()=>(n._dispose(),h.apply(n)),enumerable:!0})}}),n._dispose=()=>{s.forEach(a=>{a?.()}),s=[]},n};closeAllApps=async()=>{await Promise.all([...this.#a.keys()].map(this.closeApp))};closeApp=async e=>{if(!e)throw new Error("instanceId is required");const n=this.#a.get(e);if(!n){this.#e.warn(`Application with instance id ${e} is not found`);return}const{id:s}=n;if(!await this.#E(s))return;const a=this.#o.getConfigById(s);if(!a){this.#e.warn(`Configuration for application ${s} is not found`),this.#a.delete(e),de.remove(e);return}const{hostUrl:d}=a;try{this.#C(n),await this.#h({id:s,instanceId:e})}finally{const h=de.get(e);h?.contentDocument&&this.#f({id:s,instanceId:e,hostUrl:d,documentEle:h.contentDocument}),this.#a.delete(e),this.#u.delete(s),de.remove(e)}};dispatchEvent=async e=>{const{event:{id:n,name:s},eventOptions:a={}}=e,{guestId:d}=a;if(!n)throw new Error("Event Id is required");const h=n.split(".")?.[0],b=d?this.#s.getObject(h,{id:d}):this.#s.getObject(h);return b?this.#l.dispatchEvent(b,e):(this.#e.warn(`Attempt to dispatch event ${s} on unknown object ${h}`),Promise.resolve())};getApp=e=>this.#a.get(e)?.guest;getApps=()=>[...this.#a.values()].map(e=>e.guest);init=async e=>{e?this.#n.setPreloadedConfig(e):await this.#n.load(),this.#o.init({version:this.#t,appConfig:this.#n}),this.#O()};#O=()=>{const e=this.#n.get("microFrontendApps")??{},n=new Set;Object.keys(e).forEach(s=>{const a=this.#o.getConfigById(s);if(a?.hostUrl)try{n.add(new URL(a.hostUrl).origin)}catch{}}),n.forEach(s=>{const a=document.createElement("link");a.rel="preconnect",a.href=s,a.crossOrigin="anonymous",document.head.appendChild(a)})};mountApp=async e=>{if(!e)throw new Error("instanceId is required");const{id:n}=this.#a.get(e)||{};if(!n)throw new Error(`Application with instance id ${e} is not found`);const s=this.#o.getConfigById(n);if(!s)throw new Error(`Application with id ${n} is not found`);await this.#d({...s,instanceId:e})};#T=(e,n,s)=>{const a=new zr({guest:{id:s.id},version:this.#t,containerId:s.containerId,logger:this.#e,soManager:this.#s,eventManager:this.#l}),d=e.defaultView;d&&(d.emui=d.emui??{},d.emui.__host=a,d.emui.getHost=()=>d.emui?.__host??null);const h=e.createElement("link");return h.rel="preconnect",h.href=n.hostUrl,h.crossOrigin="anonymous",e.head.appendChild(h),a};openApp=async e=>{const{id:n,frameOptions:s,history:a,theme:d,homeRoute:h,initialRoute:b,metadata:E,selfInitialize:A}=e,I=Et();E&&this.#u.set(n,E);const T=this.#o.getConfigById(n);if(!T)throw new Error(`Application ${n} is not found in app config`);const H=kt.get(T);H.catch(()=>{});const K=await de.create({id:n,instanceId:I,manifestPath:T.manifestPath,hostUrl:T.hostUrl,options:{title:T.name,...s}});if(!K?.contentDocument)throw new Error("unable to create iframe for the microapp");try{this.#c.add({id:n,instanceId:I,documentEle:K.contentDocument});const k=this.#T(K.contentDocument,T,{id:n,containerId:s?.containerId}),W=await H;return await this.#x({instanceId:I,history:a,theme:d,documentEle:K.contentDocument,containerId:s?.containerId,...T,homeRoute:h??T.homeRoute,initialRoute:b,microFEHost:k,selfInitialize:A,manifest:W}),A||await this.#d({instanceId:I,...T}),this.#S({id:n,instanceId:I}),this.#A(n,I),I}catch(k){throw this.#f({id:n,instanceId:I,hostUrl:T.hostUrl,documentEle:K.contentDocument}),de.remove(I),k}};removeAllEventSubscriptions=()=>{this.#l.unsubscribeAll()};removeAllScriptingObjects=e=>{this.#s.removeAllScriptingObjects(e)};removeScriptingObject=(e,n)=>{this.#s.removeScriptingObject(e,n)};warmUp=e=>{const n=this.#o.getConfigById(e);n&&kt.get(n).catch(()=>{})};unmountApp=async e=>{if(!e)throw new Error("instanceId is required");const{id:n}=this.#a.get(e)||{};if(!n)throw new Error(`Application with instance id ${e} is not found`);const s=this.#o.getConfigById(n);if(!s)throw new Error(`Application with id ${n} is not found`);await this.#h({...s,instanceId:e})}}})(),Ut})());
16
+
17
+ //# sourceMappingURL=emuiAppBridge.446ece3a67206baf72c9.js.map