1(()=>{var e={78877(e,t,r){"use strict";function n(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}const o=["script"];function i(e){const{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:o}=t,{sharedFallback:i,bundlerRuntime:a,libraryType:s}=t.federation;if(n&&!n._updated){const{moduleIdToConsumeDataMapping:o={},initialConsumes:c=[],chunkMapping:l={}}=n;if(Object.entries(o).forEach(([e,n])=>{r[e]||(r[e]={getter:i?a?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:t,libraryType:s}):n.fallback,treeShakingGetter:i?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:i?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){const{initialConsumes:t=[]}=e;c.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){const{chunkMapping:t={}}=e;Object.entries(l).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}n._updated=1}if(o&&!o._updated){const{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;const r={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){const{name:t,version:o,factory:i,eager:a,singleton:s,requiredVersion:c,strictVersion:l}=n,u={requiredVersion:`^${o}`},f=function(e){return void 0!==e};f(s)&&(u.singleton=s),f(c)&&(u.requiredVersion=c),f(a)&&(u.eager=a),f(l)&&(u.strictVersion=l);const d={version:o,scope:[e],shareConfig:u,get:i};r[t]?r[t].push(d):r[t]=[d]}e.instance.registerShared(r),o._updated=1}}var a=r(6575),s=r(92432);function c(e,t){const r=e.federation.usedExports;if(r)return r[t]}const l="RUNTIME-012";var u=r(6205),f={};r.r(f),r.d(f,{Module:()=>u.Module,ModuleFederation:()=>u.ModuleFederation,createInstance:()=>u.createInstance,getInstance:()=>u.getInstance,getRemoteEntry:()=>u.getRemoteEntry,getRemoteInfo:()=>u.getRemoteInfo,init:()=>u.init,loadRemote:()=>u.loadRemote,loadScript:()=>u.loadScript,loadScriptNode:()=>u.loadScriptNode,loadShare:()=>u.loadShare,loadShareSync:()=>u.loadShareSync,preloadRemote:()=>u.preloadRemote,registerGlobalPlugins:()=>u.registerGlobalPlugins,registerPlugins:()=>u.registerPlugins,registerRemotes:()=>u.registerRemotes,registerShared:()=>u.registerShared,satisfy:()=>u.satisfy});var d=r(49391),h=r(31326);const m={global:{...h._$.global,getGlobalFederationInstance:d.u},share:h._$.share,utils:h._$.utils};const p={remotes:function(e){!function(e){const{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:i}=t,a=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!i||i._updated||!a)return;const{chunkMapping:s,moduleIdToRemoteDataMapping:c}=i;if(s&&c){for(let[e,t]of Object.entries(c))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!n[e]&&a[t.remoteName]){const r=a[t.remoteName];n[e]||=[],r.forEach(t=>{n[e].includes(t)||n[e].push(t)})}o&&Object.entries(s).forEach(([e,t])=>{o[e]||(o[e]=[]),t.forEach(t=>{o[e].includes(t)||o[e].push(t)})}),i._updated=1}}(e);const{chunkId:t,promises:r,webpackRequire:i,chunkMapping:c,idToExternalAndNameMapping:l,idToRemoteMap:u}=e;n(i),i.o(c,t)&&c[t].forEach(e=>{let t=i.R;t||(t=[]);const n=l[e],c=u[e]||[];if(t.indexOf(n)>=0)return;if(t.push(n),n.p)return r.push(n.p);const f=t=>{t||(t=new Error("Container missing")),"string"==typeof t.message&&(t.message+=`\nwhile loading "${n[1]}" from ${n[2]}`),i.m[e]=()=>{throw t},n.p=0},d=(e,t,o,i,a,s)=>{try{const c=e(t,o);if(!c||!c.then)return a(c,i,s);{const e=c.then(e=>a(e,i),f);if(!s)return e;r.push(n.p=e)}}catch(e){f(e)}};var h=(e,r,o)=>d(r.get,n[1],t,0,m,o),m=t=>{n.p=1,i.m[e]=e=>{e.exports=t()}};1===c.length&&o.includes(c[0].externalType)&&c[0].name?d(()=>{try{const e=(0,a.e4)(c[0].name,s.yq)+n[1].slice(1),t=i.federation.instance,r=()=>i.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){const e=Array.isArray(n[0])?n[0]:[n[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>r())}return r()}catch(e){f(e)}},n[2],0,0,m,1):d(i,n[2],0,0,(e,t,r)=>e?d(i.I,n[0],0,e,h,r):f(),1)})},consumes:function(e){i(e);const{chunkId:t,promises:r,installedModules:o,webpackRequire:a,chunkMapping:s,moduleToHandlerMapping:u}=e;
1n(a),a.o(s,t)&&s[t].forEach(e=>{if(a.o(o,e))return r.push(o[e]);const n=t=>{o[e]=0,a.m[e]=r=>{delete a.c[e];const n=t(),{shareInfo:o}=u[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}r.exports=n}},i=t=>{delete o[e],a.m[e]=r=>{throw delete a.c[e],t}};try{const s=a.federation.instance;if(!s)throw new Error("Federation instance not found!");const{shareKey:f,getter:d,shareInfo:h,treeShakingGetter:m}=u[e],p=c(a,f),y={...h};Array.isArray(y.scope)&&Array.isArray(y.scope[0])&&(y.scope=y.scope[0]),p&&(y.treeShaking={usedExports:p,useIn:[s.options.name]});const g=s.loadShare(f,{customShareInfo:y,context:{trigger:"build",moduleId:e,chunkId:t}}).then(e=>{if(!1===e){if("function"!=typeof d)throw new Error(((e,t,r,n)=>{const o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push((e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`)(e)),n&&o.push(`Original Error Message:\n ${n}`),o.join("\n")})(l,{[l]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:f}));return m?.()||d()}return e});g.then?r.push(o[e]=g.then(n).catch(i)):n(g)}catch(e){i(e)}})},I:function({shareScopeName:e,webpackRequire:t,initPromises:r,initTokens:i,initScope:a}){const s=Array.isArray(e)?e:[e];var c=[],l=function(s){a||(a=[]);const c=t.federation.instance;var l=i[s];if(l||(l=i[s]={from:c.name}),a.indexOf(l)>=0)return;a.push(l);const u=r[s];if(u)return u;var f=r=>{var n=e=>{return t="Initialization of sharing external failed: "+e,"undefined"!=typeof console&&console.warn&&console.warn(t);var t};try{var o=t(r);if(!o)return;var i=r=>r&&r.init&&r.init(t.S[s],a,{shareScopeMap:t.S||{},shareScopeKeys:e});if(o.then)return d.push(o.then(i,n));var c=i(o);if(c&&"boolean"!=typeof c&&c.then)return d.push(c.catch(n))}catch(e){n(e)}};const d=c.initializeSharing(s,{strategy:c.options.shareStrategy,initScope:a,from:"build"});n(t);const h=t.federation.bundlerRuntimeOptions.remotes;return h&&Object.keys(h.idToRemoteMap).forEach(e=>{const t=h.idToRemoteMap[e],r=h.idToExternalAndNameMapping[e][2];if(t.length>1)f(r);else if(1===t.length){const e=t[0];o.includes(e.externalType)||f(r)}}),d.length?r[s]=Promise.all(d).then(()=>r[s]=!0):r[s]=!0};return s.forEach(e=>{c.push(l(e))}),Promise.all(c).then(()=>!0)},S:{},installInitialConsumes:function(e){i(e);const{moduleToHandlerMapping:t,webpackRequire:r,installedModules:n,initialConsumes:o,asyncLoad:a}=e,s=[];o.forEach(e=>{s.push([e,()=>function(e){const{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n,asyncLoad:o}=e,i=n.federation.instance;if(!i)throw new Error("Federation instance not found!");const{shareKey:a,shareInfo:s}=r[t];try{const e=c(n,a),r={...s};return e&&(r.treeShaking={usedExports:e,useIn:[i.options.name]}),o?i.loadShare(a,{customShareInfo:r,context:{trigger:"build",moduleId:t}}):i.loadShareSync(a,{customShareInfo:r,context:{trigger:"build",moduleId:t}})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}({moduleId:e,moduleToHandlerMapping:t,webpackRequire:r,asyncLoad:a})])});const l=(e,o)=>{r.m[e]=i=>{n[e]=0,delete r.c[e];const a=o();if("function"!=typeof a)throw new Error(`Shared module is not available for eager consumption: ${e}`);const s=a(),{shareInfo:c}=t[e];if(c?.shareConfig?.layer&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=c.shareConfig.layer)}catch(e){}i.exports=s}};if(a)return Promise.all(s.map(async([e,t])=>{const r=await t();l(e,()=>r)}));s.forEach(([e,t])=>{l(e,t)})},initContainerEntry:void 0,init:function({webpackRequire:e}){const{initOptions:t,runtime:n,sharedFallback:o,bundlerRuntime:i,libraryType:a}=e.federation;if(!t)throw new Error("initOptions is required!");{const n=function(){return{name:"tree-shake-plugin",beforeInit(t){const{userOptions:n,origin:s,options:c}=t,l=n.version||c.version;if(!o)return t;const f=n.shared||{},d=[];Object.keys(f).forEach(t=>
1{(Array.isArray(f[t])?f[t]:[f[t]]).forEach(r=>{d.push([t,r]),"get"in r&&(r.treeShaking||={},r.treeShaking.get=r.get,r.get=i.getSharedFallbackGetter({shareKey:t,factory:r.get,webpackRequire:e,libraryType:a,version:r.version}))})});const h=m.global.getGlobalSnapshotInfoByModuleInfo({name:s.name,version:l});if(!h||!("shared"in h))return t;Object.keys(c.shared||{}).forEach(e=>{c.shared[e].forEach(t=>{d.push([e,t])})});return d.forEach(([e,t])=>{((e,t)=>{const n=h.shared.find(t=>t.sharedName===e);if(!n)return;const{treeShaking:o}=t;if(!o)return;const{secondarySharedTreeShakingName:i,secondarySharedTreeShakingEntry:c,treeShakingStatus:l}=n;o.status!==l&&(o.status=l,c&&a&&i&&(o.get=async()=>{const e=await(0,u.getRemoteEntry)({origin:s,remoteInfo:{name:i,entry:c,type:a,entryGlobalName:i,shareScope:"default"}});return await e.init(s,r.federation.bundlerRuntime),e.get()}))})(e,t)}),t}}};t.plugins||=[],t.plugins.push(n())}return n.init(t)},getSharedFallbackGetter:({shareKey:e,factory:t,version:r,webpackRequire:n,libraryType:o="global"})=>{const{runtime:i,instance:a,bundlerRuntime:s,sharedFallback:c}=n.federation;if(!c)return t;const l=c[e];if(!l)return t;const u=r?l.find(e=>e[1]===r):l[0];if(!u)throw new Error(`No fallback item found for shareKey: ${e} and version: ${r}`);return()=>i.getRemoteEntry({origin:n.federation.instance,remoteInfo:{name:u[2],entry:`${n.p}${u[0]}`,type:o,entryGlobalName:u[2],shareScope:"default"}}).then(t=>{if(!t)throw new Error(`Failed to load fallback entry for shareKey: ${e} and version: ${r}`);return t.init(n.federation.instance,s).then(()=>t.get())})}},y={runtime:f,instance:void 0,initOptions:void 0,bundlerRuntime:p,attachShareScopeMap:n,bundlerRuntimeOptions:{}};if(!r.federation.runtime||!r.federation.bundlerRuntime){var g=r.federation;for(var v in r.federation={},y)r.federation[v]=y[v];for(var v in g)r.federation[v]=g[v]}r.federation.instance||(r.federation.instance=r.federation.bundlerRuntime.init({webpackRequire:r}),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),r.federation.installInitialConsumes&&r.federation.installInitialConsumes())},3733(e){e.exports={STATIC_ASSET_PATH:"/assets/b34b6a83610d7de518cad47c971c5ad2",BASENAME:"/"}},60530(e,t,r){"use strict";var n=r(5338),o=r(23012),i=r(3733),a=r(41735),s=r.n(a),c=r(9841),l=r(33275),u=r(84184),f=r(9132),d=r(63774),h="acquire_federated/events",m={displayNotification:d.displayNotification},p=r(74848),y=(0,a.createContext)({}),g=function(e){var t=e.children,r=e.value;return(0,p.jsx)(y.Provider,{value:r,children:t})},v=function(){return(0,a.useContext)(y)},b=r(32121),S=r(58763),E=function(){return window};function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,I(n.key),n)}}function I(e){var t=function(e,t){if("object"!=w(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=w(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==w(t)?t:t+""}var k=function(){function e(){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var r=E();this.rightmoveDataLayer=null!==(t=r.rightmoveDataLayer)&&void 0!==t?t:[],this.document=document,this.window=E(),this.pageModel=E().PAGE_MODEL}return t=e,n=[{key:"getInstance",value:function(){return e.instance||(e.instance=new e),e.instance}}],(r=[{key:"pushGA",value:function(e){this.rightmoveDataLayer.push(e)}}])&&_(t.prototype,r),n&&_(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,n}(),A=function(e){return e.LOGGEDIN="logged in",e.LOGGEDOUT="logged out",e}({}),x=r(18987);function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function O(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,N(n.key),n)}}function N(e){var t=function(e,t){if("object"!=R(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=R(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==R(t)?t:t+""}var j=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return t=e,n=[{key:"getInstance",value:function(){return e.instance||(e.instance=new e),e.instance}}],(r=[{key:"set",value:function(e,t,r){return x.A.set(e,t,r)}},{key:"get",value:function(e){return x.A.get(e)}},{key:"getAll",value:function(){return x.A.get()}},{key:"remove",value:function(e,t){x.A.remove(e,t)}},{key:"getSecUserId",value:function(){var e,t=null!==(e=this.get("sso2"))&&void 0!==e?e:"";if(t)return t.split("_")[0]}}])&&O(t.prototype,r),n&&O(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,n}(),T=function(e){try{k.getInstance().pushGA(e)}catch(e){}},C=r(25098),P=r.n(C);function $(e){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$(e)}function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?L(Object(r),!0).forEach(function(t){F(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function F(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=$(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof s?n:s,l=Object.create(c.prototype);return H(l,"_invoke",function(r,n,o){var i,s,c,l=0,u=o||[],f=!1,d={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,r){return i=t,s=0,c=e,d.n=r,a}};function h(r,n){for(s=r,c=n,t=0;!f&&l&&!o&&t<u.length;t++){var o,i=u[t],h=d.p,m=i[2];r>3?(o=m===n)&&(c=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=h&&((o=r<2&&h<i[1])?(s=0,d.v=n,d.n=i[1]):h<m&&(o=r<3||i[0]>n||n>m)&&(i[4]=r,i[5]=n,d.n=m,s=0))}if(o||r>1)return a;throw f=!0,n}return function(o,u,m){if(l>1)throw TypeError("Generator is already running");for(f&&1===u&&h(u,m),s=u,c=m;(t=s<2?e:c)||!f;){i||(s?s<3?(s>1&&(d.n=-1),h(s,c)):d.n=c:d.v=c);try{if(l=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(f=d.n<0)?c:r.call(n,d))!==a)break}catch(t){i=e,s=1,c=t}finally{l=1}}return{value:t,done:f}}}(r,o,i),!0),l}var a={};function s(){}function c(){}function l(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(H(t={},n,function(){return this}),t),f=l.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,H(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return c.prototype=l,H(f,"constructor",l),H(l,"constructor",c),c.displayName="GeneratorFunction",H(l,o,"GeneratorFunction"),H(f),H(f,o,"Generator"),H(f,n,function(){return this}),H(f,"toString",function(){return"[object Generator]"}),(D=function(){return{w:i,m:d}})()}function H(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}H=function(e,t,r,n){function i(t,r){H(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},H(e,t,r,n)}function U(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function G(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){U(i,n,o,a,s,"next",e)}function s(e){U(i,n,o,a,s,"throw",e)}a(void 0)})}}var B=(0,a.lazy)(G(D().m(function e(){return D().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,r.e(55).then(r.bind(r,8055)).catch(function(){});case 1:return e.a(2,{default:P()})}},e)})));const V=function(e){return(0,p.jsx)(a.Suspense,{fallback:null,children:(0,p.jsx)(B,M({},e))})};var q=function(){var e,t=v(),r=(0,o.useLocation)(),n=(null!==(e=t.modFedUawHost)&&void 0!==e?e:t.uawHost).replace("/myrightmove/","").replace("/myrightmove","");return void 0!==globalThis.window&&((0,c.Ts)({serviceName:"user-authentication-web",serverUrl:"https://rightmove-rum-apm.apm.europe-west2.gcp.elastic-cloud.com",serviceVersion:"1.0",environment:t.apm.environment,active:!0,transactionSampleRate:t.apm.transactionSampleRate}),(0,u.initModuleFederation)({publicSiteHost:n})),(0,a.useEffect)(function(){var e=globalThis.location.hostname;!function(e,t,r,n){var o=(0,b.g)();T({event:"rightmovePageView",page:{platform:"web",customUri:t,paginationNumber:void 0,application:"user-authentication-web",channel:"general",category:e,contentGroup:"user account",gtmZone:"User Authentication Web",uri:window.location.pathname,pageTitle:document.title,isEmbedded:!1,ismSitePage:!1,screenHeight:window.innerHeight,screenWidth:window.innerWidth,userTimestamp:r,serverTimestamp:n.serverTimestamp,svr:j.getInstance().get("svr"),referrer:document.referrer},user:{ckse:window.navigator.cookieEnabled,pcid:j.getInstance().get("permuserid"),cuid:j.getInstance().get("cuid"),secUserId:o,loggedInStatus:o?A.LOGGEDIN:A.LOGGEDOUT,type:j.getInstance().get("sso2v")?S.u.CUSTOMER:S.u.CONSUMER},session:{mvtInfo:n.mvtInfo}})}("general","".concat(e).concat(r.pathname).replace(/\/$/,""),Date.now(),t)},[r]),(0,a.useEffect)(function(){new l.ClientStorage(t.clientStoragePolicy,t.featureSwitches.CLIENT_STORAGE_FILTERING_ENABLED)},[]),(0,p.jsxs)("main",{className:"main",children:[(0,p.jsx)(f.ModFedClientComponent,{remoteModule:"acquire_federated/RmAssistant",componentProps:{hostName:n,mediaServer:t.mediaServerHost,locationSearchHost:t.losHost},fallBackComponent:(0,p.jsx)(V,{hostName:n,mediaServer:t.mediaServerHost,locationSearchHost:t.losHost}),onError:function(e){return c.rG.captureError(new Error("ModFed tray failed: ".concat(e)))}}),(0,p.jsx)(o.Outlet,{})]})};const z=function(){return(0,a.useEffect)(function(){E().location.href="/page-not-found"},[]),(0,p.jsx)("div",{children:"Not found"})};var W=r(51278),K=r(22372),J=r.n(K),Y=r(25746),Q=r(11561),X=function(e){return(0,a.useEffect)(function(){if(E().Arkose||(E().Arkose={}),e.publicKey)return function(e){var t="arkose-script";if(!document.getElementById(t)){var r=document.createElement("script");r.type="text/javascript",r.src="https://rightmove-api.arkoselabs.com/v2/"+e.publicKey+"/api.js",r.setAttribute("data-callback","setupEnforcement"),r.async=!0,r.defer=!0,r.id=t,document.head.append(r)}return function(){var e=document.getElementById("arkose-script");null==e||e.remove()}}(e)},[e.publicKey]),(0,p.jsx)("div",{id:"arkose-ec"})},Z=r(25546),ee=new Set(["rightmove.co.uk","rightmove.com"]),te=function(e){try{return e.startsWith("//")?"/myrightmove.html":e.startsWith("/")||function(e){var t=e.toLowerCase();return Array.from(ee).some(function(e){return t===e||t.endsWith(".".concat(e))})}(new URL(e).hostname)?e:"/myrightmove.html"}catch(e){return"/myrightmove.html"}};function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}
1finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ne(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ne(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var oe={openProfile:d.openProfile,setUserLoggedIn:d.setUserLoggedIn},ie={showWelcomeBackScreen:Q.showWelcomeBackScreen,showAddAddressScreen:Q.showAddAddressScreen,showMarketingPreferencesScreen:Q.showMarketingPreferencesScreen},ae=function(){var e=v(),t=e.featureSwitches,r=e.arkosePublicKey,n=e.mediaServerHost,o=e.uawHost,i=e.losHost,s=t.USE_ARKOSE,c=re((0,a.useState)(),2),l=c[0],u=c[1],f=(0,Y.useModFedHandlers)(h,oe).handlers,d=(0,Y.useModFedHandlers)("acquire_federated/events/trayEvents",ie).handlers;(0,a.useEffect)(function(){u(window.location.search.includes("%2Fmap.html")?"draw a search":void 0)},[]);return(0,p.jsxs)("div",{children:[s&&(0,p.jsx)(X,{publicKey:r}),(0,p.jsx)(J(),{onLoginOrRegister:function(e,t,r,n,o,i){!function(e,t,r,n,o,i,a,s,c,l){null==i||i(!0);var u=j.getInstance().getSecUserId();n?null==s||s({showTrayAfterAuth:!1,showLoginConsent:e,firstName:o}):t?null==c||c({showLoginConsent:e,showProfile:!0,arrivedFrom:"signIn",showTrayAfterAuth:!1}):e?null==l||l({showProfile:!0,arrivedFrom:"signIn",showTrayAfterAuth:!1}):null==a||a(u,"signIn"),E().postMessage(j.getInstance().get("sso2"),E().location.origin);var f=!1,d=function(){f||(f=!0,E().removeEventListener("rm-assistant-user-finished-with-profile",d),E().removeEventListener(Z.vC,d),setTimeout(function(){var e=r?te(r):"/myrightmove.html";E().location.assign(e)},100))};E().addEventListener("rm-assistant-user-finished-with-profile",d),E().addEventListener(Z.vC,d)}(e,t,r,o,i,null==f?void 0:f.setUserLoggedIn,null==f?void 0:f.openProfile,null==d?void 0:d.showWelcomeBackScreen,null==d?void 0:d.showAddAddressScreen,null==d?void 0:d.showMarketingPreferencesScreen)},ga4TrackingFunction:T,isPage:!0,loginSource:l,uawHost:o,useArkose:s,mediaServerUrl:n,losHost:i})]})};const se="FF6I9fn4tvJy8kVgXb1B";
1const ce=function(){return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(W.m,{children:(0,p.jsx)("title",{children:"Rightmove - Login"})}),(0,p.jsx)("div",{className:se,children:(0,p.jsx)(ae,{})})]})};var le={path:"/login.html",element:(0,p.jsx)(ce,{}),errorElement:(0,p.jsx)(z,{})};const ue="c68iDvzPKkDM9YYAnHbt";const fe=function(){return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(W.m,{children:(0,p.jsx)("title",{children:"Rightmove - Register"})}),(0,p.jsx)("div",{className:ue,children:(0,p.jsx)(ae,{})})]})};var de={path:"/register.html",element:(0,p.jsx)(fe,{}),errorElement:(0,p.jsx)(z,{})},he=r(52738),me=r.n(he),pe=r(31820),ye=r(48287);function ge(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof s?n:s,l=Object.create(c.prototype);return ve(l,"_invoke",function(r,n,o){var i,s,c,l=0,u=o||[],f=!1,d={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,r){return i=t,s=0,c=e,d.n=r,a}};function h(r,n){for(s=r,c=n,t=0;!f&&l&&!o&&t<u.length;t++){var o,i=u[t],h=d.p,m=i[2];r>3?(o=m===n)&&(c=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=h&&((o=r<2&&h<i[1])?(s=0,d.v=n,d.n=i[1]):h<m&&(o=r<3||i[0]>n||n>m)&&(i[4]=r,i[5]=n,d.n=m,s=0))}if(o||r>1)return a;throw f=!0,n}return function(o,u,m){if(l>1)throw TypeError("Generator is already running");for(f&&1===u&&h(u,m),s=u,c=m;(t=s<2?e:c)||!f;){i||(s?s<3?(s>1&&(d.n=-1),h(s,c)):d.n=c:d.v=c);try{if(l=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(f=d.n<0)?c:r.call(n,d))!==a)break}catch(t){i=e,s=1,c=t}finally{l=1}}return{value:t,done:f}}}(r,o,i),!0),l}var a={};function s(){}function c(){}function l(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(ve(t={},n,function(){return this}),t),f=l.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,ve(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return c.prototype=l,ve(f,"constructor",l),ve(l,"constructor",c),c.displayName="GeneratorFunction",ve(l,o,"GeneratorFunction"),ve(f),ve(f,o,"Generator"),ve(f,n,function(){return this}),ve(f,"toString",function(){return"[object Generator]"}),(ge=function(){return{w:i,m:d}})()}function ve(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}ve=function(e,t,r,n){function i(t,r){ve(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},ve(e,t,r,n)}function be(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function Se(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Ee(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ee(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var we=function(e){var t=function(e){return Array.isArray(e)?e.join("/"):e}(e),r=function(e){var t=e.split("?utm_medium")[0];return ye.Buffer.from(t,"base64").toString("ascii").split("&redirect=fin")[0]}(t),n=function(e){var t,r="",n="",o=Se(e.split("&"));try{for(o.s();!(t=o.n()).done;){var i=t.value;i.startsWith("email")?r=i.split("=")[1]:i.startsWith("token")&&(n=i.split("=")[1])}}catch(e){o.e(e)}finally{o.f()}return{email:r,token:n}}(r),o=n.email,i=n.token,a=r.split("url=")[1],s=r.split("inflow=")[1],c=function(e){var t=e.includes("from="),r=e.includes("contactBranch.html")||e.includes("contact-form"),n=e.includes("/login.html")||e.includes("/register.html");return t&&!r?decodeURIComponent(e.split("from=")[1]):n?"/myrightmove.html":e}(a);return c=function(e,t){if(!t)return e;var r=e.includes("?")?"&":"?";return"".concat(e).concat(r).concat(t)}(c,s),{email:o,redirect:te(c),token:i}},_e=function(e,t,r){var n=fetch("".concat(r,"/api/user-authentication-web/auth/otl/auth"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,token:t})}).then(function(){var e,t=(e=ge().m(function e(t){var r,n;return ge().w(function(e){for(;;)switch(e.n){case 0:n=t.status,e.n=200===n?1:401===n?3:404===n?4:5;break;case 1:return e.n=2,t.json();case 2:return r=e.v,e.a(2,{view:"SUCCESS",showLoginConsent:r.showLoginConsent,showReonboarding:r.showReonboarding});case 3:case 5:return e.a(2,{view:"GENERIC"});case 4:return e.a(2,{view:"EXPIRED"});case 6:return e.a(2)}},e)}),function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){be(i,n,o,a,s,"next",e)}function s(e){be(i,n,o,a,s,"throw",e)}a(void 0)})});return function(e){return t.apply(this,arguments)}}()).catch(function(){return{view:"GENERIC"}});return n};const Ie=function(){return(0,p.jsxs)("svg",{fill:"none",viewBox:"0 0 206 206",xmlns:"http://www.w3.org/2000/svg",children:[(0,p.jsx)("circle",{cx:"102.5",cy:"103",r:"102.5",fill:"#E5F1EE"}),(0,p.jsx)("mask",{id:"a",x:"0",y:"0",width:"206",height:"206",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",children:(0,p.jsx)("circle",{cx:"103",cy:"103",r:"102.5",fill:"#E5F1EE"})}),(0,p.jsxs)("g",{mask:"url(#a)",children:[(0,p.jsx)("path",{d:"m0.5 101c-1.1046 0-2 0.895-2 2 0 1.104 0.89543 2 2 2v-4zm26.906 0h-26.906v4h26.906l1e-4 -4z",fill:"#007986"}),(0,p.jsx)("path",{d:"m66.331 84.874v36.251h-19.122c-4.4183 0-8-3.582-8-8v-20.251c0-4.4183 3.5817-8 8-8h19.122z",fill:"#8FCFCF"}),(0,p.jsx)("path",{d:"m39.209 93.857v18.285h-4.943c-4.4183 0-8-3.581-8-8v-2.285c0-4.4182 3.5817-7.9999 8-7.9999h4.943z",fill:"#4BB1BC"}),(0,p.jsx)("rect",{transform:"rotate(90 71.33 81.702)",x:"71.33",y:"81.702",width:"42.594",height:"4.9994",rx:"1",fill:"#4BB1BC"}),(0,p.jsx)("path",{d:"m85.934 91.522c1.7475 0 3.1641 1.4167 3.1641 3.1642s-1.4166 3.1641-3.1641 3.1641h-14.604v-6.3283h14.604z",fill:"#888A9A"}),(0,p.jsx)("path",{d:"m85.934 108.3c1.7475 0 3.1641 1.417 3.1641 3.165 0 1.747-1.4166 3.164-3.1641 3.164h-14.604v-6.329h14.604z",fill:"#888A9A"}
1),(0,p.jsx)("path",{d:"m94.216 52.552c0.5682 0.5682 0.5682 1.4893 0 2.0575l-0.2366 0.2366c-0.5682 0.5682-1.4894 0.5682-2.0575 0l-8.0514-8.0513c-0.6335-0.6335-0.6335-1.6606 0-2.2941 0.6336-0.6336 1.6607-0.6336 2.2942 0l8.0513 8.0513z",fill:"#F5A512"}),(0,p.jsx)("path",{d:"m104.58 49.688c0 0.8035-0.651 1.4549-1.455 1.4549h-0.334c-0.804 0-1.455-0.6514-1.455-1.4549v-11.386c0-0.8959 0.726-1.6222 1.622-1.6222s1.622 0.7263 1.622 1.6222v11.386z",fill:"#F5A512"}),(0,p.jsx)("path",{d:"m113.98 54.752c-0.569 0.5682-1.49 0.5682-2.058 1e-4l-0.237-0.2366c-0.568-0.5682-0.568-1.4894 0-2.0576l8.052-8.0513c0.633-0.6335 1.66-0.6335 2.294 0 0.633 0.6335 0.633 1.6606 0 2.2941l-8.051 8.0513z",fill:"#F5A512"}),(0,p.jsx)("path",{d:"m111.78 153.45c-0.568-0.568-0.568-1.49 0-2.058l0.237-0.236c0.568-0.569 1.489-0.569 2.057 0l8.052 8.051c0.633 0.633 0.633 1.661 0 2.294-0.634 0.634-1.661 0.634-2.295 0l-8.051-8.051z",fill:"#F5A512"}),(0,p.jsx)("path",{d:"m101.42 156.31c0-0.803 0.651-1.455 1.455-1.455h0.334c0.804 0 1.455 0.652 1.455 1.455v11.387c0 0.896-0.726 1.622-1.622 1.622s-1.622-0.726-1.622-1.622v-11.387z",fill:"#F5A512"}),(0,p.jsx)("path",{d:"m92.017 151.25c0.5682-0.568 1.4894-0.568 2.0576 0l0.2366 0.237c0.5681 0.568 0.5681 1.489 0 2.057l-8.0514 8.052c-0.6335 0.633-1.6606 0.633-2.2941 0-0.6335-0.634-0.6335-1.661 0-2.294l8.0513-8.052z",fill:"#F5A512"}),(0,p.jsx)("path",{d:"m205.5 105c1.105 0 2-0.895 2-2 0-1.104-0.895-2-2-2v4zm-26.906 0h26.906v-4h-26.906v4z",fill:"#007986"}),(0,p.jsx)("path",{d:"m139.91 121.12v-36.251h19.123c4.418 0 8 3.5817 8 8v20.251c0 4.418-3.582 8-8 8h-19.123z",fill:"#8FCFCF"}),(0,p.jsx)("path",{d:"m167.03 112.14v-18.285h4.943c4.418 0 8 3.5817 8 8.0003v2.285c0 4.418-3.582 8-8 8h-4.943z",fill:"#4BB1BC"}),(0,p.jsx)("rect",{transform:"rotate(-90 134.91 124.3)",x:"134.91",y:"124.3",width:"42.594",height:"4.9994",rx:"1",fill:"#4BB1BC"})]})]})};const ke=function(){return(0,p.jsxs)("svg",{fill:"none",viewBox:"0 0 206 205",xmlns:"http://www.w3.org/2000/svg",children:[(0,p.jsx)("circle",{cx:"103",cy:"102.5",r:"102.5",fill:"#E5F1EE"}),(0,p.jsx)("path",{d:"m114.07 52.406c-0.843-0.0212-1.542 0.7171-1.562 1.6491-0.019 0.932 0.649 1.7047 1.492 1.7259 5.474 0.1376 8.201 2.1426 8.737 6.0729 0.27 1.9756-0.106 3.1533-1.475 5.5417-0.116 0.2024-0.177 0.3078-0.234 0.409-1.26 2.2081-1.787 3.6146-1.787 5.6087 0 6.0516 6.803 9.3965 10.558 4.8457 0.568-0.6888 0.524-1.7564-0.099-2.3846s-1.589-0.5791-2.157 0.1097c-1.808 2.1914-5.248 0.5005-5.248-2.5708 0-1.1897 0.341-2.0978 1.316-3.8081 0.056-0.0974 0.114-0.199 0.231-0.4029 1.727-3.0142 2.321-4.8751 1.915-7.8519-0.788-5.7723-4.869-8.7731-11.687-8.9444z",fill:"#D1C8BA"}),(0,p.jsx)("path",{d:"m114.31 55.803s5.669-6.8473 2.02-16.395c-3.65-9.5479-20.38-6.4427-24.132-4.1673-2.367 1.4355-5.3997 4.1673-8.1851 3.298-1.5916-2.7867-0.7958-5.5734-0.7958-5.5734l-5.3524 5.5734h-7.3805l-3.979-4.3791s-2.5145 8.8802 0 15.924c1.9895 5.5735 6.4417 5.7196 13.343 5.7196h34.462z",clipRule:"evenodd",fill:"#FCF8F0",fillRule:"evenodd"}),(0,p.jsx)("mask",{id:"a",x:"65",y:"32",width:"53",height:"24",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",children:(0,p.jsx)("path",{d:"m114.31 55.803s5.669-6.8473 2.02-16.395c-3.65-9.5479-20.38-6.4427-24.132-4.1673-2.3671 1.4355-5.3998 4.1673-8.1852 3.298-1.5916-2.7867-0.7958-5.5734-0.7958-5.5734l-5.3524 5.5734h-7.3805l-3.9791-4.3791s-2.5144 8.8802 0 15.924c1.9895 5.5735 6.4417 5.7196 13.343 5.7196h34.462z",clipRule:"evenodd",fill:"#fff",fillRule:"evenodd"})}),(0,p.jsxs)("g",{clipRule:"evenodd",fill:"#D1C8BA",fillRule:"evenodd",mask:"url(#a)",children:[(0,p.jsx)("path",{d:"m115.18 32.207s7.252 7.9358 0 11.43-13.68-4.8439-7.911-9.8052c5.768-4.9613 7.911-1.6243 7.911-1.6243z"}),(0,p.jsx)("path",{d:"m98.518 43.096s5.1798 5.2905 0 7.6196c-5.1799 2.3292-9.7714-3.2293-5.651-6.5368s5.651-1.0828 5.651-1.0828z"})]}),(0,p.jsx)("path",{d:"m72.328 43.937c0.5857 0.7158 4.496 3.9852-0.2391 6.3191-4.7352 2.3338-7.3606-4.2682-4.2314-6.3191 3.1291-2.0508 3.8848-0.7157 4.4705 0z",clipRule:"evenodd",fill:"#DED4C4",fillRule:"evenodd"}),(0,p.jsx)("path",{d:"m74.276 51.488c0.2996 0.2568 0.7416 0.2568 1.0412 0l0.6038-0.5175c0.564-0.4834 0.2221-1.4075-0.5206-1.4075h-1.2076c-0.7427 0-1.0846 0.9241-0.5206 1.4075l0.6038 0.5175z",fill:"#FCBFAC"}),(0,p.jsx)("path",{d:"m80.404 55.804c0-2.6192-2.1232-4.7425-4.7424-4.7425h-8.3164c-1.0818 0-1.9588 0.877-1.9588 1.9589v0.8866c0 1.047
17 0.8493 1.897 1.8969 1.897h13.121z",clipRule:"evenodd",fill:"#D1C8BA",fillRule:"evenodd"}),(0,p.jsx)("path",{d:"m68.868 46.797h0.3952 9e-4 0.0013 0.0041l0.0135 1e-4c0.0113 2e-4 0.0273 5e-4 0.0475 0.0011 0.0405 0.0011 0.098 0.0034 0.1695 0.0078 0.1426 0.0088 0.3422 0.0263 0.5733 0.0613 0.456 0.0691 1.0619 0.2102 1.5949 0.5063 0.7511 0.4173 1.1518 0.9371 1.1518 1.7946-0.6251-0.2983-0.9439-0.7749-1.5356-1.1036-0.4155-0.2308-0.9161-0.3532-1.3295-0.4158-0.6915-0.1048-0.7568-0.2063-1.0869-0.8518z",clipRule:"evenodd",fill:"#7E2825",fillRule:"evenodd"}),(0,p.jsx)("path",{d:"m80.724 46.797h-0.3952-9e-4 -0.0013-0.0041l-0.0135 2e-4c-0.0114 1e-4 -0.0273 4e-4 -0.0476 1e-3 -0.0404 0.0011-0.0979 0.0034-0.1694 0.0078-0.1426 0.0088-0.3422 0.0263-0.5733 0.0613-0.456 0.0691-1.0619 0.2103-1.595 0.5064-0.751 0.4172-1.1517 0.937-1.1517 1.7945 0.6251-0.2982 0.9439-0.7749 1.5356-1.1036 0.4154-0.2308 0.9161-0.3531 1.3295-0.4158 0.6914-0.1047 0.7568-0.2063 1.0869-0.8518z",clipRule:"evenodd",fill:"#7E2825",fillRule:"evenodd"}),(0,p.jsx)("path",{d:"m47.071 158.45c-7.32 0-11.712 0.644-11.712 2.728 0 4.46 40.563 11.644 79.676 11.644 28.885 0 39.963-1.664 39.963-4.88 0-2.865-27.157-7.755-53.768-7.755-22.17 0-42.183-1.722-54.168-1.722",fill:"#C7DEDB"}),(0,p.jsx)("path",{d:"m111.38 153.08c0-35.731-29.187-33.311-29.187-43.837 0-10.526 29.187-8.106 29.187-43.837h-68.808c0 35.731 29.182 33.311 29.182 43.837 0 10.526-29.182 8.106-29.182 43.837h68.808z",fill:"#BBE0E0"}),(0,p.jsx)("path",{d:"m98.477 130.22c-0.5993-0.669-1.4053-1.119-2.2896-1.277s-1.7961-0.016-2.5904 0.404c-5.1191 2.683-10.812 4.086-16.592 4.089-1.9186-1e-3 -3.8342-0.153-5.7291-0.454-1.9461-0.315-3.9138-0.478-5.8853-0.488-1.9663-7e-3 -3.9283 0.184-5.856 0.571-2.5791 0.544-4.9376 1.844-6.7743 3.735-1.8366 1.89-3.0681 4.286-3.5372 6.879-0.1366 0.737-0.2489 1.489-0.3465 2.26-0.0429 0.334-0.0143 0.673 0.0839 0.995 0.0983 0.322 0.2639 0.619 0.486 0.872 0.222 0.253 0.4953 0.456 0.8018 0.595 0.3064 0.139 0.639 0.211 0.9756 0.212h51.475c0.336-1e-3 0.668-0.073 0.974-0.212s0.579-0.341 0.801-0.594c0.222-0.252 0.388-0.549 0.486-0.87 0.099-0.321 0.128-0.66 0.086-0.993-0.898-7.535-3.553-12.357-6.5686-15.724z",fill:"#F5A512"}),(0,p.jsx)("path",{d:"m116.46 55.922h-78.939c-1.1804 0-2.1374 0.9569-2.1374 2.1374v5.2411c0 1.1805 0.957 2.1375 2.1374 2.1375h78.939c1.181 0 2.138-0.957 2.138-2.1375v-5.2411c0-1.1805-0.957-2.1374-2.138-2.1374z",fill:"#4BB1BC"}),(0,p.jsx)("path",{d:"m116.48 153.03h-78.978c-1.1697 0-2.1179 0.948-2.1179 2.117v5.281c0 1.169 0.9482 2.118 2.1179 2.118h78.978c1.17 0 2.118-0.949 2.118-2.118v-5.281c0-1.169-0.948-2.117-2.118-2.117z",fill:"#4BB1BC"}),(0,p.jsx)("path",{d:"m58.744 85.402c-0.4955 2e-4 -0.9804 0.1445-1.3955 0.4152s-0.7426 0.6561-0.9427 1.1095-0.2641 0.9552-0.1842 1.4443c0.0798 0.4891 0.3 0.9445 0.6339 1.3107 3.0744 3.416 6.7442 5.5291 9.9357 7.3884 2.8304 1.6446 6.0903 3.3917 8.1496 4.4797 0.6318 0.333 1.3354 0.508 2.0497 0.508s1.4178-0.175 2.0496-0.508c2.0593-1.088 5.3192-2.8351 8.1496-4.4797 3.1915-1.8593 6.8613-3.9919 9.9357-7.3884 0.3336-0.3659 0.5538-0.8208 0.6337-1.3095 0.08-0.4887 0.0165-0.99-0.183-1.4432s-0.5263-0.8388-0.9407-1.1099c-0.4144-0.271-0.8985-0.416-1.3937-0.4171h-36.498z",fill:"#F5A512"}),(0,p.jsx)("path",{d:"m174.67 98.728v0.0476h-32.778v39.976h4.398v-28.657h28.38v28.609h4.398v-39.976h-4.398z",fill:"#C5E4E0"}),(0,p.jsx)("path",{d:"m174.67 101.43h-28.377v6.012h28.377v-6.012z",fill:"#B0D2CE"}),(0,p.jsx)("path",{d:"m160.48 105.64c0.666 0 1.205-0.54 1.205-1.205s-0.539-1.204-1.205-1.204c-0.665 0-1.204 0.539-1.204 1.204s0.539 1.205 1.204 1.205z",fill:"#fff"}),(0,p.jsx)("path",{d:"m182.03 95.538h-43.1v3.2381h43.1v-3.2381z",fill:"#B0D2CE"}),(0,p.jsx)("path",{d:"m174.72 67.303c-0.547-0.2377-1.167-0.248-1.723-0.0287-0.555 0.2193-1.001 0.6503-1.238 1.1981-0.238 0.5478-0.248 1.1676-0.029 1.723s0.65 1.001 1.198 1.2386l-3.68 10.131 0.318-12.479c0.572-0.0545 1.101-0.325 1.48-0.7562 0.38-0.4313 0.58-0.9909 0.561-1.5648-0.019-0.574-0.256-1.119-0.663-1.5241s-0.953-0.6398-1.527-0.6562c-0.575-0.0164-1.133 0.1867-1.563 0.5679-0.429 0.3812-0.697 0.9118-0.749 1.4838-0.052 0.5719 0.116 1.142 0.47 1.5942s0.867 0.7524 1.435 0.8395l-0.299 11.51-2.984-6.7559c0.491-0.2943 0.852-0.7647 1.008-1.3154 0.157-0.5507 0.097-1.1402-0.166-1.6486s-0.71-0.8974-1.25-1.0877-1.132-0.1676-1.
1656 0.0633c-0.524 0.231-0.94 0.653-1.163 1.18-0.224 0.527-0.238 1.1193-0.04 1.6565 0.198 0.5371 0.593 0.9786 1.105 1.2346 0.512 0.2559 1.102 0.307 1.651 0.1429l3.46 7.83-0.035 1.3378-0.635 1.7573c-0.024 0.0695-0.019 0.1456 0.012 0.212 0.031 0.0665 0.088 0.1181 0.156 0.1439 0.031 0.0101 0.063 0.0155 0.096 0.0159 0.04-9e-4 0.08-0.0096 0.117-0.0255 0.067-0.0322 0.118-0.0892 0.143-0.1588l0.528-1.4491c0.017-0.0106 0.034-0.0222 0.051-0.0349 0.026-0.0248 0.048-0.0547 0.063-0.0881 0.014-0.0333 0.022-0.0693 0.022-0.1058v-0.1621l0.051-0.1461 1.789 4.0484c0.023 0.0486 0.059 0.0899 0.104 0.1191s0.097 0.0452 0.151 0.0461c0.038-4e-4 0.076-0.0091 0.111-0.0254 0.033-0.0144 0.063-0.0354 0.089-0.0617 0.025-0.0264 0.045-0.0575 0.058-0.0915 0.013-0.0341 0.019-0.0704 0.018-0.1068-2e-3 -0.0365-0.01-0.0723-0.025-0.1054l-2.021-4.5791 3.921-10.804c0.557 0.1244 1.14 0.0326 1.632-0.2567 0.491-0.2894 0.855-0.7548 1.016-1.302 0.162-0.5472 0.109-1.1354-0.146-1.6454-0.256-0.5101-0.696-0.9039-1.231-1.1018l9e-3 -0.0063z",fill:"#D3EAED"}),(0,p.jsx)("path",{d:"m165.93 79.061h6.393c0 1.0073 1.024 1.3823 1.024 1.3823 0.986 0.7343 1.787 1.689 2.338 2.7877 0.552 1.0988 0.839 2.3113 0.839 3.5408s-0.287 2.442-0.839 3.5407c-0.551 1.0988-1.352 2.0534-2.338 2.7877 0 0-1.43 1.43-1.062 2.4819h-6.355c0.565-1.2711-1.058-2.4819-1.058-2.4819-0.987-0.7343-1.787-1.6889-2.339-2.7877-0.552-1.0987-0.839-2.3112-0.839-3.5407s0.287-2.442 0.839-3.5408c0.552-1.0987 1.352-2.0534 2.339-2.7877 0 0 1.058-0.5402 1.058-1.3823z",clipRule:"evenodd",fill:"#C1DEE3",fillRule:"evenodd"})]})},Ae="O1wUBJ4uPavbMo3_dk3x",xe="r2591ZOc_U4YigVrlY94",Re="wlQdRlx1aOq95D1tYJ5_",Oe="dI04Ef7mLNumNGuedKPw";function Ne(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return je(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?je(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Te={displayNotification:d.displayNotification,openLogin:d.openLogin};const Ce=function(){var e=(0,o.useLocation)(),t=e.pathname.split("/authenticateToken/")[1]+e.search,r=v().uawHost,n=Ne((0,a.useState)(),2),i=n[0],s=n[1],c=Ne((0,a.useState)(""),2),u=c[0],f=c[1],d=Ne((0,a.useState)("/"),2),m=d[0],y=d[1],g=(0,Y.useModFedHandlers)(h,Te).handlers;(0,a.useEffect)(function(){var e=we(t);f(e.email),y(e.redirect),e.email&&e.token?(T({event:"login_form_submit",module:"my rightmove",formLabel:void 0,formInputStatus:"attempt",formId:void 0,formName:"login form",formNameSnakecase:"login_form",formFlow:"login",formStage:"one time link",formValidation:void 0,formErrorCode:void 0,loginSource:"otl"}),_e(e.email,e.token,r).then(function(t){"SUCCESS"===t.view&&(T({event:"login_form_submit",module:"my rightmove",formLabel:void 0,formInputStatus:"success",formId:void 0,formName:"login form",formNameSnakecase:"login_form",formFlow:"login",formStage:"one time link",formValidation:"success",formErrorCode:void 0,loginSource:"otl"}),t.showLoginConsent&&l.ClientStorage.sessionStorage().setItem("showTrayConsent","true"),t.showReonboarding&&l.ClientStorage.sessionStorage().setItem("trayShowWelcomeBackScreen","true"),l.ClientStorage.sessionStorage().setItem("otl","true"),E().location.href=te(e.redirect)),s(t.view)}).catch(function(e){s("GENERIC"),T({event:"login_form_submit",module:"my rightmove",formLabel:void 0,formInputStatus:"failure",formId:void 0,formName:"login form",formNameSnakecase:"login_form",formFlow:"login",formStage:"one time link",formValidation:"failure",formErrorCode:"We're sorry \u2013 something's gone wrong with this one-time link",loginSource:"otl"})})):s("GENERIC")},[]);return(0,p.jsx)("div",{className:Ae,children:(0,p.jsx)("div",{className:xe,children:"GENERIC"===i?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(Ie,{}),(0,p.jsx)("h1",{children:"We're sorry \u2013 something's gone wrong with this one-time link"}),(0,p.jsx)("p",{children:"Unfortunately, that's all we know at the moment. If you need help, you can use the 'Contact us' link below."}),(0,p.jsx)("div",{className:Re,children:(0,p.jsx)(me(),{href:m,theme:pe.Theme.LIGHT,buttonStyle:he.ButtonStyle.FILLED,buttonType:he.ButtonType.CORE,size:he.ButtonSize.DEFAULT,label:"Take me back to where I left off"})})]}):"EXPIRED"===i?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(ke,{}),(0,p.jsx)("h1",{children:"Oops, this one-time link has expired"}),(0,p.jsxs)("p",{children:["To protect your information, one-time links are only valid for ",(0,p.jsx)("b",{children:"10 minutes"}),". To sign in to your account without a password, please request a new one time link."]}),(0,p.jsxs)("div",{className:Re,children:[(0,p.jsx)(me(),{onClick:function(){fetch("".concat(r,"/api/user-authentication-web/auth/otl/create"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:u,returnUrl:m})}),null==g||g.displayNotification({level:"SUCCESS",message:"The email has been re-sent to ".concat(u)})},theme:pe.Theme.LIGHT,buttonStyle:he.ButtonStyle.FILLED,buttonType:he.ButtonType.CORE,size:he.ButtonSize.DEFAULT,label:"Resend one-time link email"}),(0,p.jsx)(me(),{className:Oe,theme:pe.Theme.LIGHT,buttonStyle:he.ButtonStyle.TEXT,buttonType:he.ButtonType.SUPPORTING,size:he.ButtonSize.DEFAULT,onClick:function(){null==g||g.openLogin()},label:"Sign in with my password instead"})]})]}):null})})};var Pe={path:"/authenticateToken/*",element:(0,p.jsx)(Ce,{}),errorElement:(0,p.jsx)(z,{})},$e=r(43493),Le=r.n($e),Me=r(29205),Fe=r.n(Me),De=r(14126),He=r(86855),Ue=r(34828),Ge=r.n(Ue);const Be="Iw9dvADFra_z9Pb9mqSm",Ve="t15__srkw9I3BdEtSbXS",qe="v3qHda18ALYoyha5lsUf",ze="QjGuOESQ34XDHXHhO2Bv",We="RM7G10fPZefuIxzhsIie";var Ke=r(9831);function Je(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof s?n:s,l=Object.create(c.prototype);return Ye(l,"_invoke",function(r,n,o){var i,s,c,l=0,u=o||[],f=!1,d={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,r){return i=t,s=0,c=e,d.n=r,a}};function h(r,n){for(s=r,c=n,t=0;!f&&l&&!o&&t<u.length;t++){var o,i=u[t],h=d.p,m=i[2];r>3?(o=m===n)&&(c=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=h&&((o=r<2&&h<i[1])?(s=0,d.v=n,d.n=i[1]):h<m&&(
vendor: 5,681 bytes, line 1
1o=r<3||i[0]>n||n>m)&&(i[4]=r,i[5]=n,d.n=m,s=0))}if(o||r>1)return a;throw f=!0,n}return function(o,u,m){if(l>1)throw TypeError("Generator is already running");for(f&&1===u&&h(u,m),s=u,c=m;(t=s<2?e:c)||!f;){i||(s?s<3?(s>1&&(d.n=-1),h(s,c)):d.n=c:d.v=c);try{if(l=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(f=d.n<0)?c:r.call(n,d))!==a)break}catch(t){i=e,s=1,c=t}finally{l=1}}return{value:t,done:f}}}(r,o,i),!0),l}var a={};function s(){}function c(){}function l(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(Ye(t={},n,function(){return this}),t),f=l.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,Ye(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return c.prototype=l,Ye(f,"constructor",l),Ye(l,"constructor",c),c.displayName="GeneratorFunction",Ye(l,o,"GeneratorFunction"),Ye(f),Ye(f,o,"Generator"),Ye(f,n,function(){return this}),Ye(f,"toString",function(){return"[object Generator]"}),(Je=function(){return{w:i,m:d}})()}function Ye(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Ye=function(e,t,r,n){function i(t,r){Ye(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},Ye(e,t,r,n)}function Qe(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}var Xe=function(){var e,t=(e=Je().m(function e(t){return Je().w(function(e){for(;;)if(0===e.n)return e.a(2,fetch("api/user-authentication-web/password/reset",{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json"}}))},e)}),function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){Qe(i,n,o,a,s,"next",e)}function s(e){Qe(i,n,o,a,s,"throw",e)}a(void 0)})});return function(e){return t.apply(this,arguments)}}();function Ze(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof s?n:s,l=Object.create(c.prototype);return et(l,"_invoke",function(r,n,o){var i,s,c,l=0,u=o||[],f=!1,d={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,r){return i=t,s=0,c=e,d.n=r,a}};function h(r,n){for(s=r,c=n,t=0;!f&&l&&!o&&t<u.length;t++){var o,i=u[t],h=d.p,m=i[2];r>3?(o=m===n)&&(c=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=h&&((o=r<2&&h<i[1])?(s=0,d.v=n,d.n=i[1]):h<m&&(o=r<3||i[0]>n||n>m)&&(i[4]=r,i[5]=n,d.n=m,s=0))}if(o||r>1)return a;throw f=!0,n}return function(o,u,m){if(l>1)throw TypeError("Generator is already running");for(f&&1===u&&h(u,m),s=u,c=m;(t=s<2?e:c)||!f;){i||(s?s<3?(s>1&&(d.n=-1),h(s,c)):d.n=c:d.v=c);try{if(l=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(f=d.n<0)?c:r.call(n,d))!==a)break}catch(t){i=e,s=1,c=t}finally{l=1}}return{value:t,done:f}}}(r,o,i),!0),l}var a={};function s(){}function c(){}function l(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(et(t={},n,function(){return this}),t),f=l.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,et(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return c.prototype=l,et(f,"constructor",l),et(l,"constructor",c),c.displayName="GeneratorFunction",et(l,o,"GeneratorFunction"),et(f),et(f,o,"Generator"),et(f,n,function(){return this}),et(f,"toString",function(){return"[object Generator]"}),(Ze=function(){return{w:i,m:d}})()}function et(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}et=function(e,t,r,n){function i(t,r){et(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},et(e,t,r,n)}function tt(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}var rt=function(){var e,t=(e=Ze().m(function e(t){var r,n,o=arguments;return Ze().w(function(e){for(;;)switch(e.p=e.n){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:"",n=o.length>2?o[2]:void 0,t){e.n=1;break}return e.a(2);case 1:return e.p=1,e.n=2,Xe({password:t,token:r});case 2:200===e.v.status?E().location.href="/login.html":null==n||n({title:"Sorry, there has been a problem changing your password",message:"The link in the email sent to you may have expired. Please try entering your email address, so we can send you the reset password email again.",level:"ERROR",link:{text:"Retry",url:"/forgottenPasswordForm.html"}}),e.n=4;break;case 3:e.p=3,e.v,null==n||n({message:"Sorry, something went wrong. Please try again",level:"ERROR"});case 4:return e.a(2)}},e,null,[[1,3]])}),function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){tt(i,n,o,a,s,"next",e)}function s(e){tt(i,n,o,a,s,"throw",e)}a(void 0)})});return function(e){return t.apply(this,arguments)}}();function nt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}
1finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ot(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ot(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}const it=function(){var e=nt((0,a.useState)(""),2),t=e[0],r=e[1],n=nt((0,a.useState)(""),2),o=n[0],i=n[1],s=nt((0,a.useState)(!1),2),c=s[0],l=s[1],u=(0,Y.useModFedHandlers)(h,m).handlers,f=(0,He.default)("register"),d=f.validationState,y=f.passwordHasNumber,g=f.passwordHas10Chars,v=f.passwordHasUppercase,b=f.passwordTouched,S=f.onPasswordBlur,w=f.onPasswordChange,_=f.onPasswordFocus,I=nt((0,a.useState)(Ue.CheckState.Neutral),2),k=I[0],A=I[1],x=nt((0,a.useState)(!1),2),R=x[0],O=x[1],N=function(e,t){var r=t?Ue.CheckState.Cross:Ue.CheckState.Neutral;A(e?Ue.CheckState.Tick:r)},j=function(e){S(e),l(!0)};return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(W.m,{children:(0,p.jsx)("title",{children:"Rightmove - Reset Password"})}),(0,p.jsx)("div",{className:Be,children:(0,p.jsxs)("div",{className:ze,children:[(0,p.jsx)("h1",{children:"Create a new password"}),(0,p.jsx)("div",{className:Ve,children:(0,p.jsxs)(Le(),{notificationType:$e.NotificationType.NEUTRAL,theme:pe.Theme.LIGHT,title:"Create a strong password you have not used on any website before.",icon:(0,p.jsx)(De.PadlockClosedIcon,{}),dismissable:!1,children:["This reduces the chances of using a password that could have been compromised in a data breach on another website. To learn about compromised passwords and check yours, visit"," ",(0,p.jsx)("a",{className:qe,target:"_blank",href:"https://haveibeenpwned.com/",rel:"noreferrer",children:"https://haveibeenpwned.com"})]})}),(0,p.jsx)(Fe(),{id:"newPassword",name:"newPassword",placeholder:"New Password",theme:pe.Theme.LIGHT,onBlur:j,onChange:function(e){w(e);var t=e.target.value;r(t),N(t===o,c),O(t===o)},onFocus:_,"aria-label":"New Password",crossOrigin:void 0}),(0,p.jsx)(Ge(),{checks:[{label:"Uppercase letter",state:v},{label:"Number",state:y},{label:"10 characters or more",state:g},{label:"Passwords must match",state:k}]}),(0,p.jsx)(Fe(),{id:"retypeNewPassword",name:"retypeNewPassword",placeholder:"Retype New Password",theme:pe.Theme.LIGHT,onBlur:j,onChange:function(e){var r=e.target.value;i(r),O(r===t),N(r===t,b)},"aria-label":"Retype New Password",crossOrigin:void 0}),(0,p.jsx)(me(),{className:We,disabled:d!==He.PasswordValidation.VALID||!R,onClick:function(){var e=E().location.search.split("=")[1]||"";rt(t,e,null==u?void 0:u.displayNotification)},theme:pe.Theme.LIGHT,size:he.ButtonSize.DEFAULT,buttonStyle:he.ButtonStyle.FILLED,buttonType:he.ButtonType.CORE,label:"Update password"})]})})]})};var at={path:"/resetPassword.html",element:(0,p.jsx)(it,{}),errorElement:(0,p.jsx)(z,{})},st=r(79211),ct=r.n(st);function lt(e){return lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lt(e)}function ut(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(r),!0).forEach(function(t){dt(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ut(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function dt(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=lt(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=lt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==lt(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ht={selector:"#my-submit-button",onReady:function(){},onShown:function(){},onShow:function(){},onSuppress:function(){},onCompleted:function(){},onReset:function(){},onHide:function(){},onError:function(){},onFailed:function(){}};const mt=function(e){var t=ft(ft({},ht),e);if(window.setupEnforcement=function(e){window.Arkose=e,window.Arkose.setConfig(t)},window.Arkose&&window.Arkose.getConfig){var r=window.Arkose.getConfig();0!==Object.keys(r).length&&window.Arkose.setConfig(t)}};var pt=function(){return(0,p.jsx)("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 233 101",children:(0,p.jsxs)("g",{fill:"none",fillRule:"nonzero",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,p.jsxs)("g",{stroke:"#236FA0",children:[(0,p.jsx)("path",{fill:"#BBE2EA",d:"M185.882 33l1.79 16.065L232 1.333z"}),(0,p.jsx)("path",{fill:"#62B7C9",d:"M198 38l-6-2-4.328 13.28z"}),(0,p.jsx)("path",{fill:"#FFF",d:"M167 26.115L185.55 33 232 1.333z"}),(0,p.jsx)("path",{fill:"#FFF",d:"M192 36l40-34.667-13 44.406z"})]}),(0,p.jsx)("path",{stroke:"#000433",strokeDasharray:"4",d:"M186 51.736C162 96.5 28 92 18 62 8 32 47 28.557 47 54c0 25.443-30.68 67-139 47"})]})})},yt=function(e){return document.getElementById(e)};const gt="PSgfFdQpB8tY59yxZovp",vt="NWSLOXdHPP9lAnP4JaBN";function bt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}
1finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return St(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?St(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function St(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Et=function(e){return e[e.ENTRY=0]="ENTRY",e[e.EMAIL_SENT=1]="EMAIL_SENT",e}({}),wt=function(e){var t=e.viewState,r=void 0===t?Et.ENTRY:t,n=e.onSubmitForgotPasswordRequest,o=e.useArkose,i=e.modFedEvents,s=bt((0,a.useState)(""),2),c=s[0],l=s[1],u=bt((0,a.useState)(!1),2),f=u[0],d=u[1],h=function(e){n(yt("emailField").value,e)};return(0,a.useEffect)(function(){o&&i&&mt({selector:"#requestPasswordSubmit",onCompleted:h,onError:h})},[o,i]),r===Et.EMAIL_SENT?(0,p.jsx)("div",{className:gt,children:(0,p.jsxs)("div",{className:vt,children:[(0,p.jsx)("h1",{children:"Check your email"}),(0,p.jsx)("p",{children:"If there's an account associated with the address '".concat(c,"' you'll get an email with instructions to create a new password.")}),(0,p.jsxs)("p",{"data-testid":"text-content",children:["If you don't see the email, please check your spam folder. If you still can't find it, double check your email address and"," ",(0,p.jsx)("a",{"aria-label":"Use this link to resend email",href:"/login.html",children:"try again"}),"."]}),(0,p.jsx)(pt,{})]})}):(0,p.jsx)("div",{className:gt,children:(0,p.jsxs)("div",{className:"".concat(vt," rmds_light-theme"),children:[(0,p.jsx)("h1",{children:"Reset your password?"}),(0,p.jsx)("p",{children:"To reset your password, enter the email address used to create your account. We'll send you instructions on how to create a new password."}),(0,p.jsx)(ct(),{placeholder:"Email Address",onChange:function(e){var t=e.target.value;l(t),d((0,Ke.stringValidEmail)(t))},id:"emailField",name:"emailField",theme:pe.Theme.LIGHT,"aria-label":"Email address"}),(0,p.jsx)(me(),{id:"requestPasswordSubmit",disabled:!f,onClick:function(){return!o&&h()},theme:pe.Theme.LIGHT,size:he.ButtonSize.DEFAULT,hugContent:!1,buttonStyle:he.ButtonStyle.FILLED,buttonType:he.ButtonType.CORE,label:"Request new password"})]})})};function _t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return It(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?It(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function It(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}const kt=function(){var e=v(),t=e.featureSwitches,r=e.arkosePublicKey,n=_t((0,a.useState)(Et.ENTRY),2),o=n[0],i=n[1],s=t.USE_ARKOSE,c=(0,Y.useModFedHandlers)(h,m).handlers;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(W.m,{children:[(0,p.jsx)("title",{children:"Rightmove - Reset Password"}),(0,p.jsx)("meta",{name:"description",content:"Enter your email to start resetting your password."})]}),s&&(0,p.jsx)(X,{publicKey:r}),(0,p.jsx)(wt,{viewState:o,onSubmitForgotPasswordRequest:function(e,t){var r;(r={email:e,token:null==t?void 0:t.token},fetch("api/user-authentication-web/password/forgot",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)})).then(function(e){200===e.status?i(Et.EMAIL_SENT):null==c||c.displayNotification({message:"We cannot find an account with the email address you have used",level:"ERROR"})}).catch(function(e){null==c||c.displayNotification({level:"ERROR",message:"Sorry, something went wrong. Please try again"})})},useArkose:s,modFedEvents:c})]})};var At={path:"/forgottenPasswordForm.html",element:(0,p.jsx)(kt,{}),errorElement:(0,p.jsx)(z,{})},xt=r(85124),Rt=r.n(xt);const Ot="isRfwMux2F7sE0VAoBPL",Nt="ROu9Q2iv2H1o86IQJTEB";function jt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}
1finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Tt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}const Ct=function(){var e=jt((0,o.useSearchParams)(),1)[0].toString().split("preferences_source=")[1];return(0,p.jsx)("div",{className:Ot,children:(0,p.jsx)("div",{className:Nt,children:(0,p.jsx)(Rt(),{source:e,isRegistrationFlow:!1,ga4TrackingFunction:T,onPreferencesSaved:function(){parent.window.postMessage("close-preferences-popup",window.location.origin)}})})})};var Pt={path:"/preferences-popup",element:(0,p.jsx)(Ct,{}),errorElement:(0,p.jsx)(z,{})},$t=r(37970),Lt=r.n($t);const Mt="KB1Rtax9Ojphgd9vUiXI";function Ft(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Dt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Ht=function(e){return e.ACCOUNT_LEVEL="56d",e.CHECKLIST_LEVEL="30d",e}(Ht||{}),Ut=function(){var e,t,r=v(),n=r.uawHost,i=r.featureSwitches,s=Ft((0,o.useSearchParams)(),1)[0],c=Ft((0,a.useState)(!1),2),l=c[0],u=c[1],f=(0,a.useRef)(!1),d=i.ACCOUNT_LEVEL_CHANGE_METHOD_ENABLED,h=i.BLOCK_INTERNATIONAL_MFA_NUMBERS,m="/myrightmove.html",y=null!==(e=s.get("from"))&&void 0!==e?e:m,g=null!==(t=s.get("from"))&&void 0!==t&&t.includes("/user/move/checklist")?Ht.CHECKLIST_LEVEL:Ht.ACCOUNT_LEVEL,b=function(e){f.current||(f.current=!0,function(e){window.location.replace(e)}(te(e)))};return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(W.m,{children:(0,p.jsx)("title",{children:"Rightmove - Verify"})}),(0,p.jsx)("div",{className:Mt,children:(0,p.jsx)(Lt(),{partialTitle:g===Ht.CHECKLIST_LEVEL?"access your checklist":"continue",tier:g,host:n,onCodeVerified:function(){u(!0)},triggerRedirect:function(){return b(y)},onClose:function(){return b(l?y:m)},isAccountLevelChangeFeatureSwitchEnabled:d,blockInternationalMfaNumbers:h})})]})},Gt=function(e){return e.SEVEN_DAYS="7d",e.THIRTY_DAYS="30d",e.FIFTY_SIX_DAYS="56d",e}({});function Bt(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof s?n:s,l=Object.create(c.prototype);return Vt(l,"_invoke",function(r,n,o){var i,s,c,l=0,u=o||[],f=!1,d={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,r){return i=t,s=0,c=e,d.n=r,a}};function h(r,n){for(s=r,c=n,t=0;!f&&l&&!o&&t<u.length;t++){var o,i=u[t],h=d.p,m=i[2];r>3?(o=m===n)&&(c=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=h&&((o=r<2&&h<i[1])?(s=0,d.v=n,d.n=i[1]):h<m&&(o=r<3||i[0]>n||n>m)&&(i[4]=r,i[5]=n,d.n=m,s=0))}if(o||r>1)return a;throw f=!0,n}return function(o,u,m){if(l>1)throw TypeError("Generator is already running");for(f&&1===u&&h(u,m),s=u,c=m;(t=s<2?e:c)||!f;){i||(s?s<3?(s>1&&(d.n=-1),h(s,c)):d.n=c:d.v=c);try{if(l=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");
1if(!t.done)return t;c=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(f=d.n<0)?c:r.call(n,d))!==a)break}catch(t){i=e,s=1,c=t}finally{l=1}}return{value:t,done:f}}}(r,o,i),!0),l}var a={};function s(){}function c(){}function l(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(Vt(t={},n,function(){return this}),t),f=l.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,Vt(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return c.prototype=l,Vt(f,"constructor",l),Vt(l,"constructor",c),c.displayName="GeneratorFunction",Vt(l,o,"GeneratorFunction"),Vt(f),Vt(f,o,"Generator"),Vt(f,n,function(){return this}),Vt(f,"toString",function(){return"[object Generator]"}),(Bt=function(){return{w:i,m:d}})()}function Vt(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Vt=function(e,t,r,n){function i(t,r){Vt(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},Vt(e,t,r,n)}function qt(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function zt(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){qt(i,n,o,a,s,"next",e)}function s(e){qt(i,n,o,a,s,"throw",e)}a(void 0)})}}var Wt=function(e){var t,r;return null!==(t=null===(r=e.split(";").find(function(e){return e.trim().startsWith("sso2=")}))||void 0===r?void 0:r.split("=")[1])&&void 0!==t?t:""},Kt=function(e){var t,r,n=null!==(t=null!==(r=e.headers.get("x-forwarded-for"))&&void 0!==r?r:e.headers.get("x-real-ip"))&&void 0!==t?t:"unknown";return"string"==typeof n?n.split(/, /)[0]:n},Jt=function(e,t){return e.has("from")?null:(t.info("[MFA getSessionActiveData] No from param, redirecting to /myrightmove.html"),(0,o.redirect)("/myrightmove.html"))},Yt=function(e,t){return e?null:(t.info("[MFA getSessionActiveData] No secUserId found, redirecting to /login.html"),(0,o.redirect)("/login.html"))},Qt=function(){var e=zt(Bt().m(function e(t,r,n,i,a,s,c){var l,u,f;return Bt().w(function(e){for(;;)switch(e.n){case 0:return c.info("[MFA getSessionActiveData] Calling tfaSessionActiveGetService",{secUserId:r,ip:n}),e.n=1,t(r,n,i,a,Gt.THIRTY_DAYS);case 1:if(l=e.v,u=l.status,c.info("[MFA getSessionActiveData] Service call completed",{status:u}),200!==u){e.n=2;break}return f=s.get("from"),c.info("[MFA getSessionActiveData] Session active, redirecting",{fromParam:f}),e.a(2,(0,o.redirect)(f));case 2:return c.info("[MFA getSessionActiveData] Session not active, showing MFA page"),e.a(2,null)}},e)}));return function(t,r,n,o,i,a,s){return e.apply(this,arguments)}}(),Xt=function(){var e=zt(Bt().m(function e(t){var n,o,i,a,s,c,l,u,f,d,h,m,p,y,g,v,b,S,E,w,_;return Bt().w(function(e){for(;;)switch(e.p=e.n){case 0:if(o=t.request,"undefined"==typeof window){e.n=1;break}return e.a(2,null);case 1:return e.n=2,Promise.all([r.e(308),r.e(425),r.e(957)]).then(r.bind(r,82523));case 2:return i=e.v,a=i.tfaSessionActiveGetService,e.n=3,r.e(850).then(r.bind(r,11850));case 3:return s=e.v,c=s.getSecUserId,e.n=4,Promise.all([r.e(308),r.e(334)]).then(r.bind(r,74174));case 4:if(l=e.v,u=l.getLogger,f=l.getErrorLogger,d=new URL(o.url),h=d.searchParams,m=u(),p=f(),m.info("[MFA getSessionActiveData] Loader called",{url:o.url}),!(y=Jt(h,m))){e.n=5;break}return e.a(2,y);case 5:if(g=null!==(n=o.headers.get("cookie"))&&void 0!==n?n:"",v=Wt(g),b=c(v),!(S=Yt(b,m))){e.n=6;break}return e.a(2,S);case 6:return E=Kt(o),e.p=7,e.n=8,Qt(a,b,E,g,v,h,m);case 8:return e.a(2,e.v);case 9:return e.p=9,_=e.v,w=_,p.error("[MFA getSessionActiveData] Error in service call",{errorName:w.name,errorMessage:w.message,isAborted:o.signal.aborted,stack:w.stack}),p.error("[MFA getSessionActiveData] Non-abort error caught, showing MFA page"),e.a(2,null)}},e,null,[[7,9]])}));return function(t){return e.apply(this,arguments)}}(),Zt={path:"/multi-factor-authentication",element:(0,p.jsx)(Ut,{}),errorElement:(0,p.jsx)(z,{}),loader:Xt};const er=[{path:"/",element:(0,p.jsx)(q,{}),errorElement:(0,p.jsx)(z,{}),children:[le,de,Pe,at,At,Zt]},Pt];function tr(e){return tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tr(e)}function rr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?rr(Object(r),!0).forEach(function(t){or(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rr(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function or(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=tr(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=tr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==tr(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ir(e){return function(e){if(Array.isArray(e))return cr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ar(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||sr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sr(e,t){if(e){if("string"==typeof e)return cr(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cr(e,t):void 0}}function cr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var lr=s().createContext({vwoCampaigns:{activatedCampaignIds:[],appliedCampaignIds:[],appliedCampaigns:{}},activateVWOCampaigns:function(){},updateVWOCampaigns:function(){}});lr.displayName="VWOContext";var ur=function(e){var t=e.isVWOEnabled,r=e.children,n=(0,a.useRef)(!1),o=ar((0,a.useState)({appliedCampaignIds:[],appliedCampaigns:{},activatedCampaignIds:[]}),2),i=o[0],s=o[1],c=function(e){var r=!i.appliedCampaignIds.includes(e.experimentId);t&&r&&s(function(t){return nr(nr({},t),{},{appliedCampaignIds:[].concat(ir(t.appliedCampaignIds),[e.experimentId]),appliedCampaigns:nr(nr({},t.appliedCampaigns),{},or({},Number(e.experimentId),e))})})};(0,a.useEffect)(function(){"undefined"!=typeof window&&!n.current&&t&&(window.VWO=window.VWO||[],window.VWO.push(["onVariationApplied",function(e){if(e){var t=e[1],r=e[2];c({name:window._vwo_exp[t].name,experimentId:t,variantId:r})}}]),n.current=!0)},[]);var l={vwoCampaigns:i,activateVWOCampaigns:function(e){if(t){var r=e.filter(function(e){return!i.activatedCampaignIds.includes(e)});r.length>0&&(window.VWO=window.VWO||[],window.VWO.push(["activate",!1,ir(r),!0]),s(function(e){return nr(nr({},e),{},{activatedCampaignIds:[].concat(ir(e.activatedCampaignIds),ir(r))})}))}},updateVWOCampaigns:c};return(0,p.jsx)(lr.Provider,{value:l,children:r})},fr=E().PAGE_MODEL,dr=document.getElementById("root"),hr=(0,o.createBrowserRouter)(er,{basename:i.BASENAME});(0,n.hydrateRoot)(dr,(0,p.jsx)(g,{value:fr,children:(0,p.jsx)(ur,{isVWOEnabled:fr.featureSwitches.VWO_ENABLED,children:(0,p.jsx)(o.RouterProvider,{router:hr})})}))},44119(e,t,r){"use strict";var n=r(43207);const o={[n.Fj]:"Failed to get remoteEntry exports.",[n.MC]:'The remote entry interface does not contain "init"',[n.F0]:"Failed to get manifest.",[n.MR]:"Failed to locate remote.",[n.Fd]:"Invalid loadShareSync function call from bundler runtime",[n.yB]:"Invalid loadShareSync function call from runtime",[n.Tz]:"Failed to get remote snapshot.",[n.ML]:"Failed to load script resources.",[n.F9]:"Please call createInstance first.",[n.n3]:'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use "createInstance" api.',[n.uF]:"The remoteEntry URL is missing from the remote snapshot.",[n.Bh]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.',[n.u0]:"The manifest is not a valid Module Federation manifest.",[n.BC]:"The remote does not expose the requested module.",[
1n.uz]:"Remote container initialization failed."},i={[n.Zs]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},a={[n.fK]:"Failed to find expose module.",[n.AI]:"PublicPath is required in prod mode."};r.d(t,["UJ",0,o])},43207(e,t,r){"use strict";r.d(t,["AI",0,"BUILD-002","BC",0,"RUNTIME-014","Bh",0,"RUNTIME-012","F0",0,"RUNTIME-003","F9",0,"RUNTIME-009","Fd",0,"RUNTIME-005","Fj",0,"RUNTIME-001","MC",0,"RUNTIME-002","ML",0,"RUNTIME-008","MR",0,"RUNTIME-004","Tz",0,"RUNTIME-007","Zs",0,"TYPE-001","fK",0,"BUILD-001","n3",0,"RUNTIME-010","u0",0,"RUNTIME-013","uF",0,"RUNTIME-011","uz",0,"RUNTIME-015","yB",0,"RUNTIME-006"])},88540(){},31326(e,t,r){"use strict";r.d(t,{hS:()=>_,nV:()=>nr,gP:()=>tr,vA:()=>d,Bf:()=>j,fE:()=>St,pW:()=>Et,_$:()=>rr,k0:()=>Xe,oe:()=>rt,RY:()=>H,sk:()=>Ne,rc:()=>T,C3:()=>N});var n=r(55453);const o="[ Module Federation ]",i=console,a=["logger.ts","logger.js","captureStackTrace","Logger.emit","Logger.log","Logger.info","Logger.warn","Logger.error","Logger.debug"];var s=class{constructor(e,t=i){this.prefix=e,this.delegate=t??i}setPrefix(e){this.prefix=e}setDelegate(e){this.delegate=e??i}emit(e,t){const r=this.delegate,o=(0,n.Bb)()?function(){try{const e=(new Error).stack;if(!e)return;const[,...t]=e.split("\n"),r=t.filter(e=>!a.some(t=>e.includes(t)));if(!r.length)return;return`Stack trace:\n${r.slice(0,5).join("\n")}`}catch{return}}():void 0,s=o?[...t,o]:t,c=(()=>{switch(e){case"log":return["log","info"];case"info":return["info","log"];case"warn":return["warn","info","log"];case"error":return["error","warn","log"];default:return["debug","log"]}})();for(const e of c){const t=r[e];if("function"==typeof t)return void t.call(r,this.prefix,...s)}for(const e of c){const t=i[e];if("function"==typeof t)return void t.call(i,this.prefix,...s)}}log(...e){this.emit("log",e)}warn(...e){this.emit("warn",e)}error(...e){this.emit("error",e)}success(...e){this.emit("info",e)}info(...e){this.emit("info",e)}ready(...e){this.emit("info",e)}debug(...e){(0,n.Bb)()&&this.emit("debug",e)}};function c(e){return new s(e)}c(o),function(e){const t=new s(e);Object.defineProperty(t,"__mf_infrastructure_logger__",{value:!0,enumerable:!1,configurable:!1})}(o);const l=(e,t,r,n)=>{const o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push((e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`)(e)),n&&o.push(`Original Error Message:\n ${n}`),o.join("\n")};const u="[ Federation Runtime ]",f=c(u);function d(e,t,r,n,o){e||(void 0!==r?h(t,r,n,void 0,o):h(t))}function h(e,t,r,n,o){if(void 0!==t)return function(e,t,r,n,o){return n(l(e,t,r,o))}(e,t,r??{},e=>{throw new Error(`${u}: ${e}`)},n);const i=e;if(i instanceof Error)throw i.message.startsWith(u)||(i.message=`${u}: ${i.message}`),i;throw new Error(`${u}: ${i}`)}function m(e){e instanceof Error?(e.message.startsWith(u)||(e.message=`${u}: ${e.message}`),f.warn(e)):f.warn(e)}function p(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function y(e){return void 0!==e.entry}function g(e){return!e.entry.includes(".json")}function v(e){return e&&"object"==typeof e}const b=Object.prototype.toString;function S(e){return"[object Object]"===b.call(e)}function E(e){return Array.isArray(e)?e:[e]}function w(e){const t={url:"",type:"global",globalName:""};return n.Hq||(0,n.MC)()||!("ssrRemoteEntry"in e)?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t}const _="object"==typeof globalThis?globalThis:window,I=(()=>{try{return document.defaultView}catch{return _}})(),k=I;function A(e,t,r){Object.defineProperty(e,t,{value:r,configurable:!1,writable:!0})}function x(e,t){return Object.hasOwnProperty.call(e,t)}x(_,"__GLOBAL_LOADING_REMOTE_ENTRY__")||A(_,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});const R=_.__GLOBAL_LOADING_REMOTE_ENTRY__;function O(e){x(e,"__VMOK__")&&!x(e,"__FEDERATION__")&&A(e,"__FEDERATION__",e.__VMOK__),x(e,"__FEDERATION__")||(A(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map,__PRELOADED_ASSETS__:new Set}),A(e,"__VMOK__",e.__FEDERATION__)),e.__FEDERATION__.__GLOBAL_PLUGIN__??=[],e.__FEDERATION__.__INSTANCES__??=[],e.__FEDERATION__.moduleInfo??={},e.__FEDERATION__.__SHARE__??={},e.__FEDERATION__.__MANIFEST_LOADING__??={},e.__FEDERATION__.__PRELOADED_MAP__??=new Map,e.__FEDERATION__.__PRELOADED_ASSETS__??=new Set}function N(e){_.__FEDERATION__.__INSTANCES__.push(e)}function j(){return _.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function T(e,t=(0,n.Bb)()){t&&(_.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,_.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="2.9.0")}function C(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};{const r=Object.keys(e);for(const n of r){const[r,o]=n.split(":"),i=`${r}:${t}`,a=e[i];if(a)return{value:a,key:i}}return{value:void 0,key:t}}}h(`getInfoWithoutType: "key" must be a string, got ${typeof t} (${JSON.stringify(t)}).`)}O(_),O(I);const P=()=>I.__FEDERATION__.moduleInfo,$=(e,t)=>{const r=C(t,p(e)).value;if(r&&!r.version&&"version"in e&&e.version&&(r.version=e.version),r)return r;if("version"in e&&e.version){const{version:t,...r}=e,n=p(r),o=C(I.__FEDERATION__.moduleInfo,n).value;if(o?.version===t)return o}},L=e=>$(e,I.__FEDERATION__.moduleInfo),M=(e,t)=>{const r=p(e);return I.__FEDERATION__.moduleInfo[r]=t,I.__FEDERATION__.moduleInfo},F=e=>(I.__FEDERATION__.moduleInfo={...I.__FEDERATION__.moduleInfo,...e},()=>{const t=Object.keys(e);for(const e of t)delete I.__FEDERATION__.moduleInfo[e]}),D=(e,t)=>{const r=t||`__FEDERATION_${e}:custom__`;return{remoteEntryKey:r,entryExports:_[r]}},H=e=>{const{__GLOBAL_PLUGIN__:t}=I.__FEDERATION__;
1e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):m(`The plugin ${e.name} has been registered.`)})},U=()=>I.__FEDERATION__.__GLOBAL_PLUGIN__,G=e=>_.__FEDERATION__.__PRELOADED_MAP__.get(e),B=e=>_.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),V="[0-9A-Za-z-]+",q=`(?:\\+(${V}(?:\\.${V})*))`,z="0|[1-9]\\d*",W="[0-9]+",K="\\d*[a-zA-Z-][a-zA-Z0-9-]*",J=`(?:${W}|${K})`,Y=`(?:${z}|${K})`,Q=`(?:-(${Y}(?:\\.${Y})*))`,X=`${z}|x|X|\\*`,Z=`[v=\\s]*(${X})(?:\\.(${X})(?:\\.(${X})(?:${Q})?${q}?)?)?`,ee=`^\\s*(${Z})\\s+-\\s+(${Z})\\s*$`,te="((?:<|>)?=?)",re=`(\\s*)${te}\\s*(${`[v=\\s]*(${W})\\.(${W})\\.(${W})${`(?:-?(${J}(?:\\.${J})*))`}?${q}?`}|${Z})`,ne="(?:~>?)",oe=`(\\s*)${ne}\\s+`,ie="(?:\\^)",ae=`(\\s*)${ie}\\s+`,se=`^${ie}${Z}$`,ce=`^${ne}${Z}$`,le=`^${te}\\s*${Z}$`,ue=`^${te}\\s*(${`v?(${z})\\.(${z})\\.(${z})${Q}?${q}?`})$|^$`;function fe(e){return new RegExp(e)}function de(e){return!e||"x"===e.toLowerCase()||"*"===e}function he(...e){return t=>e.reduce((e,t)=>t(e),t)}function me(e){return e.match(fe(ue))}function pe(e,t,r,n){const o=`${e}.${t}.${r}`;return n?`${o}-${n}`:o}function ye(e){return e.replace(fe(ee),(e,t,r,n,o,i,a,s,c,l,u,f)=>`${t=de(r)?"":de(n)?`>=${r}.0.0`:de(o)?`>=${r}.${n}.0`:`>=${t}`} ${s=de(c)?"":de(l)?`<${Number(c)+1}.0.0-0`:de(u)?`<${c}.${Number(l)+1}.0-0`:f?`<=${c}.${l}.${u}-${f}`:`<=${s}`}`.trim())}function ge(e){return e.replace(fe(re),"$1$2$3")}function ve(e){return e.replace(fe(oe),"$1~")}function be(e){return e.replace(fe(ae),"$1^")}function Se(e){return e.trim().split(/\s+/).map(e=>e.replace(fe(se),(e,t,r,n,o)=>de(t)?"":de(r)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:de(n)?"0"===t?`>=${t}.${r}.0 <${t}.${Number(r)+1}.0-0`:`>=${t}.${r}.0 <${Number(t)+1}.0.0-0`:o?"0"===t?"0"===r?`>=${t}.${r}.${n}-${o} <${t}.${r}.${Number(n)+1}-0`:`>=${t}.${r}.${n}-${o} <${t}.${Number(r)+1}.0-0`:`>=${t}.${r}.${n}-${o} <${Number(t)+1}.0.0-0`:"0"===t?"0"===r?`>=${t}.${r}.${n} <${t}.${r}.${Number(n)+1}-0`:`>=${t}.${r}.${n} <${t}.${Number(r)+1}.0-0`:`>=${t}.${r}.${n} <${Number(t)+1}.0.0-0`)).join(" ")}function Ee(e){return e.trim().split(/\s+/).map(e=>e.replace(fe(ce),(e,t,r,n,o)=>de(t)?"":de(r)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:de(n)?`>=${t}.${r}.0 <${t}.${Number(r)+1}.0-0`:o?`>=${t}.${r}.${n}-${o} <${t}.${Number(r)+1}.0-0`:`>=${t}.${r}.${n} <${t}.${Number(r)+1}.0-0`)).join(" ")}function we(e){return e.split(/\s+/).map(e=>e.trim().replace(fe(le),(e,t,r,n,o,i)=>{const a=de(r),s=a||de(n),c=s||de(o);return"="===t&&c&&(t=""),i="",a?">"===t||"<"===t?"<0.0.0-0":"*":t&&c?(s&&(n=0),o=0,">"===t?(t=">=",s?(r=Number(r)+1,n=0,o=0):(n=Number(n)+1,o=0)):"<="===t&&(t="<",s?r=Number(r)+1:n=Number(n)+1),"<"===t&&(i="-0"),`${t+r}.${n}.${o}${i}`):s?`>=${r}.0.0${i} <${Number(r)+1}.0.0-0`:c?`>=${r}.${n}.0${i} <${r}.${Number(n)+1}.0-0`:e})).join(" ")}function _e(e){return e.trim().replace(fe("(<|>)?=?\\s*\\*"),"")}function Ie(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function ke(e,t){return Ie(e.major,t.major)||Ie(e.minor,t.minor)||Ie(e.patch,t.patch)||function(e,t){const{preRelease:r}=e,{preRelease:n}=t;if(void 0===r&&Boolean(n))return 1;if(Boolean(r)&&void 0===n)return-1;if(void 0===r&&void 0===n)return 0;for(let e=0,t=r.length;e<=t;e++){const t=r[e],o=n[e];if(t!==o)return void 0===t&&void 0===o?0:t?o?Ie(t,o):-1:1}return 0}(e,t)}function Ae(e,t){return e.version===t.version}function xe(e,t){switch(e.operator){case"":case"=":return Ae(e,t);case">":return ke(e,t)<0;case">=":return Ae(e,t)||ke(e,t)<0;case"<":return ke(e,t)>0;case"<=":return Ae(e,t)||ke(e,t)>0;case void 0:return!0;default:return!1}}function Re(e){return he(Se,Ee,we,_e)(e)}function Oe(e){return he(ye,ge,ve,be)(e.trim()).split(/\s+/).join(" ")}function Ne(e,t){if(!e)return!1;const r=me(e);if(!r)return!1;const[,n,,o,i,a,s]=r,c={operator:n,version:pe(o,i,a,s),major:o,minor:i,patch:a,preRelease:s?.split(".")},l=t.split("||");for(const e of l){const t=e.trim();if(!t)return!0;if("*"===t||"x"===t)return!0;try{const e=Oe(t);if(!e.trim())return!0;const r=e.split(" ").map(e=>Re(e)).join(" ");if(!r.trim())return!0;const n=r.split(/\s+/).map(e=>e.trim().replace(fe("^\\s*>
1=\\s*0.0.0\\s*$"),"")).filter(Boolean);if(0===n.length)continue;let o=!0;for(const e of n){const t=me(e);if(!t){o=!1;break}const[,r,,n,i,a,s]=t;if(!xe({operator:r,version:pe(n,i,a,s),major:n,minor:i,patch:a,preRelease:s?.split(".")},c)){o=!1;break}}if(o)return!0}catch(e){console.error(`[semver] Error processing range part "${t}":`,e);continue}}return!1}const je="default";var Te=r(92432);function Ce(e,t){const r=t.shared||{},n=t.name,o=Object.keys(r).reduce((e,o)=>{const i=E(r[o]);return e[o]=e[o]||[],i.forEach(r=>{e[o].push(function(e,t,r,n){let o;return o="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{h(`Cannot get shared "${r}" from "${t}": neither "get" nor "lib" is provided in the share config.`)}),e.shareConfig?.eager&&e.treeShaking?.mode&&h(`Invalid shared config for "${r}" from "${t}": cannot use both "eager: true" and "treeShaking.mode" simultaneously. Choose one strategy.`),{deps:[],useIn:[],from:t,loading:null,...e,shareConfig:{requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1,...e.shareConfig},get:o,loaded:!(!e?.loaded&&!("lib"in e))||void 0,version:e.version??"0",scope:Array.isArray(e.scope)?e.scope:[e.scope??"default"],strategy:(e.strategy??n)||"version-first",treeShaking:e.treeShaking?{...e.treeShaking,mode:e.treeShaking.mode??"server-calc",status:e.treeShaking.status??Te.gF.UNKNOWN,useIn:[]}:void 0}}(r,n,o,t.shareStrategy))}),e},{}),i={...e.shared};return Object.keys(o).forEach(e=>{i[e]?o[e].forEach(t=>{i[e].find(e=>e.version===t.version)||i[e].push(t)}):i[e]=o[e]}),{allShareInfos:i,newShareInfos:o}}function Pe(e,t){if(!e)return!1;const{status:r,mode:n}=e;return r!==Te.gF.NO_USE&&(r===Te.gF.CALCULATED||"runtime-infer"===n&&(!t||Fe(e,t)))}function $e(e,t){const r=e=>{if(!Number.isNaN(Number(e))){const t=e.split(".");let r=e;for(let e=0;e<3-t.length;e++)r+=".0";return r}return e};return!!Ne(r(e),`<=${r(t)}`)}const Le=(e,t)=>{const r=t||function(e,t){return $e(e,t)};return Object.keys(e).reduce((e,t)=>e?r(e,t)||"0"===e?t:e:t,0)},Me=e=>Boolean(e.loaded)||"function"==typeof e.lib,Fe=(e,t)=>{if(!e||!t)return!1;const{usedExports:r}=e;return!!r&&!!t.every(e=>r.includes(e))};function De(e,t,r,n){const o=e[t][r];let i="",a=Pe(n);const s=function(e,t){return a?!o[e].treeShaking||!!o[t].treeShaking&&(!Me(o[e].treeShaking)&&$e(e,t)):!Me(o[e])&&$e(e,t)};if(a){if(i=Le(e[t][r],s),i)return{version:i,useTreesShaking:a};a=!1}return{version:Le(e[t][r],s),useTreesShaking:a}}const He=e=>Me(e)||(e=>Boolean(e.loading))(e);function Ue(e,t,r,n){const o=e[t][r];let i="",a=Pe(n);const s=function(e,t){if(a){if(!o[e].treeShaking)return!0;if(!o[t].treeShaking)return!1;if(He(o[t].treeShaking))return!He(o[e].treeShaking)||Boolean($e(e,t));if(He(o[e].treeShaking))return!1}return He(o[t])?!He(o[e])||Boolean($e(e,t)):!He(o[e])&&$e(e,t)};if(a){if(i=Le(e[t][r],s),i)return{version:i,useTreesShaking:a};a=!1}return{version:Le(e[t][r],s),useTreesShaking:a}}function Ge(e){return"loaded-first"===e?Ue:De}function Be(e,t,r,n,o){if(!e)return;const{shareConfig:i,scope:a=je,strategy:s,treeShaking:c}=r,l=Array.isArray(a)?a:[a];for(const a of l)if(i&&e[a]&&e[a][t]){const{requiredVersion:l}=i,{version:u,useTreesShaking:f}=Ge(s)(e,a,t,c),d=()=>{const n=e[a][t][u];if(i.singleton){if("string"==typeof l&&!Ne(u,l)){const e=`Version ${u} from ${u&&n.from} of shared singleton module ${t} does not satisfy the requirement of ${r.from} which needs ${l})`;i.strictVersion?h(e):m(e)}return{shared:n,useTreesShaking:f}}{if(!1===l||"*"===l)return{shared:n,useTreesShaking:f};if(Ne(u,l))return{shared:n,useTreesShaking:f};const r=Pe(c);if(r)for(const[n,o]of Object.entries(e[a][t]))if(Pe(o.treeShaking,c?.usedExports)&&Ne(n,l))return{shared:o,useTreesShaking:r};for(const[r,n]of Object.entries(e[a][t]))if(Ne(r,l))return{shared:n,useTreesShaking:!1}}},p={shareScopeMap:e,scope:a,pkgName:t,version:u,GlobalFederation:k.__FEDERATION__,shareInfo:r,resolver:d,loadContext:o};
1return(n.emit(p)||p).resolver()}}function Ve(){return k.__FEDERATION__.__SHARE__}function qe(e){const{pkgName:t,extraOptions:r,shareInfos:n}=e,o=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),i=(...e)=>{const t={};for(const r of e)if(r)for(const[e,n]of Object.entries(r)){const r=t[e];o(r)&&o(n)?t[e]=i(r,n):void 0!==n&&(t[e]=n)}return t};return i((r?.resolver??(e=>{if(!e)return;const t={};e.forEach(e=>{t[e.version]=e});return t[Le(t,function(e,r){return!Me(t[e])&&$e(e,r)})]}))(n[t]),r?.customShareInfo)}const ze=(e,t)=>{var r,n;e.useIn||(e.useIn=[]),r=e.useIn,n=t,-1===r.findIndex(e=>e===n)&&r.push(n)};function We(e,t){return t&&e.treeShaking?e.treeShaking:e}var Ke=r(6575);async function Je(e,t){try{return await e()}catch(e){return void(!t&&(0,Ke.R8)(e))}}function Ye(e,t){const r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function Qe(e){let t,r=null,n=!0,o=2e4;const i=document.getElementsByTagName("script");for(let t=0;t<i.length;t++){const o=i[t],a=o.getAttribute("src");if(a&&Ye(a,e.url)){r=o,n=!1;break}}if(!r){const t=e.attrs;let n;r=document.createElement("script"),r.type="module"===t?.type?"module":"text/javascript",e.createScriptHook&&(n=e.createScriptHook(e.url,e.attrs),n instanceof HTMLScriptElement?r=n:"object"==typeof n&&("script"in n&&n.script&&(r=n.script),"timeout"in n&&n.timeout&&(o=n.timeout))),r.src||(r.src=e.url),t&&!n&&Object.keys(t).forEach(e=>{r&&("async"===e||"defer"===e?r[e]=t[e]:r.getAttribute(e)||r.setAttribute(e,t[e]))})}let a=null;const s="undefined"!=typeof window?t=>{if(t.filename&&Ye(t.filename,e.url)){const r=new Error(`ScriptExecutionError: Script "${e.url}" loaded but threw a runtime error during execution: ${t.message} (${t.filename}:${t.lineno}:${t.colno})`);r.name="ScriptExecutionError",a=r}}:null;s&&window.addEventListener("error",s);const c=async(n,o)=>{clearTimeout(t),s&&window.removeEventListener("error",s);const i=()=>{if("error"===o?.type){const t=new Error(o?.isTimeout?`ScriptNetworkError: Script "${e.url}" timed out.`:`ScriptNetworkError: Failed to load script "${e.url}" - the script URL is unreachable or the server returned an error (network failure, 404, CORS, etc.)`);t.name="ScriptNetworkError",e?.onErrorCallback&&e?.onErrorCallback(t)}else a?e?.onErrorCallback&&e?.onErrorCallback(a):e?.cb&&e?.cb()};if(r&&(r.onerror=null,r.onload=null,Je(()=>{const{needDeleteScript:t=!0}=e;t&&r?.parentNode&&r.parentNode.removeChild(r)}),n&&"function"==typeof n)){const e=n(o);if(e instanceof Promise){const t=await e;return i(),t}return i(),e}i()};return r.onerror=c.bind(null,r.onerror),r.onload=c.bind(null,r.onload),t=setTimeout(()=>{c(null,{type:"error",isTimeout:!0})},o),{script:r,needAttach:n}}function Xe(e,t){const{attrs:r={},createScriptHook:n}=t;return new Promise((t,o)=>{const{script:i,needAttach:a}=Qe({url:e,cb:t,onErrorCallback:o,attrs:{fetchpriority:"high",...r},createScriptHook:n,needDeleteScript:!0});a&&document.head.appendChild(i)})}const Ze=new Map;function et(e){if(!e)throw new Error("import specifier is required");if(Ze.has(e))return Ze.get(e);const t=new Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),Ze.delete(e),t});return Ze.set(e,t),t}const tt="undefined"==typeof ENV_TARGET||"web"!==ENV_TARGET?(e,t,r,n)=>{if(n?.createScriptHook){const t=n.createScriptHook(e);t&&"object"==typeof t&&"url"in t&&(e=t.url)}let o;try{o=new URL(e)}catch(e){return console.error("Error constructing URL:",e),void t(new Error(`Invalid URL: ${e}`))}(async()=>n?.fetch?(e,t)=>(async(e,t,r)=>{const n=await((e,t)=>r.lifecycle.fetch.emit(e,t))(e,t||{});return n&&n instanceof Response?n:fetch(e,t||{})})(e,t,n):fetch)().then(async e=>{if("esm"===r?.type||"module"===r?.type)return lt(o.href,{fetch:e,vm:await et("vm")}).then(async e=>{await e.evaluate(),t(void 0,e.namespace)}).catch(e=>{t(e instanceof Error?e:new Error(`Script execution error: ${e}`))});(async(e,n)=>{try{const o=await e(n.href),i=await o.text(),[a,s]=await Promise.all([et("path"),et("vm")]),c={exports:{},module:{exports:{}}},l=n.pathname.split("/").slice(0,-1).join("/"),u=a.basename(n.pathname),f=new s.Script(`(function(exports, module, require, __dirname, __filename) {${i}\n})`,{filename:u,importModuleDynamically:s.constants?.USE_MAIN_CONTEXT_DEFAULT_LOADER??et});let d;d=(await et("node:module")).createRequire("file:"===n.protocol||"node:"===n.protocol?n.href:a.join(process.cwd(),"__mf_require_base__.js")),f.runInThisContext()(c.exports,c.module,d,l,u);const h=c.module.exports||c.exports;if(r&&h&&r.globalName)return void t(void 0,h[r.globalName]||h);t(void 0,h)}catch(e){t(e instanceof Error?e:new Error(`Script execution error: ${e}`))}})(e,o)}).catch(e=>{t(e)})}:(e,t,r,n)=>{t(new Error("createScriptNode is disabled in non-Node.js environment"))},rt="undefined"==typeof ENV_TARGET||"web"!==ENV_TARGET?(e,t)=>new Promise((r,n)=>{tt(e,(e,o)=>{if(e)n(e);else{r(globalThis[t?.attrs?.globalName||`__FEDERATION_${t?.attrs?.name}:custom__`]=o)}},t.attrs,t.loaderHook)}):(e,t)=>{throw new Error("loadScriptNode is disabled in non-Node.js environment")},nt=new Map,ot=e=>e.startsWith("http:")||e.startsWith("https:"),it=e=>!(e.startsWith("./")||e.startsWith("../")||e.startsWith("/")||e.includes(":"));function at(e,t){const r=t.endsWith("/")?t:`${t}/`;return new URL(`__module_federation_remote__${function(e){const t=new URL(e),r=encodeURIComponent(t.protocol.slice(0,-1)),n=encodeURIComponent(t.host),o=t.pathname.split("/").map(e=>encodeURIComponent(e)).join("/"),i=encodeURIComponent(`${t.search}${t.hash}`);return`/${r}/${n}${o}${i?`/${i}`:""}`}(e)}`,r).href}async function st(e,t,r){if("function"!=typeof r.SyntheticModule)throw new Error("vm.SyntheticModule is required to load Node.js built-in modules in ESM remote entr
1ies.");const n=function(e){const t=!e||"object"!=typeof e&&"function"!=typeof e?{default:e}:e,r={...t};return Object.prototype.hasOwnProperty.call(r,"default")||(r.default=t),r}(t),o=Object.keys(n),i=new r.SyntheticModule(o,function(){for(const e of o)this.setExport(e,n[e])},{identifier:e});return nt.set(e,i),await i.link(async()=>{throw new Error(`Node.js built-in module "${e}" should not request child modules.`)}),await i.evaluate(),i}async function ct(e,t,r){if(await async function(e){return!!e.startsWith("node:")||!!it(e)&&(await et("node:module")).builtinModules.includes(e)}(e))return async function(e,t){const r=`node-builtin:${e}`;return nt.has(r)?nt.get(r):st(r,await et(e),t)}(e,r.vm);if(it(e))throw new Error(`Unsupported ESM module specifier "${e}". Only relative or absolute http(s) remote modules and Node.js built-in modules are supported.`);const n=new URL(e,t).href;if(!ot(n))throw new Error(`Unsupported ESM module specifier "${e}" resolved to "${n}". Only http(s) remote modules and Node.js built-in modules are supported.`);return lt(n,r)}async function lt(e,t){if(nt.has(e))return nt.get(e);const{fetch:r,vm:n}=t;if(!ot(e))throw new Error(`Unsupported ESM module URL "${e}". Only http(s) remote modules and Node.js built-in modules are supported.`);const o=await(await r(e)).text(),i=(await et("node:url")).pathToFileURL(process.cwd()).href,a=new n.SourceTextModule(o,{identifier:e,initializeImportMeta:t=>{t.url=at(e,i)},importModuleDynamically:async r=>async function(e){if("linked"===e.status&&await e.evaluate(),"errored"===e.status)throw e.error;return e}(await ct(r,e,t))});return nt.set(e,a),await a.link(async r=>ct(r,e,t)),a}var ut=r(43207),ft=r(44119);const dt=".then(callbacks[0]).catch(callbacks[1])",ht=new WeakMap,mt=["Failed to fetch dynamically imported module","Importing a module script failed","error loading dynamically imported module"];function pt(e){return"esm"===e||"module"===e}async function yt({entry:e,remoteEntryExports:t,name:r,getEntryUrl:n}){return new Promise((o,i)=>{const a=e=>{if((t=e)instanceof TypeError&&mt.some(e=>t.message.includes(e))){const t=e instanceof Error?e.message:String(e);try{h(ut.ML,ft.UJ,{remoteName:r,resourceUrl:s},t)}catch(e){return void i(e)}}var t;i(e)},s=n?n(e):e;try{t?o(t):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?new Function("callbacks",`import("${s}")${dt}`)([o,a]):import(s).then(o).catch(a)}catch(e){h(`Failed to load ESM entry from "${s}". ${e instanceof Error?e.message:String(e)}`)}})}function gt(e,t,r){const{remoteEntryKey:n,entryExports:o}=D(e,t);return o||h(ut.Fj,ft.UJ,{remoteName:e,remoteEntryUrl:r,remoteEntryKey:n}),o}async function vt({remoteInfo:e,remoteEntryExports:t,loaderHook:r,getEntryUrl:n,resourceContext:o}){const{entry:i,entryGlobalName:a,name:s,type:c}=e;return pt(c)?yt({entry:i,remoteEntryExports:t,name:s,getEntryUrl:n}):"system"===c?async function({entry:e,remoteEntryExports:t}){return new Promise((r,n)=>{try{t?r(t):new Function("callbacks",`System.import("${e}")${dt}`)([r,n])}catch(t){h(`Failed to load SystemJS entry from "${e}". ${t instanceof Error?t.message:String(t)}`)}})}({entry:i,remoteEntryExports:t}):async function({name:e,globalName:t,entry:r,remoteInfo:n,loaderHook:o,getEntryUrl:i,resourceContext:a}){const{entryExports:s}=D(e,t);if(s)return s;const c=i?i(r):r;return Xe(c,{attrs:{},createScriptHook:(e,t)=>{const r=o.lifecycle.createScript.emit({url:e,attrs:t,remoteInfo:n,resourceContext:a?{...a,url:e}:void 0});if(r)return r instanceof HTMLScriptElement||"script"in r||"timeout"in r?r:void 0}}).then(()=>gt(e,t,r),t=>{const r=t instanceof Error?t.message:String(t);h(ut.ML,ft.UJ,{remoteName:e,resourceUrl:c},r)})}({entry:i,globalName:a,name:s,remoteInfo:e,loaderHook:r,getEntryUrl:n,resourceContext:o})}function bt(e){const{entry:t,name:r}=e;return(0,Ke.lG)(r,t)}async function St(e){const{origin:t,remoteEntryExports:r,remoteInfo:o,getEntryUrl:i,resourceContext:a,_inErrorHandling:s=!1}=e,c=bt(o);if(r)return await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:o,remoteEntryExports:r,resourceContext:a,cached:!0}),r;if(!R[c]){const e=t.remoteHandler.hooks.lifecycle.loadEntry,l=t.loaderHook;R[c]=e.emit({origin:t,loaderHook:l,remoteInfo:o,remoteEntryExports:r,resourceContext:a}).then(e=>e||(("undefined"!=typeof ENV_TARGET?"web"===ENV_TARGET:n.Hq)?vt({remoteInfo:o,remoteEntryExports:r,loaderHook:l,getEntryUrl:i,resourceContext:a}):async function({remoteInfo:e,loaderHook:t,resourceContext:r}){const{entry:n,entryGlobalName:o,name:i,type:a}=e,{entryExports:s}=D(i,o);return s||rt(n,{attrs:{name:i,globalName:o,type:a},loaderHook:{createScriptHook:(n,o={})=>{const i=t.lifecycle.createScript.emit({url:n,attrs:o,remoteInfo:e,resourceContext:r?{...r,url:n}:void 0});if(i)return"url"in i?i:void 0}}}).then(()=>gt(i,o,n)).catch(e=>{h(`Failed to load Node.js entry for remote "${i}" from "${n}". ${e instanceof Error?e.message:String(e)}`)})}({remoteInfo:o,loaderHook:l,resourceContext:a}))).then(async e=>(await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:o,remoteEntryExports:e,resourceContext:a}),e)).catch(async e=>{const n=e instanceof Error&&e.message.includes("ScriptExecutionError");
1if(e instanceof Error&&e.message.includes(ut.ML)&&!n&&!s){const n=e=>St({...e,_inErrorHandling:!0}),i=await t.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:n,origin:t,remoteInfo:o,remoteEntryExports:r,globalLoading:R,uniqueKey:c});if(i)return await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:o,remoteEntryExports:i,resourceContext:a,error:e,recovered:!0}),i}throw await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:o,resourceContext:a,error:e}),e}),ht.set(R[c],t)}const l=R[c];if(ht.get(l)!==t)try{const e=await l;return await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:o,remoteEntryExports:e,resourceContext:a}),e}catch(e){throw await t.loaderHook.lifecycle.afterLoadEntry.emit({origin:t,remoteInfo:o,resourceContext:a,error:e}),e}return l}function Et(e){return{...e,entry:"entry"in e?e.entry:"",type:e.type||"global",entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||je}}function wt(e,t){const r=new Map;t.options.plugins.forEach(e=>{e&&r.set(e.name,e)});const n=[t.hooks,t.remoteHandler.hooks,t.sharedHandler.hooks,t.snapshotHandler.hooks,t.loaderHook,t.bridgeHook];return function(e){const t=new Map;return[...e||[],...U()].forEach(e=>{e&&(d(S(e),"Plugin configuration is invalid."),d(e.name,"A name must be provided by the plugin."),t.has(e.name)||t.set(e.name,e))}),Array.from(t.values())}(e).forEach(e=>{if(r.set(e.name,e),t.hooks.registerPlugins[e.name])return;const o=function(e,t){return void 0===t?e:{...t,name:e.name,version:e.version}}(e,e.apply?.(t));n.forEach(e=>{e.applyPlugin(o)})}),Array.from(r.values())}function _t(e,t){return t&&"."!==t?`${e}/${t.replace(/^\.\//,"")}`:e}function It(e,t){for(const r of e){const e=t.startsWith(r.name);let n=t.replace(r.name,"");if(e){if(n.startsWith("/")){return n=`.${n}`,{pkgNameOrAlias:r.name,expose:n,remote:r}}if(""===n)return{pkgNameOrAlias:r.name,expose:".",remote:r}}const o=r.alias&&t.startsWith(r.alias);let i=r.alias&&t.replace(r.alias,"");if(r.alias&&o){if(i&&i.startsWith("/")){return i=`.${i}`,{pkgNameOrAlias:r.alias,expose:i,remote:r}}if(""===i)return{pkgNameOrAlias:r.alias,expose:".",remote:r}}}}function kt(e){return{resourceCategory:"sync",share:!0,depsRemote:!0,recordPreloadedAssets:!0,...e}}function At(e){return e instanceof Error&&(e.message.includes("timed out")||e.name.includes("Timeout"))}function xt(e,t,r,n){return{url:t,status:r,resourceType:e.resourceType,initiator:e.initiator,id:e.id,error:n}}function Rt(e,t,r,n){return r?(e=>_.__FEDERATION__.__PRELOADED_ASSETS__.has(e))(t)?Promise.resolve(xt(e,t,"cached")):((e=>{const t=_.__FEDERATION__.__PRELOADED_ASSETS__;if(t.add(e),t.size>2e3){const e=t.values().next().value;void 0!==e&&t.delete(e)}})(t),n()):n()}function Ot({host:e,remoteInfo:t,url:r,attrs:n,context:o,needDeleteLink:i}){return new Promise(a=>{const{link:s,needAttach:c}=function(e){let t,r=null,n=!0,o=2e4;const i=document.getElementsByTagName("link");for(let t=0;t<i.length;t++){const o=i[t],a=o.getAttribute("href"),s=o.getAttribute("rel");if(a&&Ye(a,e.url)&&s===e.attrs.rel){r=o,n=!1;break}}if(!r){let t;r=document.createElement("link"),r.setAttribute("href",e.url);let n=!0;const i=e.attrs;e.createLinkHook&&(t=e.createLinkHook(e.url,i),t instanceof HTMLLinkElement?(r=t,n=!1):"object"==typeof t&&("link"in t&&t.link&&(r=t.link,n=!1),"timeout"in t&&t.timeout&&(o=t.timeout))),i&&n&&Object.keys(i).forEac
1h(e=>{r&&!r.getAttribute(e)&&r.setAttribute(e,i[e])})}if(!n)return Promise.resolve().then(()=>{e?.cb&&e?.cb()}),{link:r,needAttach:n};const a=(n,o)=>{t&&clearTimeout(t);const i=()=>{if("error"===o?.type){const t=new Error(o?.isTimeout?`LinkNetworkError: Link "${e.url}" timed out.`:`LinkNetworkError: Failed to load link "${e.url}" - the URL is unreachable or the server returned an error.`);t.name="LinkNetworkError",e?.onErrorCallback&&e?.onErrorCallback(t)}else e?.cb&&e?.cb()};if(r&&(r.onerror=null,r.onload=null,Je(()=>{const{needDeleteLink:t=!0}=e;t&&r?.parentNode&&r.parentNode.removeChild(r)}),n)){const e=n(o);return i(),e}i()};return r.onerror=a.bind(null,r.onerror),r.onload=a.bind(null,r.onload),t=setTimeout(()=>{a(null,{type:"error",isTimeout:!0})},o),{link:r,needAttach:n}}({url:r,cb:()=>{a(xt(o,r,c?"success":"cached"))},onErrorCallback:e=>{a(xt(o,r,At(e)?"timeout":"error",e))},attrs:n,createLinkHook:(r,n)=>{const i=e.loaderHook.lifecycle.createLink.emit({url:r,attrs:n,remoteInfo:t,resourceContext:{...o,url:r}});return HTMLLinkElement,i},needDeleteLink:i});c&&document.head.appendChild(s)})}function Nt({host:e,remoteInfo:t,url:r,attrs:n,context:o}){return new Promise(i=>{const{script:a,needAttach:s}=Qe({url:r,cb:()=>{i(xt(o,r,s?"success":"cached"))},onErrorCallback:e=>{i(xt(o,r,At(e)?"timeout":"error",e))},attrs:n,createScriptHook:(r,n)=>{const i=e.loaderHook.lifecycle.createScript.emit({url:r,attrs:n,remoteInfo:t,resourceContext:{...o,url:r}});return HTMLScriptElement,i},needDeleteScript:!0});s&&document.head.appendChild(a)})}function jt(e,t){return{...e,resourceType:t}}function Tt(e,t,r,n=!0,o={initiator:"preloadRemote",id:e.name},i=!0){const{cssAssets:a,jsAssetsWithoutEntry:s,entryAssets:c}=r,l=[];if(t.options.inBrowser){if(c.forEach(e=>{const{moduleInfo:r}=e;l.push(async function(e,t,r,n){const o=e.moduleCache.get(r.name),i=r.entry;if(o?.remoteEntryExports)return xt(n,i,"cached");try{if(!await St({origin:e,remoteInfo:r,remoteEntryExports:o?.remoteEntryExports,resourceContext:{...n,url:i}}))throw new Error(`Failed to load remoteEntry "${i}".`);return xt(n,i,"success")}catch(e){return xt(n,i,At(e)?"timeout":"error",e)}}(t,0,r,jt(o,"remoteEntry")))}),n){const r={rel:"preload",as:"style"};a.forEach(n=>{const a=jt(o,"css");l.push(Rt(a,n,i,()=>Ot({host:t,remoteInfo:e,url:n,attrs:r,context:a})))})}else{const r={rel:"stylesheet",type:"text/css"};a.forEach(n=>{const a=jt(o,"css");l.push(Rt(a,n,i,()=>Ot({host:t,remoteInfo:e,url:n,attrs:r,needDeleteLink:!1,context:a})))})}let r=Nt,u={fetchpriority:"high",type:"text/javascript"};n?(r=Ot,u={rel:"preload",as:"script"}):pt(e.type)&&(r=Ot,u={rel:"modulepreload",fetchpriority:"high"}
1),s.forEach(n=>{const a=jt(o,"js");l.push(Rt(a,n,i,()=>r({host:t,remoteInfo:e,url:n,attrs:u,context:a})))})}return Promise.all(l)}var Ct={global:{Global:k,nativeGlobal:I,resetFederationGlobalInfo:function(){_.__FEDERATION__.__GLOBAL_PLUGIN__=[],_.__FEDERATION__.__INSTANCES__=[],_.__FEDERATION__.moduleInfo={},_.__FEDERATION__.__SHARE__={},_.__FEDERATION__.__MANIFEST_LOADING__={},_.__FEDERATION__.__PRELOADED_ASSETS__.clear(),Object.keys(R).forEach(e=>{delete R[e]})},setGlobalFederationInstance:N,getGlobalFederationConstructor:j,setGlobalFederationConstructor:T,getInfoWithoutType:C,getGlobalSnapshot:P,getTargetSnapshotInfoByModuleInfo:$,getGlobalSnapshotInfoByModuleInfo:L,setGlobalSnapshotInfoByModuleInfo:M,addGlobalSnapshot:F,getRemoteEntryExports:D,registerGlobalPlugins:H,getGlobalHostPlugins:U,getPreloaded:G,setPreloaded:B},share:{getRegisteredShare:Be,getGlobalShareScope:Ve},utils:{matchRemoteWithNameAndExpose:It,preloadAssets:Tt,getRemoteInfo:Et}};function Pt(e){return{name:e.name,alias:e.alias,entry:"entry"in e?e.entry:void 0,version:"version"in e?e.version:void 0,type:e.type,entryGlobalName:e.entryGlobalName,shareScope:e.shareScope}}function $t(e){const t={};for(const[r,n]of Object.entries(e.shared)){const e=n[0];e&&(t[r]={version:e.version,singleton:e.shareConfig?.singleton,requiredVersion:!1!==e.shareConfig?.requiredVersion&&e.shareConfig?.requiredVersion,eager:e.eager,strictVersion:e.shareConfig?.strictVersion})}return{project:{name:e.name,mfRole:e.remotes?.length>0?"host":"unknown"},mfConfig:{name:e.name,remotes:e.remotes?.map(Pt)??[],shared:t}}}function Lt(e){if(!e||!("modules"in e)||!Array.isArray(e.modules))return;const t=e.modules.map(e=>e.moduleName).filter(Boolean);return t.length?t.join(","):void 0}var Mt=class{constructor({remoteInfo:e,host:t}){this.inited=!1,this.initing=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}async getEntry(e,t){const r=t||{initiator:"loadRemote",id:_t(this.remoteInfo.name,e),resourceType:"remoteEntry",url:this.remoteInfo.entry,expose:e},n=await St({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports,resourceContext:r});return d(n,`remoteEntryExports is undefined \n ${(0,Ke.ML)(this.remoteInfo)}`),this.remoteEntryExports=n,this.remoteEntryExports}async init(e,t,r,n,o){const i=await this.getEntry(n,o);if(this.inited)return await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:i,cached:!0,origin:this.host}),i;if(this.initPromise){try{await this.initPromise,await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:i,cached:!0,origin:this.host})}catch(r){throw await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:i,error:r,cached:!0,origin:this.host}),r}return i}this.initing=!0,this.initPromise=(async()=>{await this.host.loaderHook.lifecycle.beforeInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,origin:this.host});const{remoteEntryInitOptions:n,shareScope:o,initScope:a}=function(e,t,r){const n=t,o=Array.isArray(e.shareScope)?e.shareScope:[e.shareScope];o.length||o.push("default"),o.forEach(e=>{n[e]||(n[e]={})});const i={version:e.version||"",shareScopeKeys:Array.isArray(e.shareScope)?o:e.shareScope||"default"};return Object.defineProperty(i,"shareScopeMap",{value:n,enumerable:!1}),{remoteEntryInitOptions:i,shareScope:n[o[0]],initScope:r??[]}}(this.remoteInfo,this.host.shareScopeMap,r),s=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:o,remoteEntryInitOptions:n,initScope:a,remoteInfo:this.remoteInfo,origin:this.host});void 0===i?.init&&h(ut.MC,ft.UJ,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName},void 0,$t(this.host.options));try{await i.init(s.shareScope,s.initScope,s.remoteEntryInitOptions)}catch(e){h(ut.uz,ft.UJ,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName,shareScope:this.remoteInfo.shareScope},`${e}
1`,$t(this.host.options))}await this.host.hooks.lifecycle.initContainer.emit({...s,id:e,remoteSnapshot:t,remoteEntryExports:i}),this.inited=!0})();try{await this.initPromise,await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:i,origin:this.host})}catch(r){throw await this.host.loaderHook.lifecycle.afterInitRemote.emit({id:e,remoteInfo:this.remoteInfo,remoteSnapshot:t,remoteEntryExports:i,error:r,origin:this.host}),r}finally{this.initing=!1,this.initPromise=void 0}return i}async get(e,t,r,n){const{loadFactory:o=!0}=r||{loadFactory:!0},i=await this.init(e,n,void 0,t);let a;this.lib=i,await this.host.loaderHook.lifecycle.beforeGetExpose.emit({id:e,expose:t,moduleInfo:this.remoteInfo,remoteEntryExports:i,origin:this.host});try{const r=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:i,expose:t,moduleInfo:this.remoteInfo});a="function"==typeof r?r:void 0,a||(a=await i.get(t)),a||h(ut.BC,ft.UJ,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,expose:t,requestId:e,availableExposes:Lt(n)},void 0,$t(this.host.options)),await this.host.loaderHook.lifecycle.afterGetExpose.emit({id:e,expose:t,moduleInfo:this.remoteInfo,remoteEntryExports:i,moduleFactory:a,origin:this.host})}catch(r){throw await this.host.loaderHook.lifecycle.afterGetExpose.emit({id:e,expose:t,moduleInfo:this.remoteInfo,remoteEntryExports:i,error:r,origin:this.host}),r}const s=((e,t)=>{let r;return r=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),r+=t,r})(this.remoteInfo.name,t),c=this.wraperFactory(a,s);if(!o)return c;await this.host.loaderHook.lifecycle.beforeExecuteFactory.emit({id:e,expose:t,moduleInfo:this.remoteInfo,loadFactory:o,origin:this.host});try{const r=await c();return await this.host.loaderHook.lifecycle.afterExecuteFactory.emit({id:e,expose:t,moduleInfo:this.remoteInfo,loadFactory:o,exposeModule:r,origin:this.host}),r}catch(r){throw await this.host.loaderHook.lifecycle.afterExecuteFactory.emit({id:e,expose:t,moduleInfo:this.remoteInfo,loadFactory:o,error:r,origin:this.host}),r}}wraperFactory(e,t){function r(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return()=>{const n=e();return n instanceof Promise?n.then(e=>(r(e,t),e)):(r(n,t),n)}}},Ft=class{constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}applyPlugin(e){d(S(e),"Plugin configuration is invalid.");const t=e.name;d(t,"A name must be provided by the plugin."),this.registerPlugins[t]||(this.registerPlugins[t]=e,this.lifecycleKeys.forEach(t=>{const r=e[t];r&&this.lifecycle[t].on(r)}))}removePlugin(e){d(e,"A name is required.");const t=this.registerPlugins[e];d(t,`The plugin "${e}" is not registered.`),this.lifecycleKeys.forEach(e=>{const r=t[e];r&&this.lifecycle[e].remove(r)}),delete this.registerPlugins[e]}},Dt=class{constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}on(e){"function"==typeof e&&this.listeners.add(e)}once(e){const t=this;this.on(function r(...n){return t.remove(r),e.apply(null,n)})}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach(r=>{const n=r(...e);void 0!==n&&(t=n)}),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}};function Ht(e,t){if(!v(t))return!1;if(e!==t)for(const r in e)if(!(r in t))return!1;return!0}var Ut=class extends Dt{constructor(e){super(),this.onerror=h,this.type=e}emit(e){v(e)||h(`The data for the "${this.type}" hook should be an object.`);for(const t of this.listeners)try{const r=t(e);if(void 0===r)continue;if(!Ht(e,r)){this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}e=r}catch(e){m(e),this.onerror(e)}return e}},Gt=class extends Dt{constructor(e){super(),this.onerror=h,this.type=e}emit(e){v(e)||h(`The response data for the "${this.type}" hook must be an object.`);const t=Array.from(this.listeners);if(t.length>0){let r=0;const n=t=>
1(m(t),this.onerror(t),e),o=i=>{if(void 0!==i&&Ht(e,i))e=i;else if(void 0!==i)return this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`),e;if(r<t.length)try{return Promise.resolve(t[r++](e)).then(o,n)}catch(e){return n(e)}return e};return Promise.resolve(o(e))}return Promise.resolve(e)}};var Bt=class extends Dt{emit(...e){let t;const r=Array.from(this.listeners);if(r.length>0){let n=0;const o=t=>!1!==t&&(n<r.length?Promise.resolve(r[n++].apply(null,e)).then(r=>void 0===r||1===e.length&&r===e[0]?o(t):o(r)):t);t=o()}return Promise.resolve(t)}};function Vt(e,t){const r=w(t);r.url||h(ut.uF,ft.UJ,{remoteName:e.name});let o=(0,Ke.Al)(t,r.url);n.Hq||o.startsWith("http")||(o=`https:${o}`),e.type=r.type,e.entryGlobalName=r.globalName,e.entry=o,e.version=t.version,e.buildVersion=t.buildVersion}const qt=(e,t)=>{if(!e)return t;const r=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){const t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return r?r.endsWith("/")?`${r}${t}`:`${r}/${t}`:t};function zt(e){return!(!("remoteEntry"in e)||!e.remoteEntry.includes(".json"))}function Wt(e){const t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function Kt(e,t,r,n,o={},i){const{value:a}=C(e,p(t)),s=i||a;if(s&&!zt(s)&&(r(s,t,n),s.remotesInfo)){const t=Object.keys(s.remotesInfo);for(const n of t){if(o[n])continue;o[n]=!0;const t=Wt(n),i=s.remotesInfo[n];Kt(e,{name:t.name,version:i.matchedVersion},r,!1,o,void 0)}}}const Jt=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function Yt(e,t,r,n,o){const i=[],a=[],s=[],c=new Set,l=new Set,{options:u}=e,{preloadConfig:f}=t,{depsRemote:d}=f;if(Kt(n,r,(t,r,n)=>{let o;if(n)o=f;else if(Array.isArray(d)){const e=d.find(e=>e.nameOrAlias===r.name||e.nameOrAlias===r.alias);if(!e)return;o=kt(e)}else{if(!0!==d)return;o=f}const c=(0,Ke.Al)(t,w(t).url);c&&s.push({name:r.name,moduleInfo:{name:r.name,entry:c,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:r.name,shareScope:"",version:"version"in t?t.version:void 0},url:c});let l="modules"in t?t.modules:[];const u=(h=o.exposes)?h.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[];var h;function m(e){const r=e.map(e=>(0,Ke.Al)(t,e));return o.filter?r.filter(o.filter):r}if(u.length&&"modules"in t&&(l=t?.modules?.reduce((e,t)=>(-1!==u?.indexOf(t.moduleName)&&e.push(t),e),[])),l){const n=l.length;for(let s=0;s<n;s++){const n=l[s],c=`${r.name}/${n.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===n.moduleName?r.name:c,name:r.name,remoteSnapshot:t,preloadConfig:o,remote:r,origin:e}),G(c)||("all"===o.resourceCategory?(i.push(...m(n.assets.css.async)),i.push(...m(n.assets.css.sync)),a.push(...m(n.assets.js.async)),a.push(...m(n.assets.js.sync))):"sync"===o.resourceCategory&&(i.push(...m(n.assets.css.sync)),a.push(...m(n.assets.js.sync))),B(c))}}},!0,{},o),o.shared&&o.shared.length>0){const t=(t,r)=>{const{shared:n}=Be(e.shareScopeMap,r.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare)||{};n&&"function"==typeof n.lib&&(r.assets.js.sync.forEach(e=>{c.add(e)}),r.assets.css.sync.forEach(e=>{l.add(e)}))};o.shared.forEach(e=>{const r=u.shared?.[e.sharedName];if(!r)return;const n=e.version?r.find(t=>t.version===e.version):r;n&&E(n).forEach(r=>{t(r,e)})})}const h=a.filter(e=>!c.has(e)&&!Jt("script",e));return{cssAssets:i.filter(e=>!l.has(e)&&!Jt("link",e)),jsAssetsWithoutEntry:h,entryAssets:s.filter(e=>!Jt("script",e.url))}}function Qt(e,t){const r=L({name:t.name,version:t.options.version}),n=r&&"remotesInfo"in r&&r.remotesInfo&&C(r.remotesInfo,e.name).value;return n&&n.matchedVersion?{hostGlobalSnapshot:r,globalSnapshot:P(),remoteSnapshot:L({name:e.name,version:n.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:P(),remoteSnapshot:L({name:e.name,version:"version"in e?e.version:void 0})}}var Xt=class{constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new Ft({beforeLoadRemoteSnapshot:new Bt("beforeLoadRemoteSnapshot"),loadSnapsh
1ot:new Gt("loadGlobalSnapshot"),loadRemoteSnapshot:new Gt("loadRemoteSnapshot"),afterLoadSnapshot:new Gt("afterLoadSnapshot"),beforeLoadManifest:new Bt("beforeLoadManifest"),afterLoadManifest:new Bt("afterLoadManifest")}),this.manifestLoading=k.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}async loadRemoteSnapshotInfo({moduleInfo:e,id:t,initiator:r="loadRemote"}){const{options:o}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:o,moduleInfo:e,origin:this.HostInstance});let i=L({name:this.HostInstance.options.name,version:this.HostInstance.options.version});i||(i={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},F({[this.HostInstance.options.name]:i})),i&&"remotesInfo"in i&&!C(i.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(i.remotesInfo={...i?.remotesInfo,[e.name]:{matchedVersion:"version"in e?e.version:e.entry}});const{hostGlobalSnapshot:a,remoteSnapshot:s,globalSnapshot:c}=this.getGlobalRemoteInfo(e),{remoteSnapshot:l,globalSnapshot:u}=await this.hooks.lifecycle.loadSnapshot.emit({options:o,moduleInfo:e,hostGlobalSnapshot:a,remoteSnapshot:s,globalSnapshot:c});let f,d;if(l)if(zt(l)){const o=n.Hq?l.remoteEntry:l.ssrRemoteEntry||l.remoteEntry||"",i=await this.loadManifestSnapshot(o,e,{},{initiator:r,id:t||e.name});f=i,d=M({...e,entry:o},i)}else{const{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:l,from:"global"});f=t,d=u}else if(y(e)){const n=await this.loadManifestSnapshot(e.entry,e,{},{initiator:r,id:t||e.name});f=n,d=M(e,n)}else h(ut.Tz,ft.UJ,{remoteName:e.name,remoteVersion:e.version,hostName:this.HostInstance.options.name,globalSnapshot:JSON.stringify(u)},void 0,$t(this.HostInstance.options));
1return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:t,host:this.HostInstance,options:o,moduleInfo:e,remoteSnapshot:f}),{remoteSnapshot:f,globalSnapshot:d}}getGlobalRemoteInfo(e){return Qt(e,this.HostInstance)}async getManifestJson(e,t,r,n){return(async()=>{const r=Et(t);let o,i,a=this.manifestCache.get(e);if(a)return await this.hooks.lifecycle.afterLoadManifest.emit({manifestUrl:e,moduleInfo:t,resourceOptions:n,manifestJson:a,cached:!0,origin:this.HostInstance}),a;await this.hooks.lifecycle.beforeLoadManifest.emit({manifestUrl:e,moduleInfo:t,resourceOptions:n,origin:this.HostInstance});let s=!1;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{},r,n?{...n,url:e,resourceType:"manifest"}:void 0);t&&t instanceof Response||(t=await fetch(e,{})),o=t,a=await t.json()}catch(c){i=c,a=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:c,from:"runtime",lifecycle:"afterResolve",remote:r,origin:this.HostInstance}),a||(delete this.manifestLoading[e],await this.hooks.lifecycle.afterLoadManifest.emit({manifestUrl:e,moduleInfo:t,resourceOptions:n,response:o,error:c,origin:this.HostInstance}),h(ut.F0,ft.UJ,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${c}`,$t(this.HostInstance.options))),s=!0}const c=[!a.metaData&&"metaData",!a.exposes&&"exposes",!a.shared&&"shared"].filter(Boolean),l=c.length>0?new Error(`"${e}" is not a valid federation manifest for remote "${t.name}". Missing required fields: ${c.join(", ")}.`):void 0;return l&&await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:l,from:"runtime",lifecycle:"afterResolve",remote:r,origin:this.HostInstance}),await this.hooks.lifecycle.afterLoadManifest.emit({manifestUrl:e,moduleInfo:t,resourceOptions:n,manifestJson:a,response:o,error:l||i,recovered:l?void 0:s||void 0,origin:this.HostInstance}),l&&h(ut.u0,ft.UJ,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name,missingFields:c.join(",")},void 0,$t(this.HostInstance.options)),this.manifestCache.set(e,a),a})()}async loadManifestSnapshot(e,t,r,n){return this.manifestLoading[e]||(this.manifestLoading[e]=(async()=>{const o=await this.getManifestJson(e,t,r,n),i=function(e,t={}){const{remotes:r={},overrides:n={},version:o}=t;let i;const a=()=>"publicPath"in e.metaData?"auto"!==e.metaData.publicPath&&""!==e.metaData.publicPath||!o?e.metaData.publicPath:o.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"):e.metaData.getPublicPath,s=Object.keys(n);let c={};Object.keys(r).length||(c=e.remotes?.reduce((e,t)=>{let r;const o=t.federationContainerName;return r=s.includes(o)?n[o]:"version"in t?t.version:t.entry,e[o]={matchedVersion:r},e},{})||{}),Object.keys(r).forEach(e=>c[e]={matchedVersion:s.includes(e)?n[e]:r[e]});
1const{remoteEntry:{path:l,name:u,type:f},types:d={path:"",name:"",zip:"",api:""},buildInfo:{buildVersion:h},globalName:m,ssrRemoteEntry:p}=e.metaData,{exposes:y}=e;let g={version:o||"",buildVersion:h,globalName:m,remoteEntry:qt(l,u),remoteEntryType:f,remoteTypes:qt(d.path,d.name),remoteTypesZip:d.zip||"",remoteTypesAPI:d.api||"",remotesInfo:c,shared:e?.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version,usedExports:e.referenceExports||[]})),modules:y?.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if("publicPath"in e.metaData?(i={...g,publicPath:a()},"string"==typeof e.metaData.ssrPublicPath&&(i.ssrPublicPath=e.metaData.ssrPublicPath)):i={...g,getPublicPath:a()},p){const e=qt(p.path,p.name);i.ssrRemoteEntry=e,i.ssrRemoteEntryType=p.type||"commonjs-module"}return i}(o,{version:e}),{remoteSnapshot:a}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:o,remoteSnapshot:i,manifestUrl:e,from:"manifest"});return a})().then(e=>e)),this.manifestLoading[e]}},Zt=class{constructor(e){this.hooks=new Ft({beforeRegisterShare:new Ut("beforeRegisterShare"),afterRegisterShare:new Dt("afterRegisterShare"),afterResolve:new Gt("afterResolve"),beforeLoadShare:new Gt("beforeLoadShare"),loadShare:new Bt,afterLoadShare:new Dt("afterLoadShare"),errorLoadShare:new Dt("errorLoadShare"),resolveShare:new Ut("resolveShare"),initContainerShareScopeMap:new Ut("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}emitAfterRegisterShare(e,t){this.hooks.lifecycle.afterRegisterShare.emit({pkgName:e,...t,shareScopeMap:this.shareScopeMap,origin:this.host})}emitAfterLoadShare({lifecycle:e,pkgName:t,shareInfo:r,selectedShared:n,loadContext:o}){try{this.hooks.lifecycle.afterLoadShare.emit({pkgName:t,shareInfo:r,selectedShared:n,shared:this.host.options.shared,shareScopeMap:this.shareScopeMap,lifecycle:e,loadContext:o,origin:this.host})}catch(e){m(e)}}emitErrorLoadShare({lifecycle:e,pkgName:t,shareInfo:r,error:n,recovered:o,loadContext:i}){try{this.hooks.lifecycle.errorLoadShare.emit({pkgName:t,shareInfo:r,shared:this.host.options.shared,shareScopeMap:this.shareScopeMap,lifecycle:e,origin:this.host,error:n,recovered:o,loadContext:i})}catch(e){m(e)}}registerShared(e,t){const{newShareInfos:r,allShareInfos:n}=Ce(e,t);return Object.keys(r).forEach(e=>{r[e].forEach(r=>{r.scope.forEach(n=>{this.hooks.lifecycle.beforeRegisterShare.emit({origin:this.host,pkgName:e,shared:r});const o=this.shareScopeMap[n]?.[e],i=o?.[r.version];o||this.setShared({pkgName:e,lib:r.lib,get:r.get,loaded:r.loaded||Boolean(r.lib),shared:r,from:t.name}),this.emitAfterRegisterShare(e,{scope:n,shared:r,previousShared:i,registeredShared:this.shareScopeMap[n]?.[e]?.[r.version],trigger:"runtime"})})})}),{newShareInfos:r,allShareInfos:n}}async loadShare(e,t){const{host:r}=this;let n=t?.context;const o=qe({pkgName:e,extraOptions:t,shareInfos:r.options.shared});let i=o;try{o?.scope&&await Promise.all(o.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:o.strategy,context:n}))}));const a=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:o,shared:r.options.shared,origin:r,loadContext:n});i=a.shareInfo,n=a.loadContext||n,d(i,`Cannot find shared "${e}" in host "${r.options.name}". Ensure the shared config for "${e}" is declared in the federation plugin options and the host has been initialized before loading shares.`);const s=i,{shared:c,useTreesShaking:l}=Be(this.shareScopeMap,e,i,this.hooks.lifecycle.resolveShare,n)||{};if(c){const t=We(c,l);if(t.lib)return ze(t,r.options.name),this.emitAfterLoadShare({lifecycle:"loadShare",pkgName:e,shareInfo:s,selectedShared:c,loadContext:n}),t.lib;if(t.loading&&!t.loaded){const o=await t.loading;return t.loaded=!0,t.lib||(t.lib=o),ze(t,r.options.name),this.emitAfterLoadShare({lifecycle:"loadShare",pkgName:e,shareInfo:s,selectedShared:c,loadContext:n}),o}{const o=async()=>{const e=await t.get();return ze(t,r.options.name),t.loaded=!0,t.lib=e,e},i=o();this.setShared({pkgName:e,loaded:!1,shared:c,from:r.options.name,lib:null,loading:i,treeShaking:l?t:void 0});const a=await i;return this.emitAfterLoadShare({lifecycle:"loadShare",pkgName:e,shareInfo:s,selectedShared:c,loadContext:n}),a}}{if(t?.customShareInfo)return this.emitErrorLoadShare({lifecycle:"loadShare",pkgName:e,shareInfo:s,recovered:!0,loadContext:n}),!1;const o=Pe(s.treeShaking),i=We(s,o),a=async()=>{const t=await i.get();i.lib=t,i.loaded=!0,ze(i,r.options.name);const{shared:o,useTreesShaking:a}=Be(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare,n)||{};if(o){const e=We(o,a);e.lib=t,e.loaded=!0,o.from=s.from}return t},c=a();this.setShared({pkgName:e,loaded:!1,shared:s,from:r.options.name,lib:null,loading:c,treeShaking:o?i:void 0});const l=await c;return this.emitAfterLoadShare({lifecycle:"loadShare",pkgName:e,shareInfo:s,selectedShared:s,loadContext:n}),l}}catch(t){throw this.emitErrorLoadShare({lifecycle:"loadShare",pkgName:e,shareInfo:i,error:t,loadContext:n}),t}}initializeSharing(e=je,t){const{host:r}=this,n=t?.from,o=t?.strategy,i=t?.context?.trigger||n||"runtime";let a=t?.initScope;const s=[];if("build"!==n){const{initTokens:t}=this;a||(a=[]);let r=t[e];if(r||(r=t[e]={from:this.host.name}),a.indexOf(r)>=0)return s;a.push(r)}const c=this.shareScopeMap,l=r.options.name;c[e]||(c[e]={});const u=c[e],f=(t,r)=>{const{version:n,eager:o}=r;u[t]=u[t]||{};const a=u[t],s=a[n],c=s&&We(s),f=Boolean(c&&("eager"in c&&c.eager||"shareConfig"in c&&c.shareConfig?.eager));Boolean(!c||"loaded-first"!==c.strategy&&!c.loaded&&(Boolean(!o)!==!f?o:l>a[n].from))&&(a[n]=r),this.emitAfterRegisterShare(t,{scope:e,shared:r,previousShared:s,registeredShared:a[n],trigger:i})};
1return Object.keys(r.options.shared).forEach(t=>{r.options.shared[t].forEach(r=>{r.scope.includes(e)&&f(t,r)})}),"version-first"!==r.options.shareStrategy&&"version-first"!==o||r.options.remotes.forEach(t=>{t.shareScope===e&&s.push((async e=>{const{module:t}=await r.remoteHandler.getRemoteModuleAndOptions({id:e});let n;const o={initiator:"loadShare",id:e,resourceType:"remoteEntry",url:t.remoteInfo.entry};try{n=await t.getEntry(void 0,o)}catch(o){if(n=await r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:o,from:"runtime",lifecycle:"beforeLoadShare",remote:t.remoteInfo,origin:r}),!n)return}finally{n?.init&&!t.initing&&(t.remoteEntryExports=n,await t.init(void 0,void 0,a,void 0,o))}})(t.name))}),s}loadShareSync(e,t){const{host:r}=this,n=t?.context,o=qe({pkgName:e,extraOptions:t,shareInfos:r.options.shared});try{o?.scope&&o.scope.forEach(e=>{this.initializeSharing(e,{strategy:o.strategy,from:t?.from,context:n})});const{shared:i}=Be(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare,n)||{};if(i){if("function"==typeof i.lib)return ze(i,r.options.name),i.loaded||(i.loaded=!0,i.from===r.options.name&&(o.loaded=!0)),this.emitAfterLoadShare({lifecycle:"loadShareSync",pkgName:e,shareInfo:o,selectedShared:i,loadContext:n}),i.lib;if("function"==typeof i.get){const t=i.get();if(!(t instanceof Promise))return ze(i,r.options.name),this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:t,shared:i}),this.emitAfterLoadShare({lifecycle:"loadShareSync",pkgName:e,shareInfo:o,selectedShared:i,loadContext:n}),t}}if(o.lib)return o.loaded||(o.loaded=!0),this.emitAfterLoadShare({lifecycle:"loadShareSync",pkgName:e,shareInfo:o,selectedShared:o,loadContext:n}),o.lib;if(o.get){const i=o.get();return i instanceof Promise&&h("build"===t?.from?ut.Fd:ut.yB,ft.UJ,{hostName:r.options.name,sharedPkgName:e},void 0,$t(r.options)),o.lib=i,this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:o.lib,shared:o}),this.emitAfterLoadShare({lifecycle:"loadShareSync",pkgName:e,shareInfo:o,selectedShared:o,loadContext:n}),o.lib}h(ut.yB,ft.UJ,{hostName:r.options.name,sharedPkgName:e},void 0,$t(r.options))}catch(t){throw this.emitErrorLoadShare({lifecycle:"loadShareSync",pkgName:e,shareInfo:o,error:t,loadContext:n}),t}}initShareScopeMap(e,t,r={}){const{host:n}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:n.options,origin:n,scopeName:e,hostShareScopeMap:r.hostShareScopeMap})}setShared({pkgName:e,shared:t,from:r,lib:n,loading:o,loaded:i,get:a,treeShaking:s}){const{version:c,scope:l="default",...u}=t,f=Array.isArray(l)?l:[l];f.forEach(t=>{this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),this.shareScopeMap[t][e][c]||(this.shareScopeMap[t][e][c]={version:c,scope:[t],...u,lib:n});const l=this.shareScopeMap[t][e][c];(e=>{const t=(e,t,r)=>{r&&!e[t]&&(e[t]=r)},r=s?e.treeShaking:e;t(r,"loaded",i),t(r,"loading",o),t(r,"get",a),t(r,"lib",n)})(l),r&&l.from!==r&&(l.from=r)})}_setGlobalShareScopeMap(e){const t=Ve(),r=e.id||e.name;r&&!t[r]&&(t[r]=this.shareScopeMap)}},er=class{constructor(e){this.hooks=new Ft({beforeRegisterRemote:new Ut("beforeRegisterRemote"),registerRemote:new Ut("registerRemote"),beforeRequest:new Gt("beforeRequest"),afterMatchRemote:new Bt("afterMatchRemote"),onLoad:new Bt("onLoad"),afterLoadRemote:new Bt("afterLoadRemote"),handlePreloadModule:new Dt("handlePreloadModule"),errorLoadRemote:new Bt("errorLoadRemote"),beforePreloadRemote:new Bt("beforePreloadRemote"),generatePreloadAssets:new Bt("generatePreloadAssets"),afterPreloadRemote:new Bt("afterPreloadRemote"),loadEntry:new Bt}),this.host=e,this.idToRemoteMap={}}formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){const{remote:r,expose:n}=t,{name:o,alias:i}=r;if(this.idToRemoteMap[e]={name:r.name,expose:n},i&&e.startsWith(o)){const t=e.replace(o,i);return void(this.idToRemoteMap[t]={name:r.name,expose:n})}if(i&&e.startsWith(i)){const t=e.replace(i,o);this.idToRemoteMap[t]={name:r.name,expose:n}}}async loadRemote(e,t){const{host:r}=this,n=It(r.options.remotes,e);let o,i=e,a=n?.expose,s=n?Et(n.remote):void 0;try{const{loadFactory:n=!0}=t||{loadFactory:!0},{module:c,moduleOptions:l,remoteMatchInfo:u}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:f,remote:d,expose:h,id:m,remoteSnapshot:p}=u;i=m,a=h,s=Et(d);const y=await c.get(m,h,t,p),g=await this.hooks.lifecycle.onLoad.emit({id:m,pkgNameOrAlias:f,expose:h,exposeModule:n?y:void 0,exposeModuleFactory:n?void 0:y,remote:d,options:l,moduleInstance:c,origin:r});return this.setIdToRemoteMap(e,u),o={id:i,expose:a,remote:s,options:t,origin:r},"function"==typeof g?g:y}catch(n){const{from:c="runtime"}=t||{from:"runtime"};let l;try{l=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:n,from:c,lifecycle:"onLoad",expose:a,remote:s,origin:r})}catch(e){throw o={id:i,expose:a,remote:s,options:t,error:e,origin:r},e}if(!l)throw o={id:i,expose:a,remote:s,options:t,error:n,origin:r},n;return o={id:i,expose:a,remote:s,options:t,error:n,origin:r,recovered:!0},l}finally{o&&await this.hooks.lifecycle.afterLoadRemote.emit(o)}}async preloadRemote(e){const{host:t}=this,r=[];await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});const n=(o=t.options.remotes,e.map(e=>{const t=function(e,t){for(const r of e){if(t===r.name)return r;if(r.alias&&t===r.alias)return r}}(o,e.nameOrAlias);return d(t,`Unable to preload ${e.nameOrAlias} as it is not included in ${!t&&(0,Ke.ML)({remoteInfo:t,remotes:o})}`),{remote:t,preloadConfig:kt(e)}}));var o;let i;await Promise.all(n.flatMap(e=>{const{preloadConfig:t,remote:r}=e,n=t.exposes||[];return n.length?n.map(n=>
1({ops:{...e,preloadConfig:{...t,exposes:[n]}},id:_t(r.name,n)})):[{ops:e,id:`${r.name}/*`}]}).map(async e=>{const{ops:n,id:o}=e,{remote:i,preloadConfig:a}=n,s=Et(i);try{const{globalSnapshot:e,remoteSnapshot:c}=await t.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:i,id:o,initiator:"preloadRemote"}),l=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:n,remote:i,remoteInfo:s,globalSnapshot:e,remoteSnapshot:c});if(!l)return;const u=await Tt(s,t,l,!0,{initiator:"preloadRemote",id:o},a.recordPreloadedAssets);r.push({remote:i,remoteInfo:s,preloadConfig:a,id:o,results:u})}catch(e){r.push({remote:i,remoteInfo:s,preloadConfig:a,id:o,results:[{url:s.entry,status:"error",resourceType:/\.json(?:$|[?#])/i.test(s.entry)?"manifest":"remoteEntry",initiator:"preloadRemote",id:o,error:e}]})}}));const a=r.flatMap(e=>e.results.filter(e=>"error"===e.status||"timeout"===e.status));if(a.length>0&&(i=new Error(`preloadRemote failed to load ${a.length} resource(s).`),Object.assign(i,{results:r,failedResults:a})),await this.hooks.lifecycle.afterPreloadRemote.emit({preloadOps:e,options:t.options,origin:t,results:r,error:i}),i)throw i}registerRemotes(e,t){const{host:r}=this;e.forEach(e=>{this.registerRemote(e,r.options.remotes,{force:t?.force})})}initRawContainer(e,t,r){const{host:n}=this,o=new Mt({host:n,remoteInfo:Et({name:e,entry:t})});return o.remoteEntryExports=r,n.moduleCache.set(e,o),o}async getRemoteModuleAndOptions(e){const{host:t}=this,{id:r}=e;let n;try{n=await this.hooks.lifecycle.beforeRequest.emit({id:r,options:t.options,origin:t})}catch(e){if(n=await this.hooks.lifecycle.errorLoadRemote.emit({id:r,options:t.options,origin:t,from:"runtime",error:e,lifecycle:"beforeRequest"}),!n)throw e}const{id:o}=n,i=It(t.options.remotes,o);if(!i)try{h(ut.MR,ft.UJ,{hostName:t.options.name,requestId:o},void 0,$t(t.options))}catch(e){throw await this.hooks.lifecycle.afterMatchRemote.emit({id:o,options:t.options,error:e,origin:t}),e}const{remote:a}=i,s=Et(a);await this.hooks.lifecycle.afterMatchRemote.emit({id:o,...i,options:t.options,remoteInfo:s,origin:t});const c=await t.sharedHandler.hooks.lifecycle.afterResolve.emit({id:o,...i,options:t.options,origin:t,remoteInfo:s}),{remote:l,expose:u}=c;d(l&&u,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${o}.`);let f=t.moduleCache.get(l.name);const m={host:t,remoteInfo:s};return f||(f=new Mt(m),t.moduleCache.set(l.name,f)),{module:f,moduleOptions:m,remoteMatchInfo:c}}registerRemote(e,t,r){const{host:o}=this,i=()=>{if(e.alias){const r=t.find(t=>e.alias&&(t.name.startsWith(e.alias)||t.alias?.startsWith(e.alias)));d(!r,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${r&&r.name} name or alias`)}"entry"in e&&n.Hq&&"undefined"!=typeof window&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=je),e.type||(e.type="global")};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:o});const a=t.find(t=>t.name===e.name);if(a){const n=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];r?.force&&(this.removeRemote(a),i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:o}),(0,Ke.R8)(n.join(" ")))}else i(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:o})}removeRemote(e){try{const{host:t}=this,{name:r}=e,n=t.options.remotes.findIndex(e=>e.name===r);-1!==n&&t.options.remotes.splice(n,1);const o=C(_.__FEDERATION__.moduleInfo,p(e)).key;delete _.__FEDERATION__.moduleInfo[o],"entry"in e&&(t.snapshotHandler.manifestCache.delete(e.entry),delete k.__FEDERATION__.__MANIFEST_LOADING__[e.entry]);const{hostGlobalSnapshot:i}=Qt(e,t);if(i){const t=i&&"remotesInfo"in i&&i.remotesInfo&&C(i.remotesInfo,e.name).key;t&&delete i.remotesInfo[t]}const a=t.moduleCache.get(e.name);if(a){const r=a.remoteInfo,n=r.entryGlobalName;_[n]&&(Object.getOwnPropertyDescriptor(_,n)?.configurable?delete _[n]:_[n]=void 0);const o=bt(a.remoteInfo);R[o]&&delete R[o];let i=r.buildVersion?(0,Ke.lG)(r.name,r.buildVersion):r.name;const s=_.__FEDERATION__.__INSTANCES__.findIndex(e=>r.buildVersion?e.options.id===i:e.name===i);if(-1!==s){const e=_.__FEDERATION__.__INSTANCES__[s];i=e.options.id||i;const t=Ve();let n=!0;const o=[];
1Object.keys(t).forEach(e=>{const i=t[e];i&&Object.keys(i).forEach(t=>{const a=i[t];a&&Object.keys(a).forEach(i=>{const s=a[i];s&&Object.keys(s).forEach(a=>{const c=s[a];c&&"object"==typeof c&&c.from===r.name&&(c.loaded||c.loading?(c.useIn=c.useIn.filter(e=>e!==r.name),c.useIn.length?n=!1:o.push([e,t,i,a])):o.push([e,t,i,a]))})})})}),n&&(e.shareScopeMap={},delete t[i]),o.forEach(([e,r,n,o])=>{delete t[e]?.[r]?.[n]?.[o]}),_.__FEDERATION__.__INSTANCES__.splice(s,1)}t.moduleCache.delete(e.name)}}catch(e){f.error(`removeRemote failed: ${e instanceof Error?e.message:String(e)}`)}}};var tr=class{constructor(e){this.hooks=new Ft({beforeInit:new Ut("beforeInit"),init:new Dt,beforeInitContainer:new Gt("beforeInitContainer"),initContainer:new Gt("initContainer")}),this.version="2.9.0",this.moduleCache=new Map,this.loaderHook=new Ft({getModuleInfo:new Dt,createScript:new Dt,createLink:new Dt,fetch:new Bt,loadEntryError:new Bt,afterLoadEntry:new Bt("afterLoadEntry"),beforeInitRemote:new Bt("beforeInitRemote"),afterInitRemote:new Bt("afterInitRemote"),beforeGetExpose:new Bt("beforeGetExpose"),afterGetExpose:new Bt("afterGetExpose"),beforeExecuteFactory:new Bt("beforeExecuteFactory"),afterExecuteFactory:new Bt("afterExecuteFactory"),getModuleFactory:new Bt}),this.bridgeHook=new Ft({beforeBridgeRender:new Dt,afterBridgeRender:new Dt,beforeBridgeDestroy:new Dt,afterBridgeDestroy:new Dt,afterBridgeRouteSync:new Dt});const t=[{name:"snapshot-plugin",async afterResolve(e){const{remote:t,pkgNameOrAlias:r,expose:n,origin:o,remoteInfo:i,id:a}=e;if(!y(t)||!g(t)){const{remoteSnapshot:s,globalSnapshot:c}=await o.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t,id:_t(t.name,n)});Vt(i,s);const l=[{nameOrAlias:r,exposes:[n],resourceCategory:"sync",share:!1,depsRemote:!1,recordPreloadedAssets:!0}];await o.remoteHandler.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:l,options:o.options,origin:o});const[u]=l;if(u){const e={remote:t,preloadConfig:u},r=await o.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:o,preloadOptions:e,remoteInfo:i,remote:t,remoteSnapshot:s,globalSnapshot:c});r&&Tt(i,o,r,!1,{initiator:"loadRemote",id:a},u.recordPreloadedAssets).catch(()=>{})}return{...e,remoteSnapshot:s}}return e}},{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){const{origin:t,preloadOptions:r,remoteInfo:o,remote:i,globalSnapshot:a,remoteSnapshot:s}=e;return n.Hq?y(i)&&g(i)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:i.name,url:i.entry,moduleInfo:{name:o.name,entry:i.entry,type:o.type||"global",entryGlobalName:"",shareScope:""}}]}:(Vt(o,s),Yt(t,r,o,a,s)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}],r={id:"hostApp:1.0.0",name:e.name,plugins:t,remotes:[],shared:{},inBrowser:n.Hq};this.name=e.name,this.options=r,this.snapshotHandler=new Xt(this),this.sharedHandler=new Zt(this),this.remoteHandler=new er(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...r.plugins,...e.plugins||[]]),this.options=this.formatOptions(r,e)}initOptions(e){e.name&&e.name!==this.options.name&&h(l(ut.n3,ft.UJ)),this.registerPlugins(e.plugins);const t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(e=je,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,r){return this.remoteHandler.initRawContainer(e,t,r)}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t,r={}){this.sharedHandler.initShareScopeMap(e,t,r)}formatOptions(e,t){const r=Ce(e,t).allShareInfos,{userOptions:n,options:o}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:r}),i=this.remoteHandler.formatAndRegisterRemote(o,n),{allShareInfos:a}=this.sharedHandler.registerShared(o,n),s=[...o.plugins];n.plugins&&n.plugins.forEach(e=>{s.includes(e)||s.push(e)});const c={...e,...t,plugins:s,remotes:i,shared:a,id:n.id||e.id};return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){this.options.plugins=wt(e,this)}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}
1registerShared(e){this.sharedHandler.registerShared(this.options,{...this.options,shared:e})}};Object.defineProperty;const rr=Ct,nr=Mt},6205(e,t,r){"use strict";r.r(t),r.d(t,{Module:()=>o.nV,ModuleFederation:()=>o.gP,createInstance:()=>s,getInstance:()=>y,getRemoteEntry:()=>o.fE,getRemoteInfo:()=>o.pW,init:()=>l,loadRemote:()=>u,loadScript:()=>o.k0,loadScriptNode:()=>o.oe,loadShare:()=>f,loadShareSync:()=>d,preloadRemote:()=>h,registerGlobalPlugins:()=>o.RY,registerPlugins:()=>p,registerRemotes:()=>m,registerShared:()=>g,satisfy:()=>o.sk});var n=r(49391),o=r(31326),i=r(43207),a=r(44119);function s(e){const t=new((0,o.Bf)()||o.gP)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.C3)(t),t}let c=null;function l(e){const t=(0,n.u)(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),c||(c=t),t):(c=s(r),c)}function u(...e){return(0,o.vA)(c,i.F9,a.UJ),c.loadRemote.apply(c,e)}function f(...e){return(0,o.vA)(c,i.F9,a.UJ),c.loadShare.apply(c,e)}function d(...e){return(0,o.vA)(c,i.F9,a.UJ),c.loadShareSync.apply(c,e)}function h(...e){return(0,o.vA)(c,i.F9,a.UJ),c.preloadRemote.apply(c,e)}function m(...e){return(0,o.vA)(c,i.F9,a.UJ),c.registerRemotes.apply(c,e)}function p(...e){return(0,o.vA)(c,i.F9,a.UJ),c.registerPlugins.apply(c,e)}function y(e){return e?o.hS.__FEDERATION__.__INSTANCES__.find(e)||null:c}function g(...e){return(0,o.vA)(c,i.F9,a.UJ),c.registerShared.apply(c,e)}(0,o.rc)(o.gP)},49391(e,t,r){"use strict";r.d(t,{u:()=>o});var n=r(31326);function o(e,t){const r="hostApp:1.0.0";return n.hS.__FEDERATION__.__INSTANCES__.find(n=>!(n.options.id!==r)||(n.options.name===e&&!n.options.version&&!t||!(n.options.name!==e||!t||n.options.version!==t)))}},44042(){"use strict";Object.defineProperty},92432(e,t,r){"use strict";r.d(t,{gF:()=>a});const n={AT:"@",HYPHEN:"-",SLASH:"/"},o={[n.AT]:"scope_",[n.HYPHEN]:"_",[n.SLASH]:"__"},i={[o[n.AT]]:n.AT,[o[n.HYPHEN]]:n.HYPHEN,[o[n.SLASH]]:n.SLASH};let a=function(e){return e[e.UNKNOWN=1]="UNKNOWN",e[e.CALCULATED=2]="CALCULATED",e[e.NO_USE=0]="NO_USE",e}({});r.d(t,["Qm",0,n,"e0",0,i,"gR",0,o,"sC",0,"FEDERATION_DEBUG","yq",0,"ENCODE_NAME_PREFIX"])},41931(){"use strict"},55453(e,t,r){"use strict";r.d(t,{Bb:()=>s,MC:()=>a,OL:()=>i});var n=r(92432);const o="undefined"!=typeof ENV_TARGET?"web"===ENV_TARGET:"undefined"!=typeof window&&void 0!==window.document;function i(){return o}function a(){return"undefined"!=typeof navigator&&"ReactNative"===navigator?.product}function s(){return"undefined"!=typeof process&&process.env&&process.env.FEDERATION_DEBUG?Boolean(process.env.FEDERATION_DEBUG):!("undefined"==typeof FEDERATION_DEBUG||!Boolean(FEDERATION_DEBUG))||function(){try{if(i()&&window.localStorage)return Boolean(localStorage.getItem(n.sC))}catch(e){return!1}return!1}()}r.d(t,["Hq",0,o])},69854(){},94171(){"use strict"},46319(){"use strict"},47571(){"use strict"},32828(){"use strict"},19365(){"use strict"},89172(){"use strict"},86175(){"use strict"},6575(e,t,r){"use strict";r.d(t,{Al:()=>a,ML:()=>s});var n=r(92432),o=r(55453);const i="[ Federation Runtime ]";function a(e,t){if("getPublicPath"in e){let r;return r=e.getPublicPath.startsWith("function")?new Function("return "+e.getPublicPath)()():new Function(e.getPublicPath)(),`${r}${t}`}return"publicPath"in e?(0,o.OL)()||(0,o.MC)()||!("ssrPublicPath"in e)||"string"!=typeof e.ssrPublicPath?`${e.publicPath}${t}`:`${e.ssrPublicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")}function s(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}r.d(t,["R8",0,e=>{console.warn(`${i}: ${e}`)},"e4",0,function(e,t,r){try{let o=e;if(t){if(!o.startsWith(t))return o;o=o.replace(new RegExp(t,"g"),"")}return o=o.replace(new RegExp(`${n.gR[n.Qm.AT]}`,"g"),n.e0[n.gR[n.Qm.AT]]).replace(new RegExp(`${n.gR[n.Qm.SLASH]}`,"g"),n.e0[n.gR[n.Qm.SLASH]]).replace(new RegExp(`${n.gR[n.Qm.HYPHEN]}`,"g"),n.e0[n.gR[n.Qm.HYPHEN]]),r&&(o=o.replace(".js","")),o}catch(e){throw e}},"lG",0,function(...e){return e.length?e.reduce((e,t)=>t?e?`${e}:${t}`:t:e,""):""}])},88986(){"use strict"}};const t={};function r(n){const o=t[n];if(void 0!==o)return o.exports;let i=t[n]={id:n,loaded:!1,exports:{}};const a={id:n,module:i,factory:e[n],require:r};
1return r.i.forEach(function(e){e(a)}),i=a.module,a.factory.call(i.exports,i,i.exports,a.require),i.loaded=!0,i.exports}var n,o,i,a,s;r.m=e,r.c=t,r.i=[],r.x=e=>{},r.federation||(r.federation={initOptions:{name:"hostApp",remotes:[],shareStrategy:"version-first"},chunkMatcher:function(e){return!0},rootOutputDir:"",bundlerRuntimeOptions:{remotes:{remoteInfos:{acquire_federated:[{alias:"acquire_federated",name:"",entry:"",shareScope:"default",externalType:"unknown"}]},webpackRequire:r,idToRemoteMap:{},chunkMapping:{},idToExternalAndNameMapping:{}}}},r.consumesLoadingData={},r.remotesLoadingData={}),(()=>{const e=[];r.O=(t,n,o,i)=>{if(n){i=i||0;for(var a=e.length;a>0&&e[a-1][2]>i;a--)e[a]=e[a-1];return void(e[a]=[n,o,i])}let s=1/0;for(a=0;a<e.length;a++){let[n,o,i]=e[a],l=!0;for(var c=0;c<n.length;c++)(!1&i||s>=i)&&Object.keys(r.O).every(e=>r.O[e](n[c]))?n.splice(c--,1):(l=!1,i<s&&(s=i));if(l){e.splice(a--,1);const r=o();void 0!==r&&(t=r)}}return t}})(),r.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{if(Array.isArray(t))for(var n=0;n<t.length;){var o=t[n++],i=t[n++];r.o(e,o)?0===i&&n++:0===i?Object.defineProperty(e,o,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,o,{enumerable:!0,get:i})}else for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>e+".bundle."+{55:"c277cc2210b287dec2df",308:"372b24c6331be015d9e9",334:"d80eccb71b3e8b7bc838",425:"ff04ba381702134c2590",850:"ed2faaf14cd9a8e93fa5",957:"168a5de52b6f3e2a708e"}[e]+".js",r.miniCssF=e=>e+".a9dd04188b10d26e18a7.css",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="user-authentication-web:";r.l=(n,o,i,a)=>{if(e[n])return void e[n].push(o);let s,c;if(void 0!==i){const e=document.getElementsByTagName("script");for(var l=0;l<e.length;l++){const r=e[l];if(r.getAttribute("src")==n||r.getAttribute("data-webpack")==t+i){s=r;break}}}s||(c=!0,s=document.createElement("script"),s.charset="utf-8",r.nc&&s.setAttribute("nonce",r.nc),s.setAttribute("data-webpack",t+i),s.src=n),e[n]=[o];const u=(t,r)=>{s.onerror=s.onload=null,clearTimeout(f);const o=e[n];if(delete e[n],s.parentNode?.removeChild(s),o?.forEach(e=>e(r)),t)return t(r)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=u.bind(null,s.onerror),s.onload=u.bind(null,s.onload),c&&document.head.appendChild(s)}})(),r.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n={},o={},i={},r.federation.bundlerRuntimeOptions.remotes.chunkMapping=n,r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping=o,r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap=i,r.remotesLoadingData.moduleIdToRemoteDataMapping={},r.f.remotes=(e,t)=>{r.federation.bundlerRuntime.remotes({idToRemoteMap:i,chunkMapping:n,idToExternalAndNameMapping:o,chunkId:e,promises:t,webpackRequire:r})},(()=>{r.S={};const e={},t={};r.I=(n,o)=>{o||(o=[]);let i=t[n];if(i||(i=t[n]={}),o.indexOf(i)>=0)return;if(o.push(i),e[n])return e[n];r.o(r.S,n)||(r.S[n]={});const a=r.S[n],s="user-authentication-web",c=(e,t,r,n)=>{const o=a[e]=a[e]||{},i=o[t];(!i||!i.loaded&&(!n!=!i.eager?n:s>i.from))&&(o[t]={get:r,from:s,eager:!!n})},l=[];if("default"===n)c("react-dom","19.1.1",()=>()=>r(40961),1),c("react-router-dom","6.30.6",()=>()=>r(92648),1),c("react","19.1.1",()=>()=>r(96540),1);return l.length?e[n]=Promise.all(l).then(()=>e[n]=1):e[n]=1}})(),r.cjs=e=>{const t={exports:{}};return e.call(t.exports,t,t.exports),t.exports},(()=>{r.federation.initOptions.shared={"react-dom":[{version:"19.1.1",get:()=>()=>r(40961),scope:["default"],shareConfig:{eager:!0,requiredVersion:!1,singleton:!0,layer:null}}],"react-router-dom":[{version:"6.30.6",get:()=>()=>r(92648),scope:["default"],shareConfig:{eager:!0,singleton:!0,layer:null}}],react:[{version:"19.1.1",get:()=>()=>r(96540),scope:["default"],shareConfig:{eager:!0,requiredVersion:!1,singleton:!0,layer:null}}]},r.S={};var e={},t={};r.I=(n,o)=>r.federation.bundlerRuntime.I({shareScopeName:n,webpackRequire:r,initPromises:e,initTokens:t,initScope:o})})(),r.p="/assets/b34b6a83610d7de518cad47c971c5ad2/",(()=>{var e={};r.consumesLoadingData.moduleIdToConsumeDataMapping={47405:{fallback:()=>()=>r(40961),shareScope:["default"],singleton:!0,requiredVersion:!1,strictVersion:!1,eager:!0,layer:void 0,shareKey:"react-dom"},23012:{fallback:()=>()=>r(92648),shareScope:["default"],singleton:!0,requiredVersion:"^6.30.6",strictVersion:!1,eager:!0,layer:void 0,shareKey:"react-router-dom"},41735:{fallback:()=>()=>r(96540),shareScope:["default"],singleton:!0,requiredVersion:!1,strictVersion:!1,eager:!0,layer:void 0,shareKey:"react"}};var t={};r.consumesLoadingData.initialConsumes=[47405,23012,41735],r.federation.installInitialConsumes=n=>r.federation.bundlerRuntime.installInitialConsumes({initialConsumes:r.consumesLoadingData.initialConsumes,installedModules:e,moduleToHandlerMapping:t,webpackRequire:r,asyncLoad:"object"==typeof n?n.asyncLoad:void 0}),r.consumesLoadingData.chunkMapping={792:[47405,23012,41735]},r.f.consumes=(n,o)=>{r.federation.bundlerRuntime.consumes({chunkMapping:r.consumesLoadingData.chunkMapping,installedModules:e,chunkId:n,moduleToHandlerMapping:t,promises:o,webpackRequire:r})}})(),(()=>{if("undefined"!=typeof document){var e=e=>new Promise((t,n)=>{var o=r.miniCssF(e),i=r.p+o;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===e||o===t)return a}})(o,i))return t();((e,t,n,o,i)=>{var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",r.nc&&(a.nonce=r.nc),a.onerror=a.onload=r=>
1{if(a.onerror=a.onload=null,"load"===r.type)o();else{var n=r&&r.type,s=r&&r.target&&r.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+": "+s+")");c.name="ChunkLoadError",c.code="CSS_CHUNK_LOAD_FAILED",c.type=n,c.request=s,a.parentNode&&a.parentNode.removeChild(a),i(c)}},a.href=t,n?n.parentNode.insertBefore(a,n.nextSibling):document.head.appendChild(a)})(e,i,null,t,n)}),t={792:0};r.f.miniCss=(r,n)=>{t[r]?n.push(t[r]):0!==t[r]&&{55:1}[r]&&n.push(t[r]=e(r).then(()=>{t[r]=0},e=>{throw delete t[r],e}))}}})(),a=r.x,s=!1,r.x=()=>{if(s||(s=!0,r(78877)),"function"==typeof a)return a();console.warn("[Module Federation] prevStartup is not a function, skipping startup execution")},(()=>{const e={792:0};r.f.j=(t,n)=>{let o=r.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{const i=new Promise((r,n)=>o=e[t]=[r,n]);n.push(o[2]=i);const a=r.p+r.u(t),s=new Error,c=n=>{if(r.o(e,t)&&(o=e[t],0!==o&&(e[t]=void 0),o)){const e=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+e+": "+r+")",s.name="ChunkLoadError",s.type=e,s.request=r,s.event=n,o[1](s)}};r.l(a,c,"chunk-"+t,t)}},r.O.j=t=>0===e[t];const t=(t,n)=>{let[o,i,a]=n;var s,c,l=0;if(o.some(t=>0!==e[t])){for(s in i)r.o(i,s)&&(r.m[s]=i[s]);if(a)var u=a(r)}for(t&&t(n);l<o.length;l++)c=o[l],r.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return r.O(u)},n=self.webpackChunkuser_authentication_web=self.webpackChunkuser_authentication_web||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),r.x();let c=r.O(void 0,[907],()=>r(60530));c=r.O(c)})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.