var sT=Object.defineProperty,aT=Object.defineProperties,lT=Object.getOwnPropertyDescriptors,zy=Object.getOwnPropertySymbols,cT=Object.prototype.hasOwnProperty,dT=Object.prototype.propertyIsEnumerable,Zy=(X,N,p)=>N in X?sT(X,N,{enumerable:!0,configurable:!0,writable:!0,value:p}):X[N]=p,Qn=(X,N)=>{for(var p in N||(N={}))cT.call(N,p)&&Zy(X,p,N[p]);if(zy)for(var p of zy(N))dT.call(N,p)&&Zy(X,p,N[p]);return X},Go=(X,N)=>aT(X,lT(N));(self.webpackChunkportal_root=self.webpackChunkportal_root||[]).push([[179],{7423:(X,N,p)=>{"use strict";p.d(N,{Uw:()=>A,dV:()=>b,fo:()=>k,xz:()=>u});var e=p(5861),o=(()=>{return(He=o||(o={})).Unimplemented="UNIMPLEMENTED",He.Unavailable="UNAVAILABLE",o;var He})();class u extends Error{constructor(de,Ce,Ze){super(de),this.message=de,this.code=Ce,this.data=Ze}}const c=He=>{const de=He.CapacitorCustomPlatform||null,Ce=He.Capacitor||{},Ze=Ce.Plugins=Ce.Plugins||{},ot=()=>null!==de?de.name:(He=>{var de,Ce;return(null==He?void 0:He.androidBridge)?"android":(null===(Ce=null===(de=null==He?void 0:He.webkit)||void 0===de?void 0:de.messageHandlers)||void 0===Ce?void 0:Ce.bridge)?"ios":"web"})(He),Be=Xt=>{var nn;return null===(nn=Ce.PluginHeaders)||void 0===nn?void 0:nn.find(mn=>mn.name===Xt)},Zt=new Map;return Ce.convertFileSrc||(Ce.convertFileSrc=Xt=>Xt),Ce.getPlatform=ot,Ce.handleError=Xt=>He.console.error(Xt),Ce.isNativePlatform=()=>"web"!==ot(),Ce.isPluginAvailable=Xt=>{const nn=Zt.get(Xt);return!(!(null==nn?void 0:nn.platforms.has(ot()))&&!Be(Xt))},Ce.registerPlugin=(Xt,nn={})=>{const mn=Zt.get(Xt);if(mn)return console.warn(`Capacitor plugin "${Xt}" already registered. Cannot register plugins twice.`),mn.proxy;const Jt=ot(),et=Be(Xt);let Pt;const Ot=function(){var Ft=(0,e.Z)(function*(){return!Pt&&Jt in nn?Pt=Pt="function"==typeof nn[Jt]?yield nn[Jt]():nn[Jt]:null!==de&&!Pt&&"web"in nn&&(Pt=Pt="function"==typeof nn.web?yield nn.web():nn.web),Pt});return function(){return Ft.apply(this,arguments)}}(),dt=Ft=>{let tn;const un=(...Wn)=>{const Pn=Ot().then(kn=>{const Kt=((Ft,tn)=>{var un,Wn;if(!et){if(Ft)return null===(Wn=Ft[tn])||void 0===Wn?void 0:Wn.bind(Ft);throw new u(`"${Xt}" plugin is not implemented on ${Jt}`,o.Unimplemented)}{const Pn=null==et?void 0:et.methods.find(kn=>tn===kn.name);if(Pn)return"promise"===Pn.rtype?kn=>Ce.nativePromise(Xt,tn.toString(),kn):(kn,Kt)=>Ce.nativeCallback(Xt,tn.toString(),kn,Kt);if(Ft)return null===(un=Ft[tn])||void 0===un?void 0:un.bind(Ft)}})(kn,Ft);if(Kt){const rt=Kt(...Wn);return tn=null==rt?void 0:rt.remove,rt}throw new u(`"${Xt}.${Ft}()" is not implemented on ${Jt}`,o.Unimplemented)});return"addListener"===Ft&&(Pn.remove=(0,e.Z)(function*(){return tn()})),Pn};return un.toString=()=>`${Ft.toString()}() { [capacitor code] }`,Object.defineProperty(un,"name",{value:Ft,writable:!1,configurable:!1}),un},ut=dt("addListener"),Je=dt("removeListener"),kt=(Ft,tn)=>{const un=ut({eventName:Ft},tn),Wn=function(){var kn=(0,e.Z)(function*(){const Kt=yield un;Je({eventName:Ft,callbackId:Kt},tn)});return function(){return kn.apply(this,arguments)}}(),Pn=new Promise(kn=>un.then(()=>kn({remove:Wn})));return Pn.remove=(0,e.Z)(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield Wn()}),Pn},pt=new Proxy({},{get(Ft,tn){switch(tn){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return et?kt:ut;case"removeListener":return Je;default:return dt(tn)}}});return Ze[Xt]=pt,Zt.set(Xt,{name:Xt,proxy:pt,platforms:new Set([...Object.keys(nn),...et?[Jt]:[]])}),pt},Ce.Exception=u,Ce.DEBUG=!!Ce.DEBUG,Ce.isLoggingEnabled=!!Ce.isLoggingEnabled,Ce},b=(He=>He.Capacitor=c(He))("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),k=b.registerPlugin;class A{constructor(){this.listeners={},this.retainedEventArguments={},this.windowListeners={}}addListener(de,Ce){var Ze=this;let ot=!1;this.listeners[de]||(this.listeners[de]=[],ot=!0),this.listeners[de].push(Ce);const xt=this.windowListeners[de];xt&&!xt.registered&&this.addWindowListener(xt),ot&&this.sendRetainedArgumentsForEvent(de);const Be=function(){var Zt=(0,e.Z)(function*(){return Ze.removeListener(de,Ce)});return function(){return Zt.apply(this,arguments)}}();return Promise.resolve({remove:Be})}removeAllListeners(){var de=this;return(0,e.Z)(function*(){de.listeners={};for(const Ce in de.windowListeners)de.removeWindowListener(de.windowListeners[Ce]);de.windowListeners={}})()}notifyListeners(de,Ce,Ze){const ot=this.listeners[de];if(ot)ot.forEach(Ke=>Ke(Ce));else if(Ze){let Ke=this.retainedEventArguments[de];Ke||(Ke=[]),Ke.push(Ce),this.retainedEventArguments[de]=Ke}}hasListeners(de){var Ce;return!!(null===(Ce=this.listeners[de])||void 0===Ce?void 0:Ce.length)}registerWindowListener(de,Ce){this.windowListeners[Ce]={registered:!1,windowEventName:de,pluginEventName:Ce,handler:Ze=>{this.notifyListeners(Ce,Ze)}}}unimplemented(de="not implemented"){return new b.Exception(de,o.Unimplemented)}unavailable(de="not available"){return new b.Exception(de,o.Unavailable)}removeListener(de,Ce){var Ze=this;return(0,e.Z)(function*(){const ot=Ze.listeners[de];if(!ot)return;const Ke=ot.indexOf(Ce);-1!==Ke&&Ze.listeners[de].splice(Ke,1),Ze.listeners[de].length||Ze.removeWindowListener(Ze.windowListeners[de])})()}addWindowListener(de){window.addEventListener(de.windowEventName,de.handler),de.registered=!0}removeWindowListener(de){!de||(window.removeEventListener(de.windowEventName,de.handler),de.registered=!1)}sendRetainedArgumentsForEvent(de){const Ce=this.retainedEventArguments[de];!Ce||(delete this.retainedEventArguments[de],Ce.forEach(Ze=>{this.notifyListeners(de,Ze)}))}}const H=He=>encodeURIComponent(He).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),z=He=>He.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class O extends A{getCookies(){return(0,e.Z)(function*(){const de=document.cookie,Ce={};return de.split(";").forEach(Ze=>{if(Ze.length<=0)return;let[ot,Ke]=Ze.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");ot=z(ot).trim(),Ke=z(Ke).trim(),Ce[ot]=Ke}),Ce})()}setCookie(de){return(0,e.Z)(function*(){try{const Ce=H(de.key),Ze=H(de.value),ot=de.expires?`; expires=${de.expires.replace("expires=","")}`:"",Ke=(de.path||"/").replace("path=",""),xt=null!=de.url&&de.url.length>0?`domain=${de.url}`:"";document.cookie=`${Ce}=${Ze||""}${ot}; path=${Ke}; ${xt};`}catch(Ce){return Promise.reject(Ce)}})()}deleteCookie(de){return(0,e.Z)(function*(){try{document.cookie=`${de.key}=; Max-Age=0`}catch(Ce){return Promise.reject(Ce)}})()}clearCookies(){return(0,e.Z)(function*(){try{const de=document.cookie.split(";")||[];for(const Ce of de)document.cookie=Ce.replace(/^ +/,"").replace(/=.*/,`=;expires=${(new Date).toUTCString()};path=/`)}catch(de){return Promise.reject(de)}})()}clearAllCookies(){var de=this;return(0,e.Z)(function*(){try{yield de.clearCookies()}catch(Ce){return Promise.reject(Ce)}})()}}k("CapacitorCookies",{web:()=>new O});const q=function(){var He=(0,e.Z)(function*(de){return new Promise((Ce,Ze)=>{const ot=new FileReader;ot.onload=()=>{const Ke=ot.result;Ce(Ke.indexOf(",")>=0?Ke.split(",")[1]:Ke)},ot.onerror=Ke=>Ze(Ke),ot.readAsDataURL(de)})});return function(Ce){return He.apply(this,arguments)}}();class ue extends A{request(de){return(0,e.Z)(function*(){const Ce=((He,de={})=>{const Ce=Object.assign({method:He.method||"GET",headers:He.headers},de),ot=((He={})=>{const de=Object.keys(He);return Object.keys(He).map(ot=>ot.toLocaleLowerCase()).reduce((ot,Ke,xt)=>(ot[Ke]=He[de[xt]],ot),{})})(He.headers)["content-type"]||"";if("string"==typeof He.data)Ce.body=He.data;else if(ot.includes("application/x-www-form-urlencoded")){const Ke=new URLSearchParams;for(const[xt,Be]of Object.entries(He.data||{}))Ke.set(xt,Be);Ce.body=Ke.toString()}else if(ot.includes("multipart/form-data")||He.data instanceof FormData){const Ke=new FormData;if(He.data instanceof FormData)He.data.forEach((Be,Tt)=>{Ke.append(Tt,Be)});else for(const Be of Object.keys(He.data))Ke.append(Be,He.data[Be]);Ce.body=Ke;const xt=new Headers(Ce.headers);xt.delete("content-type"),Ce.headers=xt}else(ot.includes("application/json")||"object"==typeof He.data)&&(Ce.body=JSON.stringify(He.data));return Ce})(de,de.webFetchExtra),Ze=((He,de=!0)=>He?Object.entries(He).reduce((Ze,ot)=>{const[Ke,xt]=ot;let Be,Tt;return Array.isArray(xt)?(Tt="",xt.forEach(Zt=>{Be=de?encodeURIComponent(Zt):Zt,Tt+=`${Ke}=${Be}&`}),Tt.slice(0,-1)):(Be=de?encodeURIComponent(xt):xt,Tt=`${Ke}=${Be}`),`${Ze}&${Tt}`},"").substr(1):null)(de.params,de.shouldEncodeUrlParams),ot=Ze?`${de.url}?${Ze}`:de.url,Ke=yield fetch(ot,Ce),xt=Ke.headers.get("content-type")||"";let Tt,Zt,{responseType:Be="text"}=Ke.ok?de:{};switch(xt.includes("application/json")&&(Be="json"),Be){case"arraybuffer":case"blob":Zt=yield Ke.blob(),Tt=yield q(Zt);break;case"json":Tt=yield Ke.json();break;default:Tt=yield Ke.text()}const Sn={};return Ke.headers.forEach((Xt,nn)=>{Sn[nn]=Xt}),{data:Tt,headers:Sn,status:Ke.status,url:Ke.url}})()}get(de){var Ce=this;return(0,e.Z)(function*(){return Ce.request(Object.assign(Object.assign({},de),{method:"GET"}))})()}post(de){var Ce=this;return(0,e.Z)(function*(){return Ce.request(Object.assign(Object.assign({},de),{method:"POST"}))})()}put(de){var Ce=this;return(0,e.Z)(function*(){return Ce.request(Object.assign(Object.assign({},de),{method:"PUT"}))})()}patch(de){var Ce=this;return(0,e.Z)(function*(){return Ce.request(Object.assign(Object.assign({},de),{method:"PATCH"}))})()}delete(de){var Ce=this;return(0,e.Z)(function*(){return Ce.request(Object.assign(Object.assign({},de),{method:"DELETE"}))})()}}k("CapacitorHttp",{web:()=>new ue});class je extends A{setStyle(){var de=this;return(0,e.Z)(function*(){de.unavailable("not available for web")})()}setAnimation(){var de=this;return(0,e.Z)(function*(){de.unavailable("not available for web")})()}show(){var de=this;return(0,e.Z)(function*(){de.unavailable("not available for web")})()}hide(){var de=this;return(0,e.Z)(function*(){de.unavailable("not available for web")})()}}k("SystemBars",{web:()=>new je})},3486:(X,N,p)=>{"use strict";p.d(N,{X:()=>De});var e=p(2209),o=p(5341),u=p(1898),d=p(6919),c=p(9487),g=p(1790),b=p(8093),k=p(4643),A=p(2251),I=p(9523),H=p(6293),z=p(4999),O=p(5312),Z=p(2160),q=p(6243),te=p(9808),V=p(5e3);let ne=(()=>{class Ve{transform(Dt){const Et=new Map;return Et.set(b.kd6.listeningAndAttention,"Children listen attentively in a range of situations. They listen to stories, accurately anticipating key events and respond to what they hear with relevant comments, questions or actions. They give their attention to what others say and respond appropriately, while engaged in another activity."),Et.set(b.kd6.understanding,"Children follow instructions involving several ideas or actions. They answer 'how' and 'why' questions about their experiences and in response to stories or events."),Et.set(b.kd6.speaking,"Children express themselves effectively, showing awareness of listeners' needs. They use past, present and future forms accurately when talking about events that have happened or are to happen in the future. They develop their own narratives and explanations by connecting ideas or events."),Et.set(b.kd6.movingAndHandling,"Children show good control and co-ordination in large and small movements. They move confidently in a range of ways, safely negotiating space. They handle equipment and tools effectively, including pencils for writing."),Et.set(b.kd6.healthAndSelfCare,"Children know the importance for good health of physical exercise, and a healthy diet and talk about ways to keep healthy and safe. They manage their own basic hygiene and personal needs successfully, including dressing and going to the toilet independently."),Et.set(b.kd6.makingRelationships,"Children play co-operatively, taking turns with others. They take account of one another's ideas about how to organise their activity. They show sensitivity to others' needs and feelings, and form positive relationships with adults and other children."),Et.set(b.kd6.selfConfidenceAndSelfAwareness,"Children are confident to try new activities, and say why they like some activities more than others. They are confident to speak in a familiar group, will talk about their ideas, and will choose the resources they need for their chosen activities. They say when they do or don't need help."),Et.set(b.kd6.managingFeelingsAndBehaviour,"Children talk about how they and others show feelings, talk about their own and others' behaviour, and its consequences, and know that some behaviour is unacceptable. They work as part of a group or class, and understand and follow the rules. They adjust their behaviour to different situations, and take changes of routine in their stride."),Et.set(b.kd6.reading,"Children read and understand simple sentences. They use phonic knowledge to decode regular words and read them aloud accurately. They also read some common irregular words. They demonstrate understanding when talking with others about what they have read."),Et.set(b.kd6.writing,"Children use their phonic knowledge to write words in ways which match their spoken sounds. They also write some irregular common words. They write simple sentences which can be read by themselves and others. Some words are spelt correctly and others are phonetically plausible."),Et.set(b.kd6.numbers,"Children count reliably with numbers from one to 20, place them in order and say which number is one more or one less than a given number. Using quantities and objects, they add and subtract two single-digit numbers and count on or back to find the answer. They solve problems, including doubling, halving and sharing."),Et.set(b.kd6.shapeSpaceAndMeasure,"Children use everyday language to talk about size, weight, capacity, position, distance, time and money to compare quantities and objects and to solve problems. They recognise, create and describe patterns. They explore characteristics of everyday objects and shapes and use mathematical language to describe them."),Et.set(b.kd6.peopleAndCommunities,"Children talk about past and present events in their own lives and in the lives of family members. They know that other children don't always enjoy the same things, and are sensitive to this. They know about similarities and differences between themselves and others, and among families, communities and traditions."),Et.set(b.kd6.theWorld,"Children know about similarities and differences in relation to places, objects, materials and living things. They talk about the features of their own immediate environment and how environments might vary from one another. They make observations of animals and plants and explain why some things occur, and talk about changes."),Et.set(b.kd6.technology,"Children recognise that a range of technology is used in places such as homes and schools. They select and use technology for a particular purpose."),Et.set(b.kd6.exploringMediaAndMaterials,"Children sing songs, make music and dance, and experiment with ways of changing them. They safely use and explore a variety of materials, tools and techniques, experimenting with colour, design, texture, form and function."),Et.set(b.kd6.beingImaginative,"Children use what they have learnt about media and materials in original ways, thinking about uses and purposes. They represent their own ideas, thoughts and feelings through design and technology, art, music, dance, role play and stories."),Et.get(Dt)||Dt.toString()}}return Ve.\u0275fac=function(Dt){return new(Dt||Ve)},Ve.\u0275pipe=V.Yjl({name:"EarlyLearningGoalComments",type:Ve,pure:!0}),Ve})(),ue=(()=>{class Ve{transform(Dt){const Et=new Map;Et.set(b.vwP.emerging,"Emerging"),Et.set(b.vwP.exceeding,"Exceeding"),Et.set(b.vwP.expected,"Expected");const sn=Et.get(Dt);return sn||Dt.toString(),sn}}return Ve.\u0275fac=function(Dt){return new(Dt||Ve)},Ve.\u0275pipe=V.Yjl({name:"EarlyLearningGoalName",type:Ve,pure:!0}),Ve})();var ee=p(5379),Q=p(8561),se=p(7206),je=p(3055),nt=p(671),He=p(7320),de=p(6349),Ce=p(5525),Ze=p(9847),ot=p(3771),Ke=p(4566),xt=p(3691),Be=p(7695),Tt=p(3032),Zt=p(5103),Sn=p(4572),Xt=p(3793),nn=p(1303),mn=p(5885),Jt=p(1296),et=p(3116),Pt=p(8534),Ot=p(7633),bt=p(3044),dt=p(7300),ut=p(2163),Je=p(118),kt=p(7751),pt=p(7108),Ft=p(2313),tn=p(9399),un=p(5383),Wn=p(3546),Pn=p(4658),kn=p(9889),Kt=p(2736),rt=p(1459),G=p(9041),_e=p(1406),he=p(9162);const De=[e.n8,o.Y,u.V,d.d,c.z,g.c,b.ACA,k.a,A.pmU,b.lUA,A.HiY,A.vn6,A.jZm,A.rU4,A.E_n,I.y,H.m,z.$,O.t,A.c85,Z.N,A.cUn,q.s,te.uU,ne,ue,A.wjK,A.hWU,A.l7b,A.MCG,A.MuS,A.a0E,ee.W,Q.g,se.B,je.m,b.OhA,nt.i,b.dVt,b.Qut,b.AXA,b.d8N,b.$4e,b.Pyg,b.zJW,b.YS,b.kmR,b._Be,b.S6U,b.zKC,b.uFH,b.nWu,b.W1I,b.Utf,b.AW3,b.eEN,b.vYr,b.f_T,b.wDY,b.uXf,b.gIj,b.pjV,b.FDX,b.fQW,b._EJ,b.CYn,b.IMQ,b.khq,b.Zxh,b.wMx,b.JP8,b.wmN,b.pVv,b.D0t,He.L,de.z,Ce.k,A.ojH,Ze.B,ot.Z,Ke.L,xt.A,Be.L,A.RiH,Tt.p,Zt.i,A.DjA,Sn.i,Xt.x,nn.q,mn.m,A.s6z,Jt.k,et.D,A.mix,Pt.E,Ot.O,bt.P,dt.M,A.LBH,A.al2,ut.g,Je.x,kt.V,b.JjS,pt.W,A.XL3,Ft.Dx,b.wI$,tn.P,un.K,Wn.m,b.hxQ,b.WAN,b.GML,b.kQ2,b.Z4N,b.M0D,b.j2_,b.fEy,b.ifS,b.gee,b.rIe,b.BTu,Pn.Qd,A.Ju4,A.Jwe,kn.K,Kt.A,b.p4,b.o8V,b.m8F,b.akk,b.pEx,b.S4p,b.ik9,rt.r,G.Q,A.VD_,A.p4T,A.azF,A.V7b,_e.U,A.yKG,he.p,b.M$x]},1406:(X,N,p)=>{"use strict";p.d(N,{U:()=>o});var e=p(5e3);let o=(()=>{class u{getBuildVersion(){return"$BUILD_NUMBER$"}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})()},1459:(X,N,p)=>{"use strict";p.d(N,{r:()=>ne});var e=p(5861),o=p(2113),u=p(7579),d=p(2722);class c{constructor(){this.lastSelectedDataId=null,this.generateStyles(),this.menu=document.createElement("DIV"),this.menu.classList.add("debug-context-menu"),this.highlightBox=document.createElement("DIV"),this.highlightBox.classList.add("debug-menu-highlight-box"),this.highlightBoxPageObject=document.createElement("DIV"),this.highlightBoxPageObject.classList.add("debug-menu-highlight-box")}init(){this.highlightBox.innerHTML='
',this.highlightBoxPageObject.innerHTML='
',this.menu.innerHTML='',document.body.appendChild(this.menu),document.body.appendChild(this.highlightBox),document.body.appendChild(this.highlightBoxPageObject),document.addEventListener("click",()=>this.pageClicked()),document.addEventListener("contextmenu",ee=>this.pageRightClicked(ee)),this.menu.addEventListener("click",ee=>this.debugMenuItemClicked(ee))}debugMenuItemClicked(ee){ee.stopPropagation();const Q=ee.target;if(console.log(Q.id),"copy-data-id"===Q.id&&this.copyToClipboard(this.lastSelectedDataId),"highlight-next-parent"===Q.id&&this.findAndHighlightNextParentFromSelected(),"copy-property"===Q.id&&this.copyFieldDefinition(this.highlightedElement),"create-def"===Q.id&&this.createClassDef(),"assert"===Q.id&&this.generateAction((se,je,nt)=>`TheValueOf(nameof(${se}.${je})).ShouldBe("${nt.trim()}");`),"assert-all"===Q.id){const se=this.generateIAmOnForCurrentDataId(),nt=this.getAllFieldsFromChildren().map(He=>`page.${He.elementName}.AssertInnerText("${this.getValueFromElement(He.element)}");`).join("\r\n");this.copyToClipboard(`${se}\r\n${nt}`)}"fill"===Q.id&&this.generateAction((se,je,nt)=>`IEnterData(nameof(${se}.${je}), "${nt}");`),"click"===Q.id&&this.generateAction((se,je)=>`IClickOn(nameof(${se}.${je}));`)}findAndHighlightNextParentFromSelected(){this.findAndHighlightNextParent(this.highlightedElement.parentElement,this.lastMouseEvent)}generateAction(ee){this.contextMenuOpenedOnElement===this.highlightedElement&&this.findAndHighlightNextParentFromSelected();const Q=this.generateIAmOnForCurrentDataId(),He=ee(this.getCodeClassName(this.lastSelectedDataId),this.dashToPascal(this.contextMenuOpenedOnDataId),this.getValueFromContextMenuElement());this.copyToClipboard(`${Q}\r\n${He}`)}generateIAmOnForCurrentDataId(){const ee=this.getCodeClassName(this.lastSelectedDataId),Q=this.extractGuidsFromLastDataId();return Q?`On<${ee}>(${Q.cSharpValue});`:`On<${ee}>(page => {}); // (temp bug for debug menu, wrap below code)`}getValueFromContextMenuElement(){return this.getValueFromElement(this.contextMenuOpenedOnElement)}getValueFromElement(ee){const Q=ee.querySelectorAll('input[type="text"]');return Q.length>0?Array.from(Q).map(se=>se.value).join(", "):ee.innerText}copyToClipboard(ee){return navigator.clipboard.writeText(ee)}pageRightClicked(ee){ee.preventDefault(),console.log("Element click registered"),this.lastMouseEvent=ee,this.findAndHighlightNextParent(ee.target,ee),this.contextMenuOpenedOnDataId=this.lastSelectedDataId,this.contextMenuOpenedOnElement=this.highlightedElement}findAndHighlightNextParent(ee,Q){for(;null!=ee;){const se=ee.getAttribute("data-id");if(null!==se){this.pageObjectParent=this.findPageObjectParent(ee,this.lastMouseEvent),this.highlightElement(ee,se),this.positionMenu(Q);break}ee=ee.parentElement}}findPageObjectParent(ee,Q){for(;null!=ee;){if(null!==ee.getAttribute("data-page-object-name"))return ee;ee=ee.parentElement}}highlightElement(ee,Q){this.highlightedElement=ee;const se=ee.getAttribute("data-id"),je=Q||ee.getAttribute("data-page-object-name");this.lastSelectedDataId=se,this.menu.style.display="block",this.highlightBox.style.display="block";const nt=ee.getBoundingClientRect();if(this.highlightBox.style.left=nt.left.toString()+"px",this.highlightBox.style.top=(nt.top+window.scrollY).toString()+"px",this.highlightBox.style.width=nt.width.toString()+"px",this.highlightBox.style.height=nt.height.toString()+"px",this.highlightBox.children[0].innerHTML=`${se} (${ee.tagName})${je?` [${je}]`:""}`,this.pageObjectParent){this.highlightBoxPageObject.style.display="block";const He=this.pageObjectParent.getBoundingClientRect();this.highlightBoxPageObject.style.left=He.left.toString()+"px",this.highlightBoxPageObject.style.top=(He.top+window.scrollY).toString()+"px",this.highlightBoxPageObject.style.width=He.width.toString()+"px",this.highlightBoxPageObject.style.height=He.height.toString()+"px",this.highlightBoxPageObject.style.borderColor="red";const de=this.highlightBoxPageObject.children[0];if(de.style.top="0",He.top<=5){const Ce=He.top+window.scrollY+He.height;de.style.top=Ce.toString()+"px"}this.highlightBoxPageObject.children[0].innerHTML=`${this.pageObjectParent.getAttribute("data-page-object-name")}`}}pageClicked(){this.menu.style.display="none",this.highlightBox.style.display="none",this.highlightBoxPageObject.style.display="none"}generateStyles(){const Q=document.createElement("link");Q.setAttribute("rel","stylesheet"),Q.setAttribute("type","text/css"),Q.setAttribute("href","data:text/css;charset=UTF-8,"+encodeURIComponent("\n .debug-context-menu {\n position: absolute;\n border: 1px solid red;\n width: 300px;\n background: white;\n border-radius: 5px;\n z-index: 1000000;\n display: none;\n }\n\n .debug-context-menu ul {\n list-style: none;\n padding: 0;\n margin: 0;\n }\n .debug-context-menu ul li {\n border-bottom: 1px solid grey;\n padding: 5px;\n cursor: pointer;\n }\n .debug-context-menu ul li:hover {\n background-color: #ffe6ff;\n }\n\n .debug-menu-highlight-box {\n position: absolute;\n border: 3px solid blue;\n box-sizing: border-box;\n border-radius: 5px;\n z-index: 999999;\n display: none;\n }\n\n .debug-menu-highlight-box .label {\n text-align: center;\n top: -28px;\n border: 1px solid blue;\n box-sizing: border-box;\n border-radius: 3px;\n height: 25px;\n position: relative;\n font-weight: bold;\n background: white;\n }\n ")),document.head.appendChild(Q)}createClassDef(){const ee=this.getCodeClassName(this.lastSelectedDataId),Q=this.getAllFieldsFromChildren().map(He=>" "+He.cSharpDefinition).join("\r\n"),je=!!this.extractGuidsFromLastDataId();let nt=this.createSingularClassDef(ee,Q);je&&(nt=this.createDynamicClassDef(ee,Q)),this.copyToClipboard(nt)}getAllFieldsFromChildren(){const ee=this.pageObjectParent.querySelectorAll(":scope [data-id]");return Array.from(ee).map(Q=>this.createFieldDefinitions(Q)).reduce((Q,se)=>(Q.find(nt=>nt.cSharpDefinition==se.cSharpDefinition)||Q.push(se),Q),[])}extractGuidsFromLastDataId(){return this.highlightedElement&&this.highlightedElement.getAttribute("data-page-object-name")?null:this.extractIdInfoFromDataIdIfPresent(this.lastSelectedDataId)}extractIdInfoFromDataIdIfPresent(ee){var Q;const nt=null===(Q=ee.match(/[A-Za-z0-9-]-(?\d+)/))||void 0===Q?void 0:Q.groups.id,He=ee.match(/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/)||[];return 0===He.length&&nt?{idFound:nt,dataType:"int",cSharpValue:nt}:He&&0!=He.length?{idFound:He[0],dataType:"Guid",cSharpValue:`Guid.Parse("${He[0]}")`}:null}createSingularClassDef(ee,Q){return`\n public class ${ee} : SafeWebComponent\n {\n public ${ee}(IWebDriver driver) : base(driver)\n {\n }\n\n ${Q}\n\n public override TrackableLocatorChain GetOuterContainerElement()\n {\n return PageObject("${ee}");\n }\n\n }\n `}createDynamicClassDef(ee,Q){const se=this.extractGuidsFromLastDataId();return this.lastSelectedDataId.replace(se.idFound,""),`\n public class ${ee} : SafeWebComponent\n {\n public ${se.dataType} Id { get; set; }\n public ${ee}(IWebDriver driver, ${se.dataType} id) : base(driver)\n {\n Id = id;\n }\n\n ${Q}\n\n public override TrackableLocatorChain GetOuterContainerElement()\n {\n return Element(ByPageObject("${ee}{Id}"));\n }\n\n }\n `}copyFieldDefinition(ee){const Q=this.createFieldDefinitions(ee);this.copyToClipboard(Q.cSharpDefinition)}createFieldDefinitions(ee){const Q=ee.getAttribute("data-id"),se=this.extractIdInfoFromDataIdIfPresent(Q),je=!!se,{elementType:nt,converterMethod:He}=this.getElementTypeAndMethod(ee,Q);if(je){const Ze=this.dashToPascal(se.idFound),ot=Q.replace(se.idFound,"");console.log(`Dynamic id found: ${se.idFound} replacing ${Ze} with blank`);const Ke=this.dashToPascal(ot);console.log(`Element name without guids: ${Ke}`);const xt=`public ${nt} ${Ke}(${se.dataType} id) => GetOuterContainerElement().FindElement(ByDataId($"${ot}{id}"))${He};`;return console.log(`Final def: ${xt}`),{cSharpDefinition:xt,elementName:Ke,hasId:!0,element:ee}}const de=this.dashToPascal(Q);return{cSharpDefinition:`public ${nt} ${de} => GetOuterContainerElement().FindElement(ByDataId("${Q}"))${He};`,elementName:de,hasId:!1,element:ee}}getElementTypeAndMethod(ee,Q){let se="SafeElement",je="";return("INPUT"===ee.tagName&&"text"===ee.getAttribute("type")||Q.toLowerCase().startsWith("txt"))&&(se="SafeTextBox",je=".AsTextBox()"),("INPUT"===ee.tagName&&"checkbox"===ee.getAttribute("type")||Q.toLowerCase().startsWith("chk"))&&(se="SafeCheckBox",je=".AsCheckBox()"),{elementType:se,converterMethod:je}}dashToPascal(ee){return ee.split("-").map(Q=>""===Q?"":Q[0].toUpperCase()+Q.slice(1)).join("").replace(/[^A-Za-z0-9]/g,"")}getCodeClassName(ee){const Q=this.highlightedElement.closest("[data-page-object-name]"),se=null==Q?void 0:Q.getAttribute("data-page-object-name");if(se)return se;const je=this.dashToPascal(ee),nt=this.extractIdInfoFromDataIdIfPresent(ee);return nt?je.replace(this.dashToPascal(nt.idFound),""):je}positionMenu(ee){this.menu.style.top=ee.pageY.toString()+"px",this.menu.style.left=ee.pageX.toString()+"px"}}var g=p(5e3),b=p(2251),k=p(4521),A=p(8093),I=p(5341),H=p(7206),z=p(3044),O=p(1649),Z=p(7751),q=p(9041);const te="DefaultLoginType";var V=(()=>{return(ue=V||(V={})).dateOfBirth="DateOfBirth",ue.username="Username",V;var ue})();let ne=(()=>{class ue{constructor(Q,se,je,nt,He,de,Ce,Ze,ot,Ke,xt,Be,Tt){this.platformService=Q,this.router=se,this.sauronService=je,this.animationService=nt,this.featureToggleService=He,this.timeoutService=de,this.alertBannerService=Ce,this.printingService=Ze,this.authStateService=ot,this.userPermissionsCommands=Ke,this.childrenService=xt,this.storageService=Be,this.tourService=Tt,this.urlOverrideKey="urlOverride",this.urlOverride$=new u.x;const Zt=this.storageService.getItem("urlOverride");this.urlOverride$.next(Zt&&Zt.indexOf("uat")>-1)}clearForNewLogin(){this.childrenService.clearChildrenOnLoginOrLogout(),this.storageService.clearAll()}setAuthStateAndRouteToChildren(Q,se,je,nt,He){var de=this;return(0,e.Z)(function*(){yield de.applyAuthState(Q,se,je,nt,He),yield de.routeToChildren()})()}setAuthStateAndRouteToLoginUpgrade(Q,se,je,nt,He){var de=this;return(0,e.Z)(function*(){yield de.applyAuthState(Q,se,je,nt,He),yield de.router.navigateByUrl("login-upgrade")})()}routeToChildren(){var Q=this;return(0,e.Z)(function*(){yield Q.router.navigateByUrl("children"),Q.runTour()})()}applyAuthState(Q,se,je,nt,He){var de=this;return(0,e.Z)(function*(){de.childrenService.invalidateChildrenResultCache(),de.storageService.storeObjectGlobal("businessLegacyId",He),de.authStateService.setToken(Q,se,je,He);const Ce=yield de.userPermissionsCommands.canCurrentUserAccessSettings();de.authStateService.setCanAccessSettings(Ce.hasAccess),de.authStateService.setIsStandalone(nt),yield de.featureToggleService.loadFromServer()})()}runTour(){this.storageService.getObjectGlobal("hasTourRun")||(this.tourService.startTour(),this.storageService.storeObjectGlobal("hasTourRun",1))}checkRouteSnapshot(Q){Q.snapshot.queryParams.disableAnimations&&(console.log("Animations disabled"),this.animationService.animationsDisabled=!0),Q.snapshot.queryParams.disableNetworkFeatureToggles&&(console.log("Network feature toggles disabled"),this.featureToggleService.networkDisabled());const se=Q.snapshot.queryParams.overrideFeatureTogglesApi;if(se){if(console.log("Overriding feature toggle url"),se.indexOf("localhost")<0&&window.location.origin.toLowerCase().indexOf("parenta.com")>=0)throw new Error("Only possible to override on non parenta.com hosts for security");this.featureToggleService.setApiUrl(se)}if(Q.snapshot.queryParams.disableTimeouts&&(console.log("Timeouts disabled"),this.timeoutService.timeoutsDisabled=!0),Q.snapshot.queryParams.disableBanners&&(console.log("Alert banners disabled"),this.alertBannerService.bannersDisabled=!0),Q.snapshot.queryParams.printingFunctionsDisabled&&(console.log("Printing functions disabled"),this.printingService.printingFunctionsDisabled=!0),Q.snapshot.queryParams.debugMenu&&(console.log("Debug menu enabled"),(new c).init(),localStorage.setItem("debug-menu-enabled","1")),Q.snapshot.queryParams.mockDate){const je=new Date(Q.snapshot.queryParams.mockDate);(0,o.install)({now:je,shouldAdvanceTime:!0,toFake:["Date"]}),console.log("Mock date set to",je)}}platformServerSwitches(Q){var se=this;return(0,e.Z)(function*(){if(se.platformService.isRunningInCordova()){const je=(Q||"").toLowerCase();"switch to uat"===je&&(se.sauronService.setApiUrl("$substituteUatApiUrlHere$"),se.storageService.storeObjectGlobal(se.urlOverrideKey,"$substituteUatApiUrlHere$"),se.featureToggleService.setApiUrl("$substituteUatFeatureToggleApiUrlHere$"),se.urlOverride$.next(!0)),"switch to live"===je&&(se.sauronService.setApiUrl("https://uat-aws-sauron.parenta.com/api/"),se.featureToggleService.setApiUrl("https://k51xbg4a1f.execute-api.eu-west-1.amazonaws.com/UAT"),se.storageService.deleteObjectGlobal(se.urlOverrideKey),se.urlOverride$.next(!1))}})()}checkUatOverride(Q){return this.urlOverride$.pipe((0,d.R)(Q))}goToLogin(){this.getDefaultLoginType()!=V.username?this.router.navigate(["login"]):this.router.navigate(["email-login"])}getDefaultLoginType(){return this.storageService.getObject(te)||V.dateOfBirth}setDefaultLoginToDateOfBirth(){this.storageService.storeObject(te,V.dateOfBirth)}setDefaultLoginToUsername(){this.storageService.storeObject(te,V.username)}}return ue.\u0275fac=function(Q){return new(Q||ue)(g.LFG(b.mix),g.LFG(k.F0),g.LFG(A.HpB),g.LFG(I.Y),g.LFG(H.B),g.LFG(b.XL3),g.LFG(b.Jwe),g.LFG(z.P),g.LFG(O.V),g.LFG(A.JP8),g.LFG(b.HiY),g.LFG(Z.V),g.LFG(q.Q))},ue.\u0275prov=g.Yz7({token:ue,factory:ue.\u0275fac}),ue})()},8879:(X,N,p)=>{"use strict";p.d(N,{J:()=>e,_:()=>o});class e{constructor(d,c,g,b,k,A,I,H,z,O,Z,q){this.title=d,this.isEmerging=c,this.emergingCount=g,this.isDeveloping=b,this.developingCount=k,this.isSecure=A,this.secureCount=I,this.isEmergingDisable=H,this.isDevelopingDisable=z,this.isSecureDisable=O,this.isApplicable=Z,this.clickable=q}setEdsValues(d,c=!1){this.isEmerging=d.isEmerging,this.isDeveloping=d.isDeveloping,this.isSecure=d.isSecure,c&&(this.emergingCount=d.emergingCount,this.developingCount=d.developingCount,this.secureCount=d.secureCount)}name(){return this.isEmerging?"Emerging":this.isDeveloping?"Developing":this.isSecure?"Secure":"None"}setState(d){d===o.Emerging&&(this.isEmerging=!this.isEmerging,this.isSecure=!1,this.isDeveloping=!1),d===o.Developing&&(this.isDeveloping=!this.isDeveloping,this.isSecure=!1,this.isEmerging=!1),d===o.Secure&&(this.isSecure=!this.isSecure,this.isEmerging=!1,this.isDeveloping=!1)}setStateWithCount(d){this.resetScoreCount(),this.setState(d),d===o.Emerging&&(this.emergingCount=1),d===o.Developing&&(this.developingCount=1),d===o.Secure&&(this.secureCount=1)}resetScoreCount(){this.emergingCount=0,this.developingCount=0,this.secureCount=0}}var o=(()=>{return(u=o||(o={}))[u.Emerging=1]="Emerging",u[u.Developing=2]="Developing",u[u.Secure=3]="Secure",o;var u})()},5956:(X,N,p)=>{"use strict";p.d(N,{Ol:()=>d,cJ:()=>u});class u{constructor(g,b,k,A,I=!0,H){this.circleIcon=g,this.tabUrl=b,this.tabText=k,this.visible=A,this.isTabClickable=I,this.tabIndex=H}}var d=(()=>{return(c=d||(d={}))[c.search=1]="search",c[c.childFilter=2]="childFilter",c[c.list=3]="list",c[c.grid=4]="grid",c[c.print=5]="print",c[c.info=6]="info",c[c.observationFilter=7]="observationFilter",c[c.assessmentFilter=8]="assessmentFilter",c[c.reportFilter=9]="reportFilter",c[c.download=10]="download",c[c.email=11]="email",c[c.save=12]="save",c[c.learningOverviewInfo=13]="learningOverviewInfo",d;var c})()},1832:(X,N,p)=>{"use strict";p.d(N,{L:()=>e});class e{constructor(u,d){this.id=u,this.name=d}static values(){return Object.keys(e).map(u=>{const d=e[u];return Object.prototype.hasOwnProperty.call(d,"id")&&Object.prototype.hasOwnProperty.call(d,"name")?d:null}).filter(u=>null!==u).sort((u,d)=>u.id-d.id)}static fromId(u){return this.values().find(d=>d.id===u)||null}static fromName(u){return this.values().find(d=>d.name===u)||null}}e.EndToEndTests=new e(999,"EndToEndTestFeature"),e.GeneralSettingsToggle=new e(4,"GeneralSettingsToggle"),e.CohortTracking=new e(5,"CohortTracking"),e.PlanningSettingsToggle=new e(7,"PlanningSettingsToggle"),e.Eyfs2021=new e(23,"Eyfs2021"),e.Eyfs2021UpgradeButton=new e(24,"Eyfs2021UpgradeButton"),e.ParentaPay=new e(25,"ParentaPay")},3691:(X,N,p)=>{"use strict";p.d(N,{A:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{transform(g){const b=new Map;return b.set(e.T9H.draft,"Draft Assessments"),b.set(e.T9H.awaitingApproval,"Awaiting Approval"),b.set(e.T9H.rejected,"Rejected Assessments"),b.get(g)||(g?g.toString():"null")}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"assessmentStatusName",type:d,pure:!0}),d})()},6919:(X,N,p)=>{"use strict";p.d(N,{d:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{transform(g){const b=new Map;return b.set(e.IQK.twoYearCheck,"calendar-check"),b.set(e.IQK.eyfsProfile,"user-o"),b.set(e.IQK.sendSupportPlan,"file-text-o"),b.set(e.IQK.twoYearCheck2021,"calendar-check"),b.set(e.IQK.progressCheck2021,"user-o"),b.set(e.IQK.eyfsProfile2021,"user-o"),b.get(g)||g.toString()}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"assessmentTypeIcon",type:d,pure:!0}),d})()},9487:(X,N,p)=>{"use strict";p.d(N,{z:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{transform(g){const b=new Map;return b.set(e.IQK.twoYearCheck,"2 Year Check (Old guidance)"),b.set(e.IQK.eyfsProfile,"EYFS Profile (Old guidance)"),b.set(e.IQK.sendSupportPlan,"Send Support Plan"),b.set(e.IQK.twoYearCheck2021,"2 Year Check"),b.set(e.IQK.progressCheck2021,"Progress Check"),b.set(e.IQK.eyfsProfile2021,"EYFS Profile"),b.get(g)||g.toString()}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"assessmentTypeName",type:d,pure:!0}),d})()},1790:(X,N,p)=>{"use strict";p.d(N,{c:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{transform(g){const b=new Map;return b.set(e.IQK.eyfsProfile,"eyfs-profile"),b.set(e.IQK.progressCheck2021,"eyfs-profile"),b.set(e.IQK.twoYearCheck,"two-year-check"),b.set(e.IQK.twoYearCheck2021,"two-year-check"),b.set(e.IQK.sendSupportPlan,"send-support-plan"),b.set(e.IQK.eyfsProfile2021,"eyfs-profile-2021"),b.get(g)||g.toString()}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"assessmentTypeRouting",type:d,pure:!0}),d})()},9523:(X,N,p)=>{"use strict";p.d(N,{y:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{transform(g){return g===e.y34.creatingAndThinkingCritically?"lightbulb-o":g===e.y34.activeLearning?"heart-rate":g===e.y34.playingAndExploring?"compass":null}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"matterDescription",type:d,pure:!0}),d})()},9847:(X,N,p)=>{"use strict";p.d(N,{B:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{constructor(){this.matters=[{matterKey:e.sn0.showingCuriosityAboutObjectsEventsAndPeople,matterDescription:"Showing curiosity about objects, events and people"},{matterKey:e.sn0.showingParticularInterests,matterDescription:"Showing particular interests"},{matterKey:e.sn0.engagingInOpenEndedActivities,matterDescription:"Engaging in open-ended activities"},{matterKey:e.sn0.usingSensesToExploreTheWorldAroundThem,matterDescription:"Using senses to explore the world around them"},{matterKey:e.sn0.pretendingObjectsAreThingsFromTheirExperience,matterDescription:"Pretending objects are things from their experience"},{matterKey:e.sn0.representingTheirExperiencesInPlay,matterDescription:"Representing their experiences in play"},{matterKey:e.sn0.takingOnARoleInTheirPlay,matterDescription:"Taking on a role in their play"},{matterKey:e.sn0.actingOutExperiencesWithOtherPeople,matterDescription:"Acting out experiences with other people"},{matterKey:e.sn0.initiatingActivities,matterDescription:"Initiating activities"},{matterKey:e.sn0.seekingChallenges,matterDescription:"Seeking challenges"},{matterKey:e.sn0.showingACanDoAttitude,matterDescription:"Showing a 'can do' attitude"},{matterKey:e.sn0.takingARiskEngaginginNewExperiencesAndLearningByTrialAndError,matterDescription:"Taking a risk, engaging in new experiences, and learning by trial and error"},{matterKey:e.sn0.maintainingFocusOnTheirActivityForAPeriodOfTime,matterDescription:"Maintaining focus on their activity for a period of time"},{matterKey:e.sn0.showingHighLevelsOfEnergyFascination,matterDescription:"Showing high levels of energy, fascination"},{matterKey:e.sn0.notEasilyDistracted,matterDescription:"Not easily distracted"},{matterKey:e.sn0.payingAttentionToDetails,matterDescription:"Paying attention to details"},{matterKey:e.sn0.persistingWithActivityWhenChallengesOccur,matterDescription:"Persisting with activity when challenges occur"},{matterKey:e.sn0.showingABeliefThatMoreEffortOrADifferentApproachWillPayOff,matterDescription:"Showing a belief that more effort or a different approach will pay off"},{matterKey:e.sn0.bouncingBackAfterDifficulties,matterDescription:"Bouncing back after difficulties"},{matterKey:e.sn0.showingSatisfactionInMeetingTheirOwnGoals,matterDescription:"Showing satisfaction in meeting their own goals"},{matterKey:e.sn0.beingProudOfHowTheyAccomplishedSomethingNotJustTheEndResult,matterDescription:"Being proud of how they accomplished something \u2013 not just the end result"},{matterKey:e.sn0.enjoyingMeetingChallengesForTheirOwnSakeRatherThanExternalRewardsOrPraise,matterDescription:"Enjoying meeting challenges for their own sake rather than external rewards or praise"},{matterKey:e.sn0.thinkingOfIdeas,matterDescription:"Thinking of ideas"},{matterKey:e.sn0.findingNewWaysToSolveProblems,matterDescription:"Finding new ways to solve problems"},{matterKey:e.sn0.findingNewWaysToDoThings,matterDescription:"Finding new ways to do things"},{matterKey:e.sn0.makingLinksAndNoticingPatternsInTheirExperience,matterDescription:"Making links and noticing patterns in their experience"},{matterKey:e.sn0.makingPredictions,matterDescription:"Making predictions"},{matterKey:e.sn0.testingTheirIdeas,matterDescription:"Testing their ideas"},{matterKey:e.sn0.developingIdeaOfGroupingSequencesCauseAndEffect,matterDescription:"Developing idea of grouping, sequences, cause and effect"},{matterKey:e.sn0.planningMakingDecisionsAboutHowToApproachATaskSolveAProblemAndReachAGoal,matterDescription:"Planning, making decisions about how to approach a task, solve a problem and reach a goal"},{matterKey:e.sn0.checkingHowWellTheirActivitiesAreGoing,matterDescription:"Checking how well their activities are going"},{matterKey:e.sn0.changingStrategyAsNeeded,matterDescription:"Changing strategy as needed"},{matterKey:e.sn0.reviewingHowWellTheApproachWorked,matterDescription:"Reviewing how well the approach worked"},{matterKey:e.sn0.turnsTowardAFamiliarSound,matterDescription:"Turns toward a familiar sound"},{matterKey:e.sn0.respondsToIntonationsAndSounds,matterDescription:"Responds to intonations and sounds"},{matterKey:e.sn0.interactionWithOthersBySmilingLookingAndMoving,matterDescription:"Interaction with others by smiling looking and moving"},{matterKey:e.sn0.quietensOrAlertsToTheSoundOfSpeech,matterDescription:"Quietens or alerts to the sound of speech"},{matterKey:e.sn0.looksAtSpeakerButStopsRespondingIfSpeakerTurnsAway,matterDescription:"Looks at speaker but stops responding if speaker turns away"},{matterKey:e.sn0.listensToFamiliarSoundsWordsOrFingerPlays,matterDescription:"Listens to familiar sounds words or finger plays"},{matterKey:e.sn0.fleetingAttentionWhereNewStimuliTakesWholeAttention,matterDescription:"Fleeting attention where new stimuli takes whole attention"},{matterKey:e.sn0.communicationMovesWholeBodyToSoundsTheyEnjoy,matterDescription:"Moves whole body to sounds they enjoy"},{matterKey:e.sn0.expressiveMovesWholeBodyToSoundsTheyEnjoy08To20,matterDescription:"Moves whole body to sounds they enjoy"},{matterKey:e.sn0.hasAStrongExploratoryImpulse,matterDescription:"Has a strong exploratory impulse"},{matterKey:e.sn0.concentratesIntentlyOnAnObjectOrActivityOfOwnChoosing,matterDescription:"Concentrates intently on an object or activity of own choosing"},{matterKey:e.sn0.paysAttentionToDominantStimulus,matterDescription:"Pays attention to dominant stimulus"},{matterKey:e.sn0.listensToAndEnjoysRhythmicPatternsInRhymes,matterDescription:"Listens to and enjoys rhythmic patterns in rhymes"},{matterKey:e.sn0.enjoysRhymesAndDemonstratesListeningByTryingToJoinIn,matterDescription:"Enjoys rhymes and demonstrates listening by trying to join in"},{matterKey:e.sn0.rigidAttention,matterDescription:"Rigid attention"},{matterKey:e.sn0.listensWithInterestToTheNoisesAdultsMakeWhenTheyReadStories,matterDescription:"Listens with interest to the noises adults make when they read stories"},{matterKey:e.sn0.recognisesAndRespondsToManyFamiliarSounds,matterDescription:"Recognises and responds to many familiar sounds"},{matterKey:e.sn0.singleChannelledAttention,matterDescription:"Single channelled attentions"},{matterKey:e.sn0.listensToOthersOneToOneOrInSmallGroups,matterDescription:"Listens to others one to one or in small groups"},{matterKey:e.sn0.readingListensToStoriesWithIncreasingAttentionAndRecall,matterDescription:"Listens to stories with increasing attention and recall"},{matterKey:e.sn0.communicationListensToStoriesWithIncreasingAttentionAndRecall,matterDescription:"Listens to stories with increasing attention and recall"},{matterKey:e.sn0.joinsInWithRepeatedRefrainsAndAnticipatesKeyEventsInRhymesAndStories,matterDescription:"Joins in with repeated refrains and anticipates key events in rhymes and stories"},{matterKey:e.sn0.focusingAttention,matterDescription:"Focusing attention"},{matterKey:e.sn0.isAbleToFollowDirections,matterDescription:"Is able to follow directions"},{matterKey:e.sn0.maintainsAttentionConcentratesAndSitsQuietlyDuringAppropriateActivity,matterDescription:"Maintains attention concentrates and sits quietly during appropriate activity"},{matterKey:e.sn0.twoChannelledAttentionCanListenAndDoForShortSpan,matterDescription:"Two channelled attention can listen and do for short span"},{matterKey:e.sn0.stopsAndLooksWhenHearsOwnName,matterDescription:"Stops and looks when hears own name"},{matterKey:e.sn0.startsToUnderstandContextualClues,matterDescription:"Starts to understand contextual clues"},{matterKey:e.sn0.developingAnAbilityToFollowOthersBodyLanguage,matterDescription:"Developing an ability to follow others body language"},{matterKey:e.sn0.respondsToTheDifferentThingsSaidWithinContextToASpecialPerson,matterDescription:"Responds to the different things said within context to a special person"},{matterKey:e.sn0.understandingOfSingleWordsInContextIsDeveloping,matterDescription:"Understanding of single words in context is developing"},{matterKey:e.sn0.selectsFamiliarObjectsByName,matterDescription:"Selects familiar objects by name"},{matterKey:e.sn0.understandsSimpleSentences,matterDescription:"Understands simple sentences"},{matterKey:e.sn0.identifiesActionWordsByPointingToTheRightPicture,matterDescription:"Identifies action words by pointing to the right picture"},{matterKey:e.sn0.understandsMoreComplexSentences,matterDescription:"Understands more complex sentences"},{matterKey:e.sn0.understandsWhoWhatWhereInSimpleQuestions,matterDescription:"Understands who what where in simple questions"},{matterKey:e.sn0.developingUnderstandingOfSimpleConcepts,matterDescription:"Developing understanding of simple concepts"},{matterKey:e.sn0.understandsUseOfObjects,matterDescription:"Understands use of objects"},{matterKey:e.sn0.showsUnderstandingOfPrepositions,matterDescription:"Shows understanding of prepositions"},{matterKey:e.sn0.respondsToSimpleInstructions,matterDescription:"Responds to simple instructions"},{matterKey:e.sn0.beginningToUnderstandWhyAndHowQuestions,matterDescription:"Beginning to understand why and how questions"},{matterKey:e.sn0.respondsToInstructionsInvolvingATwoPartSequence,matterDescription:"Responds to instructions involving a two part sequence"},{matterKey:e.sn0.ableToFollowAStoryWithoutPicturesOrProps,matterDescription:"Able to follow a story without pictures or props"},{matterKey:e.sn0.listensAndRespondsToIdeasExpressedByOthers,matterDescription:"Listens and responds to ideas expressed by others"},{matterKey:e.sn0.communicatesNeedsByCryingBabblingAndSquealing,matterDescription:"Communicates needs by crying babbling and squealing"},{matterKey:e.sn0.makesOwnSoundsInResponseToFamiliarAdults,matterDescription:"Makes own sounds in response to familiar adults"},{matterKey:e.sn0.liftsArmsInAnticipationOfBeingPickedUp,matterDescription:"Lifts arms in anticipation of being picked up"},{matterKey:e.sn0.practisesAndGraduallyDevelopsBabbling,matterDescription:"Practises and gradually develops babbling"},{matterKey:e.sn0.usesSoundsInPlay,matterDescription:"Uses sounds in play"},{matterKey:e.sn0.usesSingleWords,matterDescription:"Uses single words"},{matterKey:e.sn0.frequentlyImitatesWordsAndSounds,matterDescription:"Frequently imitates words and sounds"},{matterKey:e.sn0.enjoysBabblingAndIncreasinglyExperimentsWithSoundsAndWordsToCommunicate,matterDescription:"Enjoys babbling and increasingly experiments with sounds and words to communicate"},{matterKey:e.sn0.communicationUsesPointingWithEyeGazeToMakeRequestsAndToShareInterest,matterDescription:"Uses pointing with eye gaze to make requests and to share interest"},{matterKey:e.sn0.createsPersonalWordsAsTheyBeginToDevelopLanguage,matterDescription:"Creates personal words as they begin to developer language"},{matterKey:e.sn0.copiesFamiliarExpressions,matterDescription:"Copies familiar expressions"},{matterKey:e.sn0.beginningToPutTwoWordsTogether,matterDescription:"Beginning to put two words together"},{matterKey:e.sn0.usesDifferentTypesOfEverydayWords,matterDescription:"Uses different types of everyday words"},{matterKey:e.sn0.beginningToAskSimpleQuestions,matterDescription:"Beginning to ask simple questions"},{matterKey:e.sn0.beginningToTalkAboutPeopleAndThingsThatAreNotPresent,matterDescription:"Beginning to talk about people and things that are not present"},{matterKey:e.sn0.usesLanguageAsAPowerfulMeansOfWideningContacts,matterDescription:"Uses language as a powerful means of widening contacts"},{matterKey:e.sn0.holdsAConversationJumpingFromTopicToTopic,matterDescription:"Holds a conversation jumping from topic to topic"},{matterKey:e.sn0.learnsNewWordsVeryRapidlyAndIsAbleToUseThemInCommunicating,matterDescription:"Learns new words very rapidly and is able to use them in communicating"},{matterKey:e.sn0.usesGesturesSometimesWithLimitedTalk,matterDescription:"Uses gestures sometimes with limited talk"},{matterKey:e.sn0.usesAVarietyOfQuestions,matterDescription:"Uses a variety of questions"},{matterKey:e.sn0.usesSimpleSentences,matterDescription:"Uses simple sentences"},{matterKey:e.sn0.beginningToUseWordEndings,matterDescription:"Beginning to use word endings"},{matterKey:e.sn0.beginningToUseMoreComplexSentencesToLinkThoughts,matterDescription:"Beginning to use more complex sentences to link thoughts"},{matterKey:e.sn0.canRetellASimplePastEventInCorrectOrder,matterDescription:"Can retell a simple past event in correct order"},{matterKey:e.sn0.usesTalkToConnectIdeas,matterDescription:"Uses talk to connect ideas"},{matterKey:e.sn0.questionsWhyThingsHappenAndGivesExplanations,matterDescription:"Questions why things happen and gives explanations"},{matterKey:e.sn0.usesARangeOfTenses,matterDescription:"Uses a range of tenses"},{matterKey:e.sn0.usesIntonationRhythmAndPhrasingToMakeTheMeaningClearToOthers,matterDescription:"Uses intonation rhythm and phrasing to make the meaning clear to others"},{matterKey:e.sn0.usesVocabularyFocusedOnObjectsAndPeopleThatAreOfParticularImportanceToThem,matterDescription:"Uses vocabulary focused on objects and people that are of particular importance to them"},{matterKey:e.sn0.buildsUpVocabularyThatReflectsTheirExperiences,matterDescription:"Builds up vocabulary that reflects their experiences"},{matterKey:e.sn0.usesTalkInPretendingThatObjectsStandForSomethingElse,matterDescription:"Uses talk in pretending that objects stand for something else"},{matterKey:e.sn0.extendsVocabularyEspeciallyByGroupingAndNaming,matterDescription:"Extends vocabulary especially by grouping and naming"},{matterKey:e.sn0.usesLanguageToImagineAndRecreateRolesAndExperiences,matterDescription:"Uses language to imagine and recreate roles and experiences"},{matterKey:e.sn0.linksStatementsAndSticksToAMainThemeOrIntention,matterDescription:"Links statements and sticks to a main theme or intention"},{matterKey:e.sn0.usesTalkToOrganiseSequenceAndClarifyThinkingIdeasFeelingsAndEvents,matterDescription:"Uses talk to organise sequence and clarify thinking ideas feelings and events"},{matterKey:e.sn0.communicationIntroducesAStorylineOrNarrativeIntoTheirPlay,matterDescription:"Introduces a storyline or narrative into their play"},{matterKey:e.sn0.turnsHeadInResponseToSoundsAndSights,matterDescription:"Turns head in response to sounds and sights"},{matterKey:e.sn0.graduallyHoldsUpOwnHead,matterDescription:"Gradually holds up own head"},{matterKey:e.sn0.makesMovementsWithArmsAndLegsBecomingMoreControlled,matterDescription:"Makes movements with arms and legs becoming more controlled"},{matterKey:e.sn0.rollsOverFromFrontToBackFromBackToFront,matterDescription:"Rolls over from front to back and back to front"},{matterKey:e.sn0.whenLyingOnTummyBecomesAbleToLiftHeadAndThenChest,matterDescription:"When lying on tummy becomes able to lift head and then chest"},{matterKey:e.sn0.watchesAndExploresHandsAndFeet,matterDescription:"Watches and explores hands and feet"},{matterKey:e.sn0.reachesOutForTouchesAndHoldsObjects,matterDescription:"Reaches out for touches and holds objects"},{matterKey:e.sn0.exploresObjectsWithMouth,matterDescription:"Explores object with mouth"},{matterKey:e.sn0.sitsUnsupportedOnTheFloor,matterDescription:"Sits unsupported on the floor"},{matterKey:e.sn0.whenSittingCanLeanForwardToPickUpSmallToys,matterDescription:"When sitting can lean forward to pick up small toys"},{matterKey:e.sn0.pullsToStandingHoldingOnToFurnitureOrPersonForSupport,matterDescription:"Pulls to standing holding on to furniture or person for support"},{matterKey:e.sn0.crawlsBottomShufflesOrRollsContinuously,matterDescription:"Crawls bottom shuffles or rolls continuously"},{matterKey:e.sn0.walksAroundFurnitureSteppingSidewaysAndWalksWithHandHeld,matterDescription:"Walks around furniture stepping sideways and walks with hand held"},{matterKey:e.sn0.takesFirstFewStepsIndependently,matterDescription:"Takes first few steps independently"},{matterKey:e.sn0.passesToysFromOneHandToTheOther,matterDescription:"Passes toys from one hand to the other"},{matterKey:e.sn0.holdsAnObjectInEachHandAndBringsThemTogetherInTheMiddle,matterDescription:"Holds an object in each hand and brings them together in the middle"},{matterKey:e.sn0.picksUpSmallObjectsBetweenThumbAndFingers,matterDescription:"Picks up small Objects between thumb and fingers"},{matterKey:e.sn0.enjoysTheSensoryExperienceOfMakingMarksInDampSandPasteOrPaint,matterDescription:"Enjoys the sensory experience of making marks in damp sand paste or paint"},{matterKey:e.sn0.holdsPenOrCrayonUsingAWholeHandGraspAndMakesRandomMarks,matterDescription:"Holds pen or crayon using a whole hand grasp and makes random marks"},{matterKey:e.sn0.walksUpstairsHoldingHandOfAdult,matterDescription:"Walks upstairs holding hand of adult"},{matterKey:e.sn0.comesDownstairsBackwardsOnKnees,matterDescription:"Comes downstairs backwards on knees"},{matterKey:e.sn0.beginningToBalanceBlocksToBuildSmallTower,matterDescription:"Beginning to balance blocks to build small tower"},{matterKey:e.sn0.makesConnectionsBetweenTheirMovementAndMarks,matterDescription:"Makes connections between their movement and marks"},{matterKey:e.sn0.runsSafelyOnWholeFoot,matterDescription:"Runs safely on whole foot"},{matterKey:e.sn0.squatsWithSteadinessToRestOrPlayWithObjectOnGround,matterDescription:"Squats with steadiness to rest or play with object on ground"},{matterKey:e.sn0.climbsConfidentlyAndIsBeginningToPullThemselvesUp,matterDescription:"Climbs confidently and is beginning to pull themselves up"},{matterKey:e.sn0.canKickALargeBall,matterDescription:"Can kick a large ball"},{matterKey:e.sn0.turnsPagesInABookSometimesSeveralAtOnce,matterDescription:"Turns pages in a book sometimes several at once"},{matterKey:e.sn0.showsControlInHoldingAndUsingJugsToPour,matterDescription:"Shows control in holding and using jugs to pour"},{matterKey:e.sn0.beginningToUseThreeFingersToHoldWritingTools,matterDescription:"Beginning to use three fingers to hold writing tools"},{matterKey:e.sn0.imitatesDrawingSimpleShapesSuchAsCirclesAndLines,matterDescription:"Imitates drawing simple shapes such as circles and lines"},{matterKey:e.sn0.walksUpstairsOrDownstairsHoldingOntoARailTwoFeetToAStep,matterDescription:"Walks upstairs or downstairs holding onto a rail two feet to a step"},{matterKey:e.sn0.mayBeBeginningToShowPreferenceForDominantHand,matterDescription:"May be beginning to show preference for dominant hand"},{matterKey:e.sn0.movesFreelyAndWithPleasureAndConfidenceInARangeOfWays,matterDescription:"Moves freely and with pleasure and confidence in a range of ways"},{matterKey:e.sn0.mountsStairsStepsOrClimbingEquipmentUsingAlternateFeet,matterDescription:"Mounts stairs steps or climbing equipment using alternate feet"},{matterKey:e.sn0.walksDownstairsTwoFeetToEachStepWhileCarryingASmallObject,matterDescription:"Walks downstairs two feet to each step while carrying a small object"},{matterKey:e.sn0.runsSkilfullyAndNegotiatesSpaceSuccessfully,matterDescription:"Runs skillfully and negotiates space successfully"},{matterKey:e.sn0.canStandMomentarilyOnOneFoot,matterDescription:"Can stand momentarily on one foot"},{matterKey:e.sn0.canCatchALargeBall,matterDescription:"Can catch a large ball"},{matterKey:e.sn0.drawsLinesAndCirclesUsingGrossMotorMovements,matterDescription:"Draws lines and circles using gross motor movements"},{matterKey:e.sn0.usesOneHandedToolsAndEquipment,matterDescription:"Uses one handed tools and equipment"},{matterKey:e.sn0.holdsPencilBetweenThumbAndTwoFingers,matterDescription:"Holds pencil between thumb and two fingers"},{matterKey:e.sn0.holdsPencilNearPoint,matterDescription:"Holds pencil near point"},{matterKey:e.sn0.canCopySomeLetters,matterDescription:"Can copy some letters"},{matterKey:e.sn0.experimentsWithDifferentWaysOfMoving,matterDescription:"Experiments with different ways of moving"},{matterKey:e.sn0.jumpsOffAnObjectAndLandsAppropriately,matterDescription:"Jumps off an objects and lands appropriately"},{matterKey:e.sn0.negotiatesSpaceSuccessfullyWhenPlayingRacingAndChasingGames,matterDescription:"Negotiates space successfully when playing racing and chasing games"},{matterKey:e.sn0.travelsWithConfidenceAndSkillAroundUnderOverAndThroughClimbingEquipment,matterDescription:"Travels with confidence and skill around under over and through climbing equipment"},{matterKey:e.sn0.showsIncreasingControlOverAnObjectInPushingPattingThrowingCatchingOrKicking,matterDescription:"Shows increasing control over an object in pushing patting throwing catching or kicking"},{matterKey:e.sn0.usesSimpleToolsToEffectChangesToMaterials,matterDescription:"Uses simple tools to effect changes to materials"},{matterKey:e.sn0.handlesToolsObjectsConstructionAndMalleableMaterialsSafely,matterDescription:"Handles tools objects construction and malleable materials safely"},{matterKey:e.sn0.showsAPreferenceForADominantHand,matterDescription:"Shows a preference for a dominant hand"},{matterKey:e.sn0.beginsToUseAnticlockwiseMovementAndRetraceVerticalLines,matterDescription:"Begins to use anticlockwise movement and retrace vertical lines"},{matterKey:e.sn0.beginsToFormRecognisableLetters,matterDescription:"Begins to form recognisable letters"},{matterKey:e.sn0.usesAPencilAndHoldsItEffectivelyToFormRecognisableLetters,matterDescription:"Uses a pencil and holds it effectively to form recognisable letters"},{matterKey:e.sn0.respondsToWarmSensitivePhysicalContactAndCare,matterDescription:"Responds to warm sensitive physical contact and care"},{matterKey:e.sn0.expressesDiscomfortHungerOrThirst,matterDescription:"Expresses discomfort hunger or thirst"},{matterKey:e.sn0.anticipatesFoodRoutinesWithInterest,matterDescription:"Anticipates food routines with interest"},{matterKey:e.sn0.opensMouthForSpoon,matterDescription:"Opens mouth for spoon"},{matterKey:e.sn0.holdsOwnBottleOrCup,matterDescription:"Holds own bottle or cup"},{matterKey:e.sn0.graspsFingerFoodsAndBringsThemToMouth,matterDescription:"Grasps finger foods and brings them to mouth"},{matterKey:e.sn0.attemptsToUseSpoon,matterDescription:"Attempts to use spoon"},{matterKey:e.sn0.canActivelyCooperateWithNappyChanging,matterDescription:"Can actively cooperate with nappy changing"},{matterKey:e.sn0.startsToCommunicateUrinationBowelMovement,matterDescription:"Starts to communicate urination bowel movement"},{matterKey:e.sn0.developsOwnLikesAndDislikesInFoodAndDrink,matterDescription:"Develops own likes and dislikes in food and drink"},{matterKey:e.sn0.willingToTryNewFoodTexturesAndTastes,matterDescription:"Willing to try new food textures and tastes"},{matterKey:e.sn0.holdsCupWithBothHandsAndDrinksWithoutMuchSpilling,matterDescription:"Holds cup with both hands and drinks without much spilling"},{matterKey:e.sn0.clearlyCommunicatesWetOrSoiledNappyOrPants,matterDescription:"Clearly communicates wet or soiled nappy or pants"},{matterKey:e.sn0.showsSomeAwarenessOfBladderAndBowelUrges,matterDescription:"Shows some awareness of bladder and bowel urges"},{matterKey:e.sn0.showsAwarenessOfWhatAPottyOrToiletIs,matterDescription:"Shows awareness of what a potty or toilet is"},{matterKey:e.sn0.showsADesireToHelpWithDressingAndHygieneRoutines,matterDescription:"Shows a desire to help with dressing and hygiene routines"},{matterKey:e.sn0.feedsSelfCompetentlyWithSpoon,matterDescription:"Feeds self competently with spoon"},{matterKey:e.sn0.drinksWellWithoutSpilling,matterDescription:"Drinks well without spilling"},{matterKey:e.sn0.clearlyCommunicatesTheirNeedForPottyOrToilet,matterDescription:"Clearly communicates their need for potty or toilet"},{matterKey:e.sn0.beginningToRecogniseDangerAndSeeksSupportOfSignificantAdultsForHelp,matterDescription:"Beginning to recognise danger and seeks support of significant adults for help"},{matterKey:e.sn0.helpsWithClothing,matterDescription:"Helps with clothing"},{matterKey:e.sn0.beginningToBeIndependentInSelfCareButStillOftenNeedsAdultSupport,matterDescription:"Beginning to be independent in self care but still often needs adult support"},{matterKey:e.sn0.canTellAdultsWhenHungryOrTiredOrWhenTheyWantToRestOrPlay,matterDescription:"Can tell adults when hungry or tired or when they want to rest or play"},{matterKey:e.sn0.observesTheEffectsOfActivityOnTheirBodies,matterDescription:"Observes the effects of activity on their bodies"},{matterKey:e.sn0.understandsThatEquipmentAndToolsHaveToBeUsedSafely,matterDescription:"Understands that equipment and tools have to be used safely"},{matterKey:e.sn0.gainsMoreBowelAndBladderControlAndCanAttendToToiletingNeeds,matterDescription:"Gains more bowel And Bladder control and can attend to toileting needs"},{matterKey:e.sn0.canUsuallyManageWashingAndDryingHands,matterDescription:"Can usually manage washing and drying hands"},{matterKey:e.sn0.dressesWithHelp,matterDescription:"Dresses with help"},{matterKey:e.sn0.eatsAHealthyRangeOfFoodstuffsAndUnderstandsNeedForVarietyInFood,matterDescription:"Eats a healthy range of foodstuffs and understands need for variety in food"},{matterKey:e.sn0.usuallyDryAndCleanDuringTheDay,matterDescription:"Usually dry and clean during the day"},{matterKey:e.sn0.showsSomeUnderstandingThatGoodPracticesWithRegardToExerciseEatingSleepingAndHygiene,matterDescription:"Shows some understanding that good practices with regard to excercide eating sleeping and hygiene"},{matterKey:e.sn0.showsUnderstandingOfTheNeedForSafetyWhenTacklingNewChallenges,matterDescription:"Shows understanding of the need for safety when tackling new challenges"},{matterKey:e.sn0.showsUnderstandingOfHowToTransportAndStoreEquipmentSafely,matterDescription:"Shows understanding of how to transport and store equipment safely"},{matterKey:e.sn0.practicesSomeAppropriateSafetyMeasuresWithoutDirectSupervision,matterDescription:"Practices some appropriate safety measures without direct supervision"},{matterKey:e.sn0.enjoysTheCompanyOfOthers,matterDescription:"Enjoys the company of others"},{matterKey:e.sn0.gazesAtFacesAndCopiesFacialMovements,matterDescription:"Gazes at faces and copies facial movements"},{matterKey:e.sn0.respondsWhenTalkedTo,matterDescription:"Responds when talked to"},{matterKey:e.sn0.recognisesAndIsMostResponsiveToMainCarersVoice,matterDescription:"Recognises and is most responsive to main carers voice"},{matterKey:e.sn0.respondsToWhatCarerIsPayingAttentionTo,matterDescription:"Responds to what carer is paying attention to"},{matterKey:e.sn0.likesCuddlesAndBeingHeld,matterDescription:"Likes cuddles and being held"},{matterKey:e.sn0.seeksToGainAttentionInAVarietyOfWays,matterDescription:"Seeks to gain attention in a variety of ways"},{matterKey:e.sn0.buildsRelationshipsWithSpecialPeople,matterDescription:"Builds relationship with special people"},{matterKey:e.sn0.isWaryOfUnfamiliarPeople,matterDescription:"Is wary of unfamiliar people"},{matterKey:e.sn0.interactsWithOthersAndExploresNewSituations,matterDescription:"Interacts with others and explores new situations"},{matterKey:e.sn0.showsInterestInTheActivitiesOfOthersAndRespondsDifferentlyToChildrenAndAdults,matterDescription:"Shows interest in the activities of others and responds differently to children and adults"},{matterKey:e.sn0.playsAlongsideOthers,matterDescription:"Plays along side others"},{matterKey:e.sn0.usesAFamiliarAdultAsABaseToExploreIndependently,matterDescription:"Uses a familiar adult as a base to explore independently"},{matterKey:e.sn0.playsCooperativelyWithAFamiliarAdult,matterDescription:"Plays cooperatively with a familiar adult"},{matterKey:e.sn0.interestedInOthersPlayAndStartingToJoinIn,matterDescription:"Interested in others play and starting to join in"},{matterKey:e.sn0.seeksOutOthersToShareExperiences,matterDescription:"Seeks out others to share experiences"},{matterKey:e.sn0.showsAffectionAndConcernForPeopleWhoAreSpecialToThem,matterDescription:"Shows affection and concern for people who are special to them"},{matterKey:e.sn0.mayFormASpecialFriendshipWithAnotherChild,matterDescription:"May form a special friendship with another child"},{matterKey:e.sn0.canPlayInAGroupExtendingAndElaboratingPlayIdeas,matterDescription:"Can play in a group extending and elaborating play ideas"},{matterKey:e.sn0.initiatesPlayOfferingCuesToPeersToJoinThem,matterDescription:"Initiates play offering cues to peers to join them"},{matterKey:e.sn0.keepsPlayGoingByRespondingToWhatOthersAreSayingOrDoing,matterDescription:"Keeps play going by responding to what others are saying or doing"},{matterKey:e.sn0.demonstratesFriendlyBehaviour,matterDescription:"Demonstrates friendly behaviour"},{matterKey:e.sn0.initiatesOwnConversations,matterDescription:"Initiates own conversations"},{matterKey:e.sn0.explainsOwnKnowledgeAndUnderstandingAndAsksAppropriateQuestions,matterDescription:"Explains own knowledge and understanding and asks appropriate questions"},{matterKey:e.sn0.takesStepsToResolveConflictsWithOtherChildren,matterDescription:"Takes steps to resolve conflicts with other children"},{matterKey:e.sn0.laughsAndGurgles,matterDescription:"Laughs and gurgles"},{matterKey:e.sn0.usesVoiceGestureEyeContactAndFacialExpression,matterDescription:"Uses voice gesture eye contact and facial expression"},{matterKey:e.sn0.enjoysFindingOwnNoseEyesOrTummyAsPartOfNamingGames,matterDescription:"Enjoys finding own nose eyes or tummy as part of naming games"},{matterKey:e.sn0.learnsThatOwnVoiceAndActionsHaveEffectsOnOthers,matterDescription:"Learns that own voice and actions have effect on others"},{matterKey:e.sn0.engagesOtherPersonToHelpAchieveAGoal,matterDescription:"Engages other person to help achieve a goal"},{matterKey:e.sn0.exploresNewToysAndEnvironments,matterDescription:"Explores new toys and environments"},{matterKey:e.sn0.graduallyAbleToEngageInPretendPlay,matterDescription:"Gradually able to engage in pretend play"},{matterKey:e.sn0.demonstratesSenseOfSelfAsAnIndividual,matterDescription:"Demonstrates sense of self as an individual"},{matterKey:e.sn0.separatesFromMainCarerWithSupportAndEncouragement,matterDescription:"Seperates from main carer with support and encouragement"},{matterKey:e.sn0.expressesOwnPreferencesAndInterests,matterDescription:"Expresses own preferences and interests"},{matterKey:e.sn0.canSelectAndUseActivitiesAndResourcesWithHelp,matterDescription:"Can select and use activites and resources with help"},{matterKey:e.sn0.welcomesAndValuesPraiseForWhatTheyHaveDone,matterDescription:"Welcomes and values praise for what they have done"},{matterKey:e.sn0.enjoysResponsibilityOfCarryingOutSmallTasks,matterDescription:"Enjoys responsibility of carrying out small tasks"},{matterKey:e.sn0.isMoreOutgoingTowardsUnfamiliarPeople,matterDescription:"Is more out going towards unfamiliar people"},{matterKey:e.sn0.confidentToTalkToOtherChildrenWhenPlaying,matterDescription:"Confident to talk to other children when playing"},{matterKey:e.sn0.showsConfidenceInAskingAdultsForHelp,matterDescription:"Shows confidence in asking adults for help"},{matterKey:e.sn0.confidentToSpeakToOthersAboutOwnNeedsWantsInterestsAndOpinions,matterDescription:"Confident to speak to others about own needs wants interests and opinions"},{matterKey:e.sn0.canDescribeSelfInPositiveTermsAndTalkAboutAbilities,matterDescription:"Can describe self in positive terms and talk about abilities"},{matterKey:e.sn0.isComfortedByTouchAndPeoplesFacesAndVoices,matterDescription:"Is comforted by touch and peoples faces and voices"},{matterKey:e.sn0.seeksPhysicalAndEmotionalComfortBySnuggling,matterDescription:"Seeks physical and emotional comfort by snuggling"},{matterKey:e.sn0.calmsFromBeingUpsetWhenHeldRockedSpokenOrSungTo,matterDescription:"Calms from being upset when held rocked spoken or sung to"},{matterKey:e.sn0.showsARangeOfEmotions,matterDescription:"Shows a range of emotions"},{matterKey:e.sn0.reactsEmotionallyToOtherPeoplesEmotions,matterDescription:"Reacts emotionally to other people semotions"},{matterKey:e.sn0.usesFamiliarAdultToShareFeelings,matterDescription:"Uses familiar adult to share feelings"},{matterKey:e.sn0.growingAbilityToSootheThemselves,matterDescription:"Growing ability to soothe themselves"},{matterKey:e.sn0.cooperatesWithCaregivingExperiences,matterDescription:"Cooperates with caregiving experiences"},{matterKey:e.sn0.beginningToUnderstandYesNoAndSomeBoundaries,matterDescription:"Beginning to understand yes no and some boundaries"},{matterKey:e.sn0.isAwareOfOtherPeoplesFeelings,matterDescription:"Is aware of other peoples feelings"},{matterKey:e.sn0.growingSenseOfWillAndDeterminationMayResultInAnger,matterDescription:"Growing sense of will and determination may result in anger"},{matterKey:e.sn0.respondsToAFewAppropriateBoundariesWithEncouragement,matterDescription:"Responds to a few appropriate boundaries with encouragement"},{matterKey:e.sn0.beginsToLearnThatSomeThingsAreTheirsSomeAreSharedSomeAreNotTheirs,matterDescription:"Begins to learn that somethings are theirs some are shared some are not theirs"},{matterKey:e.sn0.seeksComfortFromFamiliarAdultsWhenNeeded,matterDescription:"Seeks comfort from familiar adults when needed"},{matterKey:e.sn0.canExpressTheirOwnFeelings,matterDescription:"Can express their own feelings"},{matterKey:e.sn0.respondsToTheFeelingsAndWishesOfOthers,matterDescription:"Responds to the feelings and wishes of others"},{matterKey:e.sn0.awareThatSomeActionsCanHurtOrHarmOthers,matterDescription:"Aware that some actions can hurt or harm others"},{matterKey:e.sn0.triesToHelpOrGiveComfortWhenOthersAreDistressed,matterDescription:"Tries to help or give comfort when others are distressed"},{matterKey:e.sn0.showsUnderstandingAndCooperatesWithSomeBoundaries,matterDescription:"Shows understanding and cooperates with some boundaries"},{matterKey:e.sn0.canInhibitOwnActions,matterDescription:"Can inhibit own actions"},{matterKey:e.sn0.growingAbilityToDistractSelfWhenUpset,matterDescription:"Growing ability to distract self when upset"},{matterKey:e.sn0.awareOfOwnFeelingsAndKnowsThatSomeActionsHurt,matterDescription:"Aware of own feelings and knows that some actions hurt"},{matterKey:e.sn0.beginsToAcceptTheNeedsOfOthersAndCanShare,matterDescription:"Begins to accept the needs of others and can share"},{matterKey:e.sn0.canUsuallyTolerateDelayWhenNeedsAreNotImmediatelyMet,matterDescription:"Can usually tolerate delay when needs are not immediately met"},{matterKey:e.sn0.canUsuallyAdaptBehaviourToDifferentEvents,matterDescription:"Can usually adapt behaviour to different events"},{matterKey:e.sn0.understandsThatOwnActionsAffectOtherPeople,matterDescription:"Understands that own actions affect other people"},{matterKey:e.sn0.awareOfTheBoundariesSetAndOfBehaviouralExpectations,matterDescription:"Aware of the boundaries set and of behavioural expectations"},{matterKey:e.sn0.beginningToBeAbleToNegotiateAndSolveProblemsWithoutAggression,matterDescription:"Beginning to be able to negotiate and solve problems without aggression"},{matterKey:e.sn0.enjoysLookingAtBooksAndOtherPrintedMaterialWithFamiliarPeople,matterDescription:"Enjoys looking at books and other printed material with familiar people"},{matterKey:e.sn0.handlesBooksAndPrintedMaterialWithInterest,matterDescription:"Handles books and printed material with interest"},{matterKey:e.sn0.interestedInBooksAndRhymesAndMayHaveFavourites,matterDescription:"Interested in books and rhymes and may have favourites"},{matterKey:e.sn0.hasSomeFavouriteStoriesRhymesSongsPoemsOrJingles,matterDescription:"Has some favourite stories rhymes songs poems or jingles"},{matterKey:e.sn0.repeatsWordsOrPhrasesFromFamiliarStories,matterDescription:"Repeats words or phrases from familiar stories"},{matterKey:e.sn0.fillsInTheMissingWordOrPhraseInAKnownRhymeStoryOrGame,matterDescription:"Fills in the missing words or phrase in a known rhyme story or game"},{matterKey:e.sn0.enjoysRhymingAndRhythmicActivities,matterDescription:"Enjoys rhyming and rhythmic activities"},{matterKey:e.sn0.showsAwarenessOfRhymeAndAlliteration,matterDescription:"Shows awareness of rhyme and alliteration"},{matterKey:e.sn0.recognisesRhythmInSpokenWords,matterDescription:"Recognises rhythm in spoken words"},{matterKey:e.sn0.listensToAndJoinsInWithStoriesAndPoems,matterDescription:"Listens to and joins in with stories and poems"},{matterKey:e.sn0.joinsInWithRepeatedRefrainsAndAnticipatesKeyEvents,matterDescription:"Joins in with repeated refrains and anticipates key events"},{matterKey:e.sn0.beginningToBeAwareOfTheWayStoriesAreStructured,matterDescription:"Beginning to be aware of the way stories are structured"},{matterKey:e.sn0.suggestsHowTheStoryMightEnd,matterDescription:"Suggests how the story might end"},{matterKey:e.sn0.describesMainStorySettingsEventsAndPrincipalCharacters,matterDescription:"Describes main story settings events and principal characters"},{matterKey:e.sn0.showsInterestInIllustrationsAndPrintInBooks,matterDescription:"Shows interest in illustrations and print in books"},{matterKey:e.sn0.recognisesFamiliarWordsAndSigns,matterDescription:"Recognises familiar words and signs"},{matterKey:e.sn0.looksAtBooksIndependently,matterDescription:"Looks at books independently"},{matterKey:e.sn0.handlesBooksCarefully,matterDescription:"Handles books carefully"},{matterKey:e.sn0.knowsInformationCanBeRelayedInTheFormOfPrint,matterDescription:"Knows information can be relayed in the form of print"},{matterKey:e.sn0.holdsBooksTheCorrectWayUpAndTurnsPages,matterDescription:"Holds books the correct way up and turns pages"},{matterKey:e.sn0.knowsThatPrintCarriesMeaning,matterDescription:"Knows that print carries meaning"},{matterKey:e.sn0.readingContinuesARhymingString,matterDescription:"Continues a rhyming string"},{matterKey:e.sn0.writingContinuesARhymingString,matterDescription:"Continues a rhyming string"},{matterKey:e.sn0.readingHearsAndSaysTheInitialSoundInWords,matterDescription:"Hears and says the initial sound in words"},{matterKey:e.sn0.writingHearsAndSaysTheInitialSoundInWords,matterDescription:"Hears and says the initial sound in words"},{matterKey:e.sn0.canSegmentTheSoundsInSimpleWords,matterDescription:"Can segment the sounds in simple words"},{matterKey:e.sn0.readingLinksSoundsToLettersNamingAndSoundingTheLettersOfTheAlphabet,matterDescription:"Links sounds to letters naming and sounding the letters of the alphabet"},{matterKey:e.sn0.writingLinksSoundsToLettersNamingAndSoundingTheLettersOfTheAlphabet,matterDescription:"Links sounds to letters naming and sounding the letters of the alphabet"},{matterKey:e.sn0.beginsToReadWordsAndSimpleSentences,matterDescription:"Begins to read words and simple sentences"},{matterKey:e.sn0.usesVocabularyAndFormsOfSpeechThatAreIncreasinglyInfluencedByTheirExperiencesOfBooks,matterDescription:"Uses vocabulary and forms of speech that are increasingly influenced by their experiences of books"},{matterKey:e.sn0.enjoysAnIncreasingRangeOfBooks,matterDescription:"Enjoys an increasing range of books"},{matterKey:e.sn0.knowsThatInformationCanBeRetrievedFromBooksAndComputers,matterDescription:"Knows that information can be retrieved from books and computers"},{matterKey:e.sn0.distinguishesBetweenTheDifferentMarksTheyMake,matterDescription:"Distinguishes between the different marks they make"},{matterKey:e.sn0.sometimesGivesMeaningToMarksAsTheyDrawAndPaint,matterDescription:"Sometimes gives meanings to marks as they draw and paint"},{matterKey:e.sn0.ascribesMeaningsToMarksThatTheySeeInDifferentPlaces,matterDescription:"Ascribes meanings to marks that they see in different places"},{matterKey:e.sn0.givesMeaningToMarksTheyMakeAsTheyDrawWriteAndPaint,matterDescription:"Gives meaning to marks they make as they draw write and paint"},{matterKey:e.sn0.beginsToBreakTheFlowOfSpeechIntoWords,matterDescription:"Begins to break the flow of speech in to words"},{matterKey:e.sn0.canSegmentTheSoundsInSimpleWordsAndBlendThemTogether,matterDescription:"Can segment the sounds in simple words and blend them together"},{matterKey:e.sn0.usesSomeClearlyIdentifiableLettersToCommunicate,matterDescription:"Uses some clearly identifiable letters to communicate"},{matterKey:e.sn0.writesOwnNameAndOtherThingsSuchAsLabels,matterDescription:"Writes own name and other things such as labels"},{matterKey:e.sn0.attemptsToWriteShortSentencesInMeaningfulContexts,matterDescription:"Attempts to write short sentences in meaningful contexts"},{matterKey:e.sn0.noticesChangesInNumberOfObjectsImagesOrSoundsInGroupOfUpToThree,matterDescription:"Notices changes in number of objects images or sounds in group of up to three"},{matterKey:e.sn0.developsAnAwarenessOfNumberNamesThroughRhymeAndSongs,matterDescription:"Develops an awareness of number names through rhyme and songs"},{matterKey:e.sn0.hasSomeUnderstandingThatThingsExistEvenWhenOutOfSight,matterDescription:"Has some understanding that things exist even when out of sight"},{matterKey:e.sn0.knowsThatThingsExistEvenWhenOutOfSight,matterDescription:"Know that things exist even when out of sight"},{matterKey:e.sn0.beginningToOrganiseAndCategoriseObjects,matterDescription:"Beginning to organise and categorise objects"},{matterKey:e.sn0.saysSomeCountingWordsRandomly,matterDescription:"Says some counting words randomly"},{matterKey:e.sn0.selectsASmallNumberOfObjectsFromAGroupWhenAsked,matterDescription:"Selects a small number of objects from a group when asked"},{matterKey:e.sn0.recitesSomeNumberNamesInSequence,matterDescription:"Recites some number names in sequence"},{matterKey:e.sn0.createsAndExperimentsWithSymbolsAndMarksRepresentingIdeasOfNumber,matterDescription:"Creates and experiments with symbols and marks representing ideas of number"},{matterKey:e.sn0.beginsToMakeComparisonsBetweenQuantities,matterDescription:"Begins to make comparisons between quantities"},{matterKey:e.sn0.usesSomeLanguageOfQuantities,matterDescription:"Uses some language of quantities"},{matterKey:e.sn0.knowsThatAGroupOfThingsChangesInQuantityWhenSomethingIsAddedOrTakenAway,matterDescription:"Knows that a group of things changes in quantity when something is added or taken away"},{matterKey:e.sn0.usesSomeNumberNamesAndNumberLanguageSpontaneously,matterDescription:"Uses some number names and number language spontaneously"},{matterKey:e.sn0.usesSomeNumberNamesAccuratelyInPlay,matterDescription:"Uses some number names accurately in play"},{matterKey:e.sn0.recitesNumbersInOrderToTen,matterDescription:"Recites numbers in order to ten"},{matterKey:e.sn0.knowsThatNumbersIdentifyHowManyObjectsAreInASet,matterDescription:"Knows that numbers identify how many objects are in a set"},{matterKey:e.sn0.beginningToRepresentNumbersUsingFingersMarksPaperOrPictures,matterDescription:"Beginning to represent numbers using fingers marks paper or pictures"},{matterKey:e.sn0.sometimesMatchesNumeralAndQuantityCorrectly,matterDescription:"Sometimes matches numeral and quantity correctly"},{matterKey:e.sn0.showsCuriosityAboutNumbersByOfferingCommentsOrAskingQuestions,matterDescription:"Shows curiosity about numbers by offering comments or asking questions"},{matterKey:e.sn0.comparesTwoGroupsOfObjectsSayingWhenTheyHaveTheSameNumber,matterDescription:"Compares two groups of objects saying when they have the same number"},{matterKey:e.sn0.showsAnInterestInNumberProblems,matterDescription:"Shows an interest in number problems"},{matterKey:e.sn0.separatesAGroupOfThreeOrFourObjectsInDifferentWays,matterDescription:"Separates a group of three or four objects in different ways"},{matterKey:e.sn0.showsAnInterestInNumeralsInTheEnvironment,matterDescription:"Shows an interest in numerals in the environment"},{matterKey:e.sn0.showsAnInterestInRepresentingNumbers,matterDescription:"Shows an interest in representing numbers"},{matterKey:e.sn0.realisesNotOnlyObjectsButAnythingCanBeCounted,matterDescription:"Realises not only objects but anything can be counted"},{matterKey:e.sn0.recogniseSomeNumeralsOfPersonalSignificance,matterDescription:"Recognise some numerals of personal significance"},{matterKey:e.sn0.recognisesNumbersOneToFive,matterDescription:"Recognises numbers one to five"},{matterKey:e.sn0.countsUpToThreeOrFourObjectsBySayingOneNumberNameForEachItem,matterDescription:"Counts up to three or four objects by saying one number name for each item"},{matterKey:e.sn0.countsActionsOrObjectsWhichCannotBeMoved,matterDescription:"Counts actions or objects which cannot be moved"},{matterKey:e.sn0.countsObjectsToTenAndBeginningToCountBeyondTen,matterDescription:"Counts objects to ten and beginning to count beyond ten"},{matterKey:e.sn0.countsOutUpToSixObjectsFromALargerGroup,matterDescription:"Counts out up to six objects from a larger group"},{matterKey:e.sn0.selectsTheCorrectNumeralToRepresentOneToFiveThenOneToTen,matterDescription:"Selects the correct numeral to represent one to five the none to ten"},{matterKey:e.sn0.countsAnIrregularArrangementOfUpToTenObjects,matterDescription:"Counts an irregular arrangement of up to ten objects"},{matterKey:e.sn0.estimatesHowManyObjectsTheyCanSeeAndChecksByCountingThem,matterDescription:"Estimates how many objects they can see and checks by counting them"},{matterKey:e.sn0.usesTheLanguageOfMoreAndFewerToCompare,matterDescription:"Uses the language of more and fewer to compare"},{matterKey:e.sn0.findsTheTotalNumberOfItemsInTwoGroups,matterDescription:"Finds the total number of items in two groups"},{matterKey:e.sn0.saysTheNumberThatIsOneMoreThanAGivenNumber,matterDescription:"Says the number that is one more than a given number"},{matterKey:e.sn0.findsOneMoreOrOneLessFromAGroupOfUpToFiveThenTenObjects,matterDescription:"Finds one more or one less from a group of up to five then ten objects"},{matterKey:e.sn0.inPracticalActivitiesAndDiscussionBeginningToUseAddingAndSubtracting,matterDescription:"In practical activities and discussion beginning to use adding and subtracting"},{matterKey:e.sn0.recordsUsingMarksThatTheyCanInterpretAndExplain,matterDescription:"Records using marks that they can interpret and explain"},{matterKey:e.sn0.beginsToIdentifyOwnMathematicalProblemsBasedOnOwnInterests,matterDescription:"Begins to identify own mathematical problems based on own interests"},{matterKey:e.sn0.recognisesBigThingsAndSmallThings,matterDescription:"Recognises big things and small things"},{matterKey:e.sn0.getsToKnowAndEnjoyDailyRoutines,matterDescription:"Gets to know and enjoy daily routines"},{matterKey:e.sn0.attemptsToFitShapesIntoSpaces,matterDescription:"Attempts to fit shapes into spaces"},{matterKey:e.sn0.usesBlocksToCreateTheirOwnSimpleStructures,matterDescription:"Uses blocks to create their own simple structures"},{matterKey:e.sn0.enjoysFillingAndEmptyingContainers,matterDescription:"Enjoys filling and emptying containers"},{matterKey:e.sn0.associatesASequenceOfActionsWithDailyRoutines,matterDescription:"Associates a sequence of actions with daily routines"},{matterKey:e.sn0.beginningToUnderstandThatThingsMightHappenNow,matterDescription:"Beginning to understand that things might happen now"},{matterKey:e.sn0.noticesSimpleShapesAndPatternsInPictures,matterDescription:"Notices simple shapes and patterns in pictures"},{matterKey:e.sn0.beginningToCategoriseObjectsAccordingToProperties,matterDescription:"Beginning to categorise objects according to properties"},{matterKey:e.sn0.beginsToUseTheLanguageOfSize,matterDescription:"Begins to use the language of size"},{matterKey:e.sn0.understandsSomeTalkAboutImmediatePastAndFuture,matterDescription:"Understands some talk about immediate past and future"},{matterKey:e.sn0.anticipatesSpecificTimeBasedEventsSuchAsMealtimesOrHometime,matterDescription:"Anticipates specific time based events such as mealtimes or hometime"},{matterKey:e.sn0.showsAnInterestInShapeAndSpaceByPlayingWithShapes,matterDescription:"Shows an interest in shape and space by playing with shapes"},{matterKey:e.sn0.showsAwarenessOfSimilaritiesOfShapesInTheEnvironment,matterDescription:"Shows awareness of similarities of shapes in the environment"},{matterKey:e.sn0.usesPositionalLanguage,matterDescription:"Uses positional language"},{matterKey:e.sn0.showsInterestInShapeBySustainedConstructionActivityOrByTalkingAboutShapes,matterDescription:"Shows interest in shape by sustained construction activity or by talking about shapes"},{matterKey:e.sn0.showsInterestInShapesInTheEnvironment,matterDescription:"Shows interest in shapes in the environment"},{matterKey:e.sn0.usesShapesAppropriatelyForTasks,matterDescription:"Uses shapes appropriately for tasks"},{matterKey:e.sn0.beginningToTalkAboutTheShapesOfEverydayObjects,matterDescription:"Beginning to talk about the shapes of everyday objects"},{matterKey:e.sn0.beginningToUseMathematicalNamesForSolidAndFlatShapes,matterDescription:"Beginning to use mathematical names for solid and flat shapes"},{matterKey:e.sn0.selectsAParticularNamedShape,matterDescription:"Selects a particular named shape"},{matterKey:e.sn0.canDescribeTheirRelativePositionSuchAsBehind,matterDescription:"Can describe their relative position such as behind"},{matterKey:e.sn0.ordersTwoOrThreeItemsByLengthOrHeight,matterDescription:"Orders two or three items by length or height"},{matterKey:e.sn0.ordersTwoItemsByWeightOrCapacity,matterDescription:"Orders two items by weight and capacity"},{matterKey:e.sn0.usesFamiliarObjectsAndCommonShapesToCreateAndRecreatePatterns,matterDescription:"Uses familiar objects and common shapes to create and recreate patterns"},{matterKey:e.sn0.usesEverydayLanguageRelatedToTime,matterDescription:"Uses everyday language related to time"},{matterKey:e.sn0.beginningToUseEverydayLanguageRelatedToMoney,matterDescription:"Beginning to use everyday language related to money"},{matterKey:e.sn0.ordersAndSequencesFamiliarEvents,matterDescription:"Orders and sequences familiar events"},{matterKey:e.sn0.measuresShortPeriodsOfTimeInSimpleWays,matterDescription:"Measures short periods of time in simple ways"},{matterKey:e.sn0.isCuriousAboutPeople,matterDescription:"Is curious about people"},{matterKey:e.sn0.enjoysPicturesAndStoriesAboutThemselves,matterDescription:"Enjoys pictures and stories about themselves"},{matterKey:e.sn0.hasASenseOfOwnImmediateFamilyAndRelations,matterDescription:"Has a sense of own immediate family and relations"},{matterKey:e.sn0.inPretendPlayImitatesEverydayActionsAndEventsFromOwnFamily,matterDescription:"In pretend play imitates everyday actions and events from own family"},{matterKey:e.sn0.beginningToHaveTheirOwnFriends,matterDescription:"Beginning to have their own friends"},{matterKey:e.sn0.learnsThatTheyHaveSimilaritiesAndDifferencesToOthers,matterDescription:"Learns that they have similarities and differences to others"},{matterKey:e.sn0.showsInterestInTheLivesOfPeopleWhoAreFamiliarToThem,matterDescription:"Shows an interest in the lives of people who are familiar to them"},{matterKey:e.sn0.remembersAndTalksAboutSignificantEvents,matterDescription:"Remembers and talks about significant events"},{matterKey:e.sn0.recognisesAndDescribesSpecialTimesOrEvents,matterDescription:"Recognises and describes special times or events"},{matterKey:e.sn0.showsInterestInDifferentOccupationsAndWaysOfLife,matterDescription:"Shows interest in different occupations and ways of life"},{matterKey:e.sn0.knowsSomeOfTheThingsThatMakeThemUnique,matterDescription:"Knows some of the things that make them unique"},{matterKey:e.sn0.enjoysJoiningInWithFamilyCustomsAndRoutines,matterDescription:"Enjoys joining in with family customs and routines"},{matterKey:e.sn0.movesEyesThenHeadToFollowMovingObjects,matterDescription:"Moves eyes then head to follow moving objects"},{matterKey:e.sn0.reactsWithAbruptChangeWhenAFaceOrObjectDisappearsFromView,matterDescription:"Reacts with abrupt change when a face or object disappears from view"},{matterKey:e.sn0.looksAroundARoomWithInterest,matterDescription:"Looks around a room with interest"},{matterKey:e.sn0.smilesWithPleasureAtRecognisablePlaythings,matterDescription:"Smiles with pleasure at recognisable play things"},{matterKey:e.sn0.repeatsActionsThatHaveAnEffect,matterDescription:"Repeats actions that have an effect"},{matterKey:e.sn0.closelyObservesWhatAnimalsPeopleAndVehiclesDo,matterDescription:"Closely observes what animals, people and vehicles do"},{matterKey:e.sn0.watchesToysBeingHiddenAndTriesToFindThem,matterDescription:"Watches toys being hidden and tries to find them"},{matterKey:e.sn0.looksForDroppedObjects,matterDescription:"Looks for dropped objects"},{matterKey:e.sn0.becomesAbsorbedInCombiningObjects,matterDescription:"Becomes absorbed in combining objects"},{matterKey:e.sn0.knowsThingsAreUsedInDifferentWays,matterDescription:"Knows things are used in different ways"},{matterKey:e.sn0.exploresObjectsByLinkingTogetherDifferentApproaches,matterDescription:"Explores objects by linking together different approaches"},{matterKey:e.sn0.remembersWhereObjectsBelong,matterDescription:"Remembers where objects belong"},{matterKey:e.sn0.matchesPartsOfObjectsThatFitTogether,matterDescription:"Matches parts of objects that fit together"},{matterKey:e.sn0.enjoysPlayingWithSmallWorldModelsSuchAsAFarm,matterDescription:"Enjoys playing with small world models such as a farm"},{matterKey:e.sn0.noticesDetailedFeaturesOfObjectsInTheirEnvironment,matterDescription:"Notices detailed features of objects in their environment"},{matterKey:e.sn0.commentsAndAsksQuestionsAboutAspectsOfTheirFamiliarWorld,matterDescription:"Comments and asks questions about aspects of their familiar world"},{matterKey:e.sn0.canTalkAboutSomeOfTheThingsTheyHaveObserved,matterDescription:"Can talk about some of the things they have observed"},{matterKey:e.sn0.talksAboutWhyThingsHappenAndHowThingsWork,matterDescription:"Talks about why things happen and how things work"},{matterKey:e.sn0.developingAnUnderstandingOfGrowthDecayAndChangesOverTime,matterDescription:"Developing an understanding of growth decay and changes over time"},{matterKey:e.sn0.showsCareAndConcernForLivingThingsAndTheEnvironment,matterDescription:"Shows care and concern for living things and the environment"},{matterKey:e.sn0.looksCloselyAtSimilaritiesDifferencesPatternsAndChange,matterDescription:"Looks closely at similarities differences patterns and change"},{matterKey:e.sn0.anticipatesRepeatedSoundsSightsAndActions,matterDescription:"Anticipates repeated sounds sights and actions"},{matterKey:e.sn0.showsInterestInToysWithButtonsFlapsAndSimpleMechanisms,matterDescription:"Shows interest in toys with buttons flaps and simple mechanisms"},{matterKey:e.sn0.seeksToAcquireBasicSkillsInTurningOnAndOperatingIctEquipment,matterDescription:"Seeks to acquire basic skills in turning on and operating ict equipment"},{matterKey:e.sn0.operatesMechanicalToys,matterDescription:"Operates mechanical toys"},{matterKey:e.sn0.knowsHowToOperateSimpleEquipment,matterDescription:"Knows how to operate simple equipment"},{matterKey:e.sn0.showsAnInterestInTechnologicalToys,matterDescription:"Shows an interest in technological toys"},{matterKey:e.sn0.showsSkillInMakingToysWorkByPressingPartsOrLiftingFlaps,matterDescription:"Shows skill in making toys work by pressing parts or lifting flaps"},{matterKey:e.sn0.knowsThatInformationCanBeRetrievedFromComputers,matterDescription:"Knows that information can be retrieved from computers"},{matterKey:e.sn0.completesASimpleProgramOnAComputer,matterDescription:"Completes a simple program on a computer"},{matterKey:e.sn0.usesIctHardwareToInteractWithAgeAppropriateComputerSoftware,matterDescription:"Uses ict hardware to interact with age appropriate computer software"},{matterKey:e.sn0.experimentsWithARangeOfMediaThroughSensoryExploration08To20,matterDescription:"Experiments with a range of media through sensory exploration"},{matterKey:e.sn0.imitatesAndImprovisesActionsTheyHaveObserved08To20,matterDescription:"Imitates and improvises actions they have observed"},{matterKey:e.sn0.beginsToMoveToMusicListenToOrJoinInRhymesOrSongs08To20,matterDescription:"Begins to move to music listen to or join in rhymes or songs"},{matterKey:e.sn0.noticesAndIsInterestedInTheEffectsOfMakingMarks08To20,matterDescription:"Notices and is interested in the effects of making marks"},{matterKey:e.sn0.joinsInSingingFavouriteSongs,matterDescription:"Joins in singing favourite songs"},{matterKey:e.sn0.createsSoundsByBangingShakingTappingOrBlowing,matterDescription:"Creates sounds by banging shaking tapping or blowing"},{matterKey:e.sn0.showsAnInterestInTheWayMusicalInstrumentsSound,matterDescription:"Shows an interest in the way musical instruments sound"},{matterKey:e.sn0.experimentsWithBlocksColoursAndMarks,matterDescription:"Experiments with blocks colours and marks"},{matterKey:e.sn0.enjoysJoiningInWithDancingAndRingGames,matterDescription:"Enjoys joining in with dancing and ring games"},{matterKey:e.sn0.singsAFewFamiliarSongs,matterDescription:"Sings a few familiar songs"},{matterKey:e.sn0.beginningToMoveRhythmically,matterDescription:"Beginning to move rhythmically"},{matterKey:e.sn0.imitatesMovementInResponseToMusic,matterDescription:"imitates movement in response to music"},{matterKey:e.sn0.tapsOutSimpleRepeatedRhythms,matterDescription:"Taps out simple repeated rhythms"},{matterKey:e.sn0.exploresAndLearnsHowSoundsCanBeChanged,matterDescription:"Explores and learns how sounds can be changed"},{matterKey:e.sn0.exploresColourAndHowColoursCanBeChanged,matterDescription:"Explores colour and how colours can be changed"},{matterKey:e.sn0.understandsThatTheyCanUseLinesToEncloseASpace,matterDescription:"Understands that they can use lines to enclose a space"},{matterKey:e.sn0.beginningToBeInterestedInAndDescribeTheTextureOfThings,matterDescription:"Beginning to be interested in and describe the texture of things"},{matterKey:e.sn0.usesVariousConstructionMaterials,matterDescription:"Uses various construction materials"},{matterKey:e.sn0.beginningToConstructStackingBlocksVerticallyAndHorizontally,matterDescription:"Beginning to construct stacking blocks vertically and horizontally"},{matterKey:e.sn0.joinsConstructionPiecesTogetherToBuildAndBalance,matterDescription:"Joins construction pieces together to build and balance"},{matterKey:e.sn0.realisesToolsCanBeUsedForAPurpose,matterDescription:"Realises tools can be used for a purpose"},{matterKey:e.sn0.beginsToBuildARepertoireOfSongsAndDances,matterDescription:"Begins to build a repertoire of songs and dances"},{matterKey:e.sn0.exploresTheDifferentSoundsOfInstruments,matterDescription:"Explores the different sounds of instruments"},{matterKey:e.sn0.exploresWhatHappensWhenTheyMixColours,matterDescription:"Explores what happens when they mix colours"},{matterKey:e.sn0.experimentsToCreateDifferentTextures,matterDescription:"Experiments to create different textures"},{matterKey:e.sn0.understandsThatDifferentMediaCanBeCombined,matterDescription:"Understands that different media can be combined"},{matterKey:e.sn0.manipulatesMaterialsToAchieveAPlannedEffect,matterDescription:"Manipulates materials to achieve a planned effect"},{matterKey:e.sn0.constructsWithAPurposeInMind,matterDescription:"Constructs with a purpose in mind"},{matterKey:e.sn0.usesSimpleToolsAndTechniquesCompetentlyAndAppropriately,matterDescription:"Uses simple tools and techniques competently and appropriately"},{matterKey:e.sn0.selectsAppropriateResourcesAndAdaptsWorkWhereNecessary,matterDescription:"Selects appropriate resources and adapts work where necessary"},{matterKey:e.sn0.expressesSelfThroughPhysicalActionAndSound,matterDescription:"Expresses self through physical action and sound"},{matterKey:e.sn0.pretendsThatOneObjectRepresentsAnother,matterDescription:"Pretends that one object represents another"},{matterKey:e.sn0.beginningToUseRepresentationToCommunicate,matterDescription:"Beginning to use representation to communicate"},{matterKey:e.sn0.beginningToMakeBelieveByPretending,matterDescription:"Beginning to make believe by pretending"},{matterKey:e.sn0.developingPreferencesForFormsOfExpression,matterDescription:"Developing preferences for forms of expression"},{matterKey:e.sn0.usesMovementToExpressFeelings,matterDescription:"Uses movement to express feelings"},{matterKey:e.sn0.createsMovementInResponseToMusic,matterDescription:"Creates movement in response to music"},{matterKey:e.sn0.singsToSelfAndMakesUpSimpleSongs,matterDescription:"Sings to self and makes up simple songs"},{matterKey:e.sn0.makesUpRhythms,matterDescription:"Makes up rhythms"},{matterKey:e.sn0.noticesWhatAdultsDoImitatingWhatIsObserved,matterDescription:"Notices what adults do imitating what is observed"},{matterKey:e.sn0.engagesInImaginativeRoleplayBasedOnOwnFirstHandExperiences,matterDescription:"Engages in imaginative role-play based on own first hand experiences"},{matterKey:e.sn0.buildsStoriesAroundToys,matterDescription:"Builds stories around toys"},{matterKey:e.sn0.usesAvailableResourcesToCreatePropsToSupportRoleplay,matterDescription:"Uses available resources to create props to support role-play"},{matterKey:e.sn0.capturesExperiencesAndResponsesWithARangeOfMedia,matterDescription:"Captures experiences and responses with a range of media"},{matterKey:e.sn0.createSimpleRepresentationsOfEventsPeopleAndObjects,matterDescription:"Create simple representations of events people and objects"},{matterKey:e.sn0.initiatesNewCombinationsOfMovementAndGesture,matterDescription:"Initiates new combinations of movement and gesture"},{matterKey:e.sn0.choosesParticularColoursToUseForAPurpose,matterDescription:"Chooses particular colours to use for a purpose"},{matterKey:e.sn0.playsAlongsideOtherChildrenWhoAreEngagedInTheSameTheme,matterDescription:"Plays alongside other children who are engaged in the same theme"},{matterKey:e.sn0.playsCooperativelyAsPartOfAGroupToDevelopAndActOutANarrative,matterDescription:"Plays cooperatively as part of a group to develop and act out a narrative"},{matterKey:e.sn0.showsInterestInPlayWithSoundsSongsAndRhymes,matterDescription:"Shows interest in play with sounds, songs and rhymes"},{matterKey:e.sn0.expressiveMovesWholeBodyToSoundsTheyEnjoy16To26,matterDescription:"Moves whole body to sounds they enjoy"},{matterKey:e.sn0.psedUsesPointingWithEyeGazeToMakeRequestsAndToShareInterest,matterDescription:"Uses pointing with eye gaze to make requests and to share interest"},{matterKey:e.sn0.experimentsWithARangeOfMediaThroughSensoryExploration16To26,matterDescription:"Experiments with a range of media through sensory exploration"},{matterKey:e.sn0.imitatesAndImprovisesActionsTheyHaveObserved16To26,matterDescription:"Imitates and improvises actions they have observed"},{matterKey:e.sn0.beginsToMoveToMusicListenToOrJoinInRhymesOrSongs16To26,matterDescription:"Begins to move to music listen to or join in rhymes or songs"},{matterKey:e.sn0.noticesAndIsInterestedInTheEffectsOfMakingMarks16To26,matterDescription:"Notices and is interested in the effects of making marks"},{matterKey:e.sn0.expressiveIntroducesAStorylineOrNarrativeIntoTheirPlay,matterDescription:"Introduces a storyline or narrative into their play"},{matterKey:e.sn0.understandsHumour,matterDescription:"Understands humour, e.g. nonsense, rhymes, jokes"}],this.coel2021Matters=[{matterKey:e.sn0.coel2021RealiseThatTheirActionsHaveAnEffectOnTheWorld,matterDescription:"Realise that their actions have an effect on the world, so they want to keep repeating them."},{matterKey:e.sn0.coel2021PlanAndThinkAheadAboutHowTheyWillExploreOrPlayWithObjects,matterDescription:"Plan and think ahead about how they will explore or play with objects."},{matterKey:e.sn0.coel2021GuideTheirOwnThinkingAndActionsByReferringToVisualAidsOrByTalkingT,matterDescription:"Guide their own thinking and actions by referring to visual aids or by talking to themselves while playing. For example, a child doing a jigsaw might whisper under their breath: \u201cWhere does that one go? \u2013 I need to find the big horse next.\u201d"},{matterKey:e.sn0.coel2021MakeIndependentChoices,matterDescription:"Make independent choices."},{matterKey:e.sn0.coel2021BringTheirOwnInterestsAndFascinationsIntoEarlyYearsSettings,matterDescription:"Bring their own interests and fascinations into early years settings. This helps them to develop their learning."},{matterKey:e.sn0.coel2021RespondToNewExperiencesThatYouBringToTheirAttention,matterDescription:"Respond to new experiences that you bring to their attention."},{matterKey:e.sn0.coel2021ParticipateInRoutines,matterDescription:"Participate in routines, such as going to their cot or mat when they want to sleep."},{matterKey:e.sn0.coel2021BeginToPredictSequencesBecauseTheyKnowRoutines,matterDescription:"Begin to predict sequences because they know routines. For example, they may anticipate lunch when they see the table being set, or get their coat when the door to the outdoor area opens."},{matterKey:e.sn0.coel2021ShowGoaldirectedBehaviour,matterDescription:"Show goal-directed behaviour. For example, babies may pull themselves up by using the edges of a low table to reach for a toy on top of the table. Toddlers might turn a storage box upside down so they can stand on it and reach up for an object."},{matterKey:e.sn0.coel2021BeginToCorrectTheirMistakesThemselves,matterDescription:"Begin to correct their mistakes themselves. For example, instead of using increasing force to push a puzzle piece into the slot, they try another piece to see if it will fit. "},{matterKey:e.sn0.coel2021KeepOnTryingWhenThingsAreDifficult,matterDescription:"Keep on trying when things are difficult."},{matterKey:e.sn0.coel2021LearningToTakePartInSimplePretendPlay,matterDescription:"Learning to take part in simple pretend play. \nFor example, they might use an object like a brush to pretend to brush their hair, or \u2018drink\u2019 from a pretend cup."},{matterKey:e.sn0.coel2021LearningToSortMaterials,matterDescription:"Learning to sort materials. \nFor example, at tidy-up time, children know how to put different construction materials in separate baskets."},{matterKey:e.sn0.coel2021ReviewTheirProgressAsTheyTryToAchieveAGoal,matterDescription:"Review their progress as they try to achieve a goal. Check how well they are doing."},{matterKey:e.sn0.coel2021LearningToSolveRealProblems,matterDescription:"Learning to solve real problems. \nFor example, to share nine strawberries between three friends, they might put one in front of each, then a second, and finally a third. Finally, they might check at the end that everyone has the same number of strawberries."},{matterKey:e.sn0.coel2021UsePretendPlayToThinkBeyondTheHereAndNowAndToUnderstandAnotherPers,matterDescription:"Use pretend play to think beyond the \u2018here and now\u2019 and to understand another perspective. \nFor example, a child role-playing the billy goats gruff might suggest that \u201cMaybe the troll is lonely and hungry? That\u2019s why he is fierce.\u201d"},{matterKey:e.sn0.coel2021KnowMoreSoFeelConfidentAboutComingUpWithTheirOwnIdeas,matterDescription:"Know more, so feel confident about coming up with their own ideas."},{matterKey:e.sn0.coel2021MakeMoreLinksBetweenTheirIdeas,matterDescription:"Make more links between their ideas."},{matterKey:e.sn0.coel2021ConcentrateOnAchievingSomethingThatsImportantToThem,matterDescription:"Concentrate on achieving something that\u2019s important to them. They are increasingly able to control their attention and ignore distractions."}]}transform(g){let b=this.matters.find(k=>k.matterKey===g);return b||(b=this.coel2021Matters.find(k=>k.matterKey===g)),b.matterDescription}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"matterDescription",type:d,pure:!0}),d})()},4999:(X,N,p)=>{"use strict";p.d(N,{$:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{constructor(){this.cohortMap=new Map,this.cohortMap.set(e.K7p.specialEducationalNeedsAndDisabilities,e.dR.specialEducationalNeedsAndDisabilities),this.cohortMap.set(e.K7p.englishAsAnAdditionalLanguage,e.dR.englishAsAnAdditionalLanguage),this.cohortMap.set(e.K7p.giftedAndTalented,e.dR.giftedAndTalented),this.cohortMap.set(e.K7p.lookedAfterChild,e.dR.lookedAfterChild),this.cohortMap.set(e.K7p.carersInArmedForces,e.dR.carersInArmedForces),this.cohortMap.set(e.K7p.gypsyRomanyTravellerFamily,e.dR.gypsyRomanyTravellerFamily),this.cohortMap.set(e.K7p.minorityEthnicGroup,e.dR.minorityEthnicGroup),this.cohortMap.set(e.K7p.receivesEarlyYearsPupilPremium,e.dR.receivesEarlyYearsPupilPremium),this.cohortMap.set(e.K7p.receivesFreeSchoolMeals,e.dR.receivesFreeSchoolMeals),this.cohortMap.set(e.K7p.requiresOneToOneCare,e.dR.requiresOneToOneCare)}transform(g){return this.cohortMap.get(g)}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"cohortMapperPipe",type:d,pure:!0}),d})()},6293:(X,N,p)=>{"use strict";p.d(N,{m:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{constructor(){this.cohortMap=new Map,this.cohortMap.set(e.K7p.twoYearFunded,"2 Year Funded"),this.cohortMap.set(e.K7p.threeToFourYearFunded,"3-4 Year Funded"),this.cohortMap.set(e.K7p.springBorn,"Spring Born"),this.cohortMap.set(e.K7p.summerBorn,"Summer Born"),this.cohortMap.set(e.K7p.autumnBorn,"Autumn Born"),this.cohortMap.set(e.K7p.specialEducationalNeedsAndDisabilities,"Special Educational Needs & Disabilities"),this.cohortMap.set(e.K7p.englishAsAnAdditionalLanguage,"English as an Additional Language"),this.cohortMap.set(e.K7p.giftedAndTalented,"Gifted and Talented"),this.cohortMap.set(e.K7p.lookedAfterChild,"Looked After Child"),this.cohortMap.set(e.K7p.carersInArmedForces,"Carers in Armed Forces"),this.cohortMap.set(e.K7p.gypsyRomanyTravellerFamily,"Gypsy, Romany or Traveller Family"),this.cohortMap.set(e.K7p.minorityEthnicGroup,"Minority Ethnic Group"),this.cohortMap.set(e.K7p.receivesEarlyYearsPupilPremium,"Receives Early Years Pupil Premium"),this.cohortMap.set(e.K7p.receivesFreeSchoolMeals,"Receives Free School Meals"),this.cohortMap.set(e.K7p.requiresOneToOneCare,"Requires 1:1 Care")}transform(g){return this.cohortMap.get(g)||g.toString()}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"cohortsPipe",type:d,pure:!0}),d})()},6243:(X,N,p)=>{"use strict";p.d(N,{s:()=>o});var e=p(5e3);let o=(()=>{class u{transform(c){return c?1===c||21===c||31===c?c.toString()+"st":2===c||22===c?c.toString()+"nd":3===c||23===c?c.toString()+"rd":c.toString()+"th":c.toString()}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275pipe=e.Yjl({name:"dateOrdinal",type:u,pure:!0}),u})()},3032:(X,N,p)=>{"use strict";p.d(N,{p:()=>u});var e=p(8879),o=p(5e3);let u=(()=>{class d{transform(g){const b=new Map;b.set(e._.Emerging,"Emerging"),b.set(e._.Developing,"Developing"),b.set(e._.Secure,"Secure");const k=b.get(g);return k||g.toString(),k}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"edsState",type:d,pure:!0}),d})()},5379:(X,N,p)=>{"use strict";p.d(N,{W:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{transform(g){const b=new Map;return b.set(e.kd6.listeningAndAttention,"peacock-blue"),b.set(e.kd6.understanding,"cerulean-blue"),b.set(e.kd6.speaking,"sky-blue"),b.set(e.kd6.movingAndHandling,"medium-green"),b.set(e.kd6.healthAndSelfCare,"soft-green"),b.set(e.kd6.makingRelationships,"medium-pink"),b.set(e.kd6.selfConfidenceAndSelfAwareness,"pinky"),b.set(e.kd6.managingFeelingsAndBehaviour,"pale-rose-two"),b.set(e.kd6.reading,"tomato"),b.set(e.kd6.writing,"pastel-red"),b.set(e.kd6.numbers,"macaroni-and-cheese"),b.set(e.kd6.shapeSpaceAndMeasure,"maize"),b.set(e.kd6.peopleAndCommunities,"tealish"),b.set(e.kd6.theWorld,"seafoam-blue"),b.set(e.kd6.technology,"seafoam-blue-two"),b.set(e.kd6.exploringMediaAndMaterials,"faded-blue"),b.set(e.kd6.beingImaginative,"light-grey-blue"),b.get(g)||g.toString()}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"eyfsEpllipseColorPipe",type:d,pure:!0}),d})()},4572:(X,N,p)=>{"use strict";p.d(N,{i:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{transform(g){const b=new Map;return b.set(e.kd6.beingImaginative,"Children use what they have learnt about media and materials in original ways, thinking about uses and purposes. They represent their own ideas, thoughts and feelings through design and technology, art, music, dance, role play and stories. "),b.set(e.kd6.exploringMediaAndMaterials,"Children sing songs, make music and dance, and experiment with ways of changing them. They safely use and explore a variety of materials, tools and techniques, experimenting with colour, design, texture, form and function. "),b.set(e.kd6.healthAndSelfCare,"Children know the importance for good health of physical exercise, and a healthy diet and talk about ways to keep healthy and safe. They manage their own basic hygiene and personal needs successfully, including dressing and going to the toilet independently. "),b.set(e.kd6.listeningAndAttention,"Children listen attentively in a range of situations. They listen to stories, accurately anticipating key events and respond to what they hear with relevant comments, questions or actions. They give their attention to what others say and respond appropriately, while engaged in another activity. "),b.set(e.kd6.makingRelationships,"Children play co-operatively, taking turns with others. They take account of one another's ideas about how to organise their activity. They show sensitivity to others' needs and feelings, and form positive relationships with adults and other children."),b.set(e.kd6.managingFeelingsAndBehaviour,"Children talk about how they and others show feelings, talk about their own and others' behaviour, and its consequences, and know that some behaviour is unacceptable. They work as part of a group or class, and understand and follow the rules. They adjust their behaviour to different situations, and take changes of routine in their stride."),b.set(e.kd6.movingAndHandling,"Children show good control and co-ordination in large and small movements. They move confidently in a range of ways, safely negotiating space. They handle equipment and tools effectively, including pencils for writing."),b.set(e.kd6.numbers,"Children count reliably with numbers from one to 20, place them in order and say which number is one more or one less than a given number. Using quantities and objects, they add and subtract two single-digit numbers and count on or back to find the answer. They solve problems, including doubling, halving and sharing."),b.set(e.kd6.peopleAndCommunities,"Children talk about past and present events in their own lives and in the lives of family members. They know that other children don't always enjoy the same things, and are sensitive to this. They know about similarities and differences between themselves and others, and among families, communities and traditions. "),b.set(e.kd6.reading,"Children read and understand simple sentences. They use phonic knowledge to decode regular words and read them aloud accurately. They also read some common irregular words. They demonstrate understanding when talking with others about what they have read. "),b.set(e.kd6.selfConfidenceAndSelfAwareness,"Children are confident to try new activities, and say why they like some activities more than others. They are confident to speak in a familiar group, will talk about their ideas, and will choose the resources they need for their chosen activities. They say when they do or don't need help. "),b.set(e.kd6.shapeSpaceAndMeasure,"Children use everyday language to talk about size, weight, capacity, position, distance, time and money to compare quantities and objects and to solve problems. They recognise, create and describe patterns. They explore characteristics of everyday objects and shapes and use mathematical language to describe them."),b.set(e.kd6.speaking,"Children express themselves effectively, showing awareness of listeners' needs. They use past, present and future forms accurately when talking about events that have happened or are to happen in the future. They develop their own narratives and explanations by connecting ideas or events. "),b.set(e.kd6.technology,"Children recognise that a range of technology is used in places such as homes and schools. They select and use technology for a particular purpose. "),b.set(e.kd6.theWorld,"Children know about similarities and differences in relation to places, objects, materials and living things. They talk about the features of their own immediate environment and how environments might vary from one another. They make observations of animals and plants and explain why some things occur, and talk about changes. "),b.set(e.kd6.understanding,"Children follow instructions involving several ideas or actions. They answer 'how' and 'why' questions about their experiences and in response to stories or events. "),b.set(e.kd6.writing,"Children use their phonic knowledge to write words in ways which match their spoken sounds. They also write some irregular common words. They write simple sentences which can be read by themselves and others. Some words are spelt correctly and others are phonetically plausible."),b.get(g)||g.toString()}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"earlyLearningDescription",type:d,pure:!0}),d})()},8561:(X,N,p)=>{"use strict";p.d(N,{g:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class c{constructor(){this.matters=[new d(e.sn0.turnsTowardAFamiliarSound,"Turns toward a familiar sound then locates range of sounds with accuracy"),new d(e.sn0.respondsToIntonationsAndSounds,"Listens to, distinguishes and responds to intonations and sounds of voices"),new d(e.sn0.interactionWithOthersBySmilingLookingAndMoving,"Reacts in interaction with others by smiling, looking and moving"),new d(e.sn0.quietensOrAlertsToTheSoundOfSpeech,"Quietens or alerts to the sound of speech"),new d(e.sn0.looksAtSpeakerButStopsRespondingIfSpeakerTurnsAway,"Looks intently at a person talking, but stops responding if speaker turns away"),new d(e.sn0.listensToFamiliarSoundsWordsOrFingerPlays,"Listens to familiar sounds, words, or finger plays"),new d(e.sn0.fleetingAttentionWhereNewStimuliTakesWholeAttention,"Fleeting Attention \u2013 not under child's control, new stimuli takes whole attention"),new d(e.sn0.stopsAndLooksWhenHearsOwnName,"Stops and looks when hears own name"),new d(e.sn0.startsToUnderstandContextualClues,"Starts to understand contextual clues, e.g. familiar gestures, words and sounds"),new d(e.sn0.communicatesNeedsByCryingBabblingAndSquealing,"Communicates needs and feelings in a variety of ways including crying, gurgling, babbling and squealing"),new d(e.sn0.makesOwnSoundsInResponseToFamiliarAdults,"Makes own sounds in response when talked to by familiar adults"),new d(e.sn0.liftsArmsInAnticipationOfBeingPickedUp,"Lifts arms in anticipation of being picked up"),new d(e.sn0.practisesAndGraduallyDevelopsBabbling,"Practises and gradually develops speech sounds (babbling) to communicate with adults; says sounds like 'baba, nono, gogo'"),new d(e.sn0.turnsHeadInResponseToSoundsAndSights,"Turns head in response to sounds and sights"),new d(e.sn0.graduallyHoldsUpOwnHead,"Gradually develops ability to hold up own head"),new d(e.sn0.makesMovementsWithArmsAndLegsBecomingMoreControlled,"Makes movements with arms and legs which gradually become more controlled"),new d(e.sn0.rollsOverFromFrontToBackFromBackToFront,"Rolls over from front to back, from back to front"),new d(e.sn0.whenLyingOnTummyBecomesAbleToLiftHeadAndThenChest,"When lying on tummy becomes able to lift first head and then chest, supporting self with forearms and then straight arms"),new d(e.sn0.watchesAndExploresHandsAndFeet,"Watches and explores hands and feet, e.g. when lying on back lifts legs into vertical position and grasps feet"),new d(e.sn0.reachesOutForTouchesAndHoldsObjects,"Reaches out for, touches and begins to hold objects"),new d(e.sn0.exploresObjectsWithMouth,"Explores objects with mouth, often picking up an object and holding it to the mouth"),new d(e.sn0.respondsToWarmSensitivePhysicalContactAndCare,"Responds to and thrives on warm, sensitive physical contact and care"),new d(e.sn0.expressesDiscomfortHungerOrThirst,"Expresses discomfort, hunger or thirst"),new d(e.sn0.anticipatesFoodRoutinesWithInterest,"Anticipates food routines with interest"),new d(e.sn0.enjoysTheCompanyOfOthers,"Enjoys the company of others and seeks contact with others from birth"),new d(e.sn0.gazesAtFacesAndCopiesFacialMovements,"Gazes at faces and copies facial movements. e.g. sticking out tongue, opening mouth and widening eyes"),new d(e.sn0.respondsWhenTalkedTo,"Responds when talked to, for example, moves arms and legs, changes facial expression, moves body and makes mouth movements"),new d(e.sn0.recognisesAndIsMostResponsiveToMainCarersVoice,"Recognises and is most responsive to main carer's voice: face brightens, activity increases when familiar carer appears"),new d(e.sn0.respondsToWhatCarerIsPayingAttentionTo,"Responds to what carer is paying attention to, e.g. following their gaze"),new d(e.sn0.likesCuddlesAndBeingHeld,"Likes cuddles and being held: calms, snuggles in, smiles, gazes at carer's face or strokes carer's skin"),new d(e.sn0.laughsAndGurgles,"Laughs and gurgles, e.g. shows pleasure at being tickled and other physical interactions"),new d(e.sn0.changingStrategyAsNeeded,"Changing strategy as needed"),new d(e.sn0.usesVoiceGestureEyeContactAndFacialExpression,"Uses voice, gesture, eye contact and facial expression to make contact with people and keep their attention"),new d(e.sn0.isComfortedByTouchAndPeoplesFacesAndVoices,"Is comforted by touch and people's faces and voices"),new d(e.sn0.seeksPhysicalAndEmotionalComfortBySnuggling,"Seeks physical and emotional comfort by snuggling in to trusted adults"),new d(e.sn0.calmsFromBeingUpsetWhenHeldRockedSpokenOrSungTo,"Calms from being upset when held, rocked, spoken or sung to with soothing voice"),new d(e.sn0.showsARangeOfEmotions,"Shows a range of emotions such as pleasure, fear and excitement"),new d(e.sn0.reactsEmotionallyToOtherPeoplesEmotions,"Reacts emotionally to other people's emotions, e.g. smiles when smiled at and becomes distressed if hears another child crying"),new d(e.sn0.enjoysLookingAtBooksAndOtherPrintedMaterialWithFamiliarPeople,"Enjoys looking at books and other printed material with familiar people"),new d(e.sn0.noticesChangesInNumberOfObjectsImagesOrSoundsInGroupOfUpToThree,"Notices changes in number of objects/images or sounds in group of up to 3"),new d(e.sn0.movesEyesThenHeadToFollowMovingObjects,"Moves eyes, then head, to follow moving objects"),new d(e.sn0.reactsWithAbruptChangeWhenAFaceOrObjectDisappearsFromView,"Reacts with abrupt change when a face or object suddenly disappears from view"),new d(e.sn0.looksAroundARoomWithInterest,"Looks around a room with interest; visually scans environment for novel, interesting objects and events"),new d(e.sn0.smilesWithPleasureAtRecognisablePlaythings,"Smiles with pleasure at recognisable playthings"),new d(e.sn0.repeatsActionsThatHaveAnEffect,"Repeats actions that have an effect, e.g. kicking or hitting a mobile or shaking a rattle"),new d(e.sn0.expressiveMovesWholeBodyToSoundsTheyEnjoy08To20,"Moves whole bodies to sounds they enjoy, such as music or a regular beat"),new d(e.sn0.expressiveMovesWholeBodyToSoundsTheyEnjoy16To26,"Moves whole bodies to sounds they enjoy, such as music or a regular beat"),new d(e.sn0.communicationMovesWholeBodyToSoundsTheyEnjoy,"Moves whole bodies to sounds they enjoy, such as music or a regular beat"),new d(e.sn0.hasAStrongExploratoryImpulse,"Has a strong exploratory impulse"),new d(e.sn0.concentratesIntentlyOnAnObjectOrActivityOfOwnChoosing,"Concentrates intently on an object or activity of own choosing for short periods"),new d(e.sn0.paysAttentionToDominantStimulus,"Pays attention to dominant stimulus \u2013 easily distracted by noises or other people talking"),new d(e.sn0.developingAnAbilityToFollowOthersBodyLanguage,"Developing the ability to follow others' body language, including pointing and gesture"),new d(e.sn0.respondsToTheDifferentThingsSaidWithinContextToASpecialPerson,"Responds to the different things said when in a familiar context with a special person (e.g. 'Where's Mummy?', 'Where's your nose?')"),new d(e.sn0.understandingOfSingleWordsInContextIsDeveloping,"Understanding of single words in context is developing, e.g. 'cup', 'milk', 'daddy'"),new d(e.sn0.usesSoundsInPlay,"Uses sounds in play, e.g. 'brrrm' for toy car"),new d(e.sn0.usesSingleWords,"Uses single words"),new d(e.sn0.frequentlyImitatesWordsAndSounds,"Frequently imitates words and sounds"),new d(e.sn0.enjoysBabblingAndIncreasinglyExperimentsWithSoundsAndWordsToCommunicate,"Enjoys babbling and increasingly experiments with using sounds and words to communicate for a range of purposes (e.g. teddy, more, no, bye-bye.)"),new d(e.sn0.communicationUsesPointingWithEyeGazeToMakeRequestsAndToShareInterest,"Uses pointing with eye gaze to make requests, and to share an interest"),new d(e.sn0.createsPersonalWordsAsTheyBeginToDevelopLanguage,"Creates personal words as they begin to develop language"),new d(e.sn0.sitsUnsupportedOnTheFloor,"Sits unsupported on the floor"),new d(e.sn0.whenSittingCanLeanForwardToPickUpSmallToys,"When sitting, can lean forward to pick up small toys"),new d(e.sn0.pullsToStandingHoldingOnToFurnitureOrPersonForSupport,"Pulls to standing, holding on to furniture or person for support"),new d(e.sn0.crawlsBottomShufflesOrRollsContinuously,"Crawls, bottom shuffles or rolls continuously to move around"),new d(e.sn0.walksAroundFurnitureSteppingSidewaysAndWalksWithHandHeld,"Walks around furniture lifting one foot and stepping sideways (cruising), and walks with one or both hands held by adult"),new d(e.sn0.takesFirstFewStepsIndependently,"Takes first few steps independently"),new d(e.sn0.passesToysFromOneHandToTheOther,"Passes toys from one hand to the other"),new d(e.sn0.holdsAnObjectInEachHandAndBringsThemTogetherInTheMiddle,"Holds an object in each hand and brings them together in the middle, e.g. holds two blocks and bangs them together"),new d(e.sn0.picksUpSmallObjectsBetweenThumbAndFingers,"Picks up small objects between thumb and fingers"),new d(e.sn0.enjoysTheSensoryExperienceOfMakingMarksInDampSandPasteOrPaint,"Enjoys the sensory experience of making marks in damp sand, paste or paint"),new d(e.sn0.holdsPenOrCrayonUsingAWholeHandGraspAndMakesRandomMarks,"Holds pen or crayon using a whole hand (palmar) grasp and makes random marks with different strokes"),new d(e.sn0.opensMouthForSpoon,"Opens mouth for spoon"),new d(e.sn0.holdsOwnBottleOrCup,"Holds own bottle or cup"),new d(e.sn0.graspsFingerFoodsAndBringsThemToMouth,"Grasps finger foods and brings them to mouth"),new d(e.sn0.attemptsToUseSpoon,"Attempts to use spoon: can guide towards mouth but food often falls off"),new d(e.sn0.canActivelyCooperateWithNappyChanging,"Can actively cooperate with nappy changing (lies still, helps hold legs up)"),new d(e.sn0.startsToCommunicateUrinationBowelMovement,"Starts to communicate urination, bowel movement"),new d(e.sn0.seeksToGainAttentionInAVarietyOfWays,"Seeks to gain attention in a variety of ways, drawing others into social interaction"),new d(e.sn0.buildsRelationshipsWithSpecialPeople,"Builds relationships with special people"),new d(e.sn0.isWaryOfUnfamiliarPeople,"Is wary of unfamiliar people"),new d(e.sn0.interactsWithOthersAndExploresNewSituations,"Interacts with others and explores new situations when supported by familiar person"),new d(e.sn0.showsInterestInTheActivitiesOfOthersAndRespondsDifferentlyToChildrenAndAdults,"Shows interest in the activities of others and responds differently to children and adults, e.g. may be more interested in watching children than adults or may pay more attention when children talk to them"),new d(e.sn0.enjoysFindingOwnNoseEyesOrTummyAsPartOfNamingGames,"Enjoys finding own nose, eyes or tummy as part of naming games"),new d(e.sn0.learnsThatOwnVoiceAndActionsHaveEffectsOnOthers,"Learns that own voice and actions have effects on others"),new d(e.sn0.psedUsesPointingWithEyeGazeToMakeRequestsAndToShareInterest,"Uses pointing with eye gaze to make requests, and to share an interest"),new d(e.sn0.engagesOtherPersonToHelpAchieveAGoal,"Engages other person to help achieve a goal, e.g. to get an object out of reach"),new d(e.sn0.usesFamiliarAdultToShareFeelings,"Uses familiar adult to share feelings such as excitement or pleasure, and for 'emotional refuelling' when feeling tired, stressed or frustrated"),new d(e.sn0.growingAbilityToSootheThemselves,"Growing ability to soothe themselves, and may like to use a comfort object"),new d(e.sn0.cooperatesWithCaregivingExperiences,"Cooperates with caregiving experiences, e.g. dressing"),new d(e.sn0.beginningToUnderstandYesNoAndSomeBoundaries,"Beginning to understand 'yes', 'no' and some boundaries"),new d(e.sn0.handlesBooksAndPrintedMaterialWithInterest,"Handles books and printed material with interest"),new d(e.sn0.developsAnAwarenessOfNumberNamesThroughRhymeAndSongs,"Develops an awareness of number names through their enjoyment of action rhymes and songs that relate to their experience of numbers"),new d(e.sn0.hasSomeUnderstandingThatThingsExistEvenWhenOutOfSight,"Has some understanding that things exist, even when out of sight"),new d(e.sn0.recognisesBigThingsAndSmallThings,"Recognises big things and small things in meaningful contexts"),new d(e.sn0.getsToKnowAndEnjoyDailyRoutines,"Gets to know and enjoy daily routines, such as getting-up time, mealtimes, nappy time, and bedtime"),new d(e.sn0.closelyObservesWhatAnimalsPeopleAndVehiclesDo,"Closely observes what animals, people and vehicles do"),new d(e.sn0.watchesToysBeingHiddenAndTriesToFindThem,"Watches toy being hidden and tries to find it"),new d(e.sn0.looksForDroppedObjects,"Looks for dropped objects"),new d(e.sn0.becomesAbsorbedInCombiningObjects,"Becomes absorbed in combining objects, e.g. banging two objects or placing objects into containers"),new d(e.sn0.knowsThingsAreUsedInDifferentWays,"Knows things are used in different ways, e.g. a ball for rolling or throwing, a toy car for pushing"),new d(e.sn0.experimentsWithARangeOfMediaThroughSensoryExploration08To20,"Explores and experiments with a range of media through sensory exploration, and using whole body"),new d(e.sn0.imitatesAndImprovisesActionsTheyHaveObserved08To20,"Imitates and improvises actions they have observed, e.g. clapping or waving"),new d(e.sn0.beginsToMoveToMusicListenToOrJoinInRhymesOrSongs08To20,"Begins to move to music, listen to or join in rhymes or songs"),new d(e.sn0.noticesAndIsInterestedInTheEffectsOfMakingMarks08To20,"Notices and is interested in the effects of making movements which leave marks"),new d(e.sn0.experimentsWithARangeOfMediaThroughSensoryExploration16To26,"Explores and experiments with a range of media through sensory exploration, and using whole body"),new d(e.sn0.imitatesAndImprovisesActionsTheyHaveObserved16To26,"Imitates and improvises actions they have observed, e.g. clapping or waving"),new d(e.sn0.beginsToMoveToMusicListenToOrJoinInRhymesOrSongs16To26,"Begins to move to music, listen to or join in rhymes or songs"),new d(e.sn0.noticesAndIsInterestedInTheEffectsOfMakingMarks16To26,"Notices and is interested in the effects of making movements which leave marks"),new d(e.sn0.listensToAndEnjoysRhythmicPatternsInRhymes,"Listens to and enjoys rhythmic patterns in rhymes and stories"),new d(e.sn0.enjoysRhymesAndDemonstratesListeningByTryingToJoinIn,"Enjoys rhymes and demonstrates listening by trying to join in with actions or vocalisations"),new d(e.sn0.rigidAttention,"Rigid attention \u2013 may appear not to hear"),new d(e.sn0.selectsFamiliarObjectsByName,"Selects familiar objects by name and will go and find objects when asked, or identify objects from a group"),new d(e.sn0.understandsSimpleSentences,"Understands simple sentences (e.g. 'Throw the ball.')"),new d(e.sn0.copiesFamiliarExpressions,"Copies familiar expressions, e.g. 'Oh dear', 'All gone'"),new d(e.sn0.beginningToPutTwoWordsTogether,"Beginning to put two words together (e.g. 'want ball', 'more juice')"),new d(e.sn0.usesDifferentTypesOfEverydayWords,"Uses different types of everyday words (nouns, verbs and adjectives, e.g. banana, go, sleep, hot)"),new d(e.sn0.beginningToAskSimpleQuestions,"Beginning to ask simple questions"),new d(e.sn0.beginningToTalkAboutPeopleAndThingsThatAreNotPresent,"Beginning to talk about people and things that are not present"),new d(e.sn0.walksUpstairsHoldingHandOfAdult,"Walks upstairs holding hand of adult"),new d(e.sn0.comesDownstairsBackwardsOnKnees,"Comes downstairs backwards on knees (crawling)"),new d(e.sn0.beginningToBalanceBlocksToBuildSmallTower,"Beginning to balance blocks to build a small tower"),new d(e.sn0.makesConnectionsBetweenTheirMovementAndMarks,"Makes connections between their movement and the marks they make"),new d(e.sn0.developsOwnLikesAndDislikesInFoodAndDrink,"Develops own likes and dislikes in food and drink"),new d(e.sn0.willingToTryNewFoodTexturesAndTastes,"Willing to try new food textures and tastes"),new d(e.sn0.holdsCupWithBothHandsAndDrinksWithoutMuchSpilling,"Holds cup with both hands and drinks without much spilling"),new d(e.sn0.clearlyCommunicatesWetOrSoiledNappyOrPants,"Clearly communicates wet or soiled nappy or pants"),new d(e.sn0.showsSomeAwarenessOfBladderAndBowelUrges,"Shows some awareness of bladder and bowel urges"),new d(e.sn0.showsAwarenessOfWhatAPottyOrToiletIs,"Shows awareness of what a potty or toilet is used for"),new d(e.sn0.showsADesireToHelpWithDressingAndHygieneRoutines,"Shows a desire to help with dressing/undressing and hygiene routines"),new d(e.sn0.playsAlongsideOthers,"Plays alongside others"),new d(e.sn0.usesAFamiliarAdultAsABaseToExploreIndependently,"Uses a familiar adult as a secure base from which to explore independently in new environments, e.g. ventures away to play and interact with others, but returns for a cuddle or reassurance if becomes anxious"),new d(e.sn0.playsCooperativelyWithAFamiliarAdult,"Plays cooperatively with a familiar adult, e.g. rolling a ball back and forth"),new d(e.sn0.exploresNewToysAndEnvironments,"Explores new toys and environments, but 'checks in' regularly with familiar adult as and when needed"),new d(e.sn0.graduallyAbleToEngageInPretendPlay,"Gradually able to engage in pretend play with toys (supports child to understand their own thinking may be different from others)"),new d(e.sn0.demonstratesSenseOfSelfAsAnIndividual,'Demonstrates sense of self as an individual, e.g. wants to do things independently, says "No" to adult'),new d(e.sn0.isAwareOfOtherPeoplesFeelings,"Is aware of others' feelings, for example, looks concerned if hears crying or looks excited if hears a familiar happy voice"),new d(e.sn0.growingSenseOfWillAndDeterminationMayResultInAnger,"Growing sense of will and determination may result in feelings of anger and frustration which are difficult to handle, e.g. may have tantrums"),new d(e.sn0.respondsToAFewAppropriateBoundariesWithEncouragement,"Responds to a few appropriate boundaries, with encouragement and support"),new d(e.sn0.beginsToLearnThatSomeThingsAreTheirsSomeAreSharedSomeAreNotTheirs,"Begins to learn that some things are theirs, some things are shared, and some things belong to other people"),new d(e.sn0.interestedInBooksAndRhymesAndMayHaveFavourites,"Interested in books and rhymes and may have favourites"),new d(e.sn0.knowsThatThingsExistEvenWhenOutOfSight,"Knows that things exist, even when out of sight"),new d(e.sn0.beginningToOrganiseAndCategoriseObjects,"Beginning to organise and categorise objects, e.g. putting all the teddy bears together or teddies and cars in separate piles"),new d(e.sn0.saysSomeCountingWordsRandomly,"Says some counting words randomly"),new d(e.sn0.attemptsToFitShapesIntoSpaces,"Attempts, sometimes successfully, to fit shapes into spaces on inset boards or jigsaw puzzles"),new d(e.sn0.usesBlocksToCreateTheirOwnSimpleStructures,"Uses blocks to create their own simple structures and arrangements"),new d(e.sn0.enjoysFillingAndEmptyingContainers,"Enjoys filling and emptying containers"),new d(e.sn0.associatesASequenceOfActionsWithDailyRoutines,"Associates a sequence of actions with daily routines"),new d(e.sn0.beginningToUnderstandThatThingsMightHappenNow,"Beginning to understand that things might happen 'now'"),new d(e.sn0.isCuriousAboutPeople,"Is curious about people and shows interest in stories about themselves and their family"),new d(e.sn0.enjoysPicturesAndStoriesAboutThemselves,"Enjoys pictures and stories about themselves, their families and other people"),new d(e.sn0.exploresObjectsByLinkingTogetherDifferentApproaches,"Explores objects by linking together different approaches: shaking, hitting, looking, feeling, tasting, mouthing, pulling, turning and poking"),new d(e.sn0.remembersWhereObjectsBelong,"Remembers where objects belong"),new d(e.sn0.matchesPartsOfObjectsThatFitTogether,"Matches parts of objects that fit together, e.g. puts lid on teapot"),new d(e.sn0.anticipatesRepeatedSoundsSightsAndActions,"Anticipates repeated sounds, sights and actions, e.g. when an adult demonstrates an action toy several times"),new d(e.sn0.showsInterestInToysWithButtonsFlapsAndSimpleMechanisms,"Shows interest in toys with buttons, flaps and simple mechanisms and beginning to learn to operate them."),new d(e.sn0.expressesSelfThroughPhysicalActionAndSound,"Expresses self through physical action and sound"),new d(e.sn0.pretendsThatOneObjectRepresentsAnother,"Pretends that one object represents another, especially when objects have characteristics in common"),new d(e.sn0.listensWithInterestToTheNoisesAdultsMakeWhenTheyReadStories,"Listens with interest to the noises adults make when they read stories"),new d(e.sn0.recognisesAndRespondsToManyFamiliarSounds,"Recognises and responds to many familiar sounds, e.g. turning to a knock on the door, looking at or going to the door"),new d(e.sn0.showsInterestInPlayWithSoundsSongsAndRhymes,"Shows interest in play with sounds, songs and rhymes"),new d(e.sn0.singleChannelledAttention,"Single channelled attention. Can shift to a different task if attention fully obtained \u2013 using child's name helps focus"),new d(e.sn0.identifiesActionWordsByPointingToTheRightPicture,'Identifies action words by pointing to the right picture, e.g., "Who\'s jumping?"'),new d(e.sn0.understandsMoreComplexSentences,"Understands more complex sentences, e.g. 'Put your toys away and then we'll read a book.'"),new d(e.sn0.understandsWhoWhatWhereInSimpleQuestions,"Understands 'who', 'what', 'where' in simple questions (e.g. Who's that/can? What's that? Where is.?)"),new d(e.sn0.developingUnderstandingOfSimpleConcepts,"Developing understanding of simple concepts (e.g. big/little)"),new d(e.sn0.usesLanguageAsAPowerfulMeansOfWideningContacts,"Uses language as a powerful means of widening contacts, sharing feelings, experiences and thoughts"),new d(e.sn0.holdsAConversationJumpingFromTopicToTopic,"Holds a conversation, jumping from topic to topic"),new d(e.sn0.learnsNewWordsVeryRapidlyAndIsAbleToUseThemInCommunicating,"Learns new words very rapidly and is able to use them in communicating"),new d(e.sn0.usesGesturesSometimesWithLimitedTalk,"Uses gestures, sometimes with limited talk, e.g. reaches toward toy, saying 'I have it'"),new d(e.sn0.usesAVarietyOfQuestions,"Uses a variety of questions (e.g. what, where, who)"),new d(e.sn0.usesSimpleSentences,"Uses simple sentences (e.g. 'Mummy gonna work.')"),new d(e.sn0.beginningToUseWordEndings,"Beginning to use word endings (e.g. going, cats)"),new d(e.sn0.runsSafelyOnWholeFoot,"Runs safely on whole foot"),new d(e.sn0.squatsWithSteadinessToRestOrPlayWithObjectOnGround,"Squats with steadiness to rest or play with object on the ground, and rises to feet without using hands"),new d(e.sn0.climbsConfidentlyAndIsBeginningToPullThemselvesUp,"Climbs confidently and is beginning to pull themselves up on nursery play climbing equipment"),new d(e.sn0.canKickALargeBall,"Can kick a large ball"),new d(e.sn0.turnsPagesInABookSometimesSeveralAtOnce,"Turns pages in a book, sometimes several at once"),new d(e.sn0.showsControlInHoldingAndUsingJugsToPour,"Shows control in holding and using jugs to pour, hammers, books and mark-making tools"),new d(e.sn0.beginningToUseThreeFingersToHoldWritingTools,"Beginning to use three fingers (tripod grip) to hold writing tools"),new d(e.sn0.imitatesDrawingSimpleShapesSuchAsCirclesAndLines,"Imitates drawing simple shapes such as circles and lines"),new d(e.sn0.walksUpstairsOrDownstairsHoldingOntoARailTwoFeetToAStep,"Walks upstairs or downstairs holding onto a rail two feet to a step"),new d(e.sn0.mayBeBeginningToShowPreferenceForDominantHand,"May be beginning to show preference for dominant hand"),new d(e.sn0.feedsSelfCompetentlyWithSpoon,"Feeds self competently with spoon"),new d(e.sn0.drinksWellWithoutSpilling,"Drinks well without spilling"),new d(e.sn0.clearlyCommunicatesTheirNeedForPottyOrToilet,"Clearly communicates their need for potty or toilet"),new d(e.sn0.beginningToRecogniseDangerAndSeeksSupportOfSignificantAdultsForHelp,"Beginning to recognise danger and seeks support of significant adults for help"),new d(e.sn0.helpsWithClothing,"Helps with clothing, e.g. puts on hat, unzips zipper on jacket, takes off unbuttoned shirt"),new d(e.sn0.beginningToBeIndependentInSelfCareButStillOftenNeedsAdultSupport,"Beginning to be independent in self-care, but still often needs adult support"),new d(e.sn0.interestedInOthersPlayAndStartingToJoinIn,"Interested in others' play and starting to join in."),new d(e.sn0.seeksOutOthersToShareExperiences,"Seeks out others to share experiences"),new d(e.sn0.showsAffectionAndConcernForPeopleWhoAreSpecialToThem,"Shows affection and concern for people who are special to them"),new d(e.sn0.mayFormASpecialFriendshipWithAnotherChild,"May form a special friendship with another child"),new d(e.sn0.separatesFromMainCarerWithSupportAndEncouragement,"Separates from main carer with support and encouragement from a familiar adult"),new d(e.sn0.expressesOwnPreferencesAndInterests,"Expresses own preferences and interests"),new d(e.sn0.seeksComfortFromFamiliarAdultsWhenNeeded,"Seeks comfort from familiar adults when needed"),new d(e.sn0.canExpressTheirOwnFeelings,"Can express their own feelings such as sad, happy, cross, scared or worried"),new d(e.sn0.respondsToTheFeelingsAndWishesOfOthers,"Responds to the feelings and wishes of others"),new d(e.sn0.awareThatSomeActionsCanHurtOrHarmOthers,"Aware that some actions can hurt or harm others"),new d(e.sn0.triesToHelpOrGiveComfortWhenOthersAreDistressed,"Tries to help or give comfort when others are distressed"),new d(e.sn0.showsUnderstandingAndCooperatesWithSomeBoundaries,"Shows understanding and cooperates with some boundaries and routines"),new d(e.sn0.canInhibitOwnActions,"Can inhibit own actions/behaviours, e.g. stop themselves from doing something they shouldn't do"),new d(e.sn0.growingAbilityToDistractSelfWhenUpset,"Growing ability to distract self when upset, e.g. by engaging in a new play activity"),new d(e.sn0.hasSomeFavouriteStoriesRhymesSongsPoemsOrJingles,"Has some favourite stories, rhymes, songs, poems or jingles"),new d(e.sn0.repeatsWordsOrPhrasesFromFamiliarStories,"Repeats words or phrases from familiar stories"),new d(e.sn0.fillsInTheMissingWordOrPhraseInAKnownRhymeStoryOrGame,"Fills in the missing word or phrase in a known rhyme, story or game, e.g. 'Humpty Dumpty sat on a \u2026'"),new d(e.sn0.distinguishesBetweenTheDifferentMarksTheyMake,"Distinguishes between the different marks they make"),new d(e.sn0.selectsASmallNumberOfObjectsFromAGroupWhenAsked,"Selects a small number of objects from a group when asked, for example, 'please give me one', 'please give me two'"),new d(e.sn0.recitesSomeNumberNamesInSequence,"Recites some number names in sequence"),new d(e.sn0.createsAndExperimentsWithSymbolsAndMarksRepresentingIdeasOfNumber,"Creates and experiments with symbols and marks representing ideas of number"),new d(e.sn0.beginsToMakeComparisonsBetweenQuantities,"Begins to make comparisons between quantities"),new d(e.sn0.usesSomeLanguageOfQuantities,"Uses some language of quantities, such as 'more' and 'a lot'"),new d(e.sn0.knowsThatAGroupOfThingsChangesInQuantityWhenSomethingIsAddedOrTakenAway,"Knows that a group of things changes in quantity when something is added or taken away"),new d(e.sn0.noticesSimpleShapesAndPatternsInPictures,"Notices simple shapes and patterns in pictures"),new d(e.sn0.beginningToCategoriseObjectsAccordingToProperties,"Beginning to categorise objects according to properties such as shape or size"),new d(e.sn0.beginsToUseTheLanguageOfSize,"Begins to use the language of size"),new d(e.sn0.understandsSomeTalkAboutImmediatePastAndFuture,"Understands some talk about immediate past and future, e.g. 'before', 'later' or 'soon'"),new d(e.sn0.anticipatesSpecificTimeBasedEventsSuchAsMealtimesOrHometime,"Anticipates specific time-based events such as mealtimes or home time"),new d(e.sn0.hasASenseOfOwnImmediateFamilyAndRelations,"Has a sense of own immediate family and relations"),new d(e.sn0.inPretendPlayImitatesEverydayActionsAndEventsFromOwnFamily,"In pretend play, imitates everyday actions and events from own family and cultural background, e.g. making and drinking tea"),new d(e.sn0.beginningToHaveTheirOwnFriends,"Beginning to have their own friends"),new d(e.sn0.learnsThatTheyHaveSimilaritiesAndDifferencesToOthers,"Learns that they have similarities and differences that connect them to, and distinguish them from, others"),new d(e.sn0.enjoysPlayingWithSmallWorldModelsSuchAsAFarm,"Enjoys playing with small-world models such as a farm, a garage, or a train track"),new d(e.sn0.noticesDetailedFeaturesOfObjectsInTheirEnvironment,"Notices detailed features of objects in their environment"),new d(e.sn0.seeksToAcquireBasicSkillsInTurningOnAndOperatingIctEquipment,"Seeks to acquire basic skills in turning on and operating some ICT equipment"),new d(e.sn0.operatesMechanicalToys,"Operates mechanical toys, e.g. turns the knob on a wind-up toy or pulls back on a friction car"),new d(e.sn0.joinsInSingingFavouriteSongs,"Joins in singing favourite songs"),new d(e.sn0.createsSoundsByBangingShakingTappingOrBlowing,"Creates sounds by banging, shaking, tapping or blowing"),new d(e.sn0.showsAnInterestInTheWayMusicalInstrumentsSound,"Shows an interest in the way musical instruments sound"),new d(e.sn0.experimentsWithBlocksColoursAndMarks,"Experiments with blocks, colours and marks"),new d(e.sn0.beginningToUseRepresentationToCommunicate,"Beginning to use representation to communicate, e.g. drawing a line and saying 'That's me.'"),new d(e.sn0.beginningToMakeBelieveByPretending,"Beginning to make-believe by pretending"),new d(e.sn0.listensToOthersOneToOneOrInSmallGroups,"Listens to others one to one or in small groups, when conversation interests them"),new d(e.sn0.communicationListensToStoriesWithIncreasingAttentionAndRecall,"Listens to stories with increasing attention and recall"),new d(e.sn0.readingListensToStoriesWithIncreasingAttentionAndRecall,"Listens to stories with increasing attention and recall"),new d(e.sn0.joinsInWithRepeatedRefrainsAndAnticipatesKeyEventsInRhymesAndStories,"Joins in with repeated refrains and anticipates key events and phrases in rhymes and stories"),new d(e.sn0.focusingAttention,"Focusing attention \u2013 still listen or do, but can shift own attention"),new d(e.sn0.isAbleToFollowDirections,"Is able to follow directions (if not intently focused on own choice of activity)"),new d(e.sn0.understandsUseOfObjects,"Understands use of objects (e.g. 'What do we use to cut things?')"),new d(e.sn0.showsUnderstandingOfPrepositions,"Shows understanding of prepositions such as 'under', 'on top', 'behind' by carrying out an action or selecting correct picture"),new d(e.sn0.respondsToSimpleInstructions,"Responds to simple instructions, e.g. to get or put away an object"),new d(e.sn0.beginningToUnderstandWhyAndHowQuestions,"Beginning to understand 'why' and 'how' questions"),new d(e.sn0.beginningToUseMoreComplexSentencesToLinkThoughts,"Beginning to use more complex sentences to link thoughts (e.g. using and, because)"),new d(e.sn0.canRetellASimplePastEventInCorrectOrder,"Can retell a simple past event in correct order (e.g. went down slide, hurt finger)"),new d(e.sn0.usesTalkToConnectIdeas,"Uses talk to connect ideas, explain what is happening and anticipate what might happen next, recall and relive past experiences"),new d(e.sn0.questionsWhyThingsHappenAndGivesExplanations,"Questions why things happen and gives explanations. Asks e.g. who, what, when, how"),new d(e.sn0.usesARangeOfTenses,"Uses a range of tenses (e.g. play, playing, will play, played)"),new d(e.sn0.usesIntonationRhythmAndPhrasingToMakeTheMeaningClearToOthers,"Uses intonation, rhythm and phrasing to make the meaning clear to others"),new d(e.sn0.usesVocabularyFocusedOnObjectsAndPeopleThatAreOfParticularImportanceToThem,"Uses vocabulary focused on objects and people that are of particular importance to them"),new d(e.sn0.buildsUpVocabularyThatReflectsTheirExperiences,"Builds up vocabulary that reflects the breadth of their experiences"),new d(e.sn0.usesTalkInPretendingThatObjectsStandForSomethingElse,"Uses talk in pretending that objects stand for something else in play, e.g. 'This box is my castle"),new d(e.sn0.movesFreelyAndWithPleasureAndConfidenceInARangeOfWays,"Moves freely and with pleasure and confidence in a range of ways, such as slithering, shuffling, rolling, crawling, walking, running, jumping, skipping, sliding and hopping"),new d(e.sn0.mountsStairsStepsOrClimbingEquipmentUsingAlternateFeet,"Mounts stairs, steps or climbing equipment using alternate feet"),new d(e.sn0.walksDownstairsTwoFeetToEachStepWhileCarryingASmallObject,"Walks downstairs, two feet to each step while carrying a small object"),new d(e.sn0.runsSkilfullyAndNegotiatesSpaceSuccessfully,"Runs skilfully and negotiates space successfully, adjusting speed or direction to avoid obstacles"),new d(e.sn0.canStandMomentarilyOnOneFoot,"Can stand momentarily on one foot when shown"),new d(e.sn0.canCatchALargeBall,"Can catch a large ball"),new d(e.sn0.drawsLinesAndCirclesUsingGrossMotorMovements,"Draws lines and circles using gross motor movements"),new d(e.sn0.usesOneHandedToolsAndEquipment,"Uses one-handed tools and equipment, e.g. makes snips in paper with child scissors"),new d(e.sn0.holdsPencilBetweenThumbAndTwoFingers,"Holds pencil between thumb and two fingers, no longer using whole-hand grasp"),new d(e.sn0.holdsPencilNearPoint,"Holds pencil near point between first two fingers and thumb and uses it with good control"),new d(e.sn0.canCopySomeLetters,"Can copy some letters, e.g. letters from their name"),new d(e.sn0.canTellAdultsWhenHungryOrTiredOrWhenTheyWantToRestOrPlay,"Can tell adults when hungry or tired or when they want to rest or play"),new d(e.sn0.observesTheEffectsOfActivityOnTheirBodies,"Observes the effects of activity on their bodies"),new d(e.sn0.understandsThatEquipmentAndToolsHaveToBeUsedSafely,"Understands that equipment and tools have to be used safely"),new d(e.sn0.gainsMoreBowelAndBladderControlAndCanAttendToToiletingNeeds,"Gains more bowel and bladder control and can attend to toileting needs most of the time themselves"),new d(e.sn0.canUsuallyManageWashingAndDryingHands,"Can usually manage washing and drying hands"),new d(e.sn0.dressesWithHelp,"Dresses with help, e.g. puts arms into open-fronted coat or shirt when held up, pulls up own trousers, and pulls up zipper once it is fastened at the bottom"),new d(e.sn0.canPlayInAGroupExtendingAndElaboratingPlayIdeas,"Can play in a group, extending and elaborating play ideas, e.g. building up a role-play activity with other children"),new d(e.sn0.initiatesPlayOfferingCuesToPeersToJoinThem,"Initiates play, offering cues to peers to join them"),new d(e.sn0.keepsPlayGoingByRespondingToWhatOthersAreSayingOrDoing,"Keeps play going by responding to what others are saying or doing"),new d(e.sn0.demonstratesFriendlyBehaviour,"Demonstrates friendly behaviour, initiating conversations and forming good relationships with peers and familiar adults"),new d(e.sn0.canSelectAndUseActivitiesAndResourcesWithHelp,"Can select and use activities and resources with help"),new d(e.sn0.welcomesAndValuesPraiseForWhatTheyHaveDone,"Welcomes and values praise for what they have done"),new d(e.sn0.enjoysResponsibilityOfCarryingOutSmallTasks,"Enjoys responsibility of carrying out small tasks"),new d(e.sn0.isMoreOutgoingTowardsUnfamiliarPeople,"Is more outgoing towards unfamiliar people and more confident in new social situations"),new d(e.sn0.confidentToTalkToOtherChildrenWhenPlaying,"Confident to talk to other children when playing, and will communicate freely about own home and community"),new d(e.sn0.showsConfidenceInAskingAdultsForHelp,"Shows confidence in asking adults for help"),new d(e.sn0.awareOfOwnFeelingsAndKnowsThatSomeActionsHurt,"Aware of own feelings, and knows that some actions and words can hurt others' feelings"),new d(e.sn0.beginsToAcceptTheNeedsOfOthersAndCanShare,"Begins to accept the needs of others and can take turns and share resources, sometimes with support from others"),new d(e.sn0.canUsuallyTolerateDelayWhenNeedsAreNotImmediatelyMet,"Can usually tolerate delay when needs are not immediately met, and understands wishes may not always be met"),new d(e.sn0.canUsuallyAdaptBehaviourToDifferentEvents,"Can usually adapt behaviour to different events, social situations and changes in routine"),new d(e.sn0.enjoysRhymingAndRhythmicActivities,"Enjoys rhyming and rhythmic activities"),new d(e.sn0.showsAwarenessOfRhymeAndAlliteration,"Shows awareness of rhyme and alliteration"),new d(e.sn0.recognisesRhythmInSpokenWords,"Recognises rhythm in spoken words"),new d(e.sn0.listensToAndJoinsInWithStoriesAndPoems,"Listens to and joins in with stories and poems, one-to-one and also in small groups"),new d(e.sn0.joinsInWithRepeatedRefrainsAndAnticipatesKeyEvents,"Joins in with repeated refrains and anticipates key events and phrases in rhymes and stories"),new d(e.sn0.beginningToBeAwareOfTheWayStoriesAreStructured,"Beginning to be aware of the way stories are structured"),new d(e.sn0.suggestsHowTheStoryMightEnd,"Suggests how the story might end"),new d(e.sn0.describesMainStorySettingsEventsAndPrincipalCharacters,"Describes main story settings, events and principal characters"),new d(e.sn0.showsInterestInIllustrationsAndPrintInBooks,"Shows interest in illustrations and print in books and print in the environment"),new d(e.sn0.recognisesFamiliarWordsAndSigns,"Recognises familiar words and signs such as own name and advertising logos"),new d(e.sn0.looksAtBooksIndependently,"Looks at books independently"),new d(e.sn0.handlesBooksCarefully,"Handles books carefully"),new d(e.sn0.knowsInformationCanBeRelayedInTheFormOfPrint,"Knows information can be relayed in the form of print"),new d(e.sn0.holdsBooksTheCorrectWayUpAndTurnsPages,"Holds books the correct way up and turns pages"),new d(e.sn0.knowsThatPrintCarriesMeaning,"Knows that print carries meaning and, in English, is read from left to right and top to bottom"),new d(e.sn0.sometimesGivesMeaningToMarksAsTheyDrawAndPaint,"Sometimes gives meaning to marks as they draw and paint"),new d(e.sn0.ascribesMeaningsToMarksThatTheySeeInDifferentPlaces,"Ascribes meanings to marks that they see in different places"),new d(e.sn0.usesSomeNumberNamesAndNumberLanguageSpontaneously,"Uses some number names and number language spontaneously"),new d(e.sn0.usesSomeNumberNamesAccuratelyInPlay,"Uses some number names accurately in play"),new d(e.sn0.recitesNumbersInOrderToTen,"Recites numbers in order to 10"),new d(e.sn0.knowsThatNumbersIdentifyHowManyObjectsAreInASet,"Knows that numbers identify how many objects are in a set"),new d(e.sn0.beginningToRepresentNumbersUsingFingersMarksPaperOrPictures,"Beginning to represent numbers using fingers, marks on paper or pictures"),new d(e.sn0.sometimesMatchesNumeralAndQuantityCorrectly,"Sometimes matches numeral and quantity correctly"),new d(e.sn0.showsCuriosityAboutNumbersByOfferingCommentsOrAskingQuestions,"Shows curiosity about numbers by offering comments or asking questions"),new d(e.sn0.comparesTwoGroupsOfObjectsSayingWhenTheyHaveTheSameNumber,"Compares two groups of objects, saying when they have the same number"),new d(e.sn0.showsAnInterestInNumberProblems,"Shows an interest in number problems"),new d(e.sn0.separatesAGroupOfThreeOrFourObjectsInDifferentWays,"Separates a group of three or four objects in different ways, beginning to recognise that the total is still the same"),new d(e.sn0.showsAnInterestInNumeralsInTheEnvironment,"Shows an interest in numerals in the environment"),new d(e.sn0.showsAnInterestInRepresentingNumbers,"Shows an interest in representing numbers"),new d(e.sn0.realisesNotOnlyObjectsButAnythingCanBeCounted,"Realises not only objects, but anything can be counted, including steps, claps or jumps"),new d(e.sn0.showsAnInterestInShapeAndSpaceByPlayingWithShapes,"Shows an interest in shape and space by playing with shapes or making arrangements with objects"),new d(e.sn0.showsAwarenessOfSimilaritiesOfShapesInTheEnvironment,"Shows awareness of similarities of shapes in the environment"),new d(e.sn0.usesPositionalLanguage,"Uses positional language"),new d(e.sn0.showsInterestInShapeBySustainedConstructionActivityOrByTalkingAboutShapes,"Shows interest in shape by sustained construction activity or by talking about shapes or arrangements"),new d(e.sn0.showsInterestInShapesInTheEnvironment,"Shows interest in shapes in the environment"),new d(e.sn0.usesShapesAppropriatelyForTasks,"Uses shapes appropriately for tasks"),new d(e.sn0.beginningToTalkAboutTheShapesOfEverydayObjects,"Beginning to talk about the shapes of everyday objects, e.g. 'round' and 'tall'"),new d(e.sn0.showsInterestInTheLivesOfPeopleWhoAreFamiliarToThem,"Shows interest in the lives of people who are familiar to them"),new d(e.sn0.remembersAndTalksAboutSignificantEvents,"Remembers and talks about significant events in their own experience"),new d(e.sn0.recognisesAndDescribesSpecialTimesOrEvents,"Recognises and describes special times or events for family or friends"),new d(e.sn0.showsInterestInDifferentOccupationsAndWaysOfLife,"Shows interest in different occupations and ways of life"),new d(e.sn0.knowsSomeOfTheThingsThatMakeThemUnique,"Knows some of the things that make them unique, and can talk about some of the similarities and differences in relation to friends or family"),new d(e.sn0.commentsAndAsksQuestionsAboutAspectsOfTheirFamiliarWorld,"Comments and asks questions about aspects of their familiar world such as the place where they live or the natural world"),new d(e.sn0.canTalkAboutSomeOfTheThingsTheyHaveObserved,"Can talk about some of the things they have observed such as plants, animals, natural and found objects"),new d(e.sn0.talksAboutWhyThingsHappenAndHowThingsWork,"Talks about why things happen and how things work"),new d(e.sn0.developingAnUnderstandingOfGrowthDecayAndChangesOverTime,"Developing an understanding of growth, decay and changes over time"),new d(e.sn0.showsCareAndConcernForLivingThingsAndTheEnvironment,"Shows care and concern for living things and the environment"),new d(e.sn0.knowsHowToOperateSimpleEquipment,"Knows how to operate simple equipment, e.g. turns on CD player and uses remote control"),new d(e.sn0.showsAnInterestInTechnologicalToys,"Shows an interest in technological toys with knobs or pulleys, or real objects such as cameras or mobile phones"),new d(e.sn0.showsSkillInMakingToysWorkByPressingPartsOrLiftingFlaps,"Shows skill in making toys work by pressing parts or lifting flaps to achieve effects such as sound, movements or new images"),new d(e.sn0.knowsThatInformationCanBeRetrievedFromComputers,"Knows that information can be retrieved from computers"),new d(e.sn0.enjoysJoiningInWithDancingAndRingGames,"Enjoys joining in with dancing and ring games"),new d(e.sn0.singsAFewFamiliarSongs,"Sings a few familiar songs"),new d(e.sn0.beginningToMoveRhythmically,"Beginning to move rhythmically"),new d(e.sn0.imitatesMovementInResponseToMusic,"Imitates movement in response to music"),new d(e.sn0.tapsOutSimpleRepeatedRhythms,"Taps out simple repeated rhythms"),new d(e.sn0.exploresAndLearnsHowSoundsCanBeChanged,"Explores and learns how sounds can be changed"),new d(e.sn0.exploresColourAndHowColoursCanBeChanged,"Explores colour and how colours can be changed"),new d(e.sn0.understandsThatTheyCanUseLinesToEncloseASpace,"Understands that they can use lines to enclose a space, and then begin to use these shapes to represent objects"),new d(e.sn0.beginningToBeInterestedInAndDescribeTheTextureOfThings,"Beginning to be interested in and describe the texture of things"),new d(e.sn0.usesVariousConstructionMaterials,"Uses various construction materials"),new d(e.sn0.beginningToConstructStackingBlocksVerticallyAndHorizontally,"Beginning to construct, stacking blocks vertically and horizontally, making enclosures and creating spaces"),new d(e.sn0.joinsConstructionPiecesTogetherToBuildAndBalance,"Joins construction pieces together to build and balance"),new d(e.sn0.realisesToolsCanBeUsedForAPurpose,"Realises tools can be used for a purpose"),new d(e.sn0.developingPreferencesForFormsOfExpression,"Developing preferences for forms of expression"),new d(e.sn0.usesMovementToExpressFeelings,"Uses movement to express feelings"),new d(e.sn0.createsMovementInResponseToMusic,"Creates movement in response to music"),new d(e.sn0.singsToSelfAndMakesUpSimpleSongs,"Sings to self and makes up simple songs"),new d(e.sn0.makesUpRhythms,"Makes up rhythms"),new d(e.sn0.noticesWhatAdultsDoImitatingWhatIsObserved,"Notices what adults do, imitating what is observed and then doing it spontaneously when the adult is not there"),new d(e.sn0.engagesInImaginativeRoleplayBasedOnOwnFirstHandExperiences,"Engages in imaginative role-play based on own first-hand experiences"),new d(e.sn0.buildsStoriesAroundToys,"Builds stories around toys, e.g. farm animals needing rescue from an armchair 'cliff'"),new d(e.sn0.usesAvailableResourcesToCreatePropsToSupportRoleplay,"Uses available resources to create props to support role-play"),new d(e.sn0.capturesExperiencesAndResponsesWithARangeOfMedia,"Captures experiences and responses with a range of media, such as music, dance and paint and other materials or words"),new d(e.sn0.maintainsAttentionConcentratesAndSitsQuietlyDuringAppropriateActivity,"Maintains attention, concentrates and sits quietly during appropriate activity"),new d(e.sn0.twoChannelledAttentionCanListenAndDoForShortSpan,"Two-channelled attention \u2013 can listen and do for short span"),new d(e.sn0.respondsToInstructionsInvolvingATwoPartSequence,"Responds to instructions involving a two-part sequence"),new d(e.sn0.ableToFollowAStoryWithoutPicturesOrProps,"Able to follow a story without pictures or props"),new d(e.sn0.listensAndRespondsToIdeasExpressedByOthers,"Listens and responds to ideas expressed by others in conversation or discussion"),new d(e.sn0.extendsVocabularyEspeciallyByGroupingAndNaming,"Extends vocabulary, especially by grouping and naming, exploring the meaning and sounds of new words"),new d(e.sn0.usesLanguageToImagineAndRecreateRolesAndExperiences,"Uses language to imagine and recreate roles and experiences in play situations"),new d(e.sn0.linksStatementsAndSticksToAMainThemeOrIntention,"Links statements and sticks to a main theme or intention"),new d(e.sn0.usesTalkToOrganiseSequenceAndClarifyThinkingIdeasFeelingsAndEvents,"Uses talk to organise, sequence and clarify thinking, ideas, feelings and events"),new d(e.sn0.communicationIntroducesAStorylineOrNarrativeIntoTheirPlay,"Introduces a storyline or narrative into their play"),new d(e.sn0.expressiveIntroducesAStorylineOrNarrativeIntoTheirPlay,"Introduces a storyline or narrative into their play"),new d(e.sn0.experimentsWithDifferentWaysOfMoving,"Experiments with different ways of moving"),new d(e.sn0.jumpsOffAnObjectAndLandsAppropriately,"Jumps off an object and lands appropriately"),new d(e.sn0.negotiatesSpaceSuccessfullyWhenPlayingRacingAndChasingGames,"Negotiates space successfully when playing racing and chasing games with other children, adjusting speed or changing direction to avoid obstacles"),new d(e.sn0.travelsWithConfidenceAndSkillAroundUnderOverAndThroughClimbingEquipment,"Travels with confidence and skill around, under, over and through balancing and climbing equipment"),new d(e.sn0.showsIncreasingControlOverAnObjectInPushingPattingThrowingCatchingOrKicking,"Shows increasing control over an object in pushing, patting, throwing, catching or kicking it"),new d(e.sn0.usesSimpleToolsToEffectChangesToMaterials,"Uses simple tools to effect changes to materials"),new d(e.sn0.handlesToolsObjectsConstructionAndMalleableMaterialsSafely,"Handles tools, objects, construction and malleable materials safely and with increasing control"),new d(e.sn0.showsAPreferenceForADominantHand,"Shows a preference for a dominant hand"),new d(e.sn0.beginsToUseAnticlockwiseMovementAndRetraceVerticalLines,"Begins to use anticlockwise movement and retrace vertical lines"),new d(e.sn0.beginsToFormRecognisableLetters,"Begins to form recognisable letters"),new d(e.sn0.usesAPencilAndHoldsItEffectivelyToFormRecognisableLetters,"Uses a pencil and holds it effectively to form recognisable letters, most of which are correctly formed"),new d(e.sn0.eatsAHealthyRangeOfFoodstuffsAndUnderstandsNeedForVarietyInFood,"Eats a healthy range of foodstuffs and understands need for variety in food"),new d(e.sn0.usuallyDryAndCleanDuringTheDay,"Usually dry and clean during the day"),new d(e.sn0.showsSomeUnderstandingThatGoodPracticesWithRegardToExerciseEatingSleepingAndHygiene,"Shows some understanding that good practices with regard to exercise, eating, sleeping and hygiene can contribute to good health"),new d(e.sn0.showsUnderstandingOfTheNeedForSafetyWhenTacklingNewChallenges,"Shows understanding of the need for safety when tackling new challenges, and considers and manages some risks"),new d(e.sn0.showsUnderstandingOfHowToTransportAndStoreEquipmentSafely,"Shows understanding of how to transport and store equipment safely"),new d(e.sn0.practicesSomeAppropriateSafetyMeasuresWithoutDirectSupervision,"Practices some appropriate safety measures without direct supervision"),new d(e.sn0.initiatesOwnConversations,"Initiates conversations, attends to and takes account of what others say"),new d(e.sn0.explainsOwnKnowledgeAndUnderstandingAndAsksAppropriateQuestions,"Explains own knowledge and understanding, and asks appropriate questions of others"),new d(e.sn0.takesStepsToResolveConflictsWithOtherChildren,"Takes steps to resolve conflicts with other children, e.g. finding a compromise"),new d(e.sn0.confidentToSpeakToOthersAboutOwnNeedsWantsInterestsAndOpinions,"Confident to speak to others about own needs, wants, interests and opinions"),new d(e.sn0.canDescribeSelfInPositiveTermsAndTalkAboutAbilities,"Can describe self in positive terms and talk about abilities"),new d(e.sn0.understandsThatOwnActionsAffectOtherPeople,"Understands that own actions affect other people, for example, becomes upset or tries to comfort another child when they realise they have upset them"),new d(e.sn0.awareOfTheBoundariesSetAndOfBehaviouralExpectations,"Aware of the boundaries set, and of behavioural expectations in the setting"),new d(e.sn0.beginningToBeAbleToNegotiateAndSolveProblemsWithoutAggression,"Beginning to be able to negotiate and solve problems without aggression, e.g. when someone has taken their toy"),new d(e.sn0.readingContinuesARhymingString,"Continues a rhyming string"),new d(e.sn0.writingContinuesARhymingString,"Continues a rhyming string"),new d(e.sn0.readingHearsAndSaysTheInitialSoundInWords,"Hears and says the initial sound in words"),new d(e.sn0.writingHearsAndSaysTheInitialSoundInWords,"Hears and says the initial sound in words"),new d(e.sn0.canSegmentTheSoundsInSimpleWords,"Can segment the sounds in simple words and blend them together and knows which letters represent some of them"),new d(e.sn0.canSegmentTheSoundsInSimpleWordsAndBlendThemTogether,"Can segment the sounds in simple words and blend them together"),new d(e.sn0.readingLinksSoundsToLettersNamingAndSoundingTheLettersOfTheAlphabet,"Links sounds to letters, naming and sounding the letters of the alphabet"),new d(e.sn0.writingLinksSoundsToLettersNamingAndSoundingTheLettersOfTheAlphabet,"Links sounds to letters, naming and sounding the letters of the alphabet"),new d(e.sn0.beginsToReadWordsAndSimpleSentences,"Begins to read words and simple sentences"),new d(e.sn0.usesVocabularyAndFormsOfSpeechThatAreIncreasinglyInfluencedByTheirExperiencesOfBooks,"Uses vocabulary and forms of speech that are increasingly influenced by their experiences of books"),new d(e.sn0.enjoysAnIncreasingRangeOfBooks,"Enjoys an increasing range of books"),new d(e.sn0.knowsThatInformationCanBeRetrievedFromBooksAndComputers,"Knows that information can be retrieved from books and computers"),new d(e.sn0.givesMeaningToMarksTheyMakeAsTheyDrawWriteAndPaint,"Gives meaning to marks they make as they draw, write and paint"),new d(e.sn0.beginsToBreakTheFlowOfSpeechIntoWords,"Begins to break the flow of speech into words"),new d(e.sn0.usesSomeClearlyIdentifiableLettersToCommunicate,"Uses some clearly identifiable letters to communicate meaning, representing some sounds correctly and in sequence"),new d(e.sn0.writesOwnNameAndOtherThingsSuchAsLabels,"Writes own name and other things such as labels, captions"),new d(e.sn0.attemptsToWriteShortSentencesInMeaningfulContexts,"Attempts to write short sentences in meaningful contexts"),new d(e.sn0.recogniseSomeNumeralsOfPersonalSignificance,"Recognise some numerals of personal significance"),new d(e.sn0.recognisesNumbersOneToFive,"Recognises numerals 1 to 5"),new d(e.sn0.countsUpToThreeOrFourObjectsBySayingOneNumberNameForEachItem,"Counts up to three or four objects by saying one number name for each item"),new d(e.sn0.countsActionsOrObjectsWhichCannotBeMoved,"Counts actions or objects which cannot be moved"),new d(e.sn0.countsObjectsToTenAndBeginningToCountBeyondTen,"Counts objects to 10, and beginning to count beyond 10"),new d(e.sn0.countsOutUpToSixObjectsFromALargerGroup,"Counts out up to six objects from a larger group"),new d(e.sn0.selectsTheCorrectNumeralToRepresentOneToFiveThenOneToTen,"Selects the correct numeral to represent 1 to 5, then 1 to 10 objects"),new d(e.sn0.countsAnIrregularArrangementOfUpToTenObjects,"Counts an irregular arrangement of up to ten objects"),new d(e.sn0.estimatesHowManyObjectsTheyCanSeeAndChecksByCountingThem,"Estimates how many objects they can see and checks by counting them"),new d(e.sn0.usesTheLanguageOfMoreAndFewerToCompare,"Uses the language of 'more' and 'fewer' to compare two sets of objects"),new d(e.sn0.findsTheTotalNumberOfItemsInTwoGroups,"Finds the total number of items in two groups by counting all of them"),new d(e.sn0.saysTheNumberThatIsOneMoreThanAGivenNumber,"Says the number that is one more than a given number"),new d(e.sn0.findsOneMoreOrOneLessFromAGroupOfUpToFiveThenTenObjects,"Finds one more or one less from a group of up to five objects, then ten objects"),new d(e.sn0.inPracticalActivitiesAndDiscussionBeginningToUseAddingAndSubtracting,"In practical activities and discussion, beginning to use the vocabulary involved in adding and subtracting"),new d(e.sn0.recordsUsingMarksThatTheyCanInterpretAndExplain,"Records, using marks that they can interpret and explain"),new d(e.sn0.beginsToIdentifyOwnMathematicalProblemsBasedOnOwnInterests,"Begins to identify own mathematical problems based on own interests and fascinations"),new d(e.sn0.beginningToUseMathematicalNamesForSolidAndFlatShapes,"Beginning to use mathematical names for 'solid' 3D shapes and 'flat' 2D shapes, and mathematical terms to describe shapes"),new d(e.sn0.selectsAParticularNamedShape,"Selects a particular named shape"),new d(e.sn0.canDescribeTheirRelativePositionSuchAsBehind,"Can describe their relative position such as 'behind' or 'next to'"),new d(e.sn0.ordersTwoOrThreeItemsByLengthOrHeight,"Orders two or three items by length or height"),new d(e.sn0.ordersTwoItemsByWeightOrCapacity,"Orders two items by weight or capacity"),new d(e.sn0.usesFamiliarObjectsAndCommonShapesToCreateAndRecreatePatterns,"Uses familiar objects and common shapes to create and recreate patterns and build models"),new d(e.sn0.usesEverydayLanguageRelatedToTime,"Uses everyday language related to time"),new d(e.sn0.beginningToUseEverydayLanguageRelatedToMoney,"Beginning to use everyday language related to money"),new d(e.sn0.ordersAndSequencesFamiliarEvents,"Orders and sequences familiar events"),new d(e.sn0.measuresShortPeriodsOfTimeInSimpleWays,"Measures short periods of time in simple ways"),new d(e.sn0.enjoysJoiningInWithFamilyCustomsAndRoutines,"Enjoys joining in with family customs and routines"),new d(e.sn0.looksCloselyAtSimilaritiesDifferencesPatternsAndChange,"Looks closely at similarities, differences, patterns and change"),new d(e.sn0.completesASimpleProgramOnAComputer,"Completes a simple program on a computer"),new d(e.sn0.usesIctHardwareToInteractWithAgeAppropriateComputerSoftware,"Uses ICT hardware to interact with age-appropriate computer software"),new d(e.sn0.beginsToBuildARepertoireOfSongsAndDances,"Begins to build a repertoire of songs and dances"),new d(e.sn0.exploresTheDifferentSoundsOfInstruments,"Explores the different sounds of instruments"),new d(e.sn0.exploresWhatHappensWhenTheyMixColours,"Explores what happens when they mix colours"),new d(e.sn0.experimentsToCreateDifferentTextures,"Experiments to create different textures"),new d(e.sn0.understandsThatDifferentMediaCanBeCombined,"Understands that different media can be combined to create new effects"),new d(e.sn0.manipulatesMaterialsToAchieveAPlannedEffect,"Manipulates materials to achieve a planned effect"),new d(e.sn0.constructsWithAPurposeInMind,"Constructs with a purpose in mind, using a variety of resources"),new d(e.sn0.usesSimpleToolsAndTechniquesCompetentlyAndAppropriately,"Uses simple tools and techniques competently and appropriately"),new d(e.sn0.selectsAppropriateResourcesAndAdaptsWorkWhereNecessary,"Selects appropriate resources and adapts work where necessary"),new d(e.sn0.selectsToolsAndTechniquesNeededToShapeAssembleAndJoinMaterials,"Selects tools and techniques needed to shape, assemble and join materials they are using"),new d(e.sn0.createSimpleRepresentationsOfEventsPeopleAndObjects,"Create simple representations of events, people and objects"),new d(e.sn0.initiatesNewCombinationsOfMovementAndGesture,"Initiates new combinations of movement and gesture in order to express and respond to feelings, ideas and experiences"),new d(e.sn0.choosesParticularColoursToUseForAPurpose,"Chooses particular colours to use for a purpose"),new d(e.sn0.playsAlongsideOtherChildrenWhoAreEngagedInTheSameTheme,"Plays alongside other children who are engaged in the same theme"),new d(e.sn0.playsCooperativelyAsPartOfAGroupToDevelopAndActOutANarrative,"Plays cooperatively as part of a group to develop and act out a narrative"),new d(e.sn0.understandsHumour,"Understands humour, e.g. nonsense, rhymes, jokes")],this.eyfs2021Matters=[new d(e.sn0.eyfs2021TurnTowardsFamiliarSounds,"Turn towards familiar sounds. They are also startled by loud noises and can accurately locate the source of a familiar person\u2019s voice, such as their key person or a parent."),new d(e.sn0.eyfs2021GazeAtFaces,"Gaze at faces, copying facial expressions and movements like sticking out their tongue. Make eye contact for longer periods."),new d(e.sn0.eyfs2021WatchSomeonesFaceAsTheyTalk,"Watch someone\u2019s face as they talk."),new d(e.sn0.eyfs2021CopyWhatAdultsDo,"Copy what adults do, taking \u2018turns\u2019 in conversations (through babbling) and activities. Try to copy adult speech and lip movements."),new d(e.sn0.eyfs2021EnjoySinging,"Enjoy singing, music and toys that make sounds."),new d(e.sn0.eyfs2021RecogniseAndAreCalmedByAFamiliarAndFriendlyVoice,"Recognise and are calmed by a familiar and friendly voice."),new d(e.sn0.eyfs2021ListenAndRespondToASimpleInstruction,"Listen and respond to a simple instruction."),new d(e.sn0.eyfs2021MakeSoundsToGetAttentionInDifferentWaysForExample,"Make sounds to get attention in different ways (for example, crying when hungry or unhappy, making gurgling sounds, laughing, cooing or babbling)."),new d(e.sn0.eyfs2021BabbleUsingSoundsLikeBaba,"Babble, using sounds like \u2018baba\u2019, \u2018mamama\u2019."),new d(e.sn0.eyfs2021UseGesturesLikeWavingAndPointingToCommunicate,"Use gestures like waving and pointing to communicate."),new d(e.sn0.eyfs2021ReachOrPointToSomethingTheyWantWhileMakingSounds,"Reach or point to something they want while making sounds."),new d(e.sn0.eyfs2021CopyYourGesturesAndWords,"Copy your gestures and words."),new d(e.sn0.eyfs2021ConstantlyBabbleAndUseSingleWordsDuringPlay,"Constantly babble and use single words during play."),new d(e.sn0.eyfs2021UseIntonation,"Use intonation, pitch and changing volume when \u2018talking\u2019."),new d(e.sn0.eyfs2021UnderstandSingleWordsInContextCup,"Understand single words in context \u2013 \u2018cup\u2019, \u2018milk\u2019, \u2018daddy\u2019."),new d(e.sn0.eyfs2021UnderstandFrequentlyUsedWordsSuchAsAllGone,"Understand frequently used words such as \u2018all gone\u2019, \u2018no\u2019 and \u2018bye-bye\u2019."),new d(e.sn0.eyfs2021UnderstandSimpleInstructionsLikeGiveToNannyOrStop,"Understand simple instructions like \u201cgive to nanny\u201d or \u201cstop\u201d."),new d(e.sn0.eyfs2021RecogniseAndPointToObjectsIfAskedAboutThem,"Recognise and point to objects if asked about them."),new d(e.sn0.eyfs2021GenerallyFocusOnAnActivityOfTheirOwnChoiceAndFindItDifficultToBeD,"Generally focus on an activity of their own choice and find it difficult to be directed by an adult."),new d(e.sn0.eyfs2021ListenToOtherPeoplesTalkWithInterest,"Listen to other people\u2019s talk with interest, but can easily be distracted by other things."),new d(e.sn0.eyfs2021MakeThemselvesUnderstood,"Make themselves understood, and can become frustrated when they can\u2019t."),new d(e.sn0.eyfs2021StartToSayHowTheyAreFeeling,"Start to say how they are feeling, using words as well as actions."),new d(e.sn0.eyfs2021StartToDevelopConversation,"Start to develop conversation, often jumping from topic to topic."),new d(e.sn0.eyfs2021DevelopPretendPlay,"Develop pretend play: \u2018putting the baby to sleep\u2019 or \u2018driving the car to the shops\u2019."),new d(e.sn0.eyfs2021UseTheSpeechSoundsP,"Use the speech sounds p, b, m, w."),new d(e.sn0.eyfs2021Pronounce,"Pronounce: \n - l/r/w/y \n - f/th \n - s/sh/ch/dz/j \n - multi-syllabic words such as \u2018banana\u2019 and \u2018computer\u2019"),new d(e.sn0.eyfs2021ListenToSimpleStoriesAndUnderstandWhatIsHappening,"Listen to simple stories and understand what is happening, with the help of the pictures."),new d(e.sn0.eyfs2021IdentifyFamiliarObjectsAndPropertiesForPractitionersWhenTheyAreDescrib,"Identify familiar objects and properties for practitioners when they are described: for example: \u2018Katie\u2019s coat\u2019, \u2018blue car\u2019, \u2018shiny apple\u2019."),new d(e.sn0.eyfs2021UnderstandAndActOnLongerSentencesLikeMakeTeddyJumpOrFindYourCoat,"Understand and act on longer sentences like \u2018make teddy jump\u2019 or \u2018find your coat\u2019."),new d(e.sn0.eyfs2021UnderstandSimpleQuestionsAboutWho,"Understand simple questions about \u2018who\u2019, \u2018what\u2019 and \u2018where\u2019 (but generally not \u2018why\u2019)."),new d(e.sn0.eyfs2021EnjoyListeningToLongerStoriesAndCanRememberMuchOfWhatHappens,"Enjoy listening to longer stories and can remember much of what happens."),new d(e.sn0.eyfs2021PayAttentionToMoreThanOneThingAtATime,"Pay attention to more than one thing at a time, which can be difficult."),new d(e.sn0.eyfs2021UseAWiderRangeOfVocabulary,"Use a wider range of vocabulary."),new d(e.sn0.eyfs2021UnderstandAQuestionOrInstructionThatHasTwoParts,"Understand a question or instruction that has two parts, such as: \u201cGet your coat and wait at the door\u201d."),new d(e.sn0.eyfs2021UnderstandWhyQuestions,"Understand \u2018why\u2019 questions, like: \u201cWhy do you think the caterpillar got so fat?\u201d"),new d(e.sn0.eyfs2021SingALargeRepertoireOfSongs,"Sing a large repertoire of songs."),new d(e.sn0.eyfs2021KnowManyRhymes,"Know many rhymes, be able to talk about familiar books, and be able to tell a long story."),new d(e.sn0.eyfs2021DevelopTheirCommunication,"Develop their communication, but may continue to have problems with irregular tenses and plurals, such as \u2018runned\u2019 for \u2018ran\u2019, \u2018swimmed\u2019 for \u2018swam\u2019."),new d(e.sn0.eyfs2021DevelopTheirPronunciationButMayHaveProblemsSaying,"Develop their pronunciation but may have problems saying: \n - some sounds: r, j, th, ch, and sh \n - multi-syllabic words such as \u2018pterodactyl\u2019, \u2018planetarium\u2019 or \u2018hippopotamus\u2019."),new d(e.sn0.eyfs2021UseLongerSentencesOfFourToSixWords,"Use longer sentences of four to six words."),new d(e.sn0.eyfs2021BeAbleToExpressAPointOfViewAndToDebateWhenTheyDisagreeWithAnAdul,"Be able to express a point of view and to debate when they disagree with an adult or a friend, using words as well as actions."),new d(e.sn0.eyfs2021StartAConversationWithAnAdultOrAFriendAndContinueItForManyTurns,"Start a conversation with an adult or a friend and continue it for many turns."),new d(e.sn0.eyfs2021UseTalkToOrganiseThemselvesAndTheirPlay,"Use talk to organise themselves and their play: \u201cLet\u2019s go on a bus... you sit there... I\u2019ll be the driver.\u201d"),new d(e.sn0.eyfs2021UnderstandHowToListenCarefullyAndWhyListeningIsImportant,"Understand how to listen carefully and why listening is important."),new d(e.sn0.eyfs2021LearnNewVocabulary,"Learn new vocabulary."),new d(e.sn0.eyfs2021UseNewVocabularyThroughTheDay,"Use new vocabulary through the day."),new d(e.sn0.eyfs2021AskQuestionsToFindOutMoreAndToCheckTheyUnderstandWhatHasBeenSaidT,"Ask questions to find out more and to check they understand what has been said to them."),new d(e.sn0.eyfs2021ArticulateTheirIdeasAndThoughtsInWellformedSentences,"Articulate their ideas and thoughts in well-formed sentences."),new d(e.sn0.eyfs2021ConnectOneIdeaOrActionToAnotherUsingARangeOfConnectives,"Connect one idea or action to another using a range of connectives."),new d(e.sn0.eyfs2021DescribeEventsInSomeDetail,"Describe events in some detail."),new d(e.sn0.eyfs2021UseTalkToHelpWorkOutProblemsAndOrganiseThinkingAndActivities,"Use talk to help work out problems and organise thinking and activities, and to explain how things work and why they might happen."),new d(e.sn0.eyfs2021DevelopSocialPhrases,"Develop social phrases."),new d(e.sn0.eyfs2021EngageInStorytimes,"Engage in storytimes."),new d(e.sn0.eyfs2021ListenToAndTalkAboutStoriesToBuildFamiliarityAndUnderstanding,"Listen to and talk about stories to build familiarity and understanding."),new d(e.sn0.eyfs2021RetellTheStory,"Retell the story, once they have developed a deep familiarity with the text; some as exact repetition and some in their own words."),new d(e.sn0.eyfs2021UseNewVocabularyInDifferentContexts,"Use new vocabulary in different contexts."),new d(e.sn0.eyfs2021ListenCarefullyToRhymesAndSongs,"Listen carefully to rhymes and songs, paying attention to how they sound."),new d(e.sn0.eyfs2021LearnRhymes,"Learn rhymes, poems and songs."),new d(e.sn0.eyfs2021EngageInNonfictionBooks,"Engage in non-fiction books."),new d(e.sn0.eyfs2021ListenToAndTalkAboutSelectedNonfictionToDevelopADeepFamiliarityWith,"Listen to and talk about selected non-fiction to develop a deep familiarity with new knowledge and vocabulary."),new d(e.sn0.eyfs2021FindWaysToCalmThemselves,"Find ways to calm themselves, through being calmed and comforted by their key person."),new d(e.sn0.eyfs2021EstablishTheirSenseOfSelf,"Establish their sense of self."),new d(e.sn0.eyfs2021ExpressPreferencesAndDecisions,"Express preferences and decisions. They also try new things and start establishing their autonomy."),new d(e.sn0.eyfs2021EngageWithOthersThroughGestures,"Engage with others through gestures, gaze and talk."),new d(e.sn0.eyfs2021UseThatEngagementToAchieveAGoal,"Use that engagement to achieve a goal. For example, gesture towards their cup to say they want a drink."),new d(e.sn0.eyfs2021FindWaysOfManagingTransitions,"Find ways of managing transitions, for example from their parent to their key person."),new d(e.sn0.eyfs2021ThriveAsTheyDevelopSelfassurance,"Thrive as they develop selfassurance."),new d(e.sn0.eyfs2021LookBackAsTheyCrawlOrWalkAwayFromTheirKeyPerson,"Look back as they crawl or walk away from their key person. Look for clues about how to respond to something interesting."),new d(e.sn0.eyfs2021PlayWithIncreasingConfidenceOnTheirOwnAndWithOtherChildren,"Play with increasing confidence on their own and with other children, because they know their key person is nearby and available."),new d(e.sn0.eyfs2021FeelConfidentWhenTakenOutAroundTheLocalNeighbourhood,"Feel confident when taken out around the local neighbourhood, and enjoy exploring new places with their key person."),new d(e.sn0.eyfs2021FeelStrongEnoughToExpressARangeOfEmotions,"Feel strong enough to express a range of emotions."),new d(e.sn0.eyfs2021GrowInIndependence,"Grow in independence, rejecting help (\u201cme do it\u201d). Sometimes this leads to feelings of frustration and tantrums."),new d(e.sn0.eyfs2021BeginToShowEffortfulControl,"Begin to show \u2018effortful control\u2019. For example, waiting for a turn and resisting the strong impulse to grab what they want or push their way to the front."),new d(e.sn0.eyfs2021BeIncreasinglyAbleToTalkAboutAndManageTheirEmotions,"Be increasingly able to talk about and manage their emotions."),new d(e.sn0.eyfs2021NoticeAndAskQuestionsAboutDifferences,"Notice and ask questions about differences, such as skin colour, types of hair, gender, special needs and disabilities, and so on."),new d(e.sn0.eyfs2021DevelopFriendshipsWithOtherChildren,"Develop friendships with other children."),new d(e.sn0.eyfs2021SafelyExploreEmotionsBeyondTheirNormalRangeThroughPlayAndStories,"Safely explore emotions beyond their normal range through play and stories."),new d(e.sn0.eyfs2021TalkAboutTheirFeelingsInMoreElaboratedWays,"Talk about their feelings in more elaborated ways: \u201cI\u2019m sad because\u2026\u201d or \u201cI love it when \u2026\u201d."),new d(e.sn0.eyfs2021LearnToUseTheToiletWithHelp,"Learn to use the toilet with help, and then independently."),new d(e.sn0.eyfs2021SelectAndUseActivitiesAndResources,"Select and use activities and resources, with help when needed. This helps them to achieve a goal they have chosen, or one which is suggested to them."),new d(e.sn0.eyfs2021DevelopTheirSenseOfResponsibilityAndMembershipOfACommunity,"Develop their sense of responsibility and membership of a community."),new d(e.sn0.eyfs2021BecomeMoreOutgoingWithUnfamiliarPeople,"Become more outgoing with unfamiliar people, in the safe context of their setting."),new d(e.sn0.eyfs2021ShowMoreConfidenceInNewSocialSituations,"Show more confidence in new social situations."),new d(e.sn0.eyfs2021PlayWithOneOrMoreOtherChildren,"Play with one or more other children, extending and elaborating play ideas."),new d(e.sn0.eyfs2021FindSolutionsToConflictsAndRivalries,"Find solutions to conflicts and rivalries. For example, accepting that not everyone can be Spider-Man in the game, and suggesting other ideas."),new d(e.sn0.eyfs2021IncreasinglyFollowRules,"Increasingly follow rules, understanding why they are important."),new d(e.sn0.eyfs2021RememberRulesWithoutNeedingAnAdultToRemindThem,"Remember rules without needing an adult to remind them."),new d(e.sn0.eyfs2021DevelopAppropriateWaysOfBeingAssertive,"Develop appropriate ways of being assertive."),new d(e.sn0.eyfs2021TalkWithOthersToSolveConflicts,"Talk with others to solve conflicts."),new d(e.sn0.eyfs2021TalkAboutTheirFeelingsUsingWordsLikeHappy,"Talk about their feelings using words like \u2018happy\u2019, \u2018sad\u2019, \u2018angry\u2019 or \u2018worried\u2019."),new d(e.sn0.eyfs2021UnderstandGraduallyHowOthersMightBeFeeling,"Understand gradually how others might be feeling."),new d(e.sn0.eyfs2021UseLargeAndSmallMotorSkillsToDoThingsIndependently,"Use large and small motor skills to do things independently, for example manage buttons and zips, and pour drinks."),new d(e.sn0.eyfs2021ShowAnIncreasingDesireToBeIndependent,"Show an increasing desire to be independent, such as wanting to feed themselves and dress or undress."),new d(e.sn0.eyfs2021StartEatingIndependentlyAndLearningHowTouseaKnifeAndFork,"Start eating independently and learning how to use a knife and fork."),new d(e.sn0.eyfs2021BeIncreasinglyIndependentAsTheyGetDressedAndUndressed,"Be increasingly independent as they get dressed and undressed, for example, putting coats on and doing up zips."),new d(e.sn0.eyfs2021BeIncreasinglyIndependentInMeetingTheirOwnCareNeeds,"Be increasingly independent in meeting their own care needs, e.g., brushing teeth, using the toilet, washing and drying their hands thoroughly."),new d(e.sn0.eyfs2021MakeHealthyChoicesAboutFood,"Make healthy choices about food, drink, activity and toothbrushing."),new d(e.sn0.eyfs2021SeeThemselvesAsAValuableIndividual,"See themselves as a valuable individual."),new d(e.sn0.eyfs2021BuildConstructiveAndRespectfulRelationships,"Build constructive and respectful relationships."),new d(e.sn0.eyfs2021ExpressTheirFeelingsAndConsiderTheFeelingsOfOthers,"Express their feelings and consider the feelings of others."),new d(e.sn0.eyfs2021ShowResilienceAndPerseveranceInTheFaceOfChallenge,"Show resilience and perseverance in the face of challenge."),new d(e.sn0.eyfs2021IdentifyAndModerateTheirOwnFeelingsSociallyAndEmotionally,"Identify and moderate their own feelings socially and emotionally."),new d(e.sn0.eyfs2021ThinkAboutThePerspectivesOfOthers,"Think about the perspectives of others."),new d(e.sn0.eyfs2021ManageTheirOwnNeedsPersonalHygiene,"Manage their own needs (personal hygiene)."),new d(e.sn0.eyfs2021LiftTheirHeadWhileLyingOnTheirFront,"Lift their head while lying on their front."),new d(e.sn0.eyfs2021PushTheirChestUpWithStraightArms,"Push their chest up with straight arms."),new d(e.sn0.eyfs2021RollOverFromFrontToBack,"Roll over: from front to back, then back to front."),new d(e.sn0.eyfs2021EnjoyMovingWhenOutdoorsAndInside,"Enjoy moving when outdoors and inside."),new d(e.sn0.eyfs2021SitWithoutSupport,"Sit without support."),new d(e.sn0.eyfs2021BeginToCrawlInDifferentWaysAndDirections,"Begin to crawl in different ways and directions."),new d(e.sn0.eyfs2021PullThemselvesUprightAndBouncingInPreparationForWalking,"Pull themselves upright and bouncing in preparation for walking."),new d(e.sn0.eyfs2021ReachOutForObjectsAsCoordinationDevelops,"Reach out for objects as coordination develops."),new d(e.sn0.eyfs2021PassThingsFromOneHandToTheOther,"Pass things from one hand to the other. Let go of things and hand them to another person, or drop them."),new d(e.sn0.eyfs2021GraduallyGainControlOfTheirWholeBodyThroughContinualPracticeOfLargeM,"Gradually gain control of their whole body through continual practice of large movements, such as waving, kicking, rolling, crawling and walking."),new d(e.sn0.eyfs2021ClapAndStampToMusic,"Clap and stamp to music."),new d(e.sn0.eyfs2021FitThemselvesIntoSpaces,"Fit themselves into spaces, like tunnels, dens and large boxes, and move around in them."),new d(e.sn0.eyfs2021EnjoyStartingToKick,"Enjoy starting to kick, throw and catch balls."),new d(e.sn0.eyfs2021BuildIndependentlyWithARangeOfAppropriateResources,"Build independently with a range of appropriate resources."),new d(e.sn0.eyfs2021BeginToWalkIndependentlyChoosingAppropriatePropsToSupportAtFirst,"Begin to walk independently \u2013 choosing appropriate props to support at first."),new d(e.sn0.eyfs2021WalkRunJumpAndClimbAndStartToUseTheStairsIndependently,"Walk, run, jump and climb \u2013 and start to use the stairs independently."),new d(e.sn0.eyfs2021SpinRollAndIndependentlyUseRopesAndSwingsForExample,"Spin, roll and independently use ropes and swings (for example, tyre swings)."),new d(e.sn0.eyfs2021SitOnAPushalongWheeledToy,"Sit on a push-along wheeled toy, use a scooter or ride a tricycle."),new d(e.sn0.eyfs2021DevelopManipulationAndControl,"Develop manipulation and control."),new d(e.sn0.eyfs2021ExploreDifferentMaterialsAndTools,"Explore different materials and tools."),new d(e.sn0.eyfs2021ContinueToDevelopTheirMovement,"Continue to develop their movement, balancing, riding (scooters, trikes and bikes) and ball skills."),new d(e.sn0.eyfs2021GoUpStepsAndStairs,"Go up steps and stairs, or climb up apparatus, using alternate feet."),new d(e.sn0.eyfs2021SkipHopStandOnOneLegAndHoldAPoseForAGameLikeMusicalStatues,"Skip, hop, stand on one leg and hold a pose for a game like musical statues."),new d(e.sn0.eyfs2021UseLargemuscleMovementsToWaveFlagsAndStreamers,"Use large-muscle movements to wave flags and streamers, paint and make marks."),new d(e.sn0.eyfs2021StartTakingPartInSomeGroupActivitiesWhichTheyMakeUpForThemselves,"Start taking part in some group activities which they make up for themselves, or in teams."),new d(e.sn0.eyfs2021IncreasinglyBeAbleToUseAndRememberSequencesAndPatternsOfMovementsWhi,"Increasingly be able to use and remember sequences and patterns of movements which are related to music and rhythm."),new d(e.sn0.eyfs2021MatchTheirDevelopingPhysicalSkillsToTasksAndActivitiesInTheSetting,"Match their developing physical skills to tasks and activities in the setting. For example, they decide whether to crawl, walk or run across a plank, depending on its length and width."),new d(e.sn0.eyfs2021ChooseTheRightResourcesToCarryOutTheirOwnPlan,"Choose the right resources to carry out their own plan. For example, choosing a spade to enlarge a small hole they dug with a trowel."),new d(e.sn0.eyfs2021CollaborateWithOthersToManageLargeItems,"Collaborate with others to manage large items, such as moving a long plank safely, carrying large hollow blocks."),new d(e.sn0.eyfs2021UseOnehandedToolsAndEquipment,"Use one-handed tools and equipment, for example, making snips in paper with scissors."),new d(e.sn0.eyfs2021UseAComfortableGripWithGoodControlWhenHoldingPensAndPencils,"Use a comfortable grip with good control when holding pens and pencils."),new d(e.sn0.eyfs2021ShowAPreferenceForADominantHand,"Show a preference for a dominant hand."),new d(e.sn0.eyfs2021BeIncreasinglyIndependentAsTheyGetDressedAndUndressed2,"Be increasingly independent as they get dressed and undressed, for example, putting coats on and doing up zips."),new d(e.sn0.eyfs2021ReviseAndRefineTheFundamentalMovementSkillsTheyHaveAlreadyAcquired,"Revise and refine the fundamental movement skills they have already acquired:\n - rolling \n - crawling \n - walking \n - jumping \n - running \n - hopping \n - skipping \n - climbing"),new d(e.sn0.eyfs2021ProgressTowardsAMoreFluentStyleOfMoving,"Progress towards a more fluent style of moving, with developing control and grace."),new d(e.sn0.eyfs2021DevelopTheOverallBodyStrength,"Develop the overall body strength, co-ordination, balance and agility needed to engage successfully with future physical education sessions and other physical disciplines including dance, gymnastics, sport and swimming."),new d(e.sn0.eyfs2021DevelopTheirSmallMotorSkillsSoThatTheyCanUseARangeOfToolsCompetent,"Develop their small motor skills so that they can use a range of tools competently, safely and confidently. Suggested tools: pencils for drawing and writing, paintbrushes, scissors, knives, forks and spoons."),new d(e.sn0.eyfs2021UseTheirCoreMuscleStrengthToAchieveAGoodPostureWhenSittingAtATable,"Use their core muscle strength to achieve a good posture when sitting at a table or sitting on the floor."),new d(e.sn0.eyfs2021CombineDifferentMovementsWithEaseAndFluency,"Combine different movements with ease and fluency."),new d(e.sn0.eyfs2021ConfidentlyAndSafelyUseARangeOfLargeAndSmallApparatusIndoorsAndOuts,"Confidently and safely use a range of large and small apparatus indoors and outside, alone and in a group."),new d(e.sn0.eyfs2021DevelopOverallBodystrength,"Develop overall body-strength, balance, co-ordination and agility."),new d(e.sn0.eyfs2021FurtherDevelopAndRefineARangeOfBallSkillsIncluding,"Further develop and refine a range of ball skills including: throwing, catching, kicking, passing, batting, and aiming."),new d(e.sn0.eyfs2021DevelopConfidence,"Develop confidence, competence, precision and accuracy when engaging in activities that involve a ball."),new d(e.sn0.eyfs2021DevelopTheFoundationsOfAHandwritingStyleWhichIsFast,"Develop the foundations of a handwriting style which is fast, accurate and efficient."),new d(e.sn0.eyfs2021KnowAndTalkAboutTheDifferentFactorsThatSupportTheirOverallHealthAnd,"Know and talk about the different factors that support their overall health and wellbeing: - regular physical activity - healthy eating - toothbrushing - sensible amounts of \u2018screen time\u2019 - having a good sleep routine - being a safe pedestrian"),new d(e.sn0.eyfs2021FurtherDevelopTheSkillsTheyNeedToManageTheSchoolDaySuccessfully,"Further develop the skills they need to manage the school day successfully: - lining up and queuing - mealtimes"),new d(e.sn0.eyfs2021EnjoySongsAndRhymes,"Enjoy songs and rhymes, tuning in and paying attention."),new d(e.sn0.eyfs2021JoinInWithSongsAndRhymes,"Join in with songs and rhymes, copying sounds, rhythms, tunes and tempo."),new d(e.sn0.eyfs2021SaySomeOfTheWordsInSongsAndRhymes,"Say some of the words in songs and rhymes."),new d(e.sn0.eyfs2021CopyFingerMovementsAndOtherGestures,"Copy finger movements and other gestures."),new d(e.sn0.eyfs2021SingSongsAndSayRhymesIndependently,"Sing songs and say rhymes independently, for example, singing whilst playing."),new d(e.sn0.eyfs2021EnjoySharingBooksWithAnAdult,"Enjoy sharing books with an adult."),new d(e.sn0.eyfs2021PayAttentionAndRespondToThePicturesOrTheWords,"Pay attention and respond to the pictures or the words."),new d(e.sn0.eyfs2021HaveFavouriteBooksAndSeekThemOut,"Have favourite books and seek them out, to share with an adult, with another child, or to look at alone."),new d(e.sn0.eyfs2021RepeatWordsAndPhrasesFromFamiliarStories,"Repeat words and phrases from familiar stories."),new d(e.sn0.eyfs2021AskQuestionsAboutTheBook,"Ask questions about the book. Make comments and shares their own ideas."),new d(e.sn0.eyfs2021DevelopPlayAroundFavouriteStoriesUsingProps,"Develop play around favourite stories using props."),new d(e.sn0.eyfs2021NoticeSomePrint,"Notice some print, such as the first letter of their name, a bus or door number, or a familiar logo."),new d(e.sn0.eyfs2021EnjoyDrawingFreely,"Enjoy drawing freely."),new d(e.sn0.eyfs2021AddSomeMarksToTheirDrawings,"Add some marks to their drawings, which they give meaning to. For example: \u201cThat says mummy.\u201d"),new d(e.sn0.eyfs2021MakeMarksOnTheirPictureToStandForTheirName,"Make marks on their picture to stand for their name."),new d(e.sn0.eyfs2021UnderstandTheFiveKeyConceptsAboutPrint,"Understand the five key concepts about print: \n - print has meaning \n - print can have different purposes \n - we read English text from left to right and from top to bottom \n - the names of the different parts of a book \n - page sequencing"),new d(e.sn0.eyfs2021DevelopTheirPhonologicalAwareness,"Develop their phonological awareness, so that they can: \n - spot and suggest rhymes\n - count or clap syllables in a word\n - recognise words with the same initial sound, such as money and mother"),new d(e.sn0.eyfs2021EngageInExtendedConversationsAboutStories,"Engage in extended conversations about stories, learning new vocabulary."),new d(e.sn0.eyfs2021UseSomeOfTheirPrintAndLetterKnowledgeInTheirEarlyWriting,"Use some of their print and letter knowledge in their early writing. For example: writing a pretend shopping list that starts at the top of the page; writing \u2018m\u2019 for mummy."),new d(e.sn0.eyfs2021WriteSomeOrAllOfTheirName,"Write some or all of their name."),new d(e.sn0.eyfs2021WriteSomeLettersAccurately,"Write some letters accurately."),new d(e.sn0.eyfs2021ReadIndividualLettersBySayingTheSoundsForThem,"Read individual letters by saying the sounds for them."),new d(e.sn0.eyfs2021BlendSoundsIntoWords,"Blend sounds into words, so that they can read short words made up of known letter\u2013 sound correspondences."),new d(e.sn0.eyfs2021ReadSomeLetterGroupsThatEachRepresentOneSoundAndSaySoundsForThem,"Read some letter groups that each represent one sound and say sounds for them."),new d(e.sn0.eyfs2021ReadAFewCommonExceptionWordsMatchedToTheSchoolsPhonicProgramme,"Read a few common exception words matched to the school\u2019s phonic programme."),new d(e.sn0.eyfs2021ReadSimplePhrasesAndSentencesMadeUpOfWordsWithKnownLettersoundCorres,"Read simple phrases and sentences made up of words with known letter\u2013sound correspondences and, where necessary, a few exception words."),new d(e.sn0.eyfs2021RereadTheseBooksToBuildUpTheirConfidenceInWordReading,"Re-read these books to build up their confidence in word reading, their fluency and their understanding and enjoyment."),new d(e.sn0.eyfs2021FormLowercaseAndCapitalLettersCorrectly,"Form lower-case and capital letters correctly."),new d(e.sn0.eyfs2021SpellWordsByIdentifyingTheSoundsAndThenWritingTheSoundWithLetters,"Spell words by identifying the sounds and then writing the sound with letter/s."),new d(e.sn0.eyfs2021WriteShortSentencesWithWordsWithKnownSoundletterCorrespondencesUsingA,"Write short sentences with words with known sound-letter correspondences using a capital letter and full stop."),new d(e.sn0.eyfs2021RereadWhatTheyHaveWrittenToCheckThatItMakesSense,"Re-read what they have written to check that it makes sense."),new d(e.sn0.eyfs2021CombineObjectsLikeStackingBlocksAndCups,"Combine objects like stacking blocks and cups. Put objects inside others and take them out again."),new d(e.sn0.eyfs2021TakePartInFingerRhymesWithNumbers,"Take part in finger rhymes with numbers."),new d(e.sn0.eyfs2021ReactToChangesOfAmountInAGroupOfUpToThreeItems,"React to changes of amount in a group of up to three items."),new d(e.sn0.eyfs2021CompareAmounts,"Compare amounts, saying \u2018lots\u2019, \u2018more\u2019 or \u2018same\u2019."),new d(e.sn0.eyfs2021DevelopCountinglikeBehaviour,"Develop counting-like behaviour, such as making sounds, pointing or saying some numbers in sequence."),new d(e.sn0.eyfs2021CountInEverydayContexts,"Count in everyday contexts, sometimes skipping numbers - \u20181-2-3-5.\u2019"),new d(e.sn0.eyfs2021ClimbAndSqueezeThemselvesIntoDifferentTypesOfSpaces,"Climb and squeeze themselves into different types of spaces."),new d(e.sn0.eyfs2021BuildWithARangeOfResources,"Build with a range of resources."),new d(e.sn0.eyfs2021CompleteInsetPuzzles,"Complete inset puzzles."),new d(e.sn0.eyfs2021CompareSizes,"Compare sizes, weights etc. using gesture and language - \u2018bigger/little/smaller\u2019, \u2018high/low\u2019, \u2018tall\u2019, \u2018heavy\u2019."),new d(e.sn0.eyfs2021NoticePatternsAndArrangeThingsInPatterns,"Notice patterns and arrange things in patterns."),new d(e.sn0.eyfs2021DevelopFastRecognitionOfUpToObjects,"Develop fast recognition of up to 3 objects, without having to count them individually (\u2018subitising\u2019)."),new d(e.sn0.eyfs2021ReciteNumbersPast,"Recite numbers past 5."),new d(e.sn0.eyfs2021SayOneNumberForEachItemInOrder,"Say one number for each item in order: 1,2,3,4,5."),new d(e.sn0.eyfs2021KnowThatTheLastNumberReachedWhenCountingASmallSetOfObjectsTellsYou,"Know that the last number reached when counting a small set of objects tells you how many there are in total (\u2018cardinal principle\u2019)."),new d(e.sn0.eyfs2021ShowFingerNumbersUpTo,"Show \u2018finger numbers\u2019 up to 5."),new d(e.sn0.eyfs2021LinkNumeralsAndAmounts,"Link numerals and amounts: for example, showing the right number of objects to match the numeral, up to 5."),new d(e.sn0.eyfs2021ExperimentWithTheirOwnSymbolsAndMarksAsWellAsNumerals,"Experiment with their own symbols and marks as well as numerals."),new d(e.sn0.eyfs2021SolveRealWorldMathematicalProblemsWithNumbersUpTo,"Solve real world mathematical problems with numbers up to 5."),new d(e.sn0.eyfs2021CompareQuantitiesUsingLanguage,"Compare quantities using language: \u2018more than\u2019, \u2018fewer than\u2019."),new d(e.sn0.eyfs2021TalkAboutAndExploreDAndDShapesForExample,"Talk about and explore 2D and 3D shapes (for example, circles, rectangles, triangles and cuboids) using informal and mathematical language: \u2018sides\u2019, \u2018corners\u2019; \u2018straight\u2019, \u2018flat\u2019, \u2018round\u2019."),new d(e.sn0.eyfs2021UnderstandPositionThroughWordsAloneForExample,'Understand position through words alone \u2013 for example, "The bag is under the table," - with no pointing.'),new d(e.sn0.eyfs2021DescribeAFamiliarRoute,"Describe a familiar route."),new d(e.sn0.eyfs2021DiscussRoutesAndLocations,"Discuss routes and locations, using words like \u2018in front of\u2019 and \u2018behind\u2019."),new d(e.sn0.eyfs2021MakeComparisonsBetweenObjectsRelatingToSize,"Make comparisons between objects relating to size, length, weight and capacity."),new d(e.sn0.eyfs2021SelectShapesAppropriately,"Select shapes appropriately: flat surfaces for building, a triangular prism for a roof etc."),new d(e.sn0.eyfs2021CombineShapesToMakeNewOnesAnArch,"Combine shapes to make new ones - an arch, a bigger triangle etc."),new d(e.sn0.eyfs2021TalkAboutAndIdentifyThePatternsAroundThem,"Talk about and identify the patterns around them. For example: stripes on clothes, designs on rugs and wallpaper. Use informal language like \u2018pointy\u2019, \u2018spotty\u2019, \u2018blobs\u2019 etc"),new d(e.sn0.eyfs2021ExtendAndCreateABABPatternsStick,"Extend and create ABAB patterns \u2013 stick, leaf, stick, leaf."),new d(e.sn0.eyfs2021NoticeAndCorrectAnErrorInARepeatingPattern,"Notice and correct an error in a repeating pattern."),new d(e.sn0.eyfs2021BeginToDescribeASequenceOfEvents,"Begin to describe a sequence of events, real or fictional, using words such as \u2018first\u2019, \u2018then...\u2019"),new d(e.sn0.eyfs2021CountObjects,"Count objects, actions and sounds."),new d(e.sn0.eyfs2021Subitise,"Subitise."),new d(e.sn0.eyfs2021LinkTheNumberSymbolNumeralWithItsCardinalNumberValue,"Link the number symbol (numeral) with its cardinal number value."),new d(e.sn0.eyfs2021CountBeyondTen,"Count beyond ten."),new d(e.sn0.eyfs2021CompareNumbers,"Compare numbers."),new d(e.sn0.eyfs2021UnderstandTheOneMoreThanoneLessThanRelationshipBetweenConsecutiveNumbe,"Understand the \u2018one more than/one less than\u2019 relationship between consecutive numbers."),new d(e.sn0.eyfs2021ExploreTheCompositionOfNumbersTo,"Explore the composition of numbers to 10."),new d(e.sn0.eyfs2021AutomaticallyRecallNumberBondsForNumbersAndSomeTo,"Automatically recall number bonds for numbers 0\u20135 and some to 10."),new d(e.sn0.eyfs2021SelectRotateAndManipulateShapesInOrderToDevelopSpatialReasoningSkills,"Select, rotate and manipulate shapes in order to develop spatial reasoning skills."),new d(e.sn0.eyfs2021ComposeAndDecomposeShapesSoThatChildrenRecogniseAShapeCanHaveOtherS,"Compose and decompose shapes so that children recognise a shape can have other shapes within it, just as numbers can."),new d(e.sn0.eyfs2021ContinueCopyAndCreateRepeatingPatterns,"Continue, copy and create repeating patterns."),new d(e.sn0.eyfs2021CompareLength,"Compare length, weight and capacity."),new d(e.sn0.eyfs2021RepeatActionsThatHaveAnEffect,"Repeat actions that have an effect."),new d(e.sn0.eyfs2021ExploreMaterialsWithDifferentProperties,"Explore materials with different properties."),new d(e.sn0.eyfs2021ExploreNaturalMaterials,"Explore natural materials, indoors and outside."),new d(e.sn0.eyfs2021ExploreAndRespondToDifferentNaturalPhenomenaInTheirSettingAndOnTrips,"Explore and respond to different natural phenomena in their setting and on trips."),new d(e.sn0.eyfs2021MakeConnectionsBetweenTheFeaturesOfTheirFamilyAndOtherFamilies,"Make connections between the features of their family and other families."),new d(e.sn0.eyfs2021NoticeDifferencesBetweenPeople,"Notice differences between people."),new d(e.sn0.eyfs2021UseAllTheirSensesInHandsonExplorationOfNaturalMaterials,"Use all their senses in hands-on exploration of natural materials."),new d(e.sn0.eyfs2021ExploreCollectionsOfMaterialsWithSimilarAndorDifferentProperties,"Explore collections of materials with similar and/or different properties."),new d(e.sn0.eyfs2021TalkAboutWhatTheySee,"Talk about what they see, using a wide vocabulary."),new d(e.sn0.eyfs2021BeginToMakeSenseOfTheirOwnLifestoryAndFamilysHistory,"Begin to make sense of their own life-story and family\u2019s history."),new d(e.sn0.eyfs2021ShowInterestInDifferentOccupations,"Show interest in different occupations."),new d(e.sn0.eyfs2021ExploreHowThingsWork,"Explore how things work."),new d(e.sn0.eyfs2021PlantSeedsAndCareForGrowingPlants,"Plant seeds and care for growing plants."),new d(e.sn0.eyfs2021UnderstandTheKeyFeaturesOfTheLifeCycleOfAPlantAndAnAnimal,"Understand the key features of the life cycle of a plant and an animal."),new d(e.sn0.eyfs2021BeginToUnderstandTheNeedToRespectAndCareForTheNaturalEnvironmentAnd,"Begin to understand the need to respect and care for the natural environment and all living things."),new d(e.sn0.eyfs2021ExploreAndTalkAboutDifferentForcesTheyCanFeel,"Explore and talk about different forces they can feel."),new d(e.sn0.eyfs2021TalkAboutTheDifferencesBetweenMaterialsAndChangesTheyNotice,"Talk about the differences between materials and changes they notice."),new d(e.sn0.eyfs2021ContinueDevelopingPositiveAttitudesAboutTheDifferencesBetweenPeople,"Continue developing positive attitudes about the differences between people."),new d(e.sn0.eyfs2021KnowThatThereAreDifferentCountriesInTheWorldAndTalkAboutTheDifferen,"Know that there are different countries in the world and talk about the differences they have experienced or seen in photos."),new d(e.sn0.eyfs2021TalkAboutMembersOfTheirImmediateFamilyAndCommunity,"Talk about members of their immediate family and community."),new d(e.sn0.eyfs2021NameAndDescribePeopleWhoAreFamiliarToThem,"Name and describe people who are familiar to them."),new d(e.sn0.eyfs2021CommentOnImagesOfFamiliarSituationsInThePast,"Comment on images of familiar situations in the past."),new d(e.sn0.eyfs2021CompareAndContrastCharactersFromStories,"Compare and contrast characters from stories, including figures from the past."),new d(e.sn0.eyfs2021DrawInformationFromASimpleMap,"Draw information from a simple map."),new d(e.sn0.eyfs2021UnderstandThatSomePlacesAreSpecialToMembersOfTheirCommunity,"Understand that some places are special to members of their community."),new d(e.sn0.eyfs2021RecogniseThatPeopleHaveDifferentBeliefsAndCelebrateSpecialTimesInDiff,"Recognise that people have different beliefs and celebrate special times in different ways."),new d(e.sn0.eyfs2021RecogniseSomeSimilaritiesAndDifferencesBetweenLifeInThisCountryAndLif,"Recognise some similarities and differences between life in this country and life in other countries."),new d(e.sn0.eyfs2021ExploreTheNaturalWorldAroundThem,"Explore the natural world around them."),new d(e.sn0.eyfs2021DescribeWhatTheySee,"Describe what they see, hear and feel whilst outside."),new d(e.sn0.eyfs2021RecogniseSomeEnvironmentsThatAreDifferentToTheOneInWhichTheyLive,"Recognise some environments that are different to the one in which they live."),new d(e.sn0.eyfs2021UnderstandTheEffectOfChangingSeasonsOnTheNaturalWorldAroundThem,"Understand the effect of changing seasons on the natural world around them."),new d(e.sn0.eyfs2021ShowAttentionToSoundsAndMusic,"Show attention to sounds and music."),new d(e.sn0.eyfs2021RespondEmotionallyAndPhysicallyToMusicWhenItChanges,"Respond emotionally and physically to music when it changes."),new d(e.sn0.eyfs2021MoveAndDanceToMusic,"Move and dance to music."),new d(e.sn0.eyfs2021AnticipatePhrasesAndActionsInRhymesAndSongs,"Anticipate phrases and actions in rhymes and songs, like \u2018Peepo\u2019."),new d(e.sn0.eyfs2021ExploreTheirVoicesAndEnjoyMakingSounds,"Explore their voices and enjoy making sounds."),new d(e.sn0.eyfs2021JoinInWithSongsAndRhymes2,"Join in with songs and rhymes, making some sounds."),new d(e.sn0.eyfs2021MakeRhythmicalAndRepetitiveSounds,"Make rhythmical and repetitive sounds."),new d(e.sn0.eyfs2021ExploreARangeOfSoundmakersAndInstrumentsAndPlayThemInDifferentWays,"Explore a range of soundmakers and instruments and play them in different ways."),new d(e.sn0.eyfs2021NoticePatternsWithStrongContrastsAndBeAttractedByPatternsResemblingTh,"Notice patterns with strong contrasts and be attracted by patterns resembling the human face."),new d(e.sn0.eyfs2021StartToMakeMarksIntentionally,"Start to make marks intentionally."),new d(e.sn0.eyfs2021ExplorePaint,"Explore paint, using fingers and other parts of their bodies as well as brushes and other tools."),new d(e.sn0.eyfs2021ExpressIdeasAndFeelingsThroughMakingMarks,"Express ideas and feelings through making marks, and sometimes give a meaning to the marks they make."),new d(e.sn0.eyfs2021EnjoyAndTakePartInActionSongs,"Enjoy and take part in action songs, such as \u2018Twinkle, Twinkle Little Star\u2019."),new d(e.sn0.eyfs2021StartToDevelopPretendPlay,"Start to develop pretend play, pretending that one object represents another. For example, a child holds a wooden block to her ear and pretends it\u2019s a phone."),new d(e.sn0.eyfs2021ExploreDifferentMaterials,"Explore different materials, using all their senses to investigate them. Manipulate and play with different materials."),new d(e.sn0.eyfs2021UseTheirImaginationAsTheyConsiderWhatTheyCanDoWithDifferentMaterials,"Use their imagination as they consider what they can do with different materials."),new d(e.sn0.eyfs2021MakeSimpleModelsWhichExpressTheirIdeas,"Make simple models which express their ideas."),new d(e.sn0.eyfs2021TakePartInSimplePretendPlay,"Take part in simple pretend play, using an object to represent something else even though they are not similar."),new d(e.sn0.eyfs2021BeginToDevelopComplexStoriesUsingSmallWorldEquipmentLikeAnimalSets,"Begin to develop complex stories using small world equipment like animal sets, dolls and dolls houses etc."),new d(e.sn0.eyfs2021MakeImaginativeAndComplexSmallWorldsWithBlocksAndConstructionKits,"Make imaginative and complex \u2018small worlds\u2019 with blocks and construction kits, such as a city with different buildings and a park."),new d(e.sn0.eyfs2021ExploreDifferentMaterialsFreely,"Explore different materials freely, in order to develop their ideas about how to use them and what to make."),new d(e.sn0.eyfs2021DevelopTheirOwnIdeasAndThenDecideWhichMaterialsToUseToExpressThem,"Develop their own ideas and then decide which materials to use to express them."),new d(e.sn0.eyfs2021JoinDifferentMaterialsAndExploreDifferentTextures,"Join different materials and explore different textures."),new d(e.sn0.eyfs2021CreateClosedShapesWithContinuousLines,"Create closed shapes with continuous lines, and begin to use these shapes to represent objects."),new d(e.sn0.eyfs2021DrawWithIncreasingComplexityAndDetail,"Draw with increasing complexity and detail, such as representing a face with a circle and including details."),new d(e.sn0.eyfs2021UseDrawingToRepresentIdeasLikeMovementOrLoudNoises,"Use drawing to represent ideas like movement or loud noises."),new d(e.sn0.eyfs2021ShowDifferentEmotionsInTheirDrawingsAndPaintings,"Show different emotions in their drawings and paintings, like happiness, sadness, fear etc."),new d(e.sn0.eyfs2021ExploreColourAndColourmixing,"Explore colour and colour-mixing."),new d(e.sn0.eyfs2021ListenWithIncreasedAttentionToSounds,"Listen with increased attention to sounds."),new d(e.sn0.eyfs2021RespondToWhatTheyHaveHeard,"Respond to what they have heard, expressing their thoughts and feelings."),new d(e.sn0.eyfs2021RememberAndSingEntireSongs,"Remember and sing entire songs."),new d(e.sn0.eyfs2021SingThePitchOfAToneSungByAnotherPersonPitchMatch,"Sing the pitch of a tone sung by another person (\u2018pitch match\u2019)."),new d(e.sn0.eyfs2021SingTheMelodicShapeMovingMelody,"Sing the melodic shape (moving melody, such as up and down, down and up) of familiar songs."),new d(e.sn0.eyfs2021CreateTheirOwnSongs,"Create their own songs, or improvise a song around one they know."),new d(e.sn0.eyfs2021PlayInstrumentsWithIncreasingControlToExpressTheirFeelingsAndIdeas,"Play instruments with increasing control to express their feelings and ideas."),new d(e.sn0.eyfs2021ExploreUseAndRefineAVarietyOfArtisticEffectsToExpressTheirIdeasAnd,"Explore, use and refine a variety of artistic effects to express their ideas and feelings."),new d(e.sn0.eyfs2021ReturnToAndBuildOnTheirPreviousLearning,"Return to and build on their previous learning, refining ideas and developing their ability to represent them."),new d(e.sn0.eyfs2021CreateCollaboratively,"Create collaboratively, sharing ideas, resources and skills."),new d(e.sn0.eyfs2021ListenAttentively,"Listen attentively, move to and talk about music, expressing their feelings and responses."),new d(e.sn0.eyfs2021WatchAndTalkAboutDanceAndPerformanceArt,"Watch and talk about dance and performance art, expressing their feelings and responses."),new d(e.sn0.eyfs2021SingInAGroupOrOnTheirOwn,"Sing in a group or on their own, increasingly matching the pitch and following the melody."),new d(e.sn0.eyfs2021DevelopStorylinesInTheirPretendPlay,"Develop storylines in their pretend play."),new d(e.sn0.eyfs2021ExploreAndEngageInMusicMakingAndDance,"Explore and engage in music making and dance, performing solo or in groups.")]}transform(b){let k=this.matters.find(A=>A.matterKey===b);return k||(k=this.eyfs2021Matters.find(A=>A.matterKey===b)),k?k.matterDescription:`UNKNOW MATTER: ${b}`}}return c.\u0275fac=function(b){return new(b||c)},c.\u0275pipe=o.Yjl({name:"matterDescription",type:c,pure:!0}),c})();class d{constructor(g,b){this.matterKey=g,this.matterDescription=b}}},5103:(X,N,p)=>{"use strict";p.d(N,{i:()=>o});var e=p(5e3);let o=(()=>{class u{transform(c){let g=c;switch(c){case"Communication and Language":g="CL";break;case"Personal, Social and Emotional Development":g="PSED";break;case"Physical Development":g="PD";break;case"Mathematics":g="Maths";break;case"Understanding the World":g="World";break;case"Expressive Arts and Design":g="EAD"}return g}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275pipe=e.Yjl({name:"Eyfs2021Namekey",type:u,pure:!0}),u})()},7320:(X,N,p)=>{"use strict";p.d(N,{L:()=>o});var e=p(5e3);let o=(()=>{class u{transform(c){const g=new Map;return g.set("Unassigned","heather-two"),g.get(c)||c.toString()}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275pipe=e.Yjl({name:"generalIconColor",type:u,pure:!0}),u})()},6349:(X,N,p)=>{"use strict";p.d(N,{z:()=>o});var e=p(5e3);let o=(()=>{class u{transform(c){const g=new Map;return g.set("Unassigned","unlink"),g.set("NextSteps","shoe-prints"),g.set("Reject","thumbs-down"),g.set("Approve","thumbs-up"),g.set("Filter","filter"),g.set("Delete","trash-alt"),g.get(c)||c.toString()}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275pipe=e.Yjl({name:"generalIcon",type:u,pure:!0}),u})()},5525:(X,N,p)=>{"use strict";p.d(N,{k:()=>d});var e=p(8093),o=p(5e3),u=e.Nvx.GetLearningJourneyDataObservationType;let d=(()=>{class c{transform(b){const k=new Map;return k.set(u.homeObservation,"Home Observation"),k.set(u.groupObservation,"Group Observation"),k.set(u.observation,"Observation"),k.set(u.nextStep,"Next Step"),k.get(b)||b.toString()}}return c.\u0275fac=function(b){return new(b||c)},c.\u0275pipe=o.Yjl({name:"learningJourneyType",type:c,pure:!0}),c})()},3793:(X,N,p)=>{"use strict";p.d(N,{x:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{transform(g){return g===e.sn0.wellbeing?"Wellbeing":"Involvement"}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"leuvenMatterDescription",type:d,pure:!0}),d})()},1303:(X,N,p)=>{"use strict";p.d(N,{q:()=>o});var e=p(5e3);let o=(()=>{class u{transform(c){switch(c){case 0:return"Not set";case 1:return"Ext. Low";case 2:return"Low";case 3:return"Moderate";case 4:return"High";case 5:return"Ext. High";default:return"NULL"}}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275pipe=e.Yjl({name:"leuvenMatterValueLabel",type:u,pure:!0}),u})()},1296:(X,N,p)=>{"use strict";p.d(N,{k:()=>o});var e=p(5e3);let o=(()=>{class u{transform(c){const g=c.toString();switch(g.slice(-1)){case"1":return g+"st";case"2":return g+"nd";case"3":return g+"rd";default:return g+"th"}}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275pipe=e.Yjl({name:"numberSuffix",type:u,pure:!0}),u})()},3771:(X,N,p)=>{"use strict";p.d(N,{Z:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{transform(g){const b=new Map;return b.set(e.OLd.draft,"edit"),b.set(e.OLd.awaitingApproval,"thumbs-up"),b.set(e.OLd.rejected,"thumbs-down"),b.get(g)||g.toString()}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"observationStatusIcon",type:d,pure:!0}),d})()},4566:(X,N,p)=>{"use strict";p.d(N,{L:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{transform(g){const b=new Map;return b.set(e.OLd.draft,"Draft Observations"),b.set(e.OLd.awaitingApproval,"Awaiting Approval"),b.set(e.OLd.rejected,"Rejected Observations"),b.get(g)||(g?g.toString():"null")}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"observationStatusName",type:d,pure:!0}),d})()},7695:(X,N,p)=>{"use strict";p.d(N,{L:()=>u});var e=p(8093),o=p(5e3);let u=(()=>{class d{transform(g){const b=new Map;return b.set(e.sGL.adultLedActivity,"Adult-led"),b.set(e.sGL.baselineObservation,"Baseline"),b.set(e.sGL.eyfs2021BaselineObservation,"EYFS 2021 Baseline"),b.set(e.sGL.childInitiated,"Child-initiated"),b.set(e.sGL.homeObservation,"Home"),b.set(e.sGL.carerHomeObservation,"Home"),b.get(g)||g.toString()}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275pipe=o.Yjl({name:"observationTypePipe",type:d,pure:!0}),d})()},3116:(X,N,p)=>{"use strict";p.d(N,{D:()=>o});var e=p(5e3);let o=(()=>{class u{transform(c){return null==c?"":`(${c})`}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275pipe=e.Yjl({name:"parenthesized",type:u,pure:!0}),u})()},5885:(X,N,p)=>{"use strict";p.d(N,{m:()=>o});var e=p(5e3);let o=(()=>{class u{transform(c){const g=c.toLowerCase().split(" ");for(let b=0;b{"use strict";p.d(N,{Y:()=>u});var e=p(5e3),o=p(2251);let u=(()=>{class d{constructor(g,b){this.alertBannerService=g,this.timeoutService=b,this._animationsDisabled=!1}get animationsDisabled(){return this._animationsDisabled}set animationsDisabled(g){this._animationsDisabled=g,this.timeoutService.timeoutsDisabled=g}}return d.\u0275fac=function(g){return new(g||d)(e.LFG(o.Jwe),e.LFG(o.XL3))},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d})()},1898:(X,N,p)=>{"use strict";p.d(N,{V:()=>o});var e=p(5e3);let o=(()=>{class u{isNullOrEmpty(c){return null==c||0===c.length}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})()},4643:(X,N,p)=>{"use strict";p.d(N,{a:()=>g});var e=p(5e3),o=p(1649),u=p(4521),d=p(7751),c=p(1459);let g=(()=>{class b{constructor(A,I,H,z){this.authStateService=A,this.router=I,this.storageService=H,this.loginService=z}canActivateChild(A,I){return console.log("ChildRoute",A),!0}canActivate(A,I){return null!=this.authStateService.getAuthState().authToken||(this.loginService.goToLogin(),!1)}}return b.\u0275fac=function(A){return new(A||b)(e.LFG(o.V),e.LFG(u.F0),e.LFG(d.V),e.LFG(c.r))},b.\u0275prov=e.Yz7({token:b,factory:b.\u0275fac}),b})()},1649:(X,N,p)=>{"use strict";p.d(N,{V:()=>I});var e=p(2722),o=p(4004),u=p(7579),d=p(4707),c=p(5e3),g=p(8093),b=p(2160),k=p(7751),A=p(2251);let I=(()=>{class z{constructor(Z,q,te,V){this.sauronService=Z,this.cookieService=q,this.storageService=te,this.imageCookieService=V,this.authState$=new d.t,this.authState=new H,this.killerCookieKey="dev.footsteps2.kill",this.destroyed$=new u.x,this.authState$.pipe((0,e.R)(this.destroyed$)).subscribe(()=>{this.storageService.storeObject("authState",this.authState)});const ne=this.storageService.getObject("authState");!ne||(this.authState=ne,this.emitCurrentAuthState(),this.sauronService.setAuthToken(this.authState.authToken))}ngOnDestroy(){this.destroyed$.next()}getAuthState(){return this.authState}isStandalone(Z){return this.authState$.pipe((0,e.R)(Z)).pipe((0,o.U)(q=>q.isStandalone))}setAuthState(Z){this.authState=Z,this.sauronService.setAuthToken(Z.authToken)}clearAuthState(){this.storageService.clearAll(),this.authState=new H,this.sauronService.setAuthToken(null),this.imageCookieService.stop(),this.emitCurrentAuthState()}setBusinessId(Z){void 0!==Z&&(this.authState.businessId=Z,this.emitCurrentAuthState())}setBusinessName(Z){this.authState.businessName=Z,this.emitCurrentAuthState()}setUserId(Z){this.authState.userId=Z,this.emitCurrentAuthState()}setPhotoId(Z){this.authState.userPhotoId=Z,this.emitCurrentAuthState()}setfirstName(Z){this.authState.firstName=Z,this.emitCurrentAuthState()}setlastName(Z){this.authState.lastName=Z,this.emitCurrentAuthState()}setjobTitle(Z){this.authState.jobTitle=Z,this.emitCurrentAuthState()}emitCurrentAuthState(){this.authState$.next(this.authState)}setCanAccessSettings(Z){this.authState.canAccessSettings=Z,this.emitCurrentAuthState()}setIsStandalone(Z){this.authState.isStandalone=Z,this.emitCurrentAuthState()}getCanAccessSettings(){return this.authState.canAccessSettings}setKillerCookie(Z){this.killerCookieKey=Z}setNurseryId(Z){this.authState.nurseryId=Z}setToken(Z,q,te,V){this.cookieService.get(this.killerCookieKey)&&this.cookieService.delete(this.killerCookieKey),this.setUserId(q),this.setBusinessId(te),this.authState.authToken=Z,this.sauronService.setAuthToken(Z),this.imageCookieService.start(),this.setNurseryId(V),this.emitCurrentAuthState()}getAuthStateObservable(Z){return this.authState$.pipe((0,e.R)(Z))}}return z.\u0275fac=function(Z){return new(Z||z)(c.LFG(g.HpB),c.LFG(b.N),c.LFG(k.V),c.LFG(A.Zjt))},z.\u0275prov=c.Yz7({token:z,factory:z.\u0275fac}),z})();class H{}},3546:(X,N,p)=>{"use strict";p.d(N,{m:()=>k});var e=p(5861),o=p(7579),u=p(2251),d=p(5698),c=p(2722),g=p(5e3),b=p(8093);let k=(()=>{class A{constructor(H){var z=this;this.businessCommands=H,this.businessLogoCache=new u.qkA((0,e.Z)(function*(){return yield z.businessCommands.getBusinessLogoUrl()})),this.businessBase64LogoCache=new u.qkA((0,e.Z)(function*(){return yield z.businessCommands.getBusinessLogoAsBase64()}))}getBusinessBase64LogoUrl(){var H=this;return(0,e.Z)(function*(){return H.getBusinessBase64LogoUrlObs(new o.x).pipe((0,d.q)(1)).toPromise()})()}getBusinessBase64LogoUrlObs(H){return this.businessBase64LogoCache.getItems().pipe((0,c.R)(H))}getBusinessLogoUrl(){var H=this;return(0,e.Z)(function*(){return H.getBusinessLogoUrlObs(new o.x).pipe((0,d.q)(1)).toPromise()})()}getBusinessLogoUrlObs(H){return this.businessLogoCache.getItems().pipe((0,c.R)(H))}}return A.\u0275fac=function(H){return new(H||A)(g.LFG(b.d8N))},A.\u0275prov=g.Yz7({token:A,factory:A.\u0275fac}),A})()},9889:(X,N,p)=>{"use strict";p.d(N,{K:()=>b});var e=p(5861),o=p(4888),u=p(4707),d=p(4004),c=p(5e3),g=p(8093);let b=(()=>{class k{constructor(I){this.footstepsCarerCommands=I,this.allCarers$=new u.t(1),this.sortByViewValueIgnoreCase=(H,z)=>H.viewValue.toLowerCase().localeCompare(z.viewValue.toLowerCase()),this.getAllCarers().then(H=>this.allCarers$.next(H)),this._carerRelationshipOptions=["Aunt","Brother","Cousin","Father","Mother","Grandfather","Grandmother","Sister","Step-father","Step-mother","Uncle","Doctor","Health-worker","Not related"].map(H=>({value:H,viewValue:H})).sort(this.sortByViewValueIgnoreCase),this._titleOptions=["Mr","Mrs","Miss","Ms","Dr.","Prof.","Rev.","Sir"].map(H=>({value:H,viewValue:H})).sort(this.sortByViewValueIgnoreCase)}get titleOptions(){return this._titleOptions}get carerRelationshipOptions(){return this._carerRelationshipOptions}getAllCarers(){var I=this;return(0,e.Z)(function*(){return(yield I.footstepsCarerCommands.getAllCarerNamesForNursery()).carers.map(z=>({value:z,viewValue:`${z.firstName} ${z.lastName}`}))})()}createCarerForChild(I,H){var z=this;return(0,e.Z)(function*(){const O={childId:H,carerAddress:{addressIdentifier:I.addressIdentifier,addressLine1:I.address1,addressLine2:I.address2,addressLine3:I.address3,town:I.town,county:I.county,postCode:I.postCode},carerEmail:I.emailAddress,carerName:{title:I.title,firstName:I.firstName,lastName:I.lastName},carerPhoneNumberSet:{homePhone:I.homePhone,workPhone:I.workPhone,mobilePhone:I.mobilePhone},relationship:I.relationship,isEmergencyContact:I.isEmergencyContact,isParentalResponsibility:I.isParentalResponsibility,isMale:I.isMale};return yield z.footstepsCarerCommands.createCarerForChild(O)})()}refreshCarers(){var I=this;return(0,e.Z)(function*(){const H=yield I.getAllCarers();I.allCarers$.next(H)})()}linkCarerToChild(I,H,z,O,Z){var q=this;return(0,e.Z)(function*(){const te={adultId:I,childId:H,relationship:z,isEmergencyContact:O,isParentalResponsibility:Z};return yield q.footstepsCarerCommands.linkCarerToChild(te)})()}unlinkCarerFromChild(I,H){var z=this;return(0,e.Z)(function*(){const O={carerId:I,childId:H};return yield z.footstepsCarerCommands.unlinkCarerFromChild(O)})()}buildCreateCarerForm(I,H){const z=new o.ry,O=function(){var Z=(0,e.Z)(function*(){return z.formCancelled(),!0});return function(){return Z.apply(this,arguments)}}();return z.title="Add Carer",z.addAction(new o.yA({buttonText:"Cancel",buttonType:o.qh.standardButton},O)).addAction(new o.yA({buttonText:"Add",buttonType:o.qh.raisedButton},I)).disableOnValidation(),z.addControl("title",new o.JT({placeholder:"Title",options:this._titleOptions,required:!0})).required(),z.addControl("firstName",new o.Zv({placeholder:"First name",required:!0})).required(),z.addControl("lastName",new o.Zv({placeholder:"Last name",required:!0})).required(),z.addControl("relationship",new o.JT({placeholder:"Relationship to child",options:this._carerRelationshipOptions,required:!0})).required(),z.addControl("isMale",k.booleanField("Gender","Male","Female",!0)).required(),z.addControl("homePhone",new o.Zv({placeholder:"Home phone"})),z.addControl("workPhone",new o.Zv({placeholder:"Work phone"})),z.addControl("mobilePhone",new o.Zv({placeholder:"Mobile phone"})),z.addControl("emailAddress",new o.Zv({placeholder:"Email address"})),z.addControl("addressIdentifier",new o.Zv({placeholder:"House No. / Name"})),z.addControl("address1",new o.Zv({placeholder:"Address line 1"})),z.addControl("address2",new o.Zv({placeholder:"Address line 2"})),z.addControl("address3",new o.Zv({placeholder:"Address line 3"})),z.addControl("town",new o.Zv({placeholder:"Town"})),z.addControl("county",new o.Zv({placeholder:"County"})),z.addControl("postCode",new o.Zv({placeholder:"Post code"})),z.addControl("isParentalResponsibility",k.booleanField("Parental responsibility")).required(),z.addControl("isEmergencyContact",k.booleanField("Emergency contact")).required(),z}buildLinkCarerForm(I,H,z=[],O){var Z=this;const q=new o.ry,te=function(){var ne=(0,e.Z)(function*(){return q.formCancelled(),!0});return function(){return ne.apply(this,arguments)}}(),V=function(){var ne=(0,e.Z)(function*(){const ue=q.getModel(),ee=yield Z.linkCarerToChild(ue.carer.id,H,ue.relationship,ue.isEmergencyContact,ue.isParentalResponsibility);return ee.successful?(O(q.getModel()),q.formCompleted(),!0):(q.showErrors(ee.errors),!1)});return function(){return ne.apply(this,arguments)}}();return q.title="Link Existing Carer",q.addAction(new o.yA({buttonText:"Cancel",buttonType:o.qh.standardButton},te)).addAction(new o.yA({buttonText:"Add",buttonType:o.qh.raisedButton},V)).disableOnValidation(),q.addControl("carer",new o.JT({placeholder:"Carer",options:this.allCarers$.pipe((0,d.U)(ne=>ne.sort(this.sortByViewValueIgnoreCase).filter(ue=>!z.includes(ue.value.id)))),required:!0})).required(),q.addControl("relationship",new o.JT({placeholder:"Relationship to child",options:this._carerRelationshipOptions,required:!0})).required(),q.addControl("isEmergencyContact",k.booleanField("Is emergency contact")).required(),q.addControl("isParentalResponsibility",k.booleanField("Has parental responsibility")).required(),q}getPrimaryCarer(I){var H=this;return(0,e.Z)(function*(){return(yield H.footstepsCarerCommands.getPrimaryCarer({childId:I})).carerId})()}static booleanField(I,H,z,O=!0){return new o.zP({title:I,radioOptions:[{option:H||"Yes",value:!0},{option:z||"No",value:!1}],required:O})}}return k.\u0275fac=function(I){return new(I||k)(c.LFG(g.$4e))},k.\u0275prov=c.Yz7({token:k,factory:k.\u0275fac}),k})()},5312:(X,N,p)=>{"use strict";p.d(N,{t:()=>I});var e=p(5861),o=p(7579),u=p(2251),d=p(5698),c=p(4004),g=p(2722),b=p(5e3),k=p(8093),A=p(6293);let I=(()=>{class H{constructor(O,Z){var q=this;this.footstepsEyfsCohortsCommands=O,this.cohortsPipe=Z,this.cohortsCache=new u.qkA((0,e.Z)(function*(){return yield q.footstepsEyfsCohortsCommands.getEyfsCohorts()}))}getCohortsMultiselectDropdown(){var O=this;return(0,e.Z)(function*(){return O.getCohortsObs(new o.x).pipe((0,d.q)(1),(0,c.U)(Z=>Z.map(q=>{const te=O.cohortsPipe.transform(q.value);return{id:q.id,idNumber:q.idNumber,value:te}}))).toPromise()})()}getCohortsObs(O){return this.cohortsCache.getItems().pipe((0,g.R)(O),(0,c.U)(Z=>{const q=[];return Object.keys(Z.cohorts).forEach((te,V)=>{q.push({id:te,idNumber:V,value:te})}),q}))}}return H.\u0275fac=function(O){return new(O||H)(b.LFG(k.uFH),b.LFG(A.m))},H.\u0275prov=b.Yz7({token:H,factory:H.\u0275fac}),H})()},2209:(X,N,p)=>{"use strict";p.d(N,{d1:()=>k,n8:()=>I,yF:()=>A});var e=p(5956),o=p(2995),u=p(7579),d=p(5e3),c=p(2251),g=p(7751),b=p(7206),k=(()=>{return(H=k||(k={}))[H.list=1]="list",H[H.grid=2]="grid",k;var H})(),A=(()=>{return(H=A||(A={}))[H.children=1]="children",H[H.observation=2]="observation",H[H.observationView=3]="observationView",H[H.observationDraft=4]="observationDraft",H[H.observationAwaitingApproval=5]="observationAwaitingApproval",H[H.planning=6]="planning",H[H.reports=7]="reports",H[H.assessments=8]="assessments",H[H.assessmentsView=9]="assessmentsView",H[H.assessmentsDraft=10]="assessmentsDraft",H[H.assessmentsAwaiting=11]="assessmentsAwaiting",H[H.reportPopupSingle=12]="reportPopupSingle",H[H.reportPopupGroup=13]="reportPopupGroup",H[H.achievement=14]="achievement",H[H.observationCarers=15]="observationCarers",H[H.learningOverviewReport=16]="learningOverviewReport",H[H.settings=17]="settings",H[H.management=18]="management",H[H.observationRejected=19]="observationRejected",H[H.progressReport2021=20]="progressReport2021",H[H.statementGaps2021=21]="statementGaps2021",A;var H})();let I=(()=>{class H{constructor(O,Z,q,te){this.platformService=O,this.storageService=Z,this.featureToggleService=q,this.zone=te,this.iconsChanged=new u.x,this.iconClicked=new u.x,this.displayModeChange=new u.x,this.navBarVisibilityChanged=new u.x,this.destroyed$=new u.x,this.currentRoute=A.children,this.currentDisplayModes=new Map,this.iconKey=e.Ol;const V=this.storageService.getObject("display-modes");V&&(this.currentDisplayModes=new Map(o.Z.parse(V)));const ne="Email to carers",ue="Download PDF",ee=[];ee.push({icon:"envelope",item:ne,selected:!1,key:this.iconKey.email}),ee.push({icon:"save",item:ue,selected:!1,key:this.iconKey.save});const Q={icon:"envelope",item:ne,selected:!1,key:this.iconKey.email};if(this.gridIconsByRoute={[A.children]:[{id:this.iconKey.search,name:"search"},{id:this.iconKey.childFilter,name:"filter"},{id:this.iconKey.list,name:"list"},{id:this.iconKey.grid,name:"th"}],[A.observation]:[],[A.observationCarers]:[{id:this.iconKey.info,name:"info-circle"}],[A.observationView]:[{id:this.iconKey.search,name:"search"},{id:this.iconKey.observationFilter,name:"filter"},{id:this.iconKey.info,name:"info-circle"}],[A.observationDraft]:[{id:this.iconKey.search,name:"search"},{id:this.iconKey.info,name:"info-circle"}],[A.observationRejected]:[{id:this.iconKey.search,name:"search"},{id:this.iconKey.info,name:"info-circle"}],[A.observationAwaitingApproval]:[{id:this.iconKey.search,name:"search"},{id:this.iconKey.info,name:"info-circle"}],[A.planning]:[{id:this.iconKey.observationFilter,name:"filter"},{id:this.iconKey.print,name:"print"}],[A.reports]:[{id:this.iconKey.list,name:"list"},{id:this.iconKey.grid,name:"th"}],[A.reportPopupSingle]:[{id:this.iconKey.download,name:"download",subHeaderText:"Export Options",subItems:ee}],[A.reportPopupGroup]:[{id:this.iconKey.download,name:"download",subHeaderText:"Export Options",subItems:[{icon:"save",item:ue,selected:!1,key:this.iconKey.save}]}],[A.assessments]:[],[A.assessmentsView]:[{id:this.iconKey.search,name:"search"},{id:this.iconKey.assessmentFilter,name:"filter"},{id:this.iconKey.info,name:"info-circle"}],[A.assessmentsDraft]:[{id:this.iconKey.search,name:"search"},{id:this.iconKey.info,name:"info-circle"}],[A.assessmentsAwaiting]:[{id:this.iconKey.search,name:"search"},{id:this.iconKey.info,name:"info-circle"}],[A.achievement]:[{id:this.iconKey.search,name:"search"},{id:this.iconKey.childFilter,name:"filter"}],[A.learningOverviewReport]:[{id:this.iconKey.download,name:"download",subHeaderText:"Export Options",subItems:[{icon:"save",item:ue,selected:!1,key:this.iconKey.save}]},{id:this.iconKey.learningOverviewInfo,name:"info-circle"}],[A.progressReport2021]:[{id:this.iconKey.download,name:"download",subHeaderText:"Export Options",subItems:[Q,{icon:"save",item:ue,selected:!1,key:this.iconKey.save}]}],[A.statementGaps2021]:[{id:this.iconKey.download,name:"download",subHeaderText:"Export Options",subItems:[Q,{icon:"save",item:ue,selected:!1,key:this.iconKey.save}]}],[A.settings]:[],[A.management]:[]},!this.platformService.isRunningInCordova()){const se={icon:"print",item:"Print",selected:!1,key:this.iconKey.print},je=this.gridIconsByRoute[A.reportPopupGroup],nt=this.gridIconsByRoute[A.reportPopupSingle],He=this.gridIconsByRoute[A.learningOverviewReport],Ce=this.gridIconsByRoute[A.statementGaps2021];this.gridIconsByRoute[A.progressReport2021][0].subItems.push(se),Ce[0].subItems.push(se),je[0].subItems.push(se),nt[0].subItems.push(se),He[0].subItems.push(se)}this.listIconsByRoute={[A.children]:this.gridIconsByRoute[A.children],[A.observation]:this.gridIconsByRoute[A.observation],[A.observationView]:this.gridIconsByRoute[A.observationView],[A.observationDraft]:this.gridIconsByRoute[A.observationDraft],[A.observationAwaitingApproval]:this.gridIconsByRoute[A.observationAwaitingApproval],[A.planning]:this.gridIconsByRoute[A.planning],[A.reports]:[{id:this.iconKey.search,name:"search"},{id:this.iconKey.reportFilter,name:"filter"},{id:this.iconKey.list,name:"list"},{id:this.iconKey.grid,name:"th"}],[A.reportPopupSingle]:this.gridIconsByRoute[A.reportPopupSingle],[A.assessments]:this.gridIconsByRoute[A.assessments],[A.assessmentsView]:this.gridIconsByRoute[A.assessmentsView]}}ngOnDestroy(){this.destroyed$.next()}setCurrentRoute(O){console.log("Navbar got route: "+O.toString()),this.currentRoute=O,this.setDashboardIcons()}setDashboardView(O){this.currentDisplayModes.set(this.currentRoute,O),this.storageService.storeObject("display-modes",o.Z.stringifyMap(this.currentDisplayModes)),this.setDashboardIcons(),this.displayModeChange.next(O)}actionIconClicked(O){this.iconClicked.next(O)}getCurrentDisplayMode(){return this.currentDisplayModes.get(this.currentRoute)?this.currentDisplayModes.get(this.currentRoute):k.grid}showNavBar(O){this.zone.run(()=>{this.navBarVisibilityChanged.next(O)})}setDashboardIcons(){const O=this.getCurrentDisplayMode();let Z=[];O===k.grid&&(Z=this.gridIconsByRoute[this.currentRoute]),O===k.list&&(Z=this.listIconsByRoute[this.currentRoute]),setTimeout(()=>{this.iconsChanged.next({icons:Z})})}}return H.\u0275fac=function(O){return new(O||H)(d.LFG(c.mix),d.LFG(g.V),d.LFG(b.B),d.LFG(d.R0b))},H.\u0275prov=d.Yz7({token:H,factory:H.\u0275fac}),H})()},4658:(X,N,p)=>{"use strict";p.d(N,{Qd:()=>I,Qs:()=>A});var e=p(5439),u=p(2251),d=p(7579),c=p(2105),g=p(5e3),b=p(1649),A=(()=>{return(O=A||(A={})).tracker="tracker",O.learningJourney="learning-journey",O.progress="progress",O.nextSteps="next-steps",O.statementGaps="statement-gaps",O.coel="coel",O.wellbeing="wellbeing",O.overview="overview",O.statementGaps2021="statement-gaps-2021",A;var O})();let I=(()=>{class O{constructor(q){this.authStateService=q,q.getAuthStateObservable(new d.x).subscribe(te=>{this.setUserId(te.userId)})}logException(q,te){new z(this.authStateService).setCommonTags(),c.$e(function(V){V.setLevel("error"),te&&V.addAttachment({filename:"AdditionalInfo.txt",data:te,contentType:"text/plain"}),c.Tb(q)}),console.error(q)}submitLog(q,te){console.log(q)}reportFeatureUsage(q,te){try{const V=window.location.host.indexOf("localhost")>-1;if(console.log(`%c Feature logged: ${q}/${te}${V?" (not logging for real on local)":""}`,"background: #0574e3; color: #fff"),V)return;const ue=window.gtag;if("function"!=typeof ue)return;ue("event",te,{event_category:q,event_label:"footsteps2",value:1})}catch(V){console.error("Failed to log feature usage",V)}}recordReportPrint(q){this.reportFeatureUsage("reports",`${q}-print`)}recordReportClickedFromLaunchPad(q){this.reportFeatureUsage("reports",`${q}-clicked-from-launch-pad`)}recordReportSaveFromLaunchPad(q){this.reportFeatureUsage("reports",`${q}-saved-from-launch-pad`)}recordReportPrintFromLaunchPad(q){this.reportFeatureUsage("reports",`${q}-printed-from-launch-pad`)}recordReportSave(q){this.reportFeatureUsage("reports",`${q}-save`)}recordReportCustomDateSelected(q){this.reportFeatureUsage("reports",`${q}-custom-date-selected`)}startTimingEvent(q){const te=new H(q,this.authStateService);return te.start(),te}recordReportOpen(q,te){this.reportFeatureUsage("reports",te?`${q}-view-group`:`${q}-view-single`)}recordReportEmail(q){this.reportFeatureUsage("reports",`${q}-email`)}recordReportAction(q,te){this.reportFeatureUsage("reports",`${q}-${te}`)}setUserId(q){try{const te=window.gtag;if("function"!=typeof te)return;te("set",{user_id:q})}catch(te){console.error(te)}}}return O.\u0275fac=function(q){return new(q||O)(g.LFG(b.V))},O.\u0275prov=g.Yz7({token:O,factory:O.\u0275fac}),O})();class H{constructor(Z,q){this.eventName=Z,this.authStateService=q}start(){try{this.startDate=new Date}catch(Z){console.error("Error starting timer")}}stop(Z){try{if(this.endDate)return;this.endDate=new Date;const q=e(this.endDate.getTime()-this.startDate.getTime()).format("mm:ss.SSS");console.log(this.eventName," ",q)}catch(q){console.error("Error starting timer")}}}class z{constructor(Z){this.authStateService=Z}setCommonTags(){const Z=this.authStateService.getAuthState(),q=this.assignToStringValue(Z.businessId,""),te=this.assignToStringValue(Z.userId,""),V=this.assignToStringValue(Z.nurseryId,"");c.YA("BusinessId",q),c.YA("UserId",te),c.YA("NurseryId",V);const ne=u.QCi.getBuildVersionSetting();c.YA("BuildVersion",ne)}assignToStringValue(Z,q){return Z&&Z.toString?Z.toString():q}}},3055:(X,N,p)=>{"use strict";p.d(N,{m:()=>g});var e=p(7579),o=p(1832),u=p(5e3),d=p(7206),c=p(1459);let g=(()=>{class b{constructor(A,I){this.featureToggle=A,this.loginService=I,this.destroy$=new e.x}canActivate(A,I){let H=!1;const z=A.data.featureId;if(!z)return!0;const O=o.L.fromId(z);return this.featureToggle.isFeatureAllowed(O,this.destroy$).subscribe(Z=>{H=Z}).unsubscribe(),H||(console.warn(`Redirecting way from route due to missing feature toggle on route ${A.url} expected feature ${z}`),this.loginService.goToLogin(),H)}ngOnDestroy(){this.destroy$.next()}}return b.\u0275fac=function(A){return new(A||b)(u.LFG(d.B),u.LFG(c.r))},b.\u0275prov=u.Yz7({token:b,factory:b.\u0275fac}),b})()},7206:(X,N,p)=>{"use strict";p.d(N,{B:()=>Z});var e=p(5861),o=p(4707),u=p(7579),d=p(2995),c=p(2722),g=p(4004),b=p(5698),k=p(5e3),A=p(520),I=p(8093),H=p(1649),z=p(4658),O=p(7751);let Z=(()=>{class q{constructor(V,ne,ue,ee,Q,se,je){this.http=V,this.sauronClient=ne,this.authStateService=ue,this.eventReporter=ee,this.storageService=Q,this.featureTogglesCommands=se,this.zone=je,this.statuses$=new o.t(1),this.apiUrlChanged$=new u.x,this.destroyed$=new u.x,this.doNotLoadFromServer=!1,this.enabledFeaturesCache=new Map}ngOnInit(){this.overrideFeaturesLocally=!1,this.loadFromServer()}ngOnDestroy(){this.destroyed$.next()}setApiUrl(V){this.apiUrl=V,this.apiUrlChanged$.next(V)}isFeatureAllowed(V,ne){return this.loadFromServer(),this.statuses$.pipe((0,c.R)(ne)).pipe((0,g.U)(ee=>{const Q=ee.find(se=>se.featureKey===V.name);return Q?Q.enabled:q.DEFAULT_FEATURE_STATUS}))}isFeatureAllowedNow(V){var ne=this;return(0,e.Z)(function*(){return yield ne.loadFromServer(),yield ne.isFeatureAllowed(V,ne.destroyed$).pipe((0,b.q)(1)).toPromise()})()}loadFromServer(){var V=this;return(0,e.Z)(function*(){if(V.hasLoaded||(yield V.loadFromLocalStorage()))return;V.hasLoaded=!0;const ue=yield V.featureTogglesCommands.getEnabledFeatureToggles();ue&&(ue.featureKeys.map(Q=>({featureKey:Q,enabled:!0,lastUpdatedTimestampMillis:Date.now()})).forEach(Q=>V.enabledFeaturesCache.set(Q.featureKey,Q)),yield V.saveToLocalStorageAndNotifyObservers())})()}loadFromLocalStorage(){var V=this;return(0,e.Z)(function*(){const ne=V.storageService.getStringGlobal(q.ENABLED_FEATURE_CACHE_KEY);return!!ne&&(V.hasLoaded=!0,d.Z.parse(ne).forEach(ee=>V.enabledFeaturesCache.set(ee.featureKey,ee)),yield V.saveToLocalStorageAndNotifyObservers(),!0)})()}printEnabledFeaturesCache(V){console.log(V),this.enabledFeaturesCache.forEach(ne=>{console.log(ne.featureKey+" : "+ne.enabled+", lastUpdatedTimestampMillis : "+ne.lastUpdatedTimestampMillis)})}saveToLocalStorageAndNotifyObservers(){var V=this;return(0,e.Z)(function*(){const ne=q.mapToArray(V.enabledFeaturesCache);V.storageService.storeStringGlobal(q.ENABLED_FEATURE_CACHE_KEY,JSON.stringify(ne)),V.statuses$.next(ne)})()}static mapToArray(V){const ne=[];return V.forEach(ue=>ne.push(ue)),ne}networkDisabled(){console.log("Network feature toggle loading disabled"),this.doNotLoadFromServer=!0}clearLocalOverrides(){var V=this;return(0,e.Z)(function*(){V.storageService.deleteObjectGlobal(q.LOCAL_OVERRIDE_LOCAL_STORAGE_KEY),V.storageService.deleteObjectGlobal(q.ENABLED_FEATURE_CACHE_KEY),yield V.loadFromServer()})()}}return q.LOCAL_OVERRIDE_LOCAL_STORAGE_KEY="overrideFeaturesLocally",q.DEFAULT_FEATURE_STATUS=!1,q.ENABLED_FEATURE_CACHE_KEY="enabledFeatures",q.\u0275fac=function(V){return new(V||q)(k.LFG(A.eN),k.LFG(I.HpB),k.LFG(H.V),k.LFG(z.Qd),k.LFG(O.V),k.LFG(I.ik9),k.LFG(k.R0b))},q.\u0275prov=k.Yz7({token:q,factory:q.\u0275fac}),q})()},671:(X,N,p)=>{"use strict";p.d(N,{i:()=>I,v:()=>A});var e=p(5861),o=p(5e3),u=p(8093),d=p(5439),g=p(2995),b=p(2251),k=p(4658),A=(()=>{return(H=A||(A={}))[H.CHILD=0]="CHILD",H[H.OBSERVATION=1]="OBSERVATION",H[H.ASSESSMENT=2]="ASSESSMENT",H[H.REPORT=3]="REPORT",H[H.NEXT_STEPS=4]="NEXT_STEPS",A;var H})();let I=(()=>{class H{constructor(O,Z,q,te){this.footstepsUserFilterCommands=O,this.childCommands=Z,this.childrenService=q,this.eventReporter=te,this.previousFilterOptions=this.getDefaultFilterOptions(),this.searchTerm=null,this.ignoreDateFilter=!1,this.filtersReady=new o.vpe,this.filtersApplied=new o.vpe,this.children=[]}clearChildrenOnLoginOrLogout(){this.children=[]}setSearchTerm(O){var Z=this;return(0,e.Z)(function*(){Z.searchTerm=O.toLowerCase(),Z.filtersReady.emit()})()}prepareAndReturnFilters(){var O=this;return(0,e.Z)(function*(){if(void 0===O.filterOptions){O.filterOptions=O.getDefaultFilterOptions();const Z=yield O.footstepsUserFilterCommands.getUserFilters(null);Z.successful&&O.mapResultToFilter(Z.filter)}if(0===O.children.length){const Z=yield O.childrenService.getChildren();O.children=Z.map(q=>({id:q.childId,gender:q.gender,leaveDate:new Date(q.leaveDate),dateOfBirth:new Date(q.dateOfBirth),inToday:q.inToday,rooms:q.rooms,keyWorker:q.keyWorker,cohorts:q.cohorts,firstName:q.firstName,lastName:q.lastName,knownName:q.knownName,status:q.statusId,photoUrl:q.photoUrl}))}return O.validateFilters(),O.filterOptions})()}clearFilterOptions(){var O=this;return(0,e.Z)(function*(){O.filterOptions.rememberFilters||(O.filterOptions=O.getDefaultFilterOptions())})()}setUserFilters(O){var Z=this;return(0,e.Z)(function*(){Z.filterOptions=O,Z.recordEventsForFilterChange(Z.previousFilterOptions,O),Z.previousFilterOptions=g.Z.clone(Z.filterOptions),Z.validateFilters();const q=Z.mapSaveUserFiltersRequest();Z.filterOptions.rememberFilters&&(Z.saveUserFilterResult=yield Z.footstepsUserFilterCommands.saveUserFilters(q,null)),Z.filtersReady.emit()})()}recordEventsForFilterChange(O,Z){const q=(te,V)=>{const ne=g.Z.clone(Z),ue=g.Z.clone(O);JSON.stringify(ue[te])!==JSON.stringify(ne[te])&&this.eventReporter.reportFeatureUsage("children-filter",V)};console.log("Checking filters for changes"),q("rememberFilters","remember-filters"),q("dateFrom","date-from"),q("dateTo","date-to"),q("ageFrom","age-to"),q("ageTo","age-to"),q("cohorts","cohorts"),q("male","male-filter"),q("female","female-filter"),q("inToday","in-today"),q("notInToday","not-in-today"),q("rooms","rooms"),q("status","status")}applyObservationFilter(){var O=this;return(0,e.Z)(function*(){yield O.prepareAndReturnFilters();const Z=yield O.applyChildrenFilterToDefault();if(null===Z||0===Z.length)return O.emitFiltersApplied(A.OBSERVATION),[];const q=Z.map(({id:ne})=>ne);let te={from:null,to:null};O.dateFiltersAreInvalid()||(te=O.filterOptionsDateRangeTimeNormalised());const V=yield O.childCommands.getChildrenObservationCounts({childIds:q,dateFrom:te.from,dateTo:te.to});return O.emitFiltersApplied(A.OBSERVATION),V.children})()}applyAssembledObservationFilter(O){var Z=this;return(0,e.Z)(function*(){yield Z.prepareAndReturnFilters();const q=yield Z.applyChildrenFilterToDefault();let te=O.filter(ne=>ne.children.findIndex(ue=>q.findIndex(ee=>ue.id===ee.id)>-1)>-1);if(Z.dateFiltersAreInvalid())return Z.emitFiltersApplied(A.OBSERVATION),te;const V=Z.filterOptionsDateRangeTimeNormalised();return Z.ignoreDateFilter||(te=te.filter(ne=>{const ue=new Date(ne.observationDate.toString());return V.from<=ue&&ueZ.childHasARoomMatchingFilter(te.dataRow.roomId,Z.filterOptions)&&Z.childKeyWorkerMatchesFilter(te.dataRow.keyPersonId,Z.filterOptions)&&Z.childGenderMatchesFilter(te.dataRow.gender)&&Z.childAgeMatchesFilter(te.dataRow.dateOfBirth)&&Z.childCohortsMatchesFilter(te.dataRow.cohorts,Z.filterOptions)&&Z.childRegistrationStatusMatchesFilter(te.dataRow.isRegistered));return Z.emitFiltersApplied(A.REPORT),q})()}applyNextStepsFilter(O,Z){var q=this;return(0,e.Z)(function*(){const te=q.children.filter(ue=>q.childHasARoomMatchingFilter(ue.rooms,Z)&&q.childCohortsMatchesFilter(ue,Z)&&q.childKeyWorkerMatchesFilter(ue.keyWorker,Z)),ne=O.filter(ue=>q.nextStepEyfsMatchesFilter(ue.areaKeys,Z)&&q.nextStepAgeBandMatchesFilter(ue.ageBandKeys,Z)).filter(ue=>te.some(ee=>ee.id===ue.childId));return q.emitFiltersApplied(A.NEXT_STEPS),ne})()}applyNextStepsObservationFilter(O){var Z=this;return(0,e.Z)(function*(){yield Z.prepareAndReturnFilters();const q=yield Z.applyChildrenFilterToDefault(),te=O.filter(V=>q.findIndex(ne=>V.childId===ne.id)>-1);return Z.emitFiltersApplied(A.NEXT_STEPS),te})()}applyChildrenFilterToDefault(){var O=this;return(0,e.Z)(function*(){return O.applyChildrenFilter(O.children)})()}applyChildrenFilter(O){var Z=this;return(0,e.Z)(function*(){yield Z.prepareAndReturnFilters(),Z.setAgeRanges();const q=O.filter(ue=>Z.childHasARoomMatchingFilter(ue.rooms,Z.filterOptions)&&Z.childKeyWorkerMatchesFilter(ue.keyWorker,Z.filterOptions)&&Z.childGenderMatchesFilter(ue.gender)&&Z.childAgeMatchesFilter(ue.dateOfBirth)&&Z.childRegistrationStatusMatchesFilter(ue.status)&&Z.childCohortsMatchesFilter(ue,Z.filterOptions)&&Z.childAttendanceMatchesFilter(ue.inToday));if(!Z.hasSearchTerms())return Z.emitFiltersApplied(A.CHILD),q;const te=O.map(({id:ue,firstName:ee,lastName:Q,knownName:se})=>Object.assign({id:ue,searchTerms:[ee,Q,se]})),V=Z.getIdsMatchingSearchCriteria(te),ne=q.filter(ue=>V.some(ee=>ee===ue.id));return Z.emitFiltersApplied(A.CHILD),ne})()}getDefaultFilterOptions(){return{rooms:[],keyPersons:[],male:!1,female:!1,ageFrom:null,ageTo:null,status:u.PQk.registered,cohorts:[],inToday:!1,notInToday:!1,rememberFilters:!1,dateFrom:d().subtract(1,"month").startOf("day").toDate(),dateTo:d().endOf("day").toDate(),includeUnassignedRoom:!1,includeUnassignedKeyPerson:!1}}getDefaultNextStepsFilterOptions(){return{rooms:[],keyPersons:[],cohorts:[],includeUnassignedRoom:!1,includeUnassignedKeyPerson:!1,eyfsAreas:[],ageBands:[]}}nonDefaultFiltersApplied(){return!!this.filterOptions&&JSON.stringify(this.filterOptions)!==JSON.stringify(this.getDefaultFilterOptions())}hasSearchTerms(){return""!==this.searchTerm&&null!=this.searchTerm}getIdsMatchingSearchCriteria(O){const Z=[];for(const q of O){const te=this.searchTerm.split(" ");if(te.length>1){let V=0;for(const ne of te)q.searchTerms.filter(ee=>ee.toLowerCase().includes(ne)).length>0&&V++;V===te.length&&Z.push(q.id)}1===te.length&&q.searchTerms.filter(ne=>ne.toLowerCase().includes(te[0])).length>0&&Z.push(q.id)}return Z}dateFiltersAreInvalid(){return null===this.filterOptions.dateFrom||void 0===this.filterOptions.dateFrom&&null===this.filterOptions.dateTo||void 0===this.filterOptions.dateTo}childCohortsMatchesFilter(O,Z){return 0===Z.cohorts.length||this.childFundingMatchesFilter(O,Z)||this.childBirthSeasonMatchesFilter(O,Z)||this.childOtherCohortsMatchFilter(O,Z)}childOtherCohortsMatchFilter(O,Z){return this.cohortMatchesFilter(O.cohorts,u.K7p.specialEducationalNeedsAndDisabilities,Z)||this.cohortMatchesFilter(O.cohorts,u.K7p.englishAsAnAdditionalLanguage,Z)||this.cohortMatchesFilter(O.cohorts,u.K7p.giftedAndTalented,Z)||this.cohortMatchesFilter(O.cohorts,u.K7p.lookedAfterChild,Z)||this.cohortMatchesFilter(O.cohorts,u.K7p.carersInArmedForces,Z)||this.cohortMatchesFilter(O.cohorts,u.K7p.gypsyRomanyTravellerFamily,Z)||this.cohortMatchesFilter(O.cohorts,u.K7p.minorityEthnicGroup,Z)||this.cohortMatchesFilter(O.cohorts,u.K7p.receivesEarlyYearsPupilPremium,Z)||this.cohortMatchesFilter(O.cohorts,u.K7p.receivesFreeSchoolMeals,Z)||this.cohortMatchesFilter(O.cohorts,u.K7p.requiresOneToOneCare,Z)}childFundingMatchesFilter(O,Z){const q=this.cohortMatchesFilter(O.cohorts,u.K7p.twoYearFunded,Z),te=this.cohortMatchesFilter(O.cohorts,u.K7p.threeToFourYearFunded,Z);return q||te}childBirthSeasonMatchesFilter(O,Z){return this.cohortMatchesFilter(O.cohorts,u.K7p.springBorn,Z)||this.cohortMatchesFilter(O.cohorts,u.K7p.summerBorn,Z)||this.cohortMatchesFilter(O.cohorts,u.K7p.autumnBorn,Z)}cohortMatchesFilter(O,Z,q){const te=q.cohorts.indexOf(Z)>=0,V=O.indexOf(Z)>=0;return te&&V}childRegistrationStatusMatchesFilter(O){return!this.filterOptions.status||this.filterOptions.status===u.PQk.all||this.filterOptions.status===u.PQk.registered&&O===u.IN4.registered||this.filterOptions.status===u.PQk.left&&O===u.IN4.left}childKeyWorkerMatchesFilter(O,Z){return 0===Z.keyPersons.length||!(null===O&&!Z.includeUnassignedKeyPerson)&&(null===O||Z.keyPersons.some(q=>q===O.id))}childGenderMatchesFilter(O){return this.filterOptions.male===this.filterOptions.female||this.filterOptions.male&&O===u.Y0t.male||this.filterOptions.female&&O===u.Y0t.female}childAgeMatchesFilter(O){if(!O)return!1;const Z=this.calculateAgeInMonths(new Date(O.toString()));return Z>=this.ageFrom&&Z<=this.ageTo}childAttendanceMatchesFilter(O){return this.filterOptions.inToday===this.filterOptions.notInToday||this.filterOptions.inToday&&O||this.filterOptions.notInToday&&!O}calculateAgeInMonths(O){const Z=d(O);return d().diff(d(Z,"YYYYMMDD"),"months")}nextStepEyfsMatchesFilter(O,Z){if(0===Z.eyfsAreas.length)return!0;if(null===O)return!1;const q=Z.eyfsAreas;return O.some(te=>q.indexOf(te)>=0)}nextStepAgeBandMatchesFilter(O,Z){if(0===Z.ageBands.length)return!0;if(null===O)return!1;const q=Z.ageBands;return O.some(te=>q.indexOf(te)>=0)}childHasARoomMatchingFilter(O,Z){if(0===Z.rooms.length)return!0;const q=Z.rooms;return Z.includeUnassignedRoom&&0===O.length||O.some(te=>q.indexOf(te.id)>=0)}setAgeRanges(){this.ageFrom=null===this.filterOptions.ageFrom?0:this.filterOptions.ageFrom,this.ageTo=null===this.filterOptions.ageTo?999:this.filterOptions.ageTo}mapSaveUserFiltersRequest(){const O=this.filterOptions;let Z,q;O.male&&O.female&&(Z=u.VfI.all),O.male&&!O.female&&(Z=u.VfI.male),!O.male&&O.female&&(Z=u.VfI.female),O.inToday&&O.notInToday&&(q=u.Eu9.all),O.inToday&&!O.notInToday&&(q=u.Eu9.inToday),!O.inToday&&O.notInToday&&(q=u.Eu9.notInToday);const te=O.rooms.slice(),V=O.rooms.indexOf("unassigned-room",0);V>-1&&(te.splice(V,1),O.includeUnassignedRoom=!0),-1===V&&(O.includeUnassignedRoom=!1);const ne=O.keyPersons.slice(),ue=O.keyPersons.indexOf("unassigned-key-person",0);ue>-1&&(ne.splice(ue,1),O.includeUnassignedKeyPerson=!0),-1===ue&&(O.includeUnassignedKeyPerson=!1);const ee=this.getDefaultFilterOptions();return d(O.dateFrom).valueOf()===d(ee.dateFrom).valueOf()&&d(O.dateTo).valueOf()===d(ee.dateTo).valueOf()&&(O.dateFrom=void 0,O.dateTo=void 0),{roomIds:te,keyPersonIds:ne,ageFromInMonths:O.ageFrom,ageToInMonths:O.ageTo,genderKey:Z,attendanceStatusKey:q,cohortKeys:O.cohorts,registrationStatusKey:O.status,fromDate:O.dateFrom,toDate:O.dateTo,includeUnassignedRoom:O.includeUnassignedRoom,includeUnassignedKeyPerson:O.includeUnassignedKeyPerson}}mapResultToFilter(O){this.mapStatusKey(O.attendanceStatusKey),this.filterOptions.rooms=O.roomIds||[],this.filterOptions.keyPersons=O.keyPersonIds||[],this.filterOptions.male="all"===O.genderKey.toString()||"male"===O.genderKey.toString(),this.filterOptions.female="all"===O.genderKey.toString()||"female"===O.genderKey.toString(),this.filterOptions.ageFrom=0===O.ageFromInMonths?null:O.ageFromInMonths,this.filterOptions.ageTo=0===O.ageToInMonths?null:O.ageToInMonths,this.filterOptions.status=O.registrationStatusKey,this.filterOptions.cohorts=O.cohortKeys||[],null==O.fromDate||"0001-01-01T00:00:00+00:00"===O.fromDate||(this.filterOptions.dateFrom=d(O.fromDate).startOf("day").toDate()),null==O.toDate||"0001-01-01T00:00:00+00:00"===O.toDate||(this.filterOptions.dateTo=d(O.toDate).endOf("day").toDate())}mapStatusKey(O){null!==O&&(O===u.Eu9.all&&(this.filterOptions.inToday=!0,this.filterOptions.notInToday=!0),O===u.Eu9.inToday&&(this.filterOptions.inToday=!0),O===u.Eu9.notInToday&&(this.filterOptions.notInToday=!0))}validateFilters(){const O=this.getDefaultFilterOptions();for(const Z of Object.keys(this.filterOptions)){const q=this.filterOptions[Z];(null==q||""===q.toString())&&(this.filterOptions[Z]=O[Z])}}filterOptionsDateRangeTimeNormalised(){let O=null;this.filterOptions.dateFrom&&(O=new Date(this.filterOptions.dateFrom.toString()),O.setHours(0,0,0,0));let Z=null;return this.filterOptions.dateTo&&(Z=new Date(this.filterOptions.dateTo.toString()),Z.setHours(23,59,59,999)),{from:O,to:Z}}emitFiltersApplied(O){this.filtersApplied.emit({filterType:O,filterOptions:g.Z.clone(this.filterOptions),nonDefaultFiltersApplied:this.nonDefaultFiltersApplied(),hasSearchTerms:this.hasSearchTerms()})}}return H.\u0275fac=function(O){return new(O||H)(o.LFG(u.wMx),o.LFG(u.Pyg),o.LFG(b.HiY),o.LFG(k.Qd))},H.\u0275prov=o.Yz7({token:H,factory:H.\u0275fac}),H})()},2736:(X,N,p)=>{"use strict";p.d(N,{A:()=>g});var e=p(5861),o=p(4888),u=p(8093),d=p(5e3),c=u.GBi.CreateChildrenError;let g=(()=>{class b{constructor(A,I){this.abacusRoomCommands=A,this.abacusStaffCommands=I}addCommonChildFormFields(A,I=!1){var H=this;return(0,e.Z)(function*(){const O=(yield H.getRooms()).map(V=>({viewValue:V.roomName,value:V.roomId})).sort(b.sortByViewValueIgnoreCase()),te=(yield H.getStaff()).map(V=>({viewValue:`${V.firstName} ${V.lastName}`,value:V})).sort(b.sortByLastName()).filter(V=>V.value.keyWorker).map(V=>({viewValue:V.viewValue,value:V.value.staffId}));return A.addControl("firstName",new o.Zv({placeholder:"First name",required:!0})).required().addControl("lastName",new o.Zv({placeholder:"Last name",required:!0}),[c.lastNameIsEmpty]).required().addControl("isMale",new o.zP({radioOptions:[{option:"Male",value:!0},{option:"Female",value:!1}],title:"Gender",required:!0})).required().addControl("dateOfBirth",new o.AX({placeholder:"Date of birth",required:!0,filter:V=>VA.getModel().dateOfBirth),"Start date is before DOB").required().addControl("estimatedLeaveDate",new o.AX({placeholder:"Leave date",required:!0}),[c.leaveDateMustBeAfterStartDate,c.leaveDateMustBeAfterDateOfBirth]).required(),I&&A.addControl("status",new o.JT({placeholder:"Status",options:[{viewValue:"Registered",value:u.IN4.registered},{viewValue:"Left",value:u.IN4.left}],required:!1})),A.addValidation(new o.d3(()=>A.getModel().dateOfBirth),"Leave date is before DOB").addValidation(new o.d3(()=>A.getModel().startDate),"Leave date is before start date").addControl("roomId",new o.JT({options:O,placeholder:"Assigned room"})).addControl("keyWorkerId",new o.JT({options:te,placeholder:"Key person"})),A.setServerError(c.mustBeSend,"As you have selected one to one, please select SEND cohort").setServerError(c.leaveDateMustBeAfterDateOfBirth,"Leave date must be before DOB").setServerError(c.leaveDateMustBeAfterDateOfBirth,"Leave date must be before DOB").setServerError(c.startDateMustBeAfterDateOfBirth,"Start date must be before DOB").setServerError(c.leaveDateMustBeAfterStartDate,"Leave date must be before Start date"),A})()}getStaff(){var A=this;return(0,e.Z)(function*(){return(yield A.abacusStaffCommands.getAllStaff()).staffs})()}getRooms(){var A=this;return(0,e.Z)(function*(){return(yield A.abacusRoomCommands.getAllRooms()).rooms})()}static sortByViewValueIgnoreCase(){return(A,I)=>A.viewValue.toString().toLowerCase().localeCompare(I.viewValue.toString().toLowerCase())}static sortByLastName(){return(A,I)=>{const H=A.value.lastName.toLowerCase().localeCompare(I.value.lastName.toLowerCase());return 0!==H?H:A.value.firstName.toLowerCase().localeCompare(I.value.firstName.toLowerCase())}}}return b.\u0275fac=function(A){return new(A||b)(d.LFG(u.gee),d.LFG(u.pEx))},b.\u0275prov=d.Yz7({token:b,factory:b.\u0275fac}),b})()},8534:(X,N,p)=>{"use strict";p.d(N,{E:()=>o});var e=p(5e3);let o=(()=>{class u{setIsInPortal(c){this.isInPortal=c}getIsInPortal(){return void 0===this.isInPortal&&(this.isInPortal=window.location!==window.parent.location),this.isInPortal}setPortalTitle(c){!window.parent||window.parent.postMessage({type:"setPageTitle",title:c},"*")}restorePortalTitle(){!window.parent||window.parent.postMessage({type:"restorePageTitle"},"*")}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275prov=e.Yz7({token:u,factory:u.\u0275fac}),u})()},7633:(X,N,p)=>{"use strict";p.d(N,{O:()=>Z,F:()=>O});var e=p(5861),o=p(8093),u=(()=>{return(q=u||(u={}))[q.setAgebandManually=0]="setAgebandManually",q[q.setAgebandByHighestVisited=1]="setAgebandByHighestVisited",q[q.setAgebandByHighestSecure=2]="setAgebandByHighestSecure",u;var q})(),d=p(7579),c=p(2251),g=p(5698),b=p(2722),k=p(4004),A=p(9841),I=p(5e3),H=p(1649),z=p(5383);class O{}let Z=(()=>{class q extends O{constructor(V,ne,ue){super(),this.businessPreferenceCommands=V,this.authStateService=ne,this.userService=ue,this.approvedUsers=[],this.initialiseObservableCaches()}initialiseObservableCaches(){var V=this;this.currentBusinessPreferencesCache=new c.qkA((0,e.Z)(function*(){return yield V.businessPreferenceCommands.getBusinessPreferences()})),this.allCurrentBusinessPreferencesCache=new c.qkA((0,e.Z)(function*(){return yield V.businessPreferenceCommands.getAllCurrentBusinessPreferences()})),this.businessPreferenceCommands.onCreateBusinessPreference.subscribe(ne=>this.currentBusinessPreferencesCache.refresh()),this.businessPreferenceCommands.onEditBusinessPreference.subscribe(ne=>this.currentBusinessPreferencesCache.refresh()),this.businessPreferenceCommands.onUpdateBusinessPreferences.subscribe(ne=>this.currentBusinessPreferencesCache.refresh()),this.businessPreferenceCommands.onEditBusinessPreferenceForAllBusinesses.subscribe(ne=>this.allCurrentBusinessPreferencesCache.refresh())}getPreferences(){var V=this;return(0,e.Z)(function*(){return V.getPreferencesObs(new d.x).pipe((0,g.q)(1)).toPromise()})()}getPreferencesObs(V){return this.currentBusinessPreferencesCache.getItems().pipe((0,b.R)(V))}getAllCurrentBusinessPreferences(){var V=this;return(0,e.Z)(function*(){return V.getAllCurrentBusinessPreferencesObs(new d.x).pipe((0,g.q)(1)).toPromise()})()}getAllCurrentBusinessPreferencesObs(V){return this.allCurrentBusinessPreferencesCache.getItems().pipe((0,b.R)(V))}checkAgebandPreference(){var V=this;return(0,e.Z)(function*(){return V.checkAgebandPreferenceObs(new d.x).pipe((0,g.q)(1)).toPromise()})()}checkAgebandPreferenceObs(V){return this.getPreferencesObs(V).pipe((0,k.U)(ne=>{if(!ne.setAgebandManually){if(ne.setAgebandByHighestVisited)return u.setAgebandByHighestVisited;if(ne.setAgebandByHighestSecure)return u.setAgebandByHighestSecure}return u.setAgebandManually}))}shouldShowObservationCoel(){var V=this;return(0,e.Z)(function*(){return V.shouldShowObservationCoelObs(new d.x).pipe((0,g.q)(1)).toPromise()})()}shouldShowObservationCoelObs(V){return this.getPreferencesObs(V).pipe((0,k.U)(ne=>ne.showObservationCoel))}shouldShowAreaBoxes(){var V=this;return(0,e.Z)(function*(){return V.shouldShowAreaBoxesObs(new d.x).pipe((0,g.q)(1)).toPromise()})()}shouldShowAreaBoxesObs(V){return this.getPreferencesObs(V).pipe((0,k.U)(ne=>ne.showEyfsTextBoxes===o.yJt.showEyfsAreaOnly||ne.showEyfsTextBoxes===o.yJt.showBothEyfsAreasAndAspects))}shouldShowAspectBoxes(){var V=this;return(0,e.Z)(function*(){return V.shouldShowAspectBoxesObs(new d.x).pipe((0,g.q)(1)).toPromise()})()}shouldShowAspectBoxesObs(V){return this.getPreferencesObs(V).pipe((0,k.U)(ne=>ne.showEyfsTextBoxes===o.yJt.showEyfsAspectsOnly||ne.showEyfsTextBoxes===o.yJt.showBothEyfsAreasAndAspects))}shouldShowSpecificAreas(){var V=this;return(0,e.Z)(function*(){return V.shouldShowSpecificAreasObs(new d.x).pipe((0,g.q)(1)).toPromise()})()}shouldShowSpecificAreasObs(V){return this.getPreferencesObs(V).pipe((0,k.U)(ne=>ne.showEyfsSpecificAreas))}shouldShowEarlyLearningGoal(){var V=this;return(0,e.Z)(function*(){return V.shouldShowEarlyLearningGoalObs(new d.x).pipe((0,g.q)(1)).toPromise()})()}shouldShowEarlyLearningGoalObs(V){return this.getPreferencesObs(V).pipe((0,k.U)(ne=>ne.showEyfsEarlyLearningGoal))}shouldShowObservationLeuvenScales(){var V=this;return(0,e.Z)(function*(){return V.shouldShowObservationLeuvenScalesObs(new d.x).pipe((0,g.q)(1)).toPromise()})()}shouldShowObservationLeuvenScalesObs(V){return this.getPreferencesObs(V).pipe((0,k.U)(ne=>ne.showObservationLeuvenScales))}isApprovalProcessEnabled(){var V=this;return(0,e.Z)(function*(){const ne=yield V.isApprovalProcessEnabledObs(new d.x).pipe((0,g.q)(1)).toPromise();return console.log(`Got approval process enabled state: ${ne}`),ne})()}isApprovalProcessEnabledObs(V){const ne=this.authStateService.getAuthState(),ue=this.getPreferencesObs(V),ee=this.userService.getApprovalUsersObs(V);return(0,A.a)([ue,ee]).pipe((0,k.U)(([Q,se])=>{if(this.approvedUsers=se,!Q.enableArticleApproval)return!1;if(this.approvedUsers){const je=this.approvedUsers.filter(nt=>nt.id===ne.userId)[0];if(Q.enableArticleApproval&&je.isPublisher)return!1}return!0}))}shouldSuggestNextSteps(V){return this.getPreferencesObs(V).pipe((0,k.U)(ne=>ne.suggestNextSteps))}getChildrenOrderBy(){var V=this;return(0,e.Z)(function*(){return V.getChildrenOrderByObs(new d.x).pipe((0,g.q)(1)).toPromise()})()}getChildrenOrderByObs(V){return this.getPreferencesObs(V).pipe((0,k.U)(ne=>ne.childrenOrderBy))}shouldShowTwoYearCoEL(){var V=this;return(0,e.Z)(function*(){return V.shouldShowTwoYearCoELObs(new d.x).pipe((0,g.q)(1)).toPromise()})()}shouldShowTwoYearCoELObs(V){return this.getPreferencesObs(V).pipe((0,k.U)(ne=>ne.showAssessment2YearCoel))}shouldShowEyfsCoEL(){var V=this;return(0,e.Z)(function*(){return V.shouldShowEyfsCoELObs(new d.x).pipe((0,g.q)(1)).toPromise()})()}shouldShowEyfsCoELObs(V){return this.getPreferencesObs(V).pipe((0,k.U)(ne=>ne.showAssessmentEyfsCoel))}}return q.\u0275fac=function(V){return new(V||q)(I.LFG(o.lUA),I.LFG(H.V),I.LFG(z.K))},q.\u0275prov=I.Yz7({token:q,factory:q.\u0275fac}),q})()},3044:(X,N,p)=>{"use strict";p.d(N,{P:()=>g});var e=p(5861),o=p(5e3),u=p(4521),d=p(8534),c=p(2251);let g=(()=>{class b{constructor(A,I,H){this.router=A,this.portalService=I,this.simpleModalService=H,this.printingFunctionsDisabled=!1,this.awaitablePromises=[]}addAwaitablePromise(A){this.awaitablePromises.push(A)}triggerPrint(A=""){setTimeout(()=>{Promise.all(this.awaitablePromises).then(()=>{let I=this.router.routerState.snapshot.root;for(;I.children.length>0;)I=I.children[0];const H=I.data;H&&H.printingWithinPopup&&!this.printingFunctionsDisabled&&(console.info("Printing from within popup triggering local print dialog and then closing window."),A&&(window.document.title=A),window.print(),window.close())})})}browserPrintCurrentPage(A){var I=this;return(0,e.Z)(function*(){const H=window.document.title;window.document.title=A,I.portalService.setPortalTitle(A),yield new Promise(O=>setTimeout(O)),window.print(),I.portalService.restorePortalTitle(),window.document.title=H})()}openRouteInPopup(A){if(this.printingFunctionsDisabled)return console.log("Printing disabled redirecting instead of pop up"),void this.router.navigate(A);let I=window.document.baseURI;"/"===I.substring(I.length-1,I.length)&&(I=I.substring(0,I.length-1));const z=I+this.router.createUrlTree(A).toString();window.open(z.toString())||this.simpleModalService.showErrorModal("Print window blocked","Your browser blocked the print window. Allow pop-ups for this site, then press Print again.")}}return b.\u0275fac=function(A){return new(A||b)(o.LFG(u.F0),o.LFG(d.E),o.LFG(c.yKG))},b.\u0275prov=o.Yz7({token:b,factory:b.\u0275fac}),b})()},7300:(X,N,p)=>{"use strict";p.d(N,{M:()=>u});var e=p(7579),o=p(5e3);let u=(()=>{class d{constructor(){this.resizeEvent=new e.x,window.addEventListener("message",this.receiveMessage.bind(this),!1),window.addEventListener("resize",this.resizeHandler.bind(this),!1)}receiveMessage(g){g.data&&g.data.frameWidth&&this.resizeEvent.next()}resizeHandler(){this.resizeEvent.next()}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275prov=o.Yz7({token:d,factory:d.\u0275fac}),d})()},2163:(X,N,p)=>{"use strict";p.d(N,{g:()=>u});var e=p(7579),o=p(5e3);let u=(()=>{class d{constructor(){this.saveBannerShown=new e.x,this.bannerMessageUpdated=new e.x}showSaveBanner(){this.saveBannerShown.next(!0)}updateBannerMessage(g){this.bannerMessageUpdated.next(g)}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275prov=o.Yz7({token:d,factory:d.\u0275fac}),d})()},118:(X,N,p)=>{"use strict";p.d(N,{x:()=>k});var e=p(5861),o=p(2251),u=p(7579),d=p(5698),c=p(2722),g=p(5e3),b=p(8093);let k=(()=>{class A{constructor(H){var z=this;this.staffCommands=H,this.keyPersonCache=new o.qkA((0,e.Z)(function*(){return yield z.staffCommands.getKeyPersons()}))}getKeyPersons(){var H=this;return(0,e.Z)(function*(){return H.getKeyPersonsObs(new u.x).pipe((0,d.q)(1)).toPromise()})()}getKeyPersonsObs(H){return this.keyPersonCache.getItems().pipe((0,c.R)(H))}}return A.\u0275fac=function(H){return new(H||A)(g.LFG(b._EJ))},A.\u0275prov=g.Yz7({token:A,factory:A.\u0275fac}),A})()},7751:(X,N,p)=>{"use strict";p.d(N,{V:()=>u});var e=p(2995),o=p(5e3);let u=(()=>{class d{clearAll(){window.localStorage.removeItem("authState")}setValue(g,b){const k=this.fullKey("sauron-data");let A=window.localStorage.getItem(this.fullKey("sauron-data"));A||(A={}),A[g]=b,window.localStorage.setItem("sauron-data",k)}getItem(g){const b=this.fullKey("sauron-data"),k=window.localStorage.getItem(b);return k&&k[g]?k[g]:null}deleteObject(g){window.localStorage.removeItem(this.fullKey(g))}deleteObjectGlobal(g){window.localStorage.removeItem(g)}storeObject(g,b){window.localStorage.setItem(this.fullKey(g),JSON.stringify(b))}storeString(g,b){window.localStorage.setItem(this.fullKey(g),b)}storeObjectGlobal(g,b){window.localStorage.setItem(g,JSON.stringify(b))}storeStringGlobal(g,b){window.localStorage.setItem(g,b)}getString(g){return window.localStorage.getItem(this.fullKey(g))}getObject(g){const b=window.localStorage.getItem(this.fullKey(g));return b?e.Z.parse(b):null}getObjectGlobal(g){const b=window.localStorage.getItem(g);return b?e.Z.parse(b):null}getStringGlobal(g){return window.localStorage.getItem(g)}fullKey(g){return this.getNurseryId().trim()+g.trim()}getNurseryId(){let g=window.localStorage.getItem("businessLegacyId");return g||(g="0"),g}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275prov=o.Yz7({token:d,factory:d.\u0275fac}),d})()},7108:(X,N,p)=>{"use strict";p.d(N,{W:()=>g});var e=p(5861),o=p(5439),d=p(5e3),c=p(8093);let g=(()=>{class b{constructor(A){this.tempAuthCommands=A}getToken(){var A=this;return(0,e.Z)(function*(){return(void 0===A.tempToken||A.requestMadeOverHalfHourAgo())&&(A.tempToken=A.tempAuthCommands.getFootstepsUserTempAuthToken(),A.timeOfLastRequest=o(new Date)),(yield A.tempAuthCommands.getFootstepsUserTempAuthToken()).token})()}requestMadeOverHalfHourAgo(){return void 0===this.timeOfLastRequest||this.timeOfLastRequest.add(30,"m"){"use strict";p.d(N,{Q:()=>c});var e=p(7579),o=p(5e3),u=p(5441),d=p(1649);let c=(()=>{class g{constructor(k,A){this.joyrideService=k,this.authStateService=A,this.joyRideTitlesAndInformation=new Map,this.destroyed$=new e.x,this.setUpJoyRideTitlesAndInformationMap(),this.authStateService.isStandalone(this.destroyed$).subscribe(I=>{this.isStandalone=I})}startTour(){!this.isStandalone||this.joyrideService.startTour({themeColor:"#320d42",steps:["tourStart@children","routerpage-Management","routerpage-rooms@management","routerpage-allergies@management/allergies","routerpage-medical-requirement@management/medical-requirement","routerpage-Children@children","children-add@children","add-child@family","add-carer","save-family@family","middleOfChildren@children","top-bar-button-4","top-bar-button-3","top-bar-button-2","top-bar-button-1","tourEnd"],showPrevButton:!0})}setUpJoyRideTitlesAndInformationMap(){this.joyRideTitlesAndInformation.set("tourStart",{title:"Footsteps tour",text:"Welcome to Footsteps, lets get started"}),this.joyRideTitlesAndInformation.set("routerpage-Management",{title:"Management",text:"First lets head over to the management page."}),this.joyRideTitlesAndInformation.set("routerpage-rooms",{title:"Rooms",text:" Click on the plus button to add a new room, or the pencil button to edit the default room. You can add as many rooms as you need."}),this.joyRideTitlesAndInformation.set("routerpage-allergies",{title:"Allergies",text:"This page lists the allergies that can be assigned to children. Click on the plus button to add a new allergy, or the pencil button to edit an allergy in the list. You can delete allergies by clicking on the bin button."}),this.joyRideTitlesAndInformation.set("routerpage-medical-requirement",{title:"Medical Conditions",text:"This page lists the medical conditions that can be assigned to children. Click on the plus button to add a new condition, or the pencil button to edit an existing condition. You can delete conditions by clicking on the bin button."}),this.joyRideTitlesAndInformation.set("routerpage-Children",{title:"Children",text:"Okay now we\u2019re set up we can move onto adding Children & Families."}),this.joyRideTitlesAndInformation.set("children-add",{title:"Add a child",text:"Click on the plus button to create a new child record."}),this.joyRideTitlesAndInformation.set("add-child",{title:"Add a child",text:"Click on 'Add child' and enter the child's details into the form."}),this.joyRideTitlesAndInformation.set("add-carer",{title:"Add a carer",text:"Click on 'Add carer' and enter the child's parent/carer details into the form. If you are adding a sibling or relative of an existing child, click on 'Select carer' to auto-fill the parent's / carer's details."}),this.joyRideTitlesAndInformation.set("save-family",{title:"Save family",text:"Click on the 'Save Family' button. You will go back to the Children page where you will see the new child you have just added."}),this.joyRideTitlesAndInformation.set("top-bar-button-4",{title:"Children grid view",text:"Clicking this will show the children in a grid view. "}),this.joyRideTitlesAndInformation.set("top-bar-button-3",{title:"Children list view",text:"Clicking this will show the children in a list view."}),this.joyRideTitlesAndInformation.set("children-area",{title:"Children area",text:"This is where your child will show after creation."}),this.joyRideTitlesAndInformation.set("middleOfChildren",{title:"Children",text:"After creating a child, it will appear here."}),this.joyRideTitlesAndInformation.set("top-bar-button-2",{title:"Children filter",text:"You can filter your view by selecting the filter icon. "}),this.joyRideTitlesAndInformation.set("top-bar-button-1",{title:"Children search",text:"You can search for children by clicking on the magnifying glass."})}getTitle(k){const A=this.joyRideTitlesAndInformation.get(k);if(A)return A.title}getText(k){const A=this.joyRideTitlesAndInformation.get(k);if(A)return A.text}ngOnDestroy(){this.destroyed$.next()}}return g.\u0275fac=function(k){return new(k||g)(o.LFG(u.p9),o.LFG(d.V))},g.\u0275prov=o.Yz7({token:g,factory:g.\u0275fac}),g})()},9399:(X,N,p)=>{"use strict";p.d(N,{P:()=>d});var e=p(5e3),o=p(1649),u=p(1459);let d=(()=>{class c{constructor(b,k){this.authStateService=b,this.loginService=k}canActivate(b,k){return!!this.authStateService.getCanAccessSettings()||(this.loginService.goToLogin(),!1)}}return c.\u0275fac=function(b){return new(b||c)(e.LFG(o.V),e.LFG(u.r))},c.\u0275prov=e.Yz7({token:c,factory:c.\u0275fac}),c})()},5383:(X,N,p)=>{"use strict";p.d(N,{K:()=>I});var e=p(5861),o=p(8093),u=p(2251),d=p(7579),c=p(5698),g=p(2722),b=p(4004),k=p(5e3),A=p(1649);let I=(()=>{class H{constructor(O,Z,q){var te=this;this.footstepsUserCommands=O,this.roleGroupCommands=Z,this.authStateService=q,this.approvedUsers=[],this.approvalUsersCache=new u.qkA((0,e.Z)(function*(){return(yield te.footstepsUserCommands.getUsersWithPermissions()).users})),this.approvalRoleGroupsCache=new u.qkA((0,e.Z)(function*(){return(yield te.roleGroupCommands.getRoleGroups()).roleGroups})),this.refresh()}refresh(){this.approvalRoleGroupsCache.refresh(),this.approvalUsersCache.refresh()}getApprovalUsers(){var O=this;return(0,e.Z)(function*(){return O.getApprovalUsersObs(new d.x).pipe((0,c.q)(1)).toPromise()})()}getApprovalUsersObs(O){return this.approvalUsersCache.getItems().pipe((0,g.R)(O),(0,b.U)(Z=>{const q=[];return Z.map(te=>{q.push({id:te.id,firstName:te.firstName,lastName:te.lastName,isApprover:te.isApprover,isPublisher:te.isPublisher,requiresApproval:te.requiresApproval})}),q}))}getRoleGroups(){var O=this;return(0,e.Z)(function*(){return O.getRoleGroupsObs(new d.x).pipe((0,c.q)(1)).toPromise()})()}getRoleGroupsObs(O){return this.approvalRoleGroupsCache.getItems().pipe((0,g.R)(O),(0,b.U)(Z=>Z.filter(q=>q.permissions.map(te=>te.permissionType).indexOf(o.vHd.canPublish)>-1||q.permissions.map(te=>te.permissionType).indexOf(o.vHd.canApprove)>-1||q.permissions.map(te=>te.permissionType).indexOf(o.vHd.requiresApproval)>-1)))}getCurrentUserDetails(){var O=this;return(0,e.Z)(function*(){return O.currentUser=yield O.getCurrentUserDetailsObs(new d.x).pipe((0,c.q)(1)).toPromise(),console.log("CURRENT USER: "+O.currentUser.id.toString()),O.currentUser})()}getCurrentUserDetailsObs(O){const Z=this.authStateService.getAuthState().userId;return this.getApprovalUsersObs(O).pipe((0,g.R)(O),(0,b.U)(q=>(q.find(V=>V.id===Z)||(console.log(q.map(V=>`${V.firstName}: ${V.id}`).join(", ")),console.error(`Current user ${Z} was not found in the user approval list.`)),q.find(V=>V.id===Z))))}}return H.\u0275fac=function(O){return new(O||H)(k.LFG(o.Zxh),k.LFG(o.gIj),k.LFG(A.V))},H.\u0275prov=k.Yz7({token:H,factory:H.\u0275fac}),H})()},2995:(X,N,p)=>{"use strict";p.d(N,{Z:()=>e});class e{static cloneMap(u){return new Map(this.parse(this.stringifyMap(u)))}static clone(u){if(typeof u==typeof Map)throw new Error("Do not call Util.clone() on ES6 maps, use Util.cloneMap() instead.");return this.doClone(u)}static parse(u){return JSON.parse(u)}static parseMap(u){return new Map(e.parse(u))}static stringifyMap(u){return JSON.stringify(Array.from(u.entries()))}static doClone(u){const d=JSON.stringify(u);return this.parse(d)}static objToEnumMap(u){const d=new Map;for(const c in u)!Object.prototype.hasOwnProperty.call(u,c)||d.set(parseInt(c,10),u[c]);return d}static capitalize(u){return u.charAt(0).toUpperCase()+u.slice(1)}static enumerateEnum(u){const d=Object.keys(u),c=d.length/2,g=[];for(let b=0;b{"use strict";p.d(N,{p:()=>c});const o=(0,p(7423).fo)("Browser",{web:()=>p.e(874).then(p.bind(p,6874)).then(g=>new g.BrowserWeb)});var u=p(5e3),d=p(2251);let c=(()=>{class g{constructor(k){this.platformService=k}download(k){this.platformService.isRunningInCordova()?o.open({url:k}):window.open(k,"_system")}}return g.\u0275fac=function(k){return new(k||g)(u.LFG(d.mix))},g.\u0275prov=u.Yz7({token:g,factory:g.\u0275fac}),g})()},9527:(X,N,p)=>{"use strict";p.d(N,{Yc:()=>Z,e8:()=>V,nd:()=>z,oE:()=>O});var e=p(5861),o=p(7579),u=p(2264),d=p(1998),c=p(5e3),g=p(8093),b=p(8556),k=p(1649),A=p(2330),I=p(9540),H=p(2251);const z="stored-auth-token",O="businessLegacyId",Z="userId",q="businessId";let V=(()=>{class ne{constructor(ee,Q,se,je,nt,He,de,Ce,Ze){this.sauron=ee,this.abacus=Q,this.featureToggles=se,this.fs2Auth=je,this.fs2UserPermissions=nt,this.permissions=He,this.sessionExpiry=de,this.authCommands=Ce,this.logger=Ze,this.sessionStartedSubject=new o.x,this.sessionEndedSubject=new o.x,this.sessionStarted$=this.sessionStartedSubject.asObservable(),this.sessionEnded$=this.sessionEndedSubject.asObservable()}restore(){var ee=this;return(0,e.Z)(function*(){const Q=localStorage.getItem(z);if(Q){if(!function te(ne){return/^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]*$/.test(ne)}(Q))return void ee.logout();ee.sauron.setAuthToken(Q),yield Promise.all([ee.loadFeatureToggles(),ee.permissions.load(),ee.bridgeFs2AuthState()])}})()}bridgeFs2AuthState(){var ee=this;return(0,e.Z)(function*(){var Q;const se=ee.token;if(se){ee.fs2Auth.setToken(se,ee.userId,ee.businessId,ee.nurseryId);try{const je=yield(0,d.F)(ee.fs2UserPermissions.canCurrentUserAccessSettings(),d.j,"The Footsteps 2 settings permission read");ee.fs2Auth.setCanAccessSettings(!!(null==je?void 0:je.hasAccess))}catch(je){ee.fs2Auth.setCanAccessSettings(!1);const nt=(0,u.K)(je);null===(Q=ee.logger)||void 0===Q||Q.logException(nt,"Failed to resolve Footsteps 2 settings permission; access denied."),console.error("Failed to resolve Footsteps 2 settings permission; denying access.",nt)}}})()}loadFeatureToggles(){var ee=this;return(0,e.Z)(function*(){var Q;try{yield(0,d.F)(ee.featureToggles.loadFromServer(),d.j,"The feature toggle read")}catch(se){const je=(0,u.K)(se);null===(Q=ee.logger)||void 0===Q||Q.logException(je,"Failed to load feature toggles; toggled features stay hidden."),console.error("Failed to load feature toggles; toggled features stay hidden.",je)}})()}get isAuthenticated(){return!!localStorage.getItem(z)}get token(){var ee;return null!==(ee=localStorage.getItem(z))&&void 0!==ee?ee:""}get userId(){var ee;return null!==(ee=localStorage.getItem(Z))&&void 0!==ee?ee:""}get businessId(){var ee;return null!==(ee=localStorage.getItem(q))&&void 0!==ee?ee:""}get nurseryId(){return Number(localStorage.getItem(O))||0}login(ee,Q,se=""){var je=this;return(0,e.Z)(function*(){const nt=yield je.abacus.authenticateUsernameAndPassword({username:ee,password:Q,twoFactorCode:se});return nt.successful&&(je.sauron.setAuthToken(nt.authToken),localStorage.setItem(z,nt.authToken),localStorage.setItem(O,String(nt.businessLegacyId)),localStorage.setItem(Z,String(nt.userId)),localStorage.setItem(q,String(nt.businessId)),je.sessionExpiry.setExpiry(nt.expireDate),yield Promise.all([je.loadFeatureToggles(),je.permissions.load(),je.bridgeFs2AuthState()]),je.sessionStartedSubject.next()),nt})()}mustChangePassword(ee){return!!(null==ee?void 0:ee.mustChangePasswordOnNextLogin)}adoptSession(ee){var Q=this;return(0,e.Z)(function*(){Q.sauron.setAuthToken(ee.token),localStorage.setItem(z,ee.token),localStorage.setItem(O,String(ee.nurseryLegacyId)),localStorage.setItem(Z,String(ee.staffId)),localStorage.setItem(q,String(ee.nurseryId)),Q.sessionExpiry.setExpiry(ee.tokenExpiry),yield Promise.all([Q.loadFeatureToggles(),Q.permissions.load(),Q.bridgeFs2AuthState()]),Q.sessionStartedSubject.next()})()}renewSession(){var ee=this;return(0,e.Z)(function*(){const Q=yield ee.authCommands.refreshToken();return!!(null==Q?void 0:Q.token)&&(ee.sauron.setAuthToken(Q.token),localStorage.setItem(z,Q.token),ee.sessionExpiry.setExpiry(Q.tokenExpiry),ee.fs2Auth.setToken(Q.token,ee.userId,ee.businessId,ee.nurseryId),!0)})()}logout(){this.featureToggles.clear(),localStorage.removeItem(z),localStorage.removeItem(O),localStorage.removeItem(Z),localStorage.removeItem(q),this.sauron.setAuthToken(""),this.sessionExpiry.clear(),this.fs2Auth.clearAuthState(),this.permissions.clear(),this.sessionEndedSubject.next()}}return ne.\u0275fac=function(ee){return new(ee||ne)(c.LFG(g.HpB),c.LFG(g.BTu),c.LFG(b.B),c.LFG(k.V),c.LFG(g.JP8),c.LFG(A.q),c.LFG(I.RO),c.LFG(g.ACA),c.LFG(H.N_R,8))},ne.\u0275prov=c.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})()},8633:(X,N,p)=>{"use strict";p.d(N,{y:()=>u});var e=p(5e3);const o="portal";let u=(()=>{class d{get isConfigured(){return-1==="https://uat-aws-portal-ui.parenta.com/".indexOf("$")}get baseUrl(){return this.isConfigured?"https://uat-aws-portal-ui.parenta.com/":"http://localhost:4202/"}get securityUrl(){return this.join("login/security")}get passwordResetUrl(){return this.join(`login/reset-after-login/${o}`)}get forgotPasswordUrl(){return this.join(`login/send-password-reset/${o}`)}join(g){return(this.baseUrl.endsWith("/")?this.baseUrl:this.baseUrl+"/")+g}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})()},1195:(X,N,p)=>{"use strict";p.d(N,{F:()=>d});var e=p(5e3);const o="hideHelpMenu";let d=(()=>{class c{constructor(){this.scriptElement=null}get isHiddenByUser(){return"true"===localStorage.getItem(o)}load(){if(this.scriptElement||this.isHiddenByUser)return;const b=document.createElement("script");b.type="text/javascript",b.src="https://desk.zoho.eu/portal/api/web/inapp/3018000019706849?orgId=20060619885",b.defer=!0,document.head.appendChild(b),this.scriptElement=b}hide(){localStorage.setItem(o,"true"),this.removeWidget()}show(){localStorage.removeItem(o),this.load()}setSuppressedForRoute(b){document.body.classList.toggle("pr-hide-help-launcher",b)}removeWidget(){var b;null===(b=this.scriptElement)||void 0===b||b.remove(),this.scriptElement=null,document.querySelectorAll('[id^="zohohc-asap-web"]').forEach(k=>k.remove())}}return c.\u0275fac=function(b){return new(b||c)},c.\u0275prov=e.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})()},2330:(X,N,p)=>{"use strict";p.d(N,{q:()=>k});var e=p(5861),o=p(2264),u=p(1998),d=p(5e3),c=p(8093),g=p(8556),b=p(2251);let k=(()=>{class A{constructor(H,z,O){this.abacusPermissions=H,this.featureToggles=z,this.logger=O,this.permissions=[],this.loaded=!1,this.failed=!1,this.generation=0}get hasLoaded(){return this.loaded}get resolutionFailed(){return this.failed}load(){var H=this;return(0,e.Z)(function*(){var z,O;if(H.loaded)return;const Z=H.generation;try{const q=yield(0,u.F)(H.abacusPermissions.getCurrentUserPermissions(),u.j,"The user permission read");if(Z!==H.generation)return;H.permissions=null!==(z=null==q?void 0:q.permissions)&&void 0!==z?z:[],H.failed=!1}catch(q){if(Z!==H.generation)return;H.permissions=[],H.failed=!0;const te=(0,o.K)(q);null===(O=H.logger)||void 0===O||O.logException(te,"Failed to resolve user permissions; hiding gated navigation."),console.error("Failed to resolve user permissions; hiding gated navigation.",te)}finally{Z===H.generation&&(H.loaded=!0)}})()}reload(){var H=this;return(0,e.Z)(function*(){H.clear(),yield H.load()})()}clear(){this.generation++,this.permissions=[],this.loaded=!1,this.failed=!1}get stateKey(){return`${this.loaded}|${this.failed}|${this.permissions.join(",")}|`+["PortalStaffEmailing","PortalStaffMessaging","PortalTwoFactor","ParentaPay","PortalHelpIcon"].filter(z=>this.isFeatureEnabled(z)).join(",")}has(H){return this.permissions.includes(H)}isFeatureEnabled(H){return this.featureToggles.isFeatureEnabled(H)}canSee(H,z){return!(z&&!this.isFeatureEnabled(z)||H&&!this.has(H))}}return A.\u0275fac=function(H){return new(H||A)(d.LFG(c.j2_),d.LFG(g.B),d.LFG(b.N_R,8))},A.\u0275prov=d.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})()},6184:(X,N,p)=>{"use strict";p.d(N,{J9:()=>u,Mp:()=>g,_9:()=>d,bV:()=>c,gd:()=>o,tm:()=>e});const e="reason",o="returnUrl",u="/dashboard";function d(A){return!(!A||A.length>2e3||!A.startsWith("/")||A.startsWith("//")||function k(A){for(let I=0;I{"use strict";p.d(N,{RO:()=>c,Vi:()=>d});var e=p(5e3);const o="stored-auth-token-expiry",d=3e5;let c=(()=>{class g{constructor(k){this.zone=k,this.expiryTimer=null,this.warningTimer=null}setExpiry(k){const A=this.toDate(k);A?localStorage.setItem(o,String(A.getTime())):localStorage.removeItem(o)}get expiresAt(){const k=localStorage.getItem(o);if(!k)return null;const A=Number(k);return Number.isFinite(A)?new Date(A):null}get hasExpired(){const k=this.expiresAt;return null!==k&&k.getTime()<=Date.now()}watch(k,A){this.stop();const I=this.expiresAt;if(!I)return;const H=I.getTime();if(H<=Date.now())return void this.zone.run(k);if(this.expiryTimer=this.schedule(H,()=>{this.hasExpired?this.zone.run(k):this.watch(k,A)}),!A)return;const z=H-d;z<=Date.now()?this.zone.run(A):this.warningTimer=this.schedule(z,()=>{Date.now()>=z?this.zone.run(A):this.watch(k,A)})}stop(){this.expiryTimer&&(clearTimeout(this.expiryTimer),this.expiryTimer=null),this.warningTimer&&(clearTimeout(this.warningTimer),this.warningTimer=null)}clear(){this.stop(),localStorage.removeItem(o)}schedule(k,A){const I=Math.min(Math.max(k-Date.now(),0),2147483647);return this.zone.runOutsideAngular(()=>setTimeout(A,I))}toDate(k){if(!k)return null;if(k instanceof Date)return k;if("string"==typeof k){const A=new Date(k);return Number.isNaN(A.getTime())?null:A}return"function"==typeof k.toDate?k.toDate():null}}return g.\u0275fac=function(k){return new(k||g)(e.LFG(e.R0b))},g.\u0275prov=e.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"}),g})()},7826:(X,N,p)=>{"use strict";p.d(N,{F:()=>d});var e=p(9527),o=p(5e3);let d=(()=>{class c{get url(){var b;return`https://hello.parenta.com/parenta/form/NewDeskTicketPropulatedCustomerInfo/formperma/pk1g59uRfwAlVcX9cbqgeQArl7mcRb0ELosc8kNHKxw?nid=${encodeURIComponent(null!==(b=localStorage.getItem(e.oE))&&void 0!==b?b:"")}`}open(){window.open(this.url,"_blank","noopener")}}return c.\u0275fac=function(b){return new(b||c)},c.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})()},2264:(X,N,p)=>{"use strict";function e(o){return o instanceof Error?o:new Error(String(o))}p.d(N,{K:()=>e})},2491:(X,N,p)=>{"use strict";p.d(N,{t:()=>H});var e=p(5861),o=p(8093),u=p(2210),d=p(9527),c=p(2264),g=p(5e3),b=p(6418),k=p(2251);let H=(()=>{class z{constructor(Z,q,te){this.tourService=Z,this.viewedTours=q,this.logger=te,this.steps=[{anchorId:"welcome.brand",title:"Welcome to Parenta Portal",content:"This quick tour shows you around. Use Next to continue, or close it any time.",enableBackdrop:!0},{anchorId:"welcome.apps",title:"Getting around",content:"Everything is one click away in the side menu \u2014 your Dashboard, Abacus, Footsteps 2, Communication, Diary and more. You only see the areas your account has access to."},{anchorId:"welcome.notifications",title:"Notifications",content:"New messages and system notices appear here. The badge shows how many are unread."},{anchorId:"welcome.support",title:"Getting help",content:"Contact Support raises a ticket with our team, and Help & Advice has guides, training videos and the feedback forum."},{anchorId:"welcome.logout",title:"Signing out",content:"When you are done, sign out here. Enjoy using Parenta Portal!"}]}start(){this.tourService.getStatus()!==u.Vs.ON&&(this.tourService.initialize(this.steps),this.tourService.start())}startIfFirstVisit(){var Z=this;return(0,e.Z)(function*(){var q,te;if(!Z.seenInThisBrowser())try{const V={},ne=yield Z.viewedTours.getViewedSystemTours(V);if((null!==(q=null==ne?void 0:ne.viewedTours)&&void 0!==q?q:[]).includes("Welcome"))return void Z.rememberSeen();Z.start(),Z.rememberSeen(),yield Z.markSeen()}catch(V){const ne=(0,c.K)(V);null===(te=Z.logger)||void 0===te||te.logException(ne,"Could not resolve or record whether the welcome tour has been seen."),console.error("Could not resolve or record whether the welcome tour has been seen.",ne)}})()}markSeen(){var Z=this;return(0,e.Z)(function*(){yield Z.viewedTours.userViewedWelcomeTour(new o.QaG.ViewedSystemTourCommand.UserViewedWelcomeTourCommand)})()}get seenKey(){var Z;return"welcomeTourSeen:"+(null!==(Z=localStorage.getItem(d.Yc))&&void 0!==Z?Z:"")}seenInThisBrowser(){var Z;try{return"true"===localStorage.getItem(this.seenKey)}catch(q){return null===(Z=this.logger)||void 0===Z||Z.logException((0,c.K)(q),"Failed to read whether this browser has shown the welcome tour."),!1}}rememberSeen(){var Z;try{localStorage.setItem(this.seenKey,"true")}catch(q){null===(Z=this.logger)||void 0===Z||Z.logException((0,c.K)(q),"Failed to record that this browser has shown the welcome tour.")}}}return z.\u0275fac=function(Z){return new(Z||z)(g.LFG(b.QL),g.LFG(o.l$),g.LFG(k.N_R,8))},z.\u0275prov=g.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})()},1998:(X,N,p)=>{"use strict";p.d(N,{F:()=>o,j:()=>e});const e=1e4;function o(u,d,c){let g;const b=new Promise((k,A)=>{g=setTimeout(()=>A(new Error(`${c} timed out after ${d}ms`)),d)});return Promise.race([u,b]).finally(()=>clearTimeout(g))}},4877:(X,N,p)=>{"use strict";var e=p(2313),o=p(5e3),u=p(2251),d=p(6360),c=p(520),g=p(9808),b=p(2181),k=p(6418),A=p(5441),I=p(8093),H=p(8264),z=p(4521),O=p(6184),Z=p(9527);let q=(()=>{class W{constructor(Y,ce){this.auth=Y,this.router=ce}canActivate(Y,ce){return!!this.auth.isAuthenticated||this.router.createUrlTree(["/login"],{queryParams:(0,O.Mp)(null,null==ce?void 0:ce.url)})}canLoad(){return this.auth.isAuthenticated}}return W.\u0275fac=function(Y){return new(Y||W)(o.LFG(Z.e8),o.LFG(z.F0))},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();var te=p(2330);let V=(()=>{class W{constructor(Y,ce){this.permissions=Y,this.router=ce}canActivate(Y,ce){var $e;const _t=null!==($e=Y.data)&&void 0!==$e?$e:{};if(this.permissions.resolutionFailed){const Ge={},qe=(null==ce?void 0:ce.url)?(0,O.bV)(ce.url):"";return(0,O._9)(qe)&&(Ge[O.gd]=qe),this.router.createUrlTree(["/access-check-failed"],{queryParams:Ge})}return!!this.permissions.canSee(_t.permission,_t.feature)||this.router.createUrlTree(["/no-access"],{queryParams:_t.area?{area:_t.area}:{}})}}return W.\u0275fac=function(Y){return new(Y||W)(o.LFG(te.q),o.LFG(z.F0))},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();const ue=[{path:"",pathMatch:"full",redirectTo:"dashboard"},{path:"login",loadChildren:()=>p.e(80).then(p.bind(p,80)).then(W=>W.LoginModule)},{path:"dashboard",canActivate:[q],loadChildren:()=>Promise.all([p.e(890),p.e(698),p.e(592),p.e(130)]).then(p.bind(p,3130)).then(W=>W.DashboardModule)},{path:"diary",canActivate:[q,V],data:{permission:I.PvF.calendarSection,area:"Diary"},loadChildren:()=>Promise.all([p.e(592),p.e(938)]).then(p.bind(p,5938)).then(W=>W.DiaryModule)},{path:"apps",canActivate:[q],loadChildren:()=>p.e(498).then(p.bind(p,8498)).then(W=>W.AppFrameModule)},{path:"communication/messaging",canActivate:[q,V],data:{permission:I.PvF.messagingAccess,feature:"PortalStaffMessaging",area:"Messaging"},loadChildren:()=>Promise.all([p.e(592),p.e(187)]).then(p.bind(p,5187)).then(W=>W.StaffMessagingModule)},{path:"communication/email-audit",canActivate:[q,V],data:{permission:I.PvF.portalEmailAudit,area:"Email audit"},loadChildren:()=>Promise.all([p.e(592),p.e(216)]).then(p.bind(p,3216)).then(W=>W.EmailAuditViewerModule)},{path:"communication/staff-emailing",canActivate:[q,V],data:{permission:I.PvF.portalStaffCommunication,feature:"PortalStaffEmailing",area:"Staff emailing"},loadChildren:()=>Promise.all([p.e(592),p.e(930)]).then(p.bind(p,5930)).then(W=>W.StaffCommunicationModule)},{path:"administration/user-management",canActivate:[q,V],data:{permission:I.PvF.settingsSection,area:"User management"},loadChildren:()=>Promise.all([p.e(592),p.e(923)]).then(p.bind(p,9923)).then(W=>W.UserManagementModule)},{path:"administration/parent-portal-status",canActivate:[q],loadChildren:()=>Promise.all([p.e(592),p.e(981)]).then(p.bind(p,2981)).then(W=>W.ParentPortalStatusModule)},{path:"payments",pathMatch:"full",redirectTo:"payments/parenta-pay-marketing"},{path:"payments",canActivate:[q,V],data:{permission:I.PvF.financeSection,feature:"ParentaPay",area:"Parenta Pay"},loadChildren:()=>Promise.all([p.e(489),p.e(592),p.e(111)]).then(p.bind(p,8111)).then(W=>W.PaymentsModule)},{path:"management",canActivate:[q,V],data:{permission:I.PvF.footsteps,area:"Nursery Settings"},loadChildren:()=>Promise.all([p.e(645),p.e(592)]).then(p.bind(p,9013)).then(W=>W.ManagementRoutingModule)},{path:"token-login",loadChildren:()=>p.e(454).then(p.bind(p,8454)).then(W=>W.TokenLoginModule)},{path:"no-access",loadChildren:()=>p.e(81).then(p.bind(p,8081)).then(W=>W.NoAccessModule)},{path:"access-check-failed",data:{accessCheckFailed:!0},loadChildren:()=>p.e(81).then(p.bind(p,8081)).then(W=>W.NoAccessModule)},{path:"help-and-advice",canActivate:[q],loadChildren:()=>Promise.all([p.e(698),p.e(523)]).then(p.bind(p,8523)).then(W=>W.HelpAndAdviceModule)},{path:"",canLoad:[q],canActivate:[q,V],data:{permission:I.PvF.footsteps,area:"Footsteps 2"},loadChildren:()=>Promise.all([p.e(890),p.e(645),p.e(592),p.e(75)]).then(p.bind(p,1075)).then(W=>W.Fs2DashboardModule)},{path:"**",redirectTo:"dashboard"}];let ee=(()=>{class W{}return W.\u0275fac=function(Y){return new(Y||W)},W.\u0275mod=o.oAB({type:W}),W.\u0275inj=o.cJS({imports:[[z.Bz.forRoot(ue)],z.Bz]}),W})();var Q=p(5861),se=p(727),je=p(9540);const nt=["a[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");function He(W){return Array.from(W.querySelectorAll(nt))}function de(W,Me){var Y;if(!W)return;const ce=null!==(Y=Me?W.querySelector(Me):null)&&void 0!==Y?Y:He(W)[0];null==ce||ce.focus()}function Ce(W,Me){if(!Me||"Tab"!==W.key)return;const Y=He(Me);if(0===Y.length)return void W.preventDefault();const ce=Y[0],$e=Y[Y.length-1],_t=document.activeElement,Ge=!Me.contains(_t);W.shiftKey&&(_t===ce||Ge)?(W.preventDefault(),$e.focus()):!W.shiftKey&&(_t===$e||Ge)&&(W.preventDefault(),ce.focus())}function Ze(){return document.activeElement instanceof HTMLElement?document.activeElement:null}var ot=p(2264),Ke=p(1135),xt=p(7579),Be=p(2722);let Tt=(()=>{class W{constructor(Y,ce,$e,_t){this.webSocket=Y,this.messaging=ce,this.auth=$e,this.logger=_t,this.unreadCount$=new Ke.X(0),this.notifications$=new Ke.X([]),this.started=!1,this.destroy$=new xt.x,this.connection=null}get websocketUrl(){const Y="wss://khitqrxu34.execute-api.eu-west-2.amazonaws.com/prod";return 0===Y.indexOf("$")?"ws://localhost:5001":Y}start(){this.started||!this.auth.isAuthenticated||(this.started=!0,this.refreshUnread(),this.webSocket.connect(this.websocketUrl,this.auth.token,this.auth.userId,this.auth.businessId),this.connection=this.webSocket.getMessages().pipe((0,Be.R)(this.destroy$)).subscribe(Y=>this.onMessage(Y)))}updateToken(){this.started&&this.webSocket.updateAuthToken(this.auth.token)}stop(){var Y;this.started=!1,null===(Y=this.connection)||void 0===Y||Y.unsubscribe(),this.connection=null,this.webSocket.disconnect(),this.unreadCount$.next(0),this.notifications$.next([])}dismiss(Y){this.notifications$.next(this.notifications$.value.filter(ce=>ce.id!==Y))}dismissAll(){this.notifications$.next([])}refreshUnread(){var Y=this;return(0,Q.Z)(function*(){var ce,$e,_t;try{const Ge=yield Y.messaging.getUnreadMessages({threadId:null});Y.unreadCount$.next(null!==($e=null!==(ce=Ge.totalUnreadCount)&&void 0!==ce?ce:Ge.unreadCount)&&void 0!==$e?$e:0)}catch(Ge){null===(_t=Y.logger)||void 0===_t||_t.logException((0,ot.K)(Ge),"Failed to refresh the unread message count.")}})()}onMessage(Y){var ce,$e,_t;if(this.refreshUnread(),"message.new"===Y.type&&this.addNotification(null!==(ce=Y.messageId)&&void 0!==ce?ce:null,Y.conversationId,Y.senderName?`Message from ${Y.senderName}`:"New Message",null!==($e=Y.messagePreview)&&void 0!==$e?$e:"",Y.timestamp),"reaction.added"===Y.type){const Ge=[Y.emoji,null!==(_t=Y.messagePreview)&&void 0!==_t?_t:""].filter(qe=>!!qe).join(" ");this.addNotification(Y.messageId?`${Y.messageId}-reaction`:null,Y.conversationId,Y.participantName?`${Y.participantName} reacted to your message`:"Someone reacted to your message",Ge,Y.timestamp)}}addNotification(Y,ce,$e,_t,Ge){const qe=Ge instanceof Date?Ge:new Date,R={id:null!=Y?Y:`${ce}-${qe.getTime()}`,title:$e,preview:_t,conversationId:ce,timestamp:qe};this.notifications$.next([R,...this.notifications$.value].slice(0,20))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return W.\u0275fac=function(Y){return new(Y||W)(o.LFG(u.lxs),o.LFG(I.DCD),o.LFG(Z.e8),o.LFG(u.N_R,8))},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();const Zt=[{label:"Dashboard",icon:"fa fa-home",id:"dashboard",routerLink:"/dashboard"},{label:"Abacus",icon:"pa pa-abacus",id:"abacus",routerLink:["/apps","abacus"],description:"Children, bookings and invoices"},{label:"Footsteps 2",icon:"pa pa-footsteps",id:"footsteps2",routerLink:"/children",description:"Observations, assessments and learning journeys",permission:I.PvF.footsteps},{label:"Communication",icon:"fa fa-envelope",id:"communication",badgeKey:"unreadMessaging",permission:I.PvF.communicateSection,children:[{label:"Email audit",icon:"",id:"email-audit",routerLink:"/communication/email-audit",permission:I.PvF.portalEmailAudit},{label:"Staff emailing",icon:"",id:"staff-emailing",routerLink:"/communication/staff-emailing",permission:I.PvF.portalStaffCommunication,feature:"PortalStaffEmailing"},{label:"Messaging",icon:"",id:"staff-messaging",routerLink:"/communication/messaging",badgeKey:"unreadMessaging",permission:I.PvF.messagingAccess,feature:"PortalStaffMessaging"}]},{label:"Diary",icon:"fa fa-calendar",id:"diary",routerLink:"/diary",permission:I.PvF.calendarSection},{label:"Administration",icon:"fa fa-sliders-h",id:"administration",children:[{label:"Parenta Pay",icon:"",id:"parenta-pay",routerLink:"/payments",description:"Online fee payments from parents",permission:I.PvF.financeSection,feature:"ParentaPay"},{label:"Parent Portal Status",icon:"",id:"parent-portal-status",routerLink:"/administration/parent-portal-status"},{label:"User management",icon:"",id:"user-management",routerLink:"/administration/user-management",permission:I.PvF.settingsSection},{label:"Nursery Settings",icon:"",id:"nursery-settings",routerLink:"/management",permission:I.PvF.footsteps}]},{label:"Help & Advice",icon:"pa pa-help",id:"help-and-advice",routerLink:"/help-and-advice"},{label:"Explore Solutions",icon:"fa fa-binoculars",id:"explore-solutions",children:[{label:"Training Courses",icon:"",id:"explore-training",externalUrl:"https://www.parentasolutions.co.uk/training"},{label:"Childcare Websites",icon:"",id:"explore-childcare",externalUrl:"https://www.parentasolutions.co.uk/childcare-websites"},{label:"Free Recruitment",icon:"",id:"explore-recruitment",externalUrl:"https://www.parentasolutions.co.uk/recruitment"},{label:"Marketing Solutions",icon:"",id:"explore-marketing",externalUrl:"https://www.parentasolutions.co.uk/marketing"},{label:"Fee Collection Service",icon:"",id:"explore-fee-collection",externalUrl:"https://www.parentasolutions.co.uk/fee-collection"},{label:"Free Magazine",icon:"",id:"explore-magazine",externalUrl:"https://www.parenta.com/magazine"},{label:"Free Webinars",icon:"",id:"explore-webinars",externalUrl:"https://www.parenta.com/webinars/"}]}];let Sn=(()=>{class W{constructor(Y){this.permissions=Y,this.cached=null,this.cachedKey=""}get items(){const Y=this.permissions.stateKey;return(null===this.cached||Y!==this.cachedKey)&&(this.cached=this.visible(Zt),this.cachedKey=Y),this.cached}visible(Y){return Y.reduce((ce,$e)=>{if(!this.permissions.canSee($e.permission,$e.feature))return ce;if(!$e.children)return ce.push($e),ce;const _t=this.visible($e.children);return _t.length>0&&ce.push(Object.assign(Object.assign({},$e),{children:_t})),ce},[])}}return W.\u0275fac=function(Y){return new(Y||W)(o.LFG(te.q))},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();function nn(W){return{userSystemAlertId:String(W.userSystemAlertId),subject:W.subject,message:W.message,colorType:String(W.colourType),isClosable:W.isClosable}}let mn=(()=>{class W{constructor(Y,ce,$e){this.sauron=Y,this.userCommands=ce,this.logger=$e,this.alerts=[],this.pending=[],this.dismissError=null,this.order=[],this.timers=new Map}load(){var Y=this;return(0,Q.Z)(function*(){var ce,$e;try{const _t=Y.sauron.createQuery("SystemAlert","UnreadOpenSystemAlert"),Ge=yield Y.sauron.runQuery(_t);Y.alerts=(null!==(ce=null==Ge?void 0:Ge.results)&&void 0!==ce?ce:[]).map(nn),Y.order=Y.alerts.map(qe=>qe.userSystemAlertId)}catch(_t){Y.alerts=[],Y.order=[];const Ge=(0,ot.K)(_t);null===($e=Y.logger)||void 0===$e||$e.logException(Ge,"Failed to load system alerts."),console.error("Failed to load system alerts.",Ge)}})()}dismiss(Y){const ce=Y.userSystemAlertId;!this.alerts.some($e=>$e.userSystemAlertId===ce)||(this.alerts=this.alerts.filter($e=>$e.userSystemAlertId!==ce),this.pending=[...this.pending,Y],this.dismissError=null,this.timers.set(ce,setTimeout(()=>{this.commit(Y)},6e3)))}undo(Y){const ce=Y.userSystemAlertId,$e=this.timers.get(ce);void 0!==$e&&(clearTimeout($e),this.timers.delete(ce),this.pending=this.pending.filter(_t=>_t.userSystemAlertId!==ce),this.restore(Y))}clear(){this.timers.forEach(Y=>clearTimeout(Y)),this.timers.clear(),this.alerts=[],this.pending=[],this.order=[],this.dismissError=null}commit(Y){var ce=this;return(0,Q.Z)(function*(){var $e;const _t=Y.userSystemAlertId;ce.timers.delete(_t),ce.pending=ce.pending.filter(Ge=>Ge.userSystemAlertId!==_t);try{yield ce.userCommands.markSystemAlertAsClosed({userSystemAlertId:_t})}catch(Ge){ce.restore(Y),ce.dismissError=Y.subject?`We couldn't dismiss "${Y.subject}". Please try again.`:"We couldn't dismiss that alert. Please try again.";const qe=(0,ot.K)(Ge);null===($e=ce.logger)||void 0===$e||$e.logException(qe,"Failed to mark a system alert as closed."),console.error("Failed to mark a system alert as closed.",qe)}})()}restore(Y){const ce=$e=>{const _t=this.order.indexOf($e.userSystemAlertId);return-1===_t?Number.MAX_SAFE_INTEGER:_t};this.alerts=[...this.alerts,Y].sort(($e,_t)=>ce($e)-ce(_t))}}return W.\u0275fac=function(Y){return new(Y||W)(o.LFG(I.HpB),o.LFG(I.wI$),o.LFG(u.N_R,8))},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();var Jt=p(8633),et=p(1195),Pt=p(2491),Ot=p(7826);const bt=["logoutModal"],dt=["securityDialog"];function ut(W,Me){if(1&W&&(o.TgZ(0,"span",28),o._uU(1),o.qZA()),2&W){const Y=o.oxw(2);o.xp6(1),o.Oqu(Y.unreadMessaging)}}function Je(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"button",33),o.NdJ("click",function(){return o.CHM(Y),o.oxw(3).clearNotifications()}),o._uU(1,"Clear"),o.qZA()}}function kt(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"button",37),o.NdJ("click",function(){const _t=o.CHM(Y).$implicit;return o.oxw(4).openNotification(_t)}),o.TgZ(1,"span",38),o._uU(2),o.qZA(),o.TgZ(3,"span",39),o._uU(4),o.qZA()()}if(2&W){const Y=Me.$implicit;o.uIk("data-id","notification-"+Y.id),o.xp6(2),o.Oqu(Y.title),o.xp6(2),o.Oqu(Y.preview)}}function pt(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"button",40),o.NdJ("click",function(){return o.CHM(Y),o.oxw(4).openUnreadMessages()}),o.TgZ(1,"span",38),o._uU(2),o.qZA(),o.TgZ(3,"span",39),o._uU(4,"Open Messaging to read them."),o.qZA()()}if(2&W){const Y=o.oxw(4);o.xp6(2),o.AsE(" You have ",Y.unreadMessaging," unread ",1===Y.unreadMessaging?"message":"messages"," ")}}function Ft(W,Me){1&W&&(o.TgZ(0,"p",41),o._uU(1," No new notifications. "),o.qZA())}function tn(W,Me){if(1&W&&(o.ynx(0),o.YNc(1,kt,5,3,"button",34),o.YNc(2,pt,5,2,"button",35),o.YNc(3,Ft,2,0,"p",36),o.BQk()),2&W){const Y=Me.ngIf,ce=o.oxw(3);o.xp6(1),o.Q6J("ngForOf",Y)("ngForTrackBy",ce.trackNotification),o.xp6(1),o.Q6J("ngIf",0===Y.length&&ce.unreadMessaging>0),o.xp6(1),o.Q6J("ngIf",0===Y.length&&0===ce.unreadMessaging)}}function un(W,Me){if(1&W&&(o.TgZ(0,"div",29)(1,"div",30)(2,"span"),o._uU(3,"Notifications"),o.qZA(),o.YNc(4,Je,2,0,"button",31),o.ALo(5,"async"),o.qZA(),o.YNc(6,tn,4,4,"ng-container",32),o.ALo(7,"async"),o.qZA()),2&W){const Y=o.oxw(2);let ce;o.xp6(4),o.Q6J("ngIf",null==(ce=o.lcZ(5,2,Y.notifications$))?null:ce.length),o.xp6(2),o.Q6J("ngIf",o.lcZ(7,4,Y.notifications$))}}function Wn(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"button",42),o.NdJ("click",function(){return o.CHM(Y),o.oxw(2).openSecurity()}),o._uU(1,"Security"),o.qZA()}}function Pn(W,Me){1&W&&(o.TgZ(0,"span",52),o._uU(1,"Anything you haven't saved will be lost when it ends."),o.qZA())}function kn(W,Me){1&W&&(o.TgZ(0,"span",53),o._uU(1," We couldn't keep you signed in. Save your work, then sign in again. "),o.qZA())}function Kt(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"div",43),o._UZ(1,"pa-loading-spinner",44),o.TgZ(2,"div",45)(3,"span",46),o._uU(4),o.qZA(),o.YNc(5,Pn,2,0,"span",47),o.YNc(6,kn,2,0,"span",48),o.qZA(),o.TgZ(7,"div",49)(8,"pa-primary-button",50),o.NdJ("click",function(){return o.CHM(Y),o.oxw(2).staySignedIn()}),o.qZA(),o.TgZ(9,"pa-secondary-button",51),o.NdJ("click",function(){return o.CHM(Y),o.oxw(2).logout()}),o.qZA()()()}if(2&W){const Y=o.oxw(2);o.xp6(1),o.Q6J("isShown",Y.renewingSession),o.xp6(3),o.hij("Your session ends in ",Y.sessionWarningMinutes," minutes or less."),o.xp6(1),o.Q6J("ngIf",!Y.renewFailed),o.xp6(1),o.Q6J("ngIf",Y.renewFailed),o.xp6(2),o.Q6J("disabled",Y.renewingSession)}}function rt(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"div",54),o._UZ(1,"pa-loading-spinner",55),o.TgZ(2,"div",45)(3,"span",46),o._uU(4,"Some menu items are hidden."),o.qZA(),o.TgZ(5,"span",52),o._uU(6,"We couldn't check what your account can use. Try again, or reload the page later."),o.qZA()(),o.TgZ(7,"div",49)(8,"pa-secondary-button",56),o.NdJ("click",function(){return o.CHM(Y),o.oxw(2).retryPermissions()}),o.qZA()()()}if(2&W){const Y=o.oxw(2);o.xp6(1),o.Q6J("isShown",Y.retryingPermissions),o.xp6(7),o.Q6J("disableButton",Y.retryingPermissions)}}function G(W,Me){1&W&&(o.TgZ(0,"p",68),o._uU(1," The security settings didn't load. Close this window and try again. If it keeps happening, contact Parenta Support. "),o.qZA())}function _e(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"div",57)(1,"div",58,59)(3,"div",60)(4,"h2",61),o._uU(5,"Security"),o.qZA(),o.TgZ(6,"button",62),o.NdJ("click",function(){return o.CHM(Y),o.oxw(2).closeSecurity()}),o._uU(7,"\xd7"),o.qZA()(),o.TgZ(8,"div",63),o._UZ(9,"pa-loading-spinner",64),o.YNc(10,G,2,0,"p",65),o.TgZ(11,"iframe",66,67),o.NdJ("load",function(){o.CHM(Y);const $e=o.MAs(12);return o.oxw(2).onSecurityFrameLoaded($e)}),o.qZA()()()()}if(2&W){const Y=o.oxw(2);o.xp6(9),o.Q6J("isShown",Y.securityLoading),o.xp6(1),o.Q6J("ngIf",Y.securityFailed),o.xp6(1),o.Q6J("src",Y.securityUrl,o.uOi)}}function he(W,Me){if(1&W&&(o.TgZ(0,"span",46),o._uU(1),o.qZA()),2&W){const Y=o.oxw().$implicit;o.xp6(1),o.Oqu(Y.subject)}}function De(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"button",76),o.NdJ("click",function(){o.CHM(Y);const $e=o.oxw().$implicit;return o.oxw(3).dismissAlert($e)}),o._uU(1,"\xd7"),o.qZA()}if(2&W){const Y=o.oxw().$implicit;o.uIk("data-id","system-alert-dismiss-"+Y.userSystemAlertId)}}function Ve(W,Me){if(1&W&&(o.TgZ(0,"div",73)(1,"div",45),o.YNc(2,he,2,1,"span",74),o.TgZ(3,"span",52),o._uU(4),o.qZA()(),o.YNc(5,De,2,1,"button",75),o.qZA()),2&W){const Y=Me.$implicit;o.Q6J("ngClass","pr-shell__alert--"+Y.colorType),o.uIk("data-id","system-alert-"+Y.userSystemAlertId),o.xp6(2),o.Q6J("ngIf",Y.subject),o.xp6(2),o.Oqu(Y.message),o.xp6(1),o.Q6J("ngIf",Y.isClosable)}}function Mt(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"div",77)(1,"div",45)(2,"span",52),o._uU(3),o.qZA()(),o.TgZ(4,"button",78),o.NdJ("click",function(){const _t=o.CHM(Y).$implicit;return o.oxw(3).undoDismiss(_t)}),o._uU(5,"Undo"),o.qZA()()}if(2&W){const Y=Me.$implicit;o.uIk("data-id","system-alert-hidden-"+Y.userSystemAlertId),o.xp6(3),o.hij(" ",Y.subject?"\u201c"+Y.subject+"\u201d dismissed.":"Alert dismissed."," "),o.xp6(1),o.uIk("data-id","system-alert-undo-"+Y.userSystemAlertId)}}function Dt(W,Me){if(1&W&&(o.TgZ(0,"p",79),o._uU(1),o.qZA()),2&W){const Y=o.oxw(3);o.xp6(1),o.hij(" ",Y.alertDismissError," ")}}function Et(W,Me){if(1&W&&(o.TgZ(0,"div",69),o.YNc(1,Ve,6,5,"div",70),o.YNc(2,Mt,6,3,"div",71),o.YNc(3,Dt,2,1,"p",72),o.qZA()),2&W){const Y=o.oxw(2);o.xp6(1),o.Q6J("ngForOf",Y.alerts)("ngForTrackBy",Y.trackAlert),o.xp6(1),o.Q6J("ngForOf",Y.pendingAlerts)("ngForTrackBy",Y.trackAlert),o.xp6(1),o.Q6J("ngIf",Y.alertDismissError)}}function sn(W,Me){if(1&W&&(o.TgZ(0,"span",87),o._uU(1),o.qZA()),2&W){const Y=o.oxw(2).$implicit,ce=o.oxw(2);o.uIk("data-id","nav-badge-"+Y.id),o.xp6(1),o.Oqu(ce.badgeCount(Y))}}function Ln(W,Me){if(1&W&&(o.TgZ(0,"span",94),o._uU(1),o.qZA()),2&W){const Y=o.oxw(2).$implicit;o.uIk("data-id","nav-description-"+Y.id),o.xp6(1),o.Oqu(Y.description)}}function Nn(W,Me){if(1&W&&(o.TgZ(0,"span",87),o._uU(1),o.qZA()),2&W){const Y=o.oxw(2).$implicit,ce=o.oxw(5);o.xp6(1),o.Oqu(ce.badgeCount(Y))}}function In(W,Me){if(1&W&&(o.TgZ(0,"a",91)(1,"span",92)(2,"span",83),o._uU(3),o.qZA(),o.YNc(4,Ln,2,2,"span",93),o.qZA(),o.YNc(5,Nn,2,1,"span",84),o.qZA()),2&W){const Y=o.oxw().$implicit,ce=o.oxw(5);o.Q6J("routerLink",Y.routerLink),o.uIk("title",Y.description||null)("data-id","nav-"+Y.id),o.xp6(3),o.Oqu(Y.label),o.xp6(1),o.Q6J("ngIf",Y.description),o.xp6(1),o.Q6J("ngIf",ce.badgeCount(Y)>0)}}function Gn(W,Me){if(1&W&&(o.TgZ(0,"a",95)(1,"span",83),o._uU(2),o.qZA(),o.TgZ(3,"span",13),o._uU(4," (opens in a new tab)"),o.qZA()()),2&W){const Y=o.oxw().$implicit;o.Q6J("href",Y.externalUrl,o.LSH),o.uIk("data-id","nav-"+Y.id),o.xp6(2),o.Oqu(Y.label)}}function Hn(W,Me){if(1&W&&(o.ynx(0),o.YNc(1,In,6,6,"a",89),o.YNc(2,Gn,5,3,"a",90),o.BQk()),2&W){const Y=Me.$implicit;o.xp6(1),o.Q6J("ngIf",Y.routerLink),o.xp6(1),o.Q6J("ngIf",Y.externalUrl)}}function Jn(W,Me){if(1&W&&(o.TgZ(0,"div",88),o.YNc(1,Hn,3,2,"ng-container",26),o.qZA()),2&W){const Y=o.oxw(2).$implicit,ce=o.oxw(2);o.xp6(1),o.Q6J("ngForOf",Y.children)("ngForTrackBy",ce.trackNavItem)}}function Tn(W,Me){if(1&W){const Y=o.EpF();o.ynx(0),o.TgZ(1,"button",81),o.NdJ("click",function(){o.CHM(Y);const $e=o.oxw().$implicit;return o.oxw(2).toggleSubmenu($e)}),o._UZ(2,"i",82),o.TgZ(3,"span",83),o._uU(4),o.qZA(),o.YNc(5,sn,2,2,"span",84),o._UZ(6,"i",85),o.qZA(),o.YNc(7,Jn,2,2,"div",86),o.BQk()}if(2&W){const Y=o.oxw().$implicit,ce=o.oxw(2);o.xp6(1),o.uIk("data-id","nav-"+Y.id)("aria-expanded",ce.isExpanded(Y)),o.xp6(1),o.Q6J("ngClass",Y.icon),o.xp6(2),o.Oqu(Y.label),o.xp6(1),o.Q6J("ngIf",ce.badgeCount(Y)>0&&!ce.isExpanded(Y)),o.xp6(1),o.ekj("fa-chevron-down",ce.isExpanded(Y))("fa-chevron-right",!ce.isExpanded(Y)),o.xp6(1),o.Q6J("ngIf",ce.isExpanded(Y))}}function ri(W,Me){if(1&W&&(o.TgZ(0,"span",94),o._uU(1),o.qZA()),2&W){const Y=o.oxw(3).$implicit;o.uIk("data-id","nav-description-"+Y.id),o.xp6(1),o.Oqu(Y.description)}}function zn(W,Me){if(1&W&&(o.TgZ(0,"a",98),o._UZ(1,"i",82),o.TgZ(2,"span",92)(3,"span",83),o._uU(4),o.qZA(),o.YNc(5,ri,2,2,"span",93),o.qZA()()),2&W){const Y=o.oxw(2).$implicit;o.Q6J("routerLink",Y.routerLink),o.uIk("title",Y.description||null)("data-id","nav-"+Y.id),o.xp6(1),o.Q6J("ngClass",Y.icon),o.xp6(3),o.Oqu(Y.label),o.xp6(1),o.Q6J("ngIf",Y.description)}}function $t(W,Me){if(1&W&&(o.TgZ(0,"a",99),o._UZ(1,"i",82),o.TgZ(2,"span",83),o._uU(3),o.qZA(),o.TgZ(4,"span",13),o._uU(5," (opens in a new tab)"),o.qZA()()),2&W){const Y=o.oxw(2).$implicit;o.Q6J("href",Y.externalUrl,o.LSH),o.uIk("data-id","nav-"+Y.id),o.xp6(1),o.Q6J("ngClass",Y.icon),o.xp6(2),o.Oqu(Y.label)}}function xe(W,Me){if(1&W&&(o.YNc(0,zn,6,6,"a",96),o.YNc(1,$t,6,4,"a",97)),2&W){const Y=o.oxw().$implicit;o.Q6J("ngIf",Y.routerLink),o.xp6(1),o.Q6J("ngIf",Y.externalUrl)}}function Se(W,Me){if(1&W&&(o.ynx(0),o.YNc(1,Tn,8,10,"ng-container",1),o.YNc(2,xe,2,2,"ng-template",null,80,o.W1O),o.BQk()),2&W){const Y=Me.$implicit,ce=o.MAs(3);o.xp6(1),o.Q6J("ngIf",Y.children)("ngIfElse",ce)}}function j(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"button",110),o.NdJ("click",function(){return o.CHM(Y),o.oxw(3).tourService.prev()}),o._uU(1,"Back"),o.qZA()}}function Ie(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"button",111),o.NdJ("click",function(){return o.CHM(Y),o.oxw(3).tourService.next()}),o._uU(1,"Next"),o.qZA()}}function vt(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"button",112),o.NdJ("click",function(){return o.CHM(Y),o.oxw(3).tourService.end()}),o._uU(1,"Done"),o.qZA()}}function Vt(W,Me){if(1&W){const Y=o.EpF();o.TgZ(0,"div",100)(1,"div",101)(2,"span",102),o._uU(3),o.qZA(),o.TgZ(4,"button",103),o.NdJ("click",function(){return o.CHM(Y),o.oxw(2).tourService.end()}),o._uU(5,"\xd7"),o.qZA()(),o.TgZ(6,"p",104),o._uU(7),o.qZA(),o.TgZ(8,"div",105),o.YNc(9,j,2,0,"button",106),o._UZ(10,"span",107),o.YNc(11,Ie,2,0,"button",108),o.YNc(12,vt,2,0,"button",109),o.qZA()()}if(2&W){const Y=Me.step,ce=o.oxw(2);o.uIk("aria-label",null==Y?null:Y.title),o.xp6(3),o.Oqu(null==Y?null:Y.title),o.xp6(4),o.Oqu(null==Y?null:Y.content),o.xp6(2),o.Q6J("ngIf",ce.tourService.hasPrev(Y)),o.xp6(2),o.Q6J("ngIf",ce.tourService.hasNext(Y)),o.xp6(1),o.Q6J("ngIf",!ce.tourService.hasNext(Y))}}function Fn(W,Me){if(1&W){const Y=o.EpF();o.ynx(0),o.TgZ(1,"header",3)(2,"button",4),o.NdJ("click",function(){return o.CHM(Y),o.oxw().toggleSidebar()}),o._UZ(3,"span",5)(4,"span",5)(5,"span",5),o.qZA(),o.TgZ(6,"span",6),o._uU(7,"Parenta Portal"),o.qZA(),o.TgZ(8,"div",7)(9,"button",8),o.NdJ("click",function(){return o.CHM(Y),o.oxw().toggleNotifications()}),o._UZ(10,"i",9),o.YNc(11,ut,2,1,"span",10),o.qZA(),o.YNc(12,un,8,6,"div",11),o.qZA(),o.TgZ(13,"a",12),o._uU(14," Contact Support"),o.TgZ(15,"span",13),o._uU(16," (opens in a new tab)"),o.qZA()(),o.YNc(17,Wn,2,0,"button",14),o.TgZ(18,"button",15),o.NdJ("click",function(){return o.CHM(Y),o.oxw().askToLogout()}),o._uU(19,"Sign out"),o.qZA()(),o.YNc(20,Kt,10,5,"div",16),o.YNc(21,rt,9,2,"div",17),o.YNc(22,_e,13,3,"div",18),o.TgZ(23,"pa-two-button-modal",19,20)(25,"p",21),o._uU(26,"You'll need to sign in again to get back to the Portal."),o.qZA()(),o.YNc(27,Et,4,5,"div",22),o.TgZ(28,"div",23)(29,"aside",24)(30,"nav",25),o.YNc(31,Se,4,2,"ng-container",26),o.qZA()(),o.TgZ(32,"main",27),o._UZ(33,"router-outlet"),o.qZA()(),o.TgZ(34,"tour-step-template"),o.YNc(35,Vt,13,6,"ng-template"),o.qZA(),o.BQk()}if(2&W){const Y=o.oxw();o.xp6(9),o.uIk("aria-expanded",Y.notificationsOpen),o.xp6(2),o.Q6J("ngIf",Y.unreadMessaging>0),o.xp6(1),o.Q6J("ngIf",Y.notificationsOpen),o.xp6(1),o.Q6J("href",Y.supportUrl,o.LSH),o.xp6(4),o.Q6J("ngIf",Y.canManageSecurity),o.xp6(3),o.Q6J("ngIf",Y.sessionWarningOpen),o.xp6(1),o.Q6J("ngIf",Y.permissionsFailed),o.xp6(1),o.Q6J("ngIf",Y.securityOpen),o.xp6(5),o.Q6J("ngIf",Y.alerts.length>0||Y.pendingAlerts.length>0||Y.alertDismissError),o.xp6(4),o.Q6J("ngForOf",Y.navItems)("ngForTrackBy",Y.trackNavItem)}}function ti(W,Me){1&W&&(o.TgZ(0,"main",113),o._UZ(1,"router-outlet"),o.qZA())}const Qt="logout-confirm";let ct=(()=>{class W{constructor(Y,ce,$e,_t,Ge,qe,R,be,Ye,Ct,_n,wn,pi,xi,Ri,mi){this.auth=Y,this.router=ce,this.realtime=$e,this.shellNav=_t,this.systemAlerts=Ge,this.externalUi=qe,this.permissions=R,this.sanitizer=be,this.helpLauncher=Ye,this.welcomeTour=Ct,this.sessionExpiry=_n,this.supportLink=wn,this.modalService=pi,this.host=xi,this.tourService=Ri,this.logger=mi,this.title="portal-root",this.sidebarCollapsed=!1,this.logoutConfirmOpen=!1,this.securityOpen=!1,this.securityLoading=!1,this.securityFailed=!1,this.unreadMessaging=0,this.notificationsOpen=!1,this.sessionWarningOpen=!1,this.renewingSession=!1,this.renewFailed=!1,this.sessionWarningMinutes=Math.round(je.Vi/6e4),this.retryingPermissions=!1,this.notifications$=this.realtime.notifications$,this.expanded=new Set,this.subscriptions=new se.w0,this.unreadSubscription=null,this.sessionServicesStarted=!1,this.sessionActive=!1,this.securityTimer=null,this.dialogOpener=null,this.tourOpener=null,this.onStorageChanged=di=>{if(di.key===Z.nd&&null===di.newValue&&!this.auth.isAuthenticated){const Ki=this.router.url;this.sessionActive=!1,this.stopSessionServices(),this.router.navigate(["/login"],{queryParams:(0,O.Mp)("signed-out-elsewhere",Ki)})}},this.securityUrl=null,this.trackNotification=(di,Ki)=>Ki.id,this.trackAlert=(di,Ki)=>Ki.userSystemAlertId,this.trackNavItem=(di,Ki)=>Ki.id}get navItems(){return this.shellNav.items}ngOnInit(){this.auth.isAuthenticated&&(this.sessionActive=!0,this.startSessionServices()),this.subscriptions.add(this.auth.sessionStarted$.subscribe(()=>{this.sessionActive=!0,this.startSessionServices()})),this.subscriptions.add(this.auth.sessionEnded$.subscribe(()=>{this.sessionActive=!1,this.stopSessionServices()})),this.subscriptions.add(this.router.events.subscribe(()=>{this.helpLauncher.setSuppressedForRoute(this.router.url.startsWith("/communication/messaging"))})),this.subscriptions.add(this.tourService.stepShow$.subscribe(()=>this.focusTourStep())),this.subscriptions.add(this.tourService.end$.subscribe(()=>{var Y;null===(Y=this.tourOpener)||void 0===Y||Y.focus(),this.tourOpener=null})),window.addEventListener("storage",this.onStorageChanged)}ngOnDestroy(){window.removeEventListener("storage",this.onStorageChanged),this.subscriptions.unsubscribe(),this.clearSecurityTimer(),this.stopSessionServices()}onDocumentKeydown(Y){var ce,$e,_t;if(this.securityOpen)return"Escape"===Y.key?(Y.preventDefault(),void this.closeSecurity()):void Ce(Y,null!==($e=null===(ce=this.securityDialog)||void 0===ce?void 0:ce.nativeElement)&&void 0!==$e?$e:null);if(this.logoutConfirmOpen){if("Escape"===Y.key)return Y.preventDefault(),void(null===(_t=this.logoutModal)||void 0===_t||_t.resolve(!1));Ce(Y,this.logoutDialogElement)}}startSessionServices(){this.sessionServicesStarted||(this.sessionServicesStarted=!0,this.realtime.start(),this.unreadSubscription=this.realtime.unreadCount$.subscribe(Y=>this.unreadMessaging=Y),this.systemAlerts.load(),this.permissions.isFeatureEnabled("PortalHelpIcon")&&this.helpLauncher.load(),this.welcomeTour.startIfFirstVisit(),this.watchSession())}stopSessionServices(){var Y;this.sessionServicesStarted=!1,null===(Y=this.unreadSubscription)||void 0===Y||Y.unsubscribe(),this.unreadSubscription=null,this.unreadMessaging=0,this.sessionWarningOpen=!1,this.renewFailed=!1,this.realtime.stop(),this.systemAlerts.clear(),this.sessionExpiry.stop()}watchSession(){this.sessionExpiry.watch(()=>{this.endExpiredSession()},()=>this.showSessionWarning())}showSessionWarning(){this.sessionWarningOpen=!0,this.renewFailed=!1}staySignedIn(){var Y=this;return(0,Q.Z)(function*(){var ce;if(!Y.renewingSession){Y.renewingSession=!0,Y.renewFailed=!1;try{(yield Y.auth.renewSession())?(Y.sessionWarningOpen=!1,Y.realtime.updateToken(),Y.watchSession()):Y.renewFailed=!0}catch($e){Y.renewFailed=!0,null===(ce=Y.logger)||void 0===ce||ce.logException((0,ot.K)($e),"Failed to renew the session.")}finally{Y.renewingSession=!1}}})()}endExpiredSession(){var Y=this;return(0,Q.Z)(function*(){const ce=Y.router.url;Y.auth.logout(),yield Y.router.navigate(["/login"],{queryParams:(0,O.Mp)("expired",ce)})})()}get permissionsFailed(){return this.permissions.resolutionFailed}retryPermissions(){var Y=this;return(0,Q.Z)(function*(){if(!Y.retryingPermissions){Y.retryingPermissions=!0;try{yield Y.permissions.reload()}finally{Y.retryingPermissions=!1}}})()}get canManageSecurity(){return this.externalUi.isConfigured&&this.permissions.isFeatureEnabled("PortalTwoFactor")}openSecurity(){this.dialogOpener=Ze(),this.securityUrl=this.sanitizer.bypassSecurityTrustResourceUrl(this.externalUi.securityUrl),this.securityOpen=!0,this.securityLoading=!0,this.securityFailed=!1,this.clearSecurityTimer(),this.securityTimer=setTimeout(()=>{this.securityLoading&&(this.securityLoading=!1,this.securityFailed=!0)},2e4),setTimeout(()=>{var Y,ce;return de(null!==(ce=null===(Y=this.securityDialog)||void 0===Y?void 0:Y.nativeElement)&&void 0!==ce?ce:null,'[data-id="security-close"]')})}onSecurityFrameLoaded(Y){!Y.getAttribute("src")||(this.securityLoading=!1,this.securityFailed=!1,this.clearSecurityTimer())}closeSecurity(){this.securityOpen=!1,this.securityLoading=!1,this.securityFailed=!1,this.clearSecurityTimer(),this.restoreDialogFocus()}clearSecurityTimer(){this.securityTimer&&(clearTimeout(this.securityTimer),this.securityTimer=null)}get alerts(){return this.systemAlerts.alerts}get pendingAlerts(){return this.systemAlerts.pending}get alertDismissError(){return this.systemAlerts.dismissError}dismissAlert(Y){this.systemAlerts.dismiss(Y)}undoDismiss(Y){this.systemAlerts.undo(Y)}get isAuthenticated(){return this.sessionActive&&this.auth.isAuthenticated}toggleSidebar(){this.sidebarCollapsed=!this.sidebarCollapsed}isExpanded(Y){return this.expanded.has(Y.id)}toggleSubmenu(Y){this.expanded.has(Y.id)?this.expanded.delete(Y.id):this.expanded.add(Y.id)}badgeCount(Y){return"unreadMessaging"===Y.badgeKey?this.unreadMessaging:0}toggleNotifications(){this.notificationsOpen=!this.notificationsOpen}openNotification(Y){this.notificationsOpen=!1,this.realtime.dismiss(Y.id),this.router.navigate(["/communication/messaging"],{queryParams:{conversationId:Y.conversationId}})}openUnreadMessages(){this.notificationsOpen=!1,this.router.navigate(["/communication/messaging"])}clearNotifications(){this.realtime.dismissAll()}askToLogout(){var Y=this;return(0,Q.Z)(function*(){Y.dialogOpener=Ze(),Y.logoutConfirmOpen=!0,setTimeout(()=>de(Y.logoutDialogElement,'[data-id="logout-confirm-cancelButton"] button'));const ce=yield Y.modalService.showDialog(Qt);Y.logoutConfirmOpen=!1,ce?yield Y.logout():Y.restoreDialogFocus()})()}logout(){var Y=this;return(0,Q.Z)(function*(){Y.logoutConfirmOpen=!1,Y.auth.logout(),yield Y.router.navigate(["/login"])})()}get supportUrl(){return this.supportLink.url}get logoutDialogElement(){return this.host.nativeElement.querySelector(`[data-id="${Qt}-modal"]`)}restoreDialogFocus(){var Y;null===(Y=this.dialogOpener)||void 0===Y||Y.focus(),this.dialogOpener=null}focusTourStep(){this.tourOpener||(this.tourOpener=Ze()),setTimeout(()=>de(document.querySelector('[data-id="tour-step"]'),'[data-id="tour-next"], [data-id="tour-done"]'))}}return W.\u0275fac=function(Y){return new(Y||W)(o.Y36(Z.e8),o.Y36(z.F0),o.Y36(Tt),o.Y36(Sn),o.Y36(mn),o.Y36(Jt.y),o.Y36(te.q),o.Y36(e.H7),o.Y36(et.F),o.Y36(Pt.t),o.Y36(je.RO),o.Y36(Ot.F),o.Y36(u.s6z),o.Y36(o.SBq),o.Y36(k.QL),o.Y36(u.N_R,8))},W.\u0275cmp=o.Xpm({type:W,selectors:[["pr-root"]],viewQuery:function(Y,ce){if(1&Y&&(o.Gf(bt,5),o.Gf(dt,5)),2&Y){let $e;o.iGM($e=o.CRH())&&(ce.logoutModal=$e.first),o.iGM($e=o.CRH())&&(ce.securityDialog=$e.first)}},hostBindings:function(Y,ce){1&Y&&o.NdJ("keydown",function(_t){return ce.onDocumentKeydown(_t)},!1,o.evT)},decls:4,vars:4,consts:[["data-page-object-name","PortalRootShell",1,"pr-shell"],[4,"ngIf","ngIfElse"],["loginOnly",""],[1,"pr-shell__header"],["type","button","aria-label","Toggle navigation","data-id","shell-sidebar-toggle",1,"pr-shell__toggle",3,"click"],[1,"pr-shell__toggle-bar"],["data-id","shell-brand","tourAnchor","welcome.brand",1,"pr-shell__brand"],["data-id","shell-notifications","tourAnchor","welcome.notifications",1,"pr-shell__notifications"],["type","button","aria-label","Notifications","data-id","notification-bell",1,"pr-shell__bell",3,"click"],["aria-hidden","true",1,"pr-shell__bell-icon","fa","fa-envelope"],["class","pr-shell__bell-badge","data-id","notification-badge",4,"ngIf"],["class","pr-shell__notification-menu","data-id","notification-menu",4,"ngIf"],["target","_blank","rel","noopener","tourAnchor","welcome.support","data-id","shell-contact-support",1,"pr-shell__header-link",3,"href"],[1,"pr-visually-hidden"],["type","button","class","pr-shell__header-link","data-id","shell-security",3,"click",4,"ngIf"],["type","button","data-id","shell-logout","tourAnchor","welcome.logout",1,"pr-shell__logout",3,"click"],["class","pr-shell__alert pr-shell__alert--warning pr-shell__alert--with-actions","role","alert","data-id","session-warning",4,"ngIf"],["class","pr-shell__alert pr-shell__alert--warning pr-shell__alert--with-actions","role","alert","data-id","permissions-failed",4,"ngIf"],["class","pr-shell__modal-backdrop","data-id","security-modal",4,"ngIf"],["dialogName","logout-confirm","modalTitle","Sign out?","buttonText","Sign out","secondaryButtonText","Cancel","icon","sign-out","pageObjectName","LogoutConfirmModal"],["logoutModal",""],["data-id","logout-confirm",1,"pr-shell__modal-copy"],["class","pr-shell__alerts","data-id","system-alerts",4,"ngIf"],[1,"pr-shell__body"],["data-id","shell-sidebar",1,"pr-shell__sidebar"],["tourAnchor","welcome.apps",1,"pr-shell__nav"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"pr-shell__main"],["data-id","notification-badge",1,"pr-shell__bell-badge"],["data-id","notification-menu",1,"pr-shell__notification-menu"],[1,"pr-shell__notification-head"],["type","button","class","pr-shell__notification-clear","data-id","notification-clear",3,"click",4,"ngIf"],[4,"ngIf"],["type","button","data-id","notification-clear",1,"pr-shell__notification-clear",3,"click"],["type","button","class","pr-shell__notification-item",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button","class","pr-shell__notification-item","data-id","notification-unread-summary",3,"click",4,"ngIf"],["class","pr-shell__notification-empty","data-id","notification-empty",4,"ngIf"],["type","button",1,"pr-shell__notification-item",3,"click"],[1,"pr-shell__notification-title"],[1,"pr-shell__notification-preview"],["type","button","data-id","notification-unread-summary",1,"pr-shell__notification-item",3,"click"],["data-id","notification-empty",1,"pr-shell__notification-empty"],["type","button","data-id","shell-security",1,"pr-shell__header-link",3,"click"],["role","alert","data-id","session-warning",1,"pr-shell__alert","pr-shell__alert--warning","pr-shell__alert--with-actions"],["name","session-renew-spinner",3,"isShown"],[1,"pr-shell__alert-body"],[1,"pr-shell__alert-subject"],["class","pr-shell__alert-message",4,"ngIf"],["class","pr-shell__alert-message","data-id","session-renew-failed",4,"ngIf"],[1,"pr-shell__alert-actions"],["buttonText","Stay signed in","buttonId","stay-signed-in","data-id","session-stay-signed-in",3,"disabled","click"],["buttonText","Sign out","buttonId","session-sign-out","data-id","session-sign-out",3,"click"],[1,"pr-shell__alert-message"],["data-id","session-renew-failed",1,"pr-shell__alert-message"],["role","alert","data-id","permissions-failed",1,"pr-shell__alert","pr-shell__alert--warning","pr-shell__alert--with-actions"],["name","permissions-retry-spinner",3,"isShown"],["buttonText","Try again","buttonId","permissions-retry","data-id","permissions-retry",3,"disableButton","click"],["data-id","security-modal",1,"pr-shell__modal-backdrop"],["role","dialog","aria-modal","true","aria-labelledby","security-title",1,"pr-shell__modal","pr-shell__modal--wide"],["securityDialog",""],[1,"pr-shell__modal-header"],["id","security-title",1,"pr-shell__modal-title"],["type","button","data-id","security-close","aria-label","Close security settings",1,"pr-shell__modal-cancel",3,"click"],[1,"pr-shell__modal-frame-wrap"],["name","security-frame-spinner",3,"isShown"],["class","pr-state pr-state--error pr-shell__modal-error","role","alert","data-id","security-error",4,"ngIf"],["title","Security settings","data-id","security-frame",1,"pr-shell__modal-frame",3,"src","load"],["securityFrame",""],["role","alert","data-id","security-error",1,"pr-state","pr-state--error","pr-shell__modal-error"],["data-id","system-alerts",1,"pr-shell__alerts"],["class","pr-shell__alert",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["class","pr-shell__alert","role","status",4,"ngFor","ngForOf","ngForTrackBy"],["class","pr-shell__alert pr-shell__alert--danger","role","alert","data-id","system-alert-dismiss-error",4,"ngIf"],[1,"pr-shell__alert",3,"ngClass"],["class","pr-shell__alert-subject",4,"ngIf"],["type","button","class","pr-shell__alert-close","aria-label","Dismiss alert",3,"click",4,"ngIf"],["type","button","aria-label","Dismiss alert",1,"pr-shell__alert-close",3,"click"],["role","status",1,"pr-shell__alert"],["type","button",1,"pr-shell__alert-undo",3,"click"],["role","alert","data-id","system-alert-dismiss-error",1,"pr-shell__alert","pr-shell__alert--danger"],["leaf",""],["type","button",1,"pr-shell__nav-link","pr-shell__nav-link--parent",3,"click"],["aria-hidden","true",1,"pr-shell__nav-icon",3,"ngClass"],[1,"pr-shell__nav-label"],["class","pr-shell__nav-badge",4,"ngIf"],["aria-hidden","true",1,"pr-shell__nav-caret","fa"],["class","pr-shell__submenu",4,"ngIf"],[1,"pr-shell__nav-badge"],[1,"pr-shell__submenu"],["class","pr-shell__nav-link pr-shell__nav-link--sub","routerLinkActive","pr-shell__nav-link--active",3,"routerLink",4,"ngIf"],["class","pr-shell__nav-link pr-shell__nav-link--sub","target","_blank","rel","noopener",3,"href",4,"ngIf"],["routerLinkActive","pr-shell__nav-link--active",1,"pr-shell__nav-link","pr-shell__nav-link--sub",3,"routerLink"],[1,"pr-shell__nav-text"],["class","pr-shell__nav-description",4,"ngIf"],[1,"pr-shell__nav-description"],["target","_blank","rel","noopener",1,"pr-shell__nav-link","pr-shell__nav-link--sub",3,"href"],["class","pr-shell__nav-link","routerLinkActive","pr-shell__nav-link--active",3,"routerLink",4,"ngIf"],["class","pr-shell__nav-link","target","_blank","rel","noopener",3,"href",4,"ngIf"],["routerLinkActive","pr-shell__nav-link--active",1,"pr-shell__nav-link",3,"routerLink"],["target","_blank","rel","noopener",1,"pr-shell__nav-link",3,"href"],["data-id","tour-step","role","dialog",1,"pr-tour-step"],[1,"pr-tour-step__header"],[1,"pr-tour-step__title"],["type","button","aria-label","Close tour","data-id","tour-close",1,"pr-tour-step__close",3,"click"],[1,"pr-tour-step__content"],[1,"pr-tour-step__actions"],["type","button","class","pr-tour-step__btn pr-tour-step__btn--ghost","data-id","tour-prev",3,"click",4,"ngIf"],[1,"pr-tour-step__spacer"],["type","button","class","pr-tour-step__btn","data-id","tour-next",3,"click",4,"ngIf"],["type","button","class","pr-tour-step__btn","data-id","tour-done",3,"click",4,"ngIf"],["type","button","data-id","tour-prev",1,"pr-tour-step__btn","pr-tour-step__btn--ghost",3,"click"],["type","button","data-id","tour-next",1,"pr-tour-step__btn",3,"click"],["type","button","data-id","tour-done",1,"pr-tour-step__btn",3,"click"],[1,"pr-shell__login"]],template:function(Y,ce){if(1&Y&&(o.TgZ(0,"div",0),o.YNc(1,Fn,36,11,"ng-container",1),o.YNc(2,ti,2,0,"ng-template",null,2,o.W1O),o.qZA()),2&Y){const $e=o.MAs(3);o.ekj("pr-shell--sidebar-collapsed",ce.sidebarCollapsed),o.xp6(1),o.Q6J("ngIf",ce.isAuthenticated)("ngIfElse",$e)}},directives:[g.O5,k.JA,g.sg,u.z4j,u.lR4,u.paU,u.yQy,g.mk,z.yS,z.Od,z.lC,k.R5],pipes:[g.Ov],styles:[""]}),W})(),ve=(()=>{class W{configure(Y){const ce="https://uat-aws-sauron.parenta.com/api/",_t=ce.indexOf("$")>-1?"http://localhost:65504/api":ce;Y.setApiUrl(_t.endsWith("/")?_t:_t+"/")}}return W.\u0275fac=function(Y){return new(Y||W)},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})();var Re=p(2843),it=p(262);let Lt=(()=>{class W{constructor(Y){this.injector=Y}intercept(Y,ce){return ce.handle(Y).pipe((0,it.K)($e=>($e instanceof c.UA&&401===$e.status&&this.endSession(),(0,Re._)(()=>$e))))}endSession(){const Y=this.injector.get(Z.e8);if(!Y.isAuthenticated)return;const ce=this.injector.get(z.F0),$e=ce.navigated?ce.url:this.injector.get(g.Ye).path();Y.logout(),ce.navigate(["/login"],{queryParams:(0,O.Mp)("expired",$e)})}}return W.\u0275fac=function(Y){return new(Y||W)(o.LFG(o.zs3))},W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac}),W})(),an=(()=>{class W{}return W.\u0275fac=function(Y){return new(Y||W)},W.\u0275mod=o.oAB({type:W}),W.\u0275inj=o.cJS({providers:[I.D0t,I.pEx,I.M$x,I.chs,I.h3d,I.CJG,I.Pyg,u.LBH,u.HiY,u.ojH,u.XL3,u.Jwe,u.al2,u.s6z]}),W})();var Un=p(1649),Yn=p(3486);let Oi=(()=>{class W{}return W.\u0275fac=function(Y){return new(Y||W)},W.\u0275mod=o.oAB({type:W}),W.\u0275inj=o.cJS({providers:[...Yn.X,u.lri,Un.V]}),W})();var Li=p(2105);let Gi=(()=>{class W extends u.N_R{logException(Y,ce){Li.$e($e=>{$e.setLevel("error"),ce&&$e.setExtra("additionalInfo",ce),Li.Tb(Y)}),console.error(null!=ce?ce:Y.message,Y)}reportFeatureUsage(Y,ce){Li.n_({category:Y,message:ce,level:"info"})}submitLog(Y,ce){Li.n_({category:"log",message:Y,data:{additionalInfo:ce},level:"info"})}}return W.\u0275fac=function(){let Me;return function(ce){return(Me||(Me=o.n5z(W)))(ce||W)}}(),W.\u0275prov=o.Yz7({token:W,factory:W.\u0275fac}),W})(),ae=(()=>{class W{}return W.\u0275fac=function(Y){return new(Y||W)},W.\u0275mod=o.oAB({type:W,bootstrap:[ct]}),W.\u0275inj=o.cJS({providers:[{provide:u.N_R,useClass:Gi},{provide:c.TP,useClass:Lt,multi:!0},I.HpB,I.BTu,I.fib,I.gc2,I.JjS,I.bzB,I.VxH,I.Z7P,I.DCD,I.ACA,I.ik9,I.j2_,I.CZB,I.TsP,I.dvJ,I.l$,H.V,g.uU,{provide:o.ip1,multi:!0,deps:[I.HpB,ve,Z.e8],useFactory:(Me,Y,ce)=>()=>(Y.configure(Me),ce.restore())}],imports:[[e.b2,d.PW,c.JF,ee,b.Tx,k.jo.forRoot(),u.qWK,an,Oi,A.Mc.forRoot()]]}),W})();u.QCi.initialiseSentry("https://b38ab82aefed072f1c00b0145daab48e@o1295388.ingest.sentry.io/4506042243743744"),(0,o.G48)(),e.q6().bootstrapModule(ae).catch(W=>{const Me=(0,ot.K)(W);u.QCi.captureException(Me),console.error("Failed to start portal-root.",Me);const Y=document.querySelector("[data-boot-splash]");Y&&(Y.textContent="Parenta Portal could not start. Refresh the page to try again.")})},8556:(X,N,p)=>{"use strict";p.d(N,{B:()=>g});var e=p(5861),o=p(5e3),u=p(8093),d=p(8264);const c="enabledFeatures";let g=(()=>{class b{constructor(A,I){this.featureTogglesCommands=A,this.storageService=I,this.hasLoaded=!1,this.enabledFeatures=[]}loadFromServer(){var A=this;return(0,e.Z)(function*(){if(A.hasLoaded)return;const I=A.storageService.getItem(c);if(I)return A.enabledFeatures=I,void(A.hasLoaded=!0);const H=yield A.featureTogglesCommands.getEnabledFeatureToggles();H&&H.featureKeys&&(A.enabledFeatures=H.featureKeys,A.storageService.saveItem(c,A.enabledFeatures)),A.hasLoaded=!0})()}isFeatureEnabled(A){return this.enabledFeatures.includes(A)}clear(){this.enabledFeatures=[],this.hasLoaded=!1,this.storageService.removeItem(c)}}return b.\u0275fac=function(A){return new(A||b)(o.LFG(u.ik9),o.LFG(d.V))},b.\u0275prov=o.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})()},8264:(X,N,p)=>{"use strict";p.d(N,{V:()=>u});var e=p(5e3);let u=(()=>{class d{constructor(){this.keyValue="sauron-data"}saveItem(g,b){const k=this.fullKey(this.keyValue),A=window.localStorage.getItem(k),I=A?JSON.parse(A):{};I[g]=b,window.localStorage.setItem(k,JSON.stringify(I))}getItem(g){const b=this.fullKey(this.keyValue),k=window.localStorage.getItem(b);if(!k)return null;const A=JSON.parse(k);return A[g]?A[g]:null}removeItem(g){const b=this.fullKey(this.keyValue),k=window.localStorage.getItem(b);if(!k)return;const A=JSON.parse(k);delete A[g],window.localStorage.setItem(b,JSON.stringify(A))}getItemByEnum(g){return this.getItem(g)}setItemByEnum(g,b){this.saveItem(g,b)}saveDirect(g,b){const k=JSON.stringify(b);localStorage.setItem(g,k)}getDirect(g){const b=localStorage.getItem(g);return b?JSON.parse(b):null}fullKey(g){return this.getNurseryId().trim()+g.trim()}getNurseryId(){let g=window.localStorage.getItem("businessLegacyId");return g||(g="0"),g.replace(/"/g,"")}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d})()},9069:(X,N)=>{"use strict";N.__esModule=!0,N.Concat=void 0;var p=function(){function e(o,u){this.leftSide=o,this.rightSide=u}return e.prototype.toString=function(){return"concat("+this.writeValue(this.leftSide)+","+this.writeValue(this.rightSide)+")"},e.prototype.writeValue=function(o){return"object"==typeof o?o.toString():"function"==typeof o?o.call(this):o.toString()},e}();N.Concat=p},8777:(X,N,p)=>{"use strict";N.__esModule=!0,N.FilterClause=void 0;var e=p(2857),o=function(){function u(d){void 0===d&&(d=null),this.property=d,this.components=[]}return u.prototype.toString=function(){var d,c,g;for(d=[],this.propertyIncluded||d.push(this.property),c=0;c{"use strict";N.__esModule=!0,N.FilterObj=void 0;var p=function(){function e(o,u){void 0===u&&(u=null),this.filterObj=o,this.logicalOperator=null,null!=u&&(this.logicalOperator=u)}return e.prototype.toString=function(o){var u="";return null!==this.logicalOperator&&o>0?u+=" "+this.logicalOperator+" ":o>0&&null===this.logicalOperator&&(u+=" and "),u+this.filterObj.toString()},e}();N.FilterObj=p},2857:(X,N)=>{"use strict";N.__esModule=!0,N.Helpers=void 0;var p=function(){function e(){}return e.formatValue=function(o){if(o.length>8&&"datetime"===o.substring(0,8)||o.length>4&&"guid"===o.substring(0,4))return o;if("string"==typeof o){for(var u=["m","f","d"],d=0;d{"use strict";N.__esModule=!0,N.PrecedenceGroup=void 0;var e=p(7337),o=function(){function u(d){void 0===d&&(d=void 0),this.clauses=[],void 0!==d&&this.clauses.push(new e.FilterObj(d))}return u.prototype.isEmpty=function(){return 0===this.clauses.length},u.prototype.andFilter=function(d){return this.clauses.push(new e.FilterObj(d,"and")),this},u.prototype.orFilter=function(d){return this.clauses.push(new e.FilterObj(d,"or")),this},u.prototype.toString=function(){var d,c;for(d="(",c=0;c{"use strict";N.__esModule=!0,N.ExpandSettings=void 0;var p=function(){function e(){this.expand=null,this.defaultExpand=null}return e.prototype.toString=function(){return"$expand="+(this.expand||this.defaultExpand)},e.prototype.reset=function(){this.expand=null},e.prototype.isSet=function(){return null!==this.expand||null!==this.defaultExpand},e}();N.ExpandSettings=p},1621:(X,N,p)=>{"use strict";N.__esModule=!0,N.FilterSettings=void 0;var e=p(8777),o=p(3940),u=p(7337),d=function(){function c(){this.Filters=[],this.DefaultFilters=[],this.CapturedFilter=[]}return c.prototype.toString=function(){var g,b,k;if(g=[],k="$filter=",this.DefaultFilters.length>0)for(b=0;b0)for(var g=0;g0||this.DefaultFilters.length>0},c.prototype.loadPrecedenceGroup=function(g){var b,k,A;for(k=new o.PrecedenceGroup,b=0;b{"use strict";N.__esModule=!0,N.FormatSettings=void 0;var p=function(){function e(){this.format=null,this.defaultFormat=null}return e.prototype.toString=function(){return"$format="+(this.format||this.defaultFormat)},e.prototype.reset=function(){this.format=null},e.prototype.isSet=function(){return null!==this.format||null!==this.defaultFormat},e}();N.FormatSettings=p},2661:(X,N)=>{"use strict";N.__esModule=!0,N.InlineCountSettings=void 0;var p=function(){function e(){this.inlineCount=null,this.defaultInlineCount=null}return e.prototype.toString=function(){return"$inlinecount="+(this.inlineCount||this.defaultInlineCount)},e.prototype.reset=function(){this.inlineCount=null},e.prototype.isSet=function(){return null!==this.inlineCount||null!==this.defaultInlineCount},e}();N.InlineCountSettings=p},8122:(X,N)=>{"use strict";N.__esModule=!0,N.OrderBySettings=void 0;var p=function(){function e(){this.property=null,this.order=null,this.defaultProperty=null,this.defaultOrder=null}return e.prototype.toString=function(){var o="$orderby="+(this.property||this.defaultProperty);return(null!==this.defaultOrder||null!==this.order)&&(o+=" "+(this.order||this.defaultOrder)),encodeURI(o)},e.prototype.reset=function(){this.property=null,this.order=null},e.prototype.isSet=function(){return null!==this.property||null!==this.defaultProperty},e}();N.OrderBySettings=p},524:(X,N)=>{"use strict";N.__esModule=!0,N.SelectSettings=void 0;var p=function(){function e(){this.select=null,this.defaultSelect=null}return e.prototype.toString=function(){return"$select="+(this.select||this.defaultSelect).join(",")},e.prototype.reset=function(){this.select=null},e.prototype.isSet=function(){return null!==this.select||null!==this.defaultSelect},e}();N.SelectSettings=p},1733:(X,N)=>{"use strict";N.__esModule=!0,N.SkipSettings=void 0;var p=function(){function e(){this.skip=null,this.defaultSkip=null}return e.prototype.toString=function(){return"$skip="+(null!==this.skip?this.skip:this.defaultSkip)},e.prototype.reset=function(){this.skip=null},e.prototype.isSet=function(){return null!==this.skip||null!==this.defaultSkip},e}();N.SkipSettings=p},7063:(X,N)=>{"use strict";N.__esModule=!0,N.TopSettings=void 0;var p=function(){function e(){this.top=null,this.defaultTop=null}return e.prototype.toString=function(){return"$top="+(null!==this.top?this.top:this.defaultTop)},e.prototype.reset=function(){this.top=null},e.prototype.isSet=function(){return null!==this.top||null!==this.defaultTop},e}();N.TopSettings=p},2854:(X,N,p)=>{"use strict";N.__esModule=!0,N.Tso=void 0;var e=p(7337),o=p(8122),u=p(7063),d=p(1733),c=p(524),g=p(8373),b=p(548),k=p(2661),A=p(1621),I=function(){function H(z){this.baseUri=z,this.OrderBySettings=new o.OrderBySettings,this.ExpandSettings=new g.ExpandSettings,this.FilterSettings=new A.FilterSettings,this.FormatSettings=new b.FormatSettings,this.InlineCountSettings=new k.InlineCountSettings,this.OrderBySettings=new o.OrderBySettings,this.SelectSettings=new c.SelectSettings,this.SkipSettings=new d.SkipSettings,this.TopSettings=new u.TopSettings;var O=this;this.format={atom:function(){return O.FormatSettings.format="atom",O},custom:function(Z){return O.FormatSettings.format=Z,O},xml:function(){return O.FormatSettings.format="xml",O},json:function(){return O.FormatSettings.format="json",O}},this.formatDefault={atom:function(){return O.FormatSettings.defaultFormat="atom",O},custom:function(Z){return O.FormatSettings.defaultFormat=Z,O},xml:function(){return O.FormatSettings.defaultFormat="xml",O},json:function(){return O.FormatSettings.defaultFormat="json",O}},this.inlineCount={allPages:function(){return O.InlineCountSettings.inlineCount="allpages",O},none:function(){return O.InlineCountSettings.inlineCount="none",O}},this.inlineCountDefault={allPages:function(){return O.InlineCountSettings.defaultInlineCount="allpages",O},none:function(){return O.InlineCountSettings.defaultInlineCount="none",O}}}return H.literal=function(z){return"'"+z.toString()+"'"},H.datetime=function(z){return"datetime'"+z+"'"},H.guid=function(z){return"guid'"+z+"'"},H.decimal=function(z){return z+"m"},H.double=function(z){return z+"d"},H.single=function(z){return z+"f"},H.prototype.updateHashRoute=function(z){this.currentHashRoute=z},H.prototype.setOrderByDefault=function(z,O){return this.OrderBySettings.defaultProperty=z,this.OrderBySettings.defaultOrder=void 0===O?"desc":O,this},H.prototype.toggleOrderBy=function(z,O){var Z=null===this.OrderBySettings.property||"asc"===this.OrderBySettings.order;return this.orderBy(z)[Z?"desc":"asc"](),O&&"function"==typeof O&&O.call(this),this},H.prototype.orderBy=function(z){return this.OrderBySettings.property=z,this},H.prototype.desc=function(){return this.OrderBySettings.order="desc",this},H.prototype.asc=function(){return this.OrderBySettings.order="asc",this},H.prototype.resetOrderBy=function(){return this.OrderBySettings.reset(),this},H.prototype.setTopDefault=function(z){return this.TopSettings.defaultTop=z,this},H.prototype.top=function(z){return this.TopSettings.top=z,this},H.prototype.resetTop=function(){return this.TopSettings.reset(),this},H.prototype.setSkipDefault=function(z){return this.SkipSettings.defaultSkip=z,this},H.prototype.skip=function(z){return this.SkipSettings.skip=z,this},H.prototype.resetSkip=function(){return this.SkipSettings.reset(),this},H.prototype.setSelectDefault=function(z){return this.SelectSettings.defaultSelect=z,this},H.prototype.select=function(z){return this.SelectSettings.select=z,this},H.prototype.resetSelect=function(){return this.SelectSettings.reset(),this},H.prototype.setExpandDefault=function(z){return this.ExpandSettings.defaultExpand=z,this},H.prototype.expand=function(z){return this.ExpandSettings.expand=z,this},H.prototype.resetExpand=function(){return this.ExpandSettings.reset(),this},H.prototype.resetFormat=function(){this.FormatSettings.reset()},H.prototype.resetInlineCount=function(){return this.InlineCountSettings.reset(),this},H.prototype.filter=function(z){return this.FilterSettings.Filters.push(new e.FilterObj(z)),this},H.prototype.andFilter=function(z){return this.FilterSettings.Filters.push(new e.FilterObj(z,"and")),this},H.prototype.orFilter=function(z){return this.FilterSettings.Filters.push(new e.FilterObj(z,"or")),this},H.prototype.removeFilter=function(z){if(!this.FilterSettings.isSet())return this;for(var O=0;O0?z+"?"+O.join("&"):z},H.prototype.toJson=function(){var z={};return z.baseUri=this.baseUri,z.currentHashRoute=this.currentHashRoute,z.OrderBySettings=null,z.TopSettings=null,z.SkipSettings=null,z.SelectSettings=null,z.ExpandSettings=null,z.FormatSettings=null,z.InlineCountSettings=null,z.FilterSettings=null,z.defaults=this.defaults,this.OrderBySettings.isSet()&&(z.OrderBySettings=this.OrderBySettings),this.TopSettings.isSet()&&(z.TopSettings=this.TopSettings),this.SkipSettings.isSet()&&(z.SkipSettings=this.SkipSettings),this.SelectSettings.isSet()&&(z.SelectSettings=this.SelectSettings),this.ExpandSettings.isSet()&&(z.ExpandSettings=this.ExpandSettings),this.FormatSettings.isSet()&&(z.FormatSettings=this.FormatSettings),this.InlineCountSettings.isSet()&&(z.InlineCountSettings=this.InlineCountSettings),this.FilterSettings.isSet()&&(z.FilterSettings=this.FilterSettings),JSON.stringify(z)},H}();N.Tso=I},9039:function(X,N,p){"use strict";var e=this&&this.__createBinding||(Object.create?function(u,d,c,g){void 0===g&&(g=c),Object.defineProperty(u,g,{enumerable:!0,get:function(){return d[c]}})}:function(u,d,c,g){void 0===g&&(g=c),u[g]=d[c]}),o=this&&this.__exportStar||function(u,d){for(var c in u)"default"!==c&&!Object.prototype.hasOwnProperty.call(d,c)&&e(d,u,c)};N.__esModule=!0,o(p(2854),N),o(p(8777),N),o(p(3940),N),o(p(9069),N)},5418:(X,N,p)=>{"use strict";p.d(N,{S1:()=>er});var e="7.13.0",o=p(1446),u=p(5535),d=p(1090),c=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class g{static __initStatic(){this.id="InboundFilters"}__init(){this.name=g.id}constructor(ie={}){this._options=ie,g.prototype.__init.call(this)}setupOnce(ie,Ue){var st=yt=>{var Nt=Ue();if(Nt){var gn=Nt.getIntegration(g);if(gn){var pn=Nt.getClient(),Vn=pn?pn.getOptions():{},ii=function b(pe={},ie={}){return{allowUrls:[...pe.allowUrls||[],...ie.allowUrls||[]],denyUrls:[...pe.denyUrls||[],...ie.denyUrls||[]],ignoreErrors:[...pe.ignoreErrors||[],...ie.ignoreErrors||[],...c],ignoreInternal:void 0===pe.ignoreInternal||pe.ignoreInternal}}(gn._options,Vn);return function k(pe,ie){return ie.ignoreInternal&&function O(pe){try{return"SentryError"===pe.exception.values[0].type}catch(ie){}return!1}(pe)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,u.jH)(pe)}`),!0):function A(pe,ie){return!(!ie||!ie.length)&&function z(pe){if(pe.message)return[pe.message];if(pe.exception)try{const{type:ie="",value:Ue=""}=pe.exception.values&&pe.exception.values[0]||{};return[`${Ue}`,`${ie}: ${Ue}`]}catch(ie){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error(`Cannot extract message for event ${(0,u.jH)(pe)}`),[]}return[]}(pe).some(Ue=>ie.some(st=>(0,d.zC)(Ue,st)))}(pe,ie.ignoreErrors)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,u.jH)(pe)}`),!0):function I(pe,ie){if(!ie||!ie.length)return!1;var Ue=q(pe);return!!Ue&&ie.some(st=>(0,d.zC)(Ue,st))}(pe,ie.denyUrls)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,u.jH)(pe)}.\nUrl: ${q(pe)}`),!0):!function H(pe,ie){if(!ie||!ie.length)return!0;var Ue=q(pe);return!Ue||ie.some(st=>(0,d.zC)(Ue,st))}(pe,ie.allowUrls)&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,u.jH)(pe)}.\nUrl: ${q(pe)}`),!0)}(yt,ii)?null:yt}}return yt};st.id=this.name,ie(st)}}function q(pe){try{let ie;try{ie=pe.exception.values[0].stacktrace.frames}catch(Ue){}return ie?function Z(pe=[]){for(let Ue=pe.length-1;Ue>=0;Ue--){var ie=pe[Ue];if(ie&&""!==ie.filename&&"[native code]"!==ie.filename)return ie.filename||null}return null}(ie):null}catch(ie){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error(`Cannot extract url for event ${(0,u.jH)(pe)}`),null}}g.__initStatic();var te=p(7759);let V;class ne{constructor(){ne.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=ne.id}setupOnce(){V=Function.prototype.toString,Function.prototype.toString=function(...ie){var Ue=(0,te.HK)(this)||this;return V.apply(Ue,ie)}}}ne.__initStatic();var ue=p(383),ee=p(9248),Q=[];function je(pe){var ie=pe.defaultIntegrations||[],Ue=pe.integrations;let st;ie.forEach(gn=>{gn.isDefaultInstance=!0}),st=Array.isArray(Ue)?[...ie,...Ue]:"function"==typeof Ue?(0,u.lE)(Ue(ie)):ie;var yt=function se(pe){var ie={};return pe.forEach(Ue=>{const{name:st}=Ue;var yt=ie[st];yt&&!yt.isDefaultInstance&&Ue.isDefaultInstance||(ie[st]=Ue)}),Object.values(ie)}(st),Nt=yt.findIndex(gn=>"Debug"===gn.name);if(-1!==Nt){const[gn]=yt.splice(Nt,1);yt.push(gn)}return yt}var de=p(7576);function Ze(...pe){var ie=pe.sort((Ue,st)=>Ue[0]-st[0]).map(Ue=>Ue[1]);return(Ue,st=0)=>{var yt=[];for(var Nt of Ue.split("\n").slice(st)){var gn=Nt.replace(/\(error: (.*)\)/,"$1");for(var pn of ie){var Vn=pn(gn);if(Vn){yt.push(Vn);break}}}return function Ke(pe){if(!pe.length)return[];let ie=pe;var Ue=ie[0].function||"",st=ie[ie.length-1].function||"";return(-1!==Ue.indexOf("captureMessage")||-1!==Ue.indexOf("captureException"))&&(ie=ie.slice(1)),-1!==st.indexOf("sentryWrapped")&&(ie=ie.slice(0,-1)),ie.slice(0,50).map(yt=>Go(Qn({},yt),{filename:yt.filename||ie[0].filename,function:yt.function||"?"})).reverse()}(yt)}}function ot(pe){return Array.isArray(pe)?Ze(...pe):pe}var xt="";function Be(pe){try{return pe&&"function"==typeof pe&&pe.name||xt}catch(ie){return xt}}function mn(){if(!("fetch"in(0,de.R)()))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(pe){return!1}}function Jt(pe){return pe&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(pe.toString())}var dt=p(6412),ut=(0,de.R)(),Je={},kt={};function Ft(pe,ie){Je[pe]=Je[pe]||[],Je[pe].push(ie),function pt(pe){if(!kt[pe])switch(kt[pe]=!0,pe){case"console":!function un(){"console"in ut&&o.RU.forEach(function(pe){pe in ut.console&&(0,te.hl)(ut.console,pe,function(ie){return function(...Ue){tn("console",{args:Ue,level:pe}),ie&&ie.apply(ut.console,Ue)}})})}();break;case"dom":!function Et(){if("document"in ut){var pe=tn.bind(null,"dom"),ie=Dt(pe,!0);ut.document.addEventListener("click",ie,!1),ut.document.addEventListener("keypress",ie,!1),["EventTarget","Node"].forEach(Ue=>{var st=ut[Ue]&&ut[Ue].prototype;!st||!st.hasOwnProperty||!st.hasOwnProperty("addEventListener")||((0,te.hl)(st,"addEventListener",function(yt){return function(Nt,gn,pn){if("click"===Nt||"keypress"==Nt)try{var ii=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},wi=ii[Nt]=ii[Nt]||{refCount:0};if(!wi.handler){var Mi=Dt(pe);wi.handler=Mi,yt.call(this,Nt,Mi,pn)}wi.refCount+=1}catch(co){}return yt.call(this,Nt,gn,pn)}}),(0,te.hl)(st,"removeEventListener",function(yt){return function(Nt,gn,pn){if("click"===Nt||"keypress"==Nt)try{var ii=this.__sentry_instrumentation_handlers__||{},wi=ii[Nt];wi&&(wi.refCount-=1,wi.refCount<=0&&(yt.call(this,Nt,wi.handler,pn),wi.handler=void 0,delete ii[Nt]),0===Object.keys(ii).length&&delete this.__sentry_instrumentation_handlers__)}catch(Mi){}return yt.call(this,Nt,gn,pn)}}))})}}();break;case"xhr":!function Kt(){if("XMLHttpRequest"in ut){var pe=XMLHttpRequest.prototype;(0,te.hl)(pe,"open",function(ie){return function(...Ue){var st=this,yt=Ue[1],Nt=st.__sentry_xhr__={method:(0,dt.HD)(Ue[0])?Ue[0].toUpperCase():Ue[0],url:Ue[1]};(0,dt.HD)(yt)&&"POST"===Nt.method&&yt.match(/sentry_key/)&&(st.__sentry_own_request__=!0);var gn=function(){if(4===st.readyState){try{Nt.status_code=st.status}catch(pn){}tn("xhr",{args:Ue,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:st})}};return"onreadystatechange"in st&&"function"==typeof st.onreadystatechange?(0,te.hl)(st,"onreadystatechange",function(pn){return function(...Vn){return gn(),pn.apply(st,Vn)}}):st.addEventListener("readystatechange",gn),ie.apply(st,Ue)}}),(0,te.hl)(pe,"send",function(ie){return function(...Ue){return this.__sentry_xhr__&&void 0!==Ue[0]&&(this.__sentry_xhr__.body=Ue[0]),tn("xhr",{args:Ue,startTimestamp:Date.now(),xhr:this}),ie.apply(this,Ue)}})}}();break;case"fetch":!function Wn(){!function et(){if(!mn())return!1;var pe=(0,de.R)();if(Jt(pe.fetch))return!0;let ie=!1;var Ue=pe.document;if(Ue&&"function"==typeof Ue.createElement)try{var st=Ue.createElement("iframe");st.hidden=!0,Ue.head.appendChild(st),st.contentWindow&&st.contentWindow.fetch&&(ie=Jt(st.contentWindow.fetch)),Ue.head.removeChild(st)}catch(yt){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",yt)}return ie}()||(0,te.hl)(ut,"fetch",function(pe){return function(...ie){var Ue={args:ie,fetchData:{method:Pn(ie),url:kn(ie)},startTimestamp:Date.now()};return tn("fetch",Qn({},Ue)),pe.apply(ut,ie).then(st=>(tn("fetch",Go(Qn({},Ue),{endTimestamp:Date.now(),response:st})),st),st=>{throw tn("fetch",Go(Qn({},Ue),{endTimestamp:Date.now(),error:st})),st})}})}();break;case"history":!function G(){if(function bt(){var pe=(0,de.R)(),ie=pe.chrome;return!(ie&&ie.app&&ie.app.runtime||!("history"in pe)||!pe.history.pushState||!pe.history.replaceState)}()){var pe=ut.onpopstate;ut.onpopstate=function(...Ue){var st=ut.location.href,yt=rt;if(rt=st,tn("history",{from:yt,to:st}),pe)try{return pe.apply(this,Ue)}catch(Nt){}},(0,te.hl)(ut.history,"pushState",ie),(0,te.hl)(ut.history,"replaceState",ie)}function ie(Ue){return function(...st){var yt=st.length>2?st[2]:void 0;if(yt){var Nt=rt,gn=String(yt);rt=gn,tn("history",{from:Nt,to:gn})}return Ue.apply(this,st)}}}();break;case"error":!function Ln(){sn=ut.onerror,ut.onerror=function(pe,ie,Ue,st,yt){return tn("error",{column:st,error:yt,line:Ue,msg:pe,url:ie}),!!sn&&sn.apply(this,arguments)}}();break;case"unhandledrejection":!function In(){Nn=ut.onunhandledrejection,ut.onunhandledrejection=function(pe){return tn("unhandledrejection",pe),!Nn||Nn.apply(this,arguments)}}();break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("unknown instrumentation type:",pe))}}(pe)}function tn(pe,ie){if(pe&&Je[pe])for(var Ue of Je[pe]||[])try{Ue(ie)}catch(st){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error(`Error while triggering instrumentation handler.\nType: ${pe}\nName: ${Be(Ue)}\nError:`,st)}}function Pn(pe=[]){return"Request"in ut&&(0,dt.V9)(pe[0],Request)&&pe[0].method?String(pe[0].method).toUpperCase():pe[1]&&pe[1].method?String(pe[1].method).toUpperCase():"GET"}function kn(pe=[]){return"string"==typeof pe[0]?pe[0]:"Request"in ut&&(0,dt.V9)(pe[0],Request)?pe[0].url:String(pe[0])}let rt,he,De;function Dt(pe,ie=!1){return Ue=>{if(Ue&&De!==Ue&&!function Mt(pe){if("keypress"!==pe.type)return!1;try{var ie=pe.target;if(!ie||!ie.tagName)return!0;if("INPUT"===ie.tagName||"TEXTAREA"===ie.tagName||ie.isContentEditable)return!1}catch(Ue){}return!0}(Ue)){var st="keypress"===Ue.type?"input":Ue.type;(void 0===he||function Ve(pe,ie){if(!pe||pe.type!==ie.type)return!0;try{if(pe.target!==ie.target)return!0}catch(Ue){}return!1}(De,Ue))&&(pe({event:Ue,name:st,global:ie}),De=Ue),clearTimeout(he),he=ut.setTimeout(()=>{he=void 0},1e3)}}}let sn=null,Nn=null;var Gn=p(1539);class Hn extends Error{constructor(ie,Ue="warn"){super(ie),this.message=ie,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=Ue}}var Jn=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function ri(pe,ie=!1){const{host:Ue,path:st,pass:yt,port:Nt,projectId:gn,protocol:pn,publicKey:Vn}=pe;return`${pn}://${Vn}${ie&&yt?`:${yt}`:""}@${Ue}${Nt?`:${Nt}`:""}/${st&&`${st}/`}${gn}`}function $t(pe){return{protocol:pe.protocol,publicKey:pe.publicKey||"",pass:pe.pass||"",host:pe.host,port:pe.port||"",path:pe.path||"",projectId:pe.projectId}}var j=p(509);function Ie(pe,ie=[]){return[pe,ie]}function vt(pe,ie){const[Ue,st]=pe;return[Ue,[...st,ie]]}function Vt(pe,ie){pe[1].forEach(st=>{ie(st,st[0].type)})}function Fn(pe,ie){return(ie||new TextEncoder).encode(pe)}function ti(pe,ie){const[Ue,st]=pe;let yt=JSON.stringify(Ue);function Nt(pn){"string"==typeof yt?yt="string"==typeof pn?yt+pn:[Fn(yt,ie),pn]:yt.push("string"==typeof pn?Fn(pn,ie):pn)}for(var gn of st){const[pn,Vn]=gn;Nt(`\n${JSON.stringify(pn)}\n`),Nt("string"==typeof Vn||Vn instanceof Uint8Array?Vn:JSON.stringify(Vn))}return"string"==typeof yt?yt:function Qt(pe){var ie=pe.reduce((Nt,gn)=>Nt+gn.length,0),Ue=new Uint8Array(ie);let st=0;for(var yt of pe)Ue.set(yt,st),st+=yt.length;return Ue}(yt)}function Cn(pe,ie){var Ue="string"==typeof pe.data?Fn(pe.data,ie):pe.data;return[(0,te.Jr)({type:"attachment",length:Ue.length,filename:pe.filename,content_type:pe.contentType,attachment_type:pe.attachmentType}),Ue]}var ct={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default"};function ve(pe){return ct[pe]}var Re=p(3967);function Lt(pe,ie=1/0,Ue=1/0){try{return Un("",pe,ie,Ue)}catch(st){return{ERROR:`**non-serializable** (${st})`}}}function an(pe,ie=3,Ue=102400){var st=Lt(pe,ie);return function Li(pe){return function Oi(pe){return~-encodeURI(pe).split(/%..|./).length}(JSON.stringify(pe))}(st)>Ue?an(pe,ie-1,Ue):st}function Un(pe,ie,Ue=1/0,st=1/0,yt=function it(){var pe="function"==typeof WeakSet,ie=pe?new WeakSet:[];return[function Ue(yt){if(pe)return!!ie.has(yt)||(ie.add(yt),!1);for(let gn=0;gn=st){wi[qr]="[MaxProperties ~]";break}wi[qr]=Un(qr,co[qr],Ue-1,st,yt),Mi+=1}return gn(ie),wi}function Me(pe,ie={}){var st="string"!=typeof ie&&ie._metadata?ie._metadata.sdk:void 0;return("string"==typeof ie?ie:ie.tunnel)||`${function Pe(pe){return`${function ae(pe){return`${pe.protocol?`${pe.protocol}:`:""}//${pe.host}${pe.port?`:${pe.port}`:""}${pe.path?`/${pe.path}`:""}/api/`}(pe)}${pe.projectId}/envelope/`}(pe)}?${function W(pe,ie){return(0,te._j)(Qn({sentry_key:pe.publicKey,sentry_version:"7"},ie&&{sentry_client:`${ie.name}/${ie.version}`}))}(pe,st)}`}function ce(pe){if(!pe||!pe.sdk)return;const{name:ie,version:Ue}=pe.sdk;return{name:ie,version:Ue}}var R="Not capturing exception because it's already been captured.";class be{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(ie){if(be.prototype.__init.call(this),be.prototype.__init2.call(this),be.prototype.__init3.call(this),be.prototype.__init4.call(this),this._options=ie,ie.dsn){this._dsn=function Se(pe){var ie="string"==typeof pe?function zn(pe){var ie=Jn.exec(pe);if(!ie)throw new Hn(`Invalid Sentry Dsn: ${pe}`);const[Ue,st,yt="",Nt,gn="",pn]=ie.slice(1);let Vn="",ii=pn;var wi=ii.split("/");if(wi.length>1&&(Vn=wi.slice(0,-1).join("/"),ii=wi.pop()),ii){var Mi=ii.match(/^\d+/);Mi&&(ii=Mi[0])}return $t({host:Nt,pass:yt,path:Vn,projectId:ii,port:gn,protocol:Ue,publicKey:st})}(pe):$t(pe);return function xe(pe){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return;const{port:ie,projectId:Ue,protocol:st}=pe;if(["protocol","publicKey","host","projectId"].forEach(Nt=>{if(!pe[Nt])throw new Hn(`Invalid Sentry Dsn: ${Nt} missing`)}),!Ue.match(/^\d+$/))throw new Hn(`Invalid Sentry Dsn: Invalid projectId ${Ue}`);if(!function Tn(pe){return"http"===pe||"https"===pe}(st))throw new Hn(`Invalid Sentry Dsn: Invalid protocol ${st}`);if(ie&&isNaN(parseInt(ie,10)))throw new Hn(`Invalid Sentry Dsn: Invalid port ${ie}`)}(ie),ie}(ie.dsn);var Ue=Me(this._dsn,ie);this._transport=ie.transport(Go(Qn({recordDroppedEvent:this.recordDroppedEvent.bind(this)},ie.transportOptions),{url:Ue}))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("No DSN provided, client will not do anything.")}captureException(ie,Ue,st){if((0,u.YO)(ie))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log(R));let yt=Ue&&Ue.event_id;return this._process(this.eventFromException(ie,Ue).then(Nt=>this._captureEvent(Nt,Ue,st)).then(Nt=>{yt=Nt})),yt}captureMessage(ie,Ue,st,yt){let Nt=st&&st.event_id;var gn=(0,dt.pt)(ie)?this.eventFromMessage(String(ie),Ue,st):this.eventFromException(ie,st);return this._process(gn.then(pn=>this._captureEvent(pn,st,yt)).then(pn=>{Nt=pn})),Nt}captureEvent(ie,Ue,st){if(Ue&&Ue.originalException&&(0,u.YO)(Ue.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log(R));let yt=Ue&&Ue.event_id;return this._process(this._captureEvent(ie,Ue,st).then(Nt=>{yt=Nt})),yt}captureSession(ie){this._isEnabled()?"string"!=typeof ie.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(ie),(0,Gn.CT)(ie,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("SDK not enabled, will not capture session.")}getDsn(){return this._dsn}getOptions(){return this._options}getTransport(){return this._transport}flush(ie){var Ue=this._transport;return Ue?this._isClientDoneProcessing(ie).then(st=>Ue.flush(ie).then(yt=>st&&yt)):(0,j.WD)(!0)}close(ie){return this.flush(ie).then(Ue=>(this.getOptions().enabled=!1,Ue))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=function nt(pe){var ie={};return pe.forEach(Ue=>{ie[Ue.name]=Ue,-1===Q.indexOf(Ue.name)&&(Ue.setupOnce(ue.c,ee.Gd),Q.push(Ue.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log(`Integration installed: ${Ue.name}`))}),ie}(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(ie){return this._integrations[ie]}getIntegration(ie){try{return this._integrations[ie.id]||null}catch(Ue){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Cannot retrieve integration ${ie.id} from the current Client`),null}}sendEvent(ie,Ue={}){if(this._dsn){let yt=function Ge(pe,ie,Ue,st){var yt=ce(Ue),Nt=pe.type||"event";const{transactionSampling:gn}=pe.sdkProcessingMetadata||{},{method:pn,rate:Vn}=gn||{};!function $e(pe,ie){ie&&(pe.sdk=pe.sdk||{},pe.sdk.name=pe.sdk.name||ie.name,pe.sdk.version=pe.sdk.version||ie.version,pe.sdk.integrations=[...pe.sdk.integrations||[],...ie.integrations||[]],pe.sdk.packages=[...pe.sdk.packages||[],...ie.packages||[]])}(pe,Ue&&Ue.sdk);var ii=function qe(pe,ie,Ue,st){var yt=pe.sdkProcessingMetadata&&pe.sdkProcessingMetadata.dynamicSamplingContext;return Qn(Qn(Qn({event_id:pe.event_id,sent_at:(new Date).toISOString()},ie&&{sdk:ie}),!!Ue&&{dsn:ri(st)}),"transaction"===pe.type&&yt&&{trace:(0,te.Jr)(Qn({},yt))})}(pe,yt,st,ie);return delete pe.sdkProcessingMetadata,Ie(ii,[[{type:Nt,sample_rates:[{id:pn,rate:Vn}]},pe]])}(ie,this._dsn,this._options._metadata,this._options.tunnel);for(var st of Ue.attachments||[])yt=vt(yt,Cn(st,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(yt)}}sendSession(ie){if(this._dsn){var Ue=function _t(pe,ie,Ue,st){var yt=ce(Ue);return Ie(Qn(Qn({sent_at:(new Date).toISOString()},yt&&{sdk:yt}),!!st&&{dsn:ri(ie)}),["aggregates"in pe?[{type:"sessions"},pe]:[{type:"session"},pe]])}(ie,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(Ue)}}recordDroppedEvent(ie,Ue){if(this._options.sendClientReports){var st=`${ie}:${Ue}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log(`Adding outcome: "${st}"`),this._outcomes[st]=this._outcomes[st]+1||1}}_updateSessionFromEvent(ie,Ue){let st=!1,yt=!1;var Nt=Ue.exception&&Ue.exception.values;if(Nt)for(var gn of(yt=!0,Nt)){var pn=gn.mechanism;if(pn&&!1===pn.handled){st=!0;break}}var Vn="ok"===ie.status;(Vn&&0===ie.errors||Vn&&st)&&((0,Gn.CT)(ie,Go(Qn({},st&&{status:"crashed"}),{errors:ie.errors||Number(yt||st)})),this.captureSession(ie))}_isClientDoneProcessing(ie){return new j.cW(Ue=>{let st=0;var Nt=setInterval(()=>{0==this._numProcessing?(clearInterval(Nt),Ue(!0)):(st+=1,ie&&st>=ie&&(clearInterval(Nt),Ue(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(ie,Ue,st){const{normalizeDepth:yt=3,normalizeMaxBreadth:Nt=1e3}=this.getOptions();var gn=Go(Qn({},ie),{event_id:ie.event_id||Ue.event_id||(0,u.DM)(),timestamp:ie.timestamp||(0,Re.yW)()});this._applyClientOptions(gn),this._applyIntegrationsMetadata(gn);let pn=st;Ue.captureContext&&(pn=ue.s.clone(pn).update(Ue.captureContext));let Vn=(0,j.WD)(gn);if(pn){var ii=[...Ue.attachments||[],...pn.getAttachments()];ii.length&&(Ue.attachments=ii),Vn=pn.applyToEvent(gn,Ue)}return Vn.then(wi=>"number"==typeof yt&&yt>0?this._normalizeEvent(wi,yt,Nt):wi)}_normalizeEvent(ie,Ue,st){if(!ie)return null;var yt=Qn(Qn(Qn(Qn(Qn({},ie),ie.breadcrumbs&&{breadcrumbs:ie.breadcrumbs.map(Nt=>Qn(Qn({},Nt),Nt.data&&{data:Lt(Nt.data,Ue,st)}))}),ie.user&&{user:Lt(ie.user,Ue,st)}),ie.contexts&&{contexts:Lt(ie.contexts,Ue,st)}),ie.extra&&{extra:Lt(ie.extra,Ue,st)});return ie.contexts&&ie.contexts.trace&&yt.contexts&&(yt.contexts.trace=ie.contexts.trace,ie.contexts.trace.data&&(yt.contexts.trace.data=Lt(ie.contexts.trace.data,Ue,st))),ie.spans&&(yt.spans=ie.spans.map(Nt=>(Nt.data&&(Nt.data=Lt(Nt.data,Ue,st)),Nt))),yt}_applyClientOptions(ie){var Ue=this.getOptions();const{environment:st,release:yt,dist:Nt,maxValueLength:gn=250}=Ue;"environment"in ie||(ie.environment="environment"in Ue?st:"production"),void 0===ie.release&&void 0!==yt&&(ie.release=yt),void 0===ie.dist&&void 0!==Nt&&(ie.dist=Nt),ie.message&&(ie.message=(0,d.$G)(ie.message,gn));var pn=ie.exception&&ie.exception.values&&ie.exception.values[0];pn&&pn.value&&(pn.value=(0,d.$G)(pn.value,gn));var Vn=ie.request;Vn&&Vn.url&&(Vn.url=(0,d.$G)(Vn.url,gn))}_applyIntegrationsMetadata(ie){var Ue=Object.keys(this._integrations);Ue.length>0&&(ie.sdk=ie.sdk||{},ie.sdk.integrations=[...ie.sdk.integrations||[],...Ue])}_captureEvent(ie,Ue={},st){return this._processEvent(ie,Ue,st).then(yt=>yt.event_id,yt=>{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){var Nt=yt;"log"===Nt.logLevel?o.kg.log(Nt.message):o.kg.warn(Nt)}})}_processEvent(ie,Ue,st){const{beforeSend:yt,sampleRate:Nt}=this.getOptions();if(!this._isEnabled())return(0,j.$2)(new Hn("SDK not enabled, will not capture event.","log"));var gn="transaction"===ie.type;return!gn&&"number"==typeof Nt&&Math.random()>Nt?(this.recordDroppedEvent("sample_rate","error"),(0,j.$2)(new Hn(`Discarding event because it's not included in the random sample (sampling rate = ${Nt})`,"log"))):this._prepareEvent(ie,Ue,st).then(pn=>{if(null===pn)throw this.recordDroppedEvent("event_processor",ie.type||"error"),new Hn("An event processor returned null, will not send event.","log");return Ue.data&&!0===Ue.data.__sentry__||gn||!yt?pn:function Ye(pe){var ie="`beforeSend` method has to return `null` or a valid event.";if((0,dt.J8)(pe))return pe.then(Ue=>{if(!(0,dt.PO)(Ue)&&null!==Ue)throw new Hn(ie);return Ue},Ue=>{throw new Hn(`beforeSend rejected with ${Ue}`)});if(!(0,dt.PO)(pe)&&null!==pe)throw new Hn(ie);return pe}(yt(pn,Ue))}).then(pn=>{if(null===pn)throw this.recordDroppedEvent("before_send",ie.type||"error"),new Hn("`beforeSend` returned `null`, will not send event.","log");var Vn=st&&st.getSession();!gn&&Vn&&this._updateSessionFromEvent(Vn,pn);var ii=pn.transaction_info;return gn&&ii&&pn.transaction!==ie.transaction&&(pn.transaction_info=Go(Qn({},ii),{source:"custom",changes:[...ii.changes,{source:"custom",timestamp:pn.timestamp,propagations:ii.propagations}]})),this.sendEvent(pn,Ue),pn}).then(null,pn=>{throw pn instanceof Hn?pn:(this.captureException(pn,{data:{__sentry__:!0},originalException:pn}),new Hn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${pn}`))})}_process(ie){this._numProcessing+=1,ie.then(Ue=>(this._numProcessing-=1,Ue),Ue=>(this._numProcessing-=1,Ue))}_sendEnvelope(ie){this._transport&&this._dsn?this._transport.send(ie).then(null,Ue=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error("Error while sending event:",Ue)}):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error("Transport disabled")}_clearOutcomes(){var ie=this._outcomes;return this._outcomes={},Object.keys(ie).map(Ue=>{const[st,yt]=Ue.split(":");return{reason:st,category:yt,quantity:ie[Ue]}})}}function _n(pe,ie){var Ue=xi(pe,ie),st={type:ie&&ie.name,value:di(ie)};return Ue.length&&(st.stacktrace={frames:Ue}),void 0===st.type&&""===st.value&&(st.value="Unrecoverable error caught"),st}function pi(pe,ie){return{exception:{values:[_n(pe,ie)]}}}function xi(pe,ie){var Ue=ie.stacktrace||ie.stack||"",st=function mi(pe){if(pe){if("number"==typeof pe.framesToPop)return pe.framesToPop;if(Ri.test(pe.message))return 1}return 0}(ie);try{return pe(Ue,st)}catch(yt){}return[]}var Ri=/Minified React error #\d+;/i;function di(pe){var ie=pe&&pe.message;return ie?ie.error&&"string"==typeof ie.error.message?ie.error.message:ie:"No error message"}function rr(pe,ie,Ue,st,yt){let Nt;if((0,dt.VW)(ie)&&ie.error)return pi(pe,ie.error);if((0,dt.TX)(ie)||(0,dt.fm)(ie)){var pn=ie;if("stack"in ie)Nt=pi(pe,ie);else{var Vn=pn.name||((0,dt.TX)(pn)?"DOMError":"DOMException"),ii=pn.message?`${Vn}: ${pn.message}`:Vn;Nt=Ai(pe,ii,Ue,st),(0,u.Db)(Nt,ii)}return"code"in pn&&(Nt.tags=Go(Qn({},Nt.tags),{"DOMException.code":`${pn.code}`})),Nt}return(0,dt.VZ)(ie)?pi(pe,ie):(0,dt.PO)(ie)||(0,dt.cO)(ie)?(Nt=function wn(pe,ie,Ue,st){var Nt=(0,ee.Gd)().getClient(),gn=Nt&&Nt.getOptions().normalizeDepth,pn={exception:{values:[{type:(0,dt.cO)(ie)?ie.constructor.name:st?"UnhandledRejection":"Error",value:`Non-Error ${st?"promise rejection":"exception"} captured with keys: ${(0,te.zf)(ie)}`}]},extra:{__serialized__:an(ie,gn)}};if(Ue){var Vn=xi(pe,Ue);Vn.length&&(pn.exception.values[0].stacktrace={frames:Vn})}return pn}(pe,ie,Ue,yt),(0,u.EG)(Nt,{synthetic:!0}),Nt):(Nt=Ai(pe,ie,Ue,st),(0,u.Db)(Nt,`${ie}`,void 0),(0,u.EG)(Nt,{synthetic:!0}),Nt)}function Ai(pe,ie,Ue,st){var yt={message:ie};if(st&&Ue){var Nt=xi(pe,Ue);Nt.length&&(yt.exception={values:[{value:ie,stacktrace:{frames:Nt}}]})}return yt}var Ei=p(6477),Tr=["fatal","error","warning","log","info","debug"];function qi(pe){return"warn"===pe?"warning":Tr.includes(pe)?pe:"log"}function Pr(pe){if(!pe)return{};var ie=pe.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);return ie?{host:ie[4],path:ie[5],protocol:ie[2],relative:ie[5]+(ie[6]||"")+(ie[8]||"")}:{}}var fi="Breadcrumbs";class Mr{static __initStatic(){this.id=fi}__init(){this.name=Mr.id}constructor(ie){Mr.prototype.__init.call(this),this.options=Qn({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},ie)}setupOnce(){this.options.console&&Ft("console",bo),this.options.dom&&Ft("dom",function jr(pe){return function ie(Ue){let st,yt="object"==typeof pe?pe.serializeAttribute:void 0;"string"==typeof yt&&(yt=[yt]);try{st=(0,Ei.Rt)(Ue.event.target?Ue.event.target:Ue.event,yt)}catch(Nt){st=""}0!==st.length&&(0,ee.Gd)().addBreadcrumb({category:`ui.${Ue.name}`,message:st},{event:Ue.event,name:Ue.name,global:Ue.global})}}(this.options.dom)),this.options.xhr&&Ft("xhr",kr),this.options.fetch&&Ft("fetch",Ho),this.options.history&&Ft("history",Hr)}}function bo(pe){var ie={category:"console",data:{arguments:pe.args,logger:"console"},level:qi(pe.level),message:(0,d.nK)(pe.args," ")};if("assert"===pe.level){if(!1!==pe.args[0])return;ie.message=`Assertion failed: ${(0,d.nK)(pe.args.slice(1)," ")||"console.assert"}`,ie.data.arguments=pe.args.slice(1)}(0,ee.Gd)().addBreadcrumb(ie,{input:pe.args,level:pe.level})}function kr(pe){if(pe.endTimestamp){if(pe.xhr.__sentry_own_request__)return;const{method:ie,url:Ue,status_code:st,body:yt}=pe.xhr.__sentry_xhr__||{};(0,ee.Gd)().addBreadcrumb({category:"xhr",data:{method:ie,url:Ue,status_code:st},type:"http"},{xhr:pe.xhr,input:yt})}}function Ho(pe){!pe.endTimestamp||pe.fetchData.url.match(/sentry_key/)&&"POST"===pe.fetchData.method||(pe.error?(0,ee.Gd)().addBreadcrumb({category:"fetch",data:pe.fetchData,level:"error",type:"http"},{data:pe.error,input:pe.args}):(0,ee.Gd)().addBreadcrumb({category:"fetch",data:Go(Qn({},pe.fetchData),{status_code:pe.response.status}),type:"http"},{input:pe.args,response:pe.response}))}function Hr(pe){var ie=(0,de.R)();let Ue=pe.from,st=pe.to;var yt=Pr(ie.location.href);let Nt=Pr(Ue);var gn=Pr(st);Nt.path||(Nt=yt),yt.protocol===gn.protocol&&yt.host===gn.host&&(st=gn.relative),yt.protocol===Nt.protocol&&yt.host===Nt.host&&(Ue=Nt.relative),(0,ee.Gd)().addBreadcrumb({category:"navigation",data:{from:Ue,to:st}})}Mr.__initStatic();var Ur=(0,de.R)();let Qr;function xo(){if(Qr)return Qr;if(Jt(Ur.fetch))return Qr=Ur.fetch.bind(Ur);var pe=Ur.document;let ie=Ur.fetch;if(pe&&"function"==typeof pe.createElement)try{var Ue=pe.createElement("iframe");Ue.hidden=!0,pe.head.appendChild(Ue);var st=Ue.contentWindow;st&&st.fetch&&(ie=st.fetch),pe.head.removeChild(Ue)}catch(yt){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",yt)}return Qr=ie.bind(Ur)}var nr=(0,de.R)();class fo extends be{constructor(ie){ie._metadata=ie._metadata||{},ie._metadata.sdk=ie._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:e}],version:e},super(ie),ie.sendClientReports&&nr.document&&nr.document.addEventListener("visibilitychange",()=>{"hidden"===nr.document.visibilityState&&this._flushOutcomes()})}eventFromException(ie,Ue){return function Ki(pe,ie,Ue,st){var Nt=rr(pe,ie,Ue&&Ue.syntheticException||void 0,st);return(0,u.EG)(Nt),Nt.level="error",Ue&&Ue.event_id&&(Nt.event_id=Ue.event_id),(0,j.WD)(Nt)}(this._options.stackParser,ie,Ue,this._options.attachStacktrace)}eventFromMessage(ie,Ue="info",st){return function hr(pe,ie,Ue="info",st,yt){var gn=Ai(pe,ie,st&&st.syntheticException||void 0,yt);return gn.level=Ue,st&&st.event_id&&(gn.event_id=st.event_id),(0,j.WD)(gn)}(this._options.stackParser,ie,Ue,st,this._options.attachStacktrace)}sendEvent(ie,Ue){var st=this.getIntegrationById(fi);st&&st.options&&st.options.sentry&&(0,ee.Gd)().addBreadcrumb({category:"sentry."+("transaction"===ie.type?"transaction":"event"),event_id:ie.event_id,level:ie.level,message:(0,u.jH)(ie)},{event:ie}),super.sendEvent(ie,Ue)}_prepareEvent(ie,Ue,st){return ie.platform=ie.platform||"javascript",super._prepareEvent(ie,Ue,st)}_flushOutcomes(){var ie=this._clearOutcomes();if(0!==ie.length)if(this._dsn){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log("Sending outcomes:",ie);var Ue=Me(this._dsn,this._options),st=function Ct(pe,ie,Ue){return Ie(ie?{dsn:ie}:{},[[{type:"client_report"},{timestamp:Ue||(0,Re.yW)(),discarded_events:pe}]])}(ie,this._options.tunnel&&ri(this._dsn));try{!function uo(pe,ie){"[object Navigator]"===Object.prototype.toString.call(Ur&&Ur.navigator)&&"function"==typeof Ur.navigator.sendBeacon?Ur.navigator.sendBeacon.bind(Ur.navigator)(pe,ie):mn()&&xo()(pe,{body:ie,method:"POST",credentials:"omit",keepalive:!0}).then(null,gn=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error(gn)})}(Ue,ti(st))}catch(yt){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error(yt)}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log("No dsn provided, will not send outcomes");else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log("No outcomes to send")}}function Yr(pe,ie,Ue,st){var yt={filename:pe,function:ie,in_app:!0};return void 0!==Ue&&(yt.lineno=Ue),void 0!==st&&(yt.colno=st),yt}var Xr=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,eo=/\((\S*)(?::(\d+))(?::(\d+))\)/,Gr=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Ao=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,mt=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,pr=Ze([30,pe=>{var ie=Xr.exec(pe);if(ie){if(ie[2]&&0===ie[2].indexOf("eval")){var st=eo.exec(ie[2]);st&&(ie[2]=st[1],ie[3]=st[2],ie[4]=st[3])}const[yt,Nt]=oi(ie[1]||"?",ie[2]);return Yr(Nt,yt,ie[3]?+ie[3]:void 0,ie[4]?+ie[4]:void 0)}}],[50,pe=>{var ie=Gr.exec(pe);if(ie){if(ie[3]&&ie[3].indexOf(" > eval")>-1){var st=Ao.exec(ie[3]);st&&(ie[1]=ie[1]||"eval",ie[3]=st[1],ie[4]=st[2],ie[5]="")}let yt=ie[3],Nt=ie[1]||"?";return[Nt,yt]=oi(Nt,yt),Yr(yt,Nt,ie[4]?+ie[4]:void 0,ie[5]?+ie[5]:void 0)}}],[40,pe=>{var ie=mt.exec(pe);return ie?Yr(ie[2],ie[1]||"?",+ie[3],ie[4]?+ie[4]:void 0):void 0}]),oi=(pe,ie)=>{var Ue=-1!==pe.indexOf("safari-extension"),st=-1!==pe.indexOf("safari-web-extension");return Ue||st?[-1!==pe.indexOf("@")?pe.split("@")[0]:"?",Ue?`safari-extension:${ie}`:`safari-web-extension:${ie}`]:[pe,ie]},yr=p(2105);let mr=0;function or(){return mr>0}function io(){mr+=1,setTimeout(()=>{mr-=1})}function dr(pe,ie={},Ue){if("function"!=typeof pe)return pe;try{var st=pe.__sentry_wrapped__;if(st)return st;if((0,te.HK)(pe))return pe}catch(pn){return pe}var yt=function(){var pn=Array.prototype.slice.call(arguments);try{Ue&&"function"==typeof Ue&&Ue.apply(this,arguments);var Vn=pn.map(ii=>dr(ii,ie));return pe.apply(this,Vn)}catch(ii){throw io(),(0,yr.$e)(wi=>{wi.addEventProcessor(Mi=>(ie.mechanism&&((0,u.Db)(Mi,void 0,void 0),(0,u.EG)(Mi,ie.mechanism)),Mi.extra=Go(Qn({},Mi.extra),{arguments:pn}),Mi)),(0,yr.Tb)(ii)}),ii}};try{for(var Nt in pe)Object.prototype.hasOwnProperty.call(pe,Nt)&&(yt[Nt]=pe[Nt])}catch(pn){}(0,te.$Q)(yt,pe),(0,te.xp)(pe,"__sentry_wrapped__",yt);try{Object.getOwnPropertyDescriptor(yt,"name").configurable&&Object.defineProperty(yt,"name",{get:()=>pe.name})}catch(pn){}return yt}var $i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class we{static __initStatic(){this.id="TryCatch"}__init(){this.name=we.id}constructor(ie){we.prototype.__init.call(this),this._options=Qn({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},ie)}setupOnce(){var ie=(0,de.R)();this._options.setTimeout&&(0,te.hl)(ie,"setTimeout",Xe),this._options.setInterval&&(0,te.hl)(ie,"setInterval",Xe),this._options.requestAnimationFrame&&(0,te.hl)(ie,"requestAnimationFrame",Te),this._options.XMLHttpRequest&&"XMLHttpRequest"in ie&&(0,te.hl)(XMLHttpRequest.prototype,"send",at);var Ue=this._options.eventTarget;Ue&&(Array.isArray(Ue)?Ue:$i).forEach(Yt)}}function Xe(pe){return function(...ie){return ie[0]=dr(ie[0],{mechanism:{data:{function:Be(pe)},handled:!0,type:"instrument"}}),pe.apply(this,ie)}}function Te(pe){return function(ie){return pe.apply(this,[dr(ie,{mechanism:{data:{function:"requestAnimationFrame",handler:Be(pe)},handled:!0,type:"instrument"}})])}}function at(pe){return function(...ie){var Ue=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(yt=>{yt in Ue&&"function"==typeof Ue[yt]&&(0,te.hl)(Ue,yt,function(Nt){var gn={mechanism:{data:{function:yt,handler:Be(Nt)},handled:!0,type:"instrument"}},pn=(0,te.HK)(Nt);return pn&&(gn.mechanism.data.handler=Be(pn)),dr(Nt,gn)})}),pe.apply(this,ie)}}function Yt(pe){var ie=(0,de.R)(),Ue=ie[pe]&&ie[pe].prototype;!Ue||!Ue.hasOwnProperty||!Ue.hasOwnProperty("addEventListener")||((0,te.hl)(Ue,"addEventListener",function(st){return function(yt,Nt,gn){try{"function"==typeof Nt.handleEvent&&(Nt.handleEvent=dr(Nt.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Be(Nt),target:pe},handled:!0,type:"instrument"}}))}catch(pn){}return st.apply(this,[yt,dr(Nt,{mechanism:{data:{function:"addEventListener",handler:Be(Nt),target:pe},handled:!0,type:"instrument"}}),gn])}}),(0,te.hl)(Ue,"removeEventListener",function(st){return function(yt,Nt,gn){var pn=Nt;try{var Vn=pn&&pn.__sentry_wrapped__;Vn&&st.call(this,yt,Vn,gn)}catch(ii){}return st.call(this,yt,pn,gn)}}))}we.__initStatic();class hn{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=hn.id}__init2(){this._installFunc={onerror:Mn,onunhandledrejection:Zn}}constructor(ie){hn.prototype.__init.call(this),hn.prototype.__init2.call(this),this._options=Qn({onerror:!0,onunhandledrejection:!0},ie)}setupOnce(){Error.stackTraceLimit=50;var ie=this._options;for(var Ue in ie){var st=this._installFunc[Ue];st&&ie[Ue]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.log(`Global Handler attached: ${Ue}`),st(),this._installFunc[Ue]=void 0)}}}function Mn(){Ft("error",pe=>{const[ie,Ue,st]=Xi();if(!ie.getIntegration(hn))return;const{msg:yt,url:Nt,line:gn,column:pn,error:Vn}=pe;if(!(or()||Vn&&Vn.__sentry_own_request__)){var ii=void 0===Vn&&(0,dt.HD)(yt)?function Hi(pe,ie,Ue,st){let Nt=(0,dt.VW)(pe)?pe.message:pe,gn="Error";var pn=Nt.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return pn&&(gn=pn[1],Nt=pn[2]),ui({exception:{values:[{type:gn,value:Nt}]}},ie,Ue,st)}(yt,Nt,gn,pn):ui(rr(Ue,Vn||yt,void 0,st,!1),Nt,gn,pn);ii.level="error",Sr(ie,Vn,ii,"onerror")}})}function Zn(){Ft("unhandledrejection",pe=>{const[ie,Ue,st]=Xi();if(!ie.getIntegration(hn))return;let yt=pe;try{"reason"in pe?yt=pe.reason:"detail"in pe&&"reason"in pe.detail&&(yt=pe.detail.reason)}catch(gn){}if(or()||yt&&yt.__sentry_own_request__)return!0;var Nt=(0,dt.pt)(yt)?function ir(pe){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(pe)}`}]}}}(yt):rr(Ue,yt,void 0,st,!0);Nt.level="error",Sr(ie,yt,Nt,"onunhandledrejection")})}function ui(pe,ie,Ue,st){var yt=pe.exception=pe.exception||{},Nt=yt.values=yt.values||[],gn=Nt[0]=Nt[0]||{},pn=gn.stacktrace=gn.stacktrace||{},Vn=pn.frames=pn.frames||[],ii=isNaN(parseInt(st,10))?void 0:st,wi=isNaN(parseInt(Ue,10))?void 0:Ue,Mi=(0,dt.HD)(ie)&&ie.length>0?ie:(0,Ei.l4)();return 0===Vn.length&&Vn.push({colno:ii,filename:Mi,function:"?",in_app:!0,lineno:wi}),pe}function Sr(pe,ie,Ue,st){(0,u.EG)(Ue,{handled:!1,type:st}),pe.captureEvent(Ue,{originalException:ie})}function Xi(){var pe=(0,ee.Gd)(),ie=pe.getClient(),Ue=ie&&ie.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[pe,Ue.stackParser,Ue.attachStacktrace]}hn.__initStatic();class me{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=me.id}constructor(ie={}){me.prototype.__init.call(this),this._key=ie.key||"cause",this._limit=ie.limit||5}setupOnce(){var ie=(0,ee.Gd)().getClient();!ie||(0,ue.c)((Ue,st)=>{var yt=(0,ee.Gd)().getIntegration(me);return yt?function oe(pe,ie,Ue,st,yt){if(!(st.exception&&st.exception.values&&yt&&(0,dt.V9)(yt.originalException,Error)))return st;var Nt=lt(pe,Ue,yt.originalException,ie);return st.exception.values=[...Nt,...st.exception.values],st}(ie.getOptions().stackParser,yt._key,yt._limit,Ue,st):Ue})}}function lt(pe,ie,Ue,st,yt=[]){if(!(0,dt.V9)(Ue[st],Error)||yt.length+1>=ie)return yt;var Nt=_n(pe,Ue[st]);return lt(pe,ie,Ue[st],st,[Nt,...yt])}me.__initStatic();class fn{constructor(){fn.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=fn.id}setupOnce(ie,Ue){var st=yt=>{var Nt=Ue().getIntegration(fn);if(Nt){try{if(function ni(pe,ie){return!(!ie||!function cr(pe,ie){var Ue=pe.message,st=ie.message;return!(!Ue&&!st||Ue&&!st||!Ue&&st||Ue!==st||!Zr(pe,ie)||!Eo(pe,ie))}(pe,ie)&&!function Cr(pe,ie){var Ue=Po(ie),st=Po(pe);return!!(Ue&&st&&Ue.type===st.type&&Ue.value===st.value&&Zr(pe,ie)&&Eo(pe,ie))}(pe,ie))}(yt,Nt._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(gn){return Nt._previousEvent=yt}return Nt._previousEvent=yt}return yt};st.id=this.name,ie(st)}}function Eo(pe,ie){let Ue=On(pe),st=On(ie);if(!Ue&&!st)return!0;if(Ue&&!st||!Ue&&st||st.length!==Ue.length)return!1;for(let gn=0;gn{if((0,ee.Gd)().getIntegration(br)){if(!Ni.navigator&&!Ni.location&&!Ni.document)return ie;var Ue=ie.request&&ie.request.url||Ni.location&&Ni.location.href;const{referrer:Nt}=Ni.document||{},{userAgent:gn}=Ni.navigator||{};var st=Qn(Qn(Qn({},ie.request&&ie.request.headers),Nt&&{Referer:Nt}),gn&&{"User-Agent":gn}),yt=Go(Qn({},Ue&&{url:Ue}),{headers:st});return Go(Qn({},ie),{request:yt})}return ie})}}function Vo(pe,ie,Ue=function fr(pe){var ie=[];function st(gn){return ie.splice(ie.indexOf(gn),1)[0]}return{$:ie,add:function yt(gn){if(!function Ue(){return void 0===pe||ie.lengthst(pn)).then(null,()=>st(pn).then(null,()=>{})),pn},drain:function Nt(gn){return new j.cW((pn,Vn)=>{let ii=ie.length;if(!ii)return pn(!0);var wi=setTimeout(()=>{gn&&gn>0&&pn(!1)},gn);ie.forEach(Mi=>{(0,j.WD)(Mi).then(()=>{--ii||(clearTimeout(wi),pn(!0))},Vn)})})}}}(pe.bufferSize||30)){let st={};return{send:function Nt(gn){var pn=[];if(Vt(gn,(Mi,co)=>{var qr=ve(co);!function Bo(pe,ie,Ue=Date.now()){return function ro(pe,ie){return pe[ie]||pe.all||0}(pe,ie)>Ue}(st,qr)?pn.push(Mi):pe.recordDroppedEvent("ratelimit_backoff",qr)}),0===pn.length)return(0,j.WD)();var Vn=Ie(gn[0],pn),ii=Mi=>{Vt(Vn,(co,qr)=>{pe.recordDroppedEvent(Mi,ve(qr))})};return Ue.add(()=>ie({body:ti(Vn,pe.textEncoder)}).then(Mi=>{void 0!==Mi.statusCode&&(Mi.statusCode<200||Mi.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn(`Sentry responded with status code ${Mi.statusCode} to sent event.`),st=function sr(pe,{statusCode:ie,headers:Ue},st=Date.now()){var yt=Qn({},pe),Nt=Ue&&Ue["x-sentry-rate-limits"],gn=Ue&&Ue["retry-after"];if(Nt)for(var pn of Nt.trim().split(",")){const[Mi,co]=pn.split(":",2);var Vn=parseInt(Mi,10),ii=1e3*(isNaN(Vn)?60:Vn);if(co)for(var wi of co.split(";"))yt[wi]=st+ii;else yt.all=st+ii}else gn?yt.all=st+function ur(pe,ie=Date.now()){var Ue=parseInt(`${pe}`,10);if(!isNaN(Ue))return 1e3*Ue;var st=Date.parse(`${pe}`);return isNaN(st)?6e4:st-ie}(gn,st):429===ie&&(yt.all=st+6e4);return yt}(st,Mi)},Mi=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error("Failed while sending event:",Mi),ii("network_error")})).then(Mi=>Mi,Mi=>{if(Mi instanceof Hn)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.error("Skipped sending event because buffer is full."),ii("queue_overflow"),(0,j.WD)();throw Mi})},flush:gn=>Ue.drain(gn)}}function Ko(pe,ie=xo()){return Vo(pe,function Ue(st){var yt=Qn({body:st.body,method:"POST",referrerPolicy:"origin",headers:pe.headers,keepalive:st.body.length<=65536},pe.fetchOptions);return ie(pe.url,yt).then(Nt=>({statusCode:Nt.status,headers:{"x-sentry-rate-limits":Nt.headers.get("X-Sentry-Rate-Limits"),"retry-after":Nt.headers.get("Retry-After")}}))})}function Vr(pe){return Vo(pe,function ie(Ue){return new j.cW((st,yt)=>{var Nt=new XMLHttpRequest;for(var gn in Nt.onerror=yt,Nt.onreadystatechange=()=>{4===Nt.readyState&&st({statusCode:Nt.status,headers:{"x-sentry-rate-limits":Nt.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":Nt.getResponseHeader("Retry-After")}})},Nt.open("POST",pe.url),pe.headers)Object.prototype.hasOwnProperty.call(pe.headers,gn)&&Nt.setRequestHeader(gn,pe.headers[gn]);Nt.send(Ue.body)})})}br.__initStatic();var Oo=[new g,new ne,new we,new Mr,new hn,new me,new fn,new br];function rn(pe){pe.startSession({ignoreDuration:!0}),pe.captureSession()}var $n=p(5e3);const Ii="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function er(pe){pe._metadata=pe._metadata||{},pe._metadata.sdk={name:"sentry.javascript.angular",packages:[{name:"npm:@sentry/angular",version:e}],version:e},function Fr(){const pe=$n.q4F&&$n.q4F.major?parseInt($n.q4F.major,10):void 0;pe&&(pe<10&&Ii&&o.kg.warn(`The Sentry SDK does not officially support Angular ${pe}.`,"This version of the Sentry SDK supports Angular 10 and above.","Please consider upgrading your Angular version or downgrading the Sentry SDK."),(0,yr.v)("angular",{version:pe}))}(),function Ne(pe={}){if(void 0===pe.defaultIntegrations&&(pe.defaultIntegrations=Oo),void 0===pe.release){var ie=(0,de.R)();ie.SENTRY_RELEASE&&ie.SENTRY_RELEASE.id&&(pe.release=ie.SENTRY_RELEASE.id)}void 0===pe.autoSessionTracking&&(pe.autoSessionTracking=!0),void 0===pe.sendClientReports&&(pe.sendClientReports=!0);var Ue=Go(Qn({},pe),{stackParser:ot(pe.stackParser||pr),integrations:je(pe),transport:pe.transport||(mn()?Ko:Vr)});(function He(pe,ie){!0===ie.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?o.kg.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var Ue=(0,ee.Gd)(),st=Ue.getScope();st&&st.update(ie.initialScope);var yt=new pe(ie);Ue.bindClient(yt)})(fo,Ue),pe.autoSessionTracking&&function Dn(){if(void 0!==(0,de.R)().document){var Ue=(0,ee.Gd)();!Ue.captureSession||(rn(Ue),Ft("history",({from:st,to:yt})=>{void 0===st||st===yt||rn((0,ee.Gd)())}))}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&o.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")}()}(pe)}"undefined"!=typeof Zone&&Zone,(0,de.R)()},2105:(X,N,p)=>{"use strict";p.d(N,{$e:()=>O,Tb:()=>o,YA:()=>H,n_:()=>g,v:()=>b});var e=p(9248);function o(q,te){return(0,e.Gd)().captureException(q,{captureContext:te})}function g(q){(0,e.Gd)().addBreadcrumb(q)}function b(q,te){(0,e.Gd)().setContext(q,te)}function H(q,te){(0,e.Gd)().setTag(q,te)}function O(q){(0,e.Gd)().withScope(q)}},9248:(X,N,p)=>{"use strict";p.d(N,{Gd:()=>O});var e=p(5535),o=p(3967),u=p(1446),d=p(7576),c=p(723),g=p(383),b=p(1539),A=100;class I{__init(){this._stack=[{}]}constructor(ue,ee=new g.s,Q=4){this._version=Q,I.prototype.__init.call(this),this.getStackTop().scope=ee,ue&&this.bindClient(ue)}isOlderThan(ue){return this._version{je.captureException(ue,Go(Qn({originalException:ue,syntheticException:se},ee),{event_id:Q}),nt)}),Q}captureMessage(ue,ee,Q){var se=this._lastEventId=Q&&Q.event_id?Q.event_id:(0,e.DM)(),je=new Error(ue);return this._withClient((nt,He)=>{nt.captureMessage(ue,ee,Go(Qn({originalException:ue,syntheticException:je},Q),{event_id:se}),He)}),se}captureEvent(ue,ee){var Q=ee&&ee.event_id?ee.event_id:(0,e.DM)();return"transaction"!==ue.type&&(this._lastEventId=Q),this._withClient((se,je)=>{se.captureEvent(ue,Go(Qn({},ee),{event_id:Q}),je)}),Q}lastEventId(){return this._lastEventId}addBreadcrumb(ue,ee){const{scope:Q,client:se}=this.getStackTop();if(!Q||!se)return;const{beforeBreadcrumb:je=null,maxBreadcrumbs:nt=A}=se.getOptions&&se.getOptions()||{};if(!(nt<=0)){var He=(0,o.yW)(),de=Qn({timestamp:He},ue),Ce=je?(0,u.Cf)(()=>je(de,ee)):de;null!==Ce&&Q.addBreadcrumb(Ce,nt)}}setUser(ue){var ee=this.getScope();ee&&ee.setUser(ue)}setTags(ue){var ee=this.getScope();ee&&ee.setTags(ue)}setExtras(ue){var ee=this.getScope();ee&&ee.setExtras(ue)}setTag(ue,ee){var Q=this.getScope();Q&&Q.setTag(ue,ee)}setExtra(ue,ee){var Q=this.getScope();Q&&Q.setExtra(ue,ee)}setContext(ue,ee){var Q=this.getScope();Q&&Q.setContext(ue,ee)}configureScope(ue){const{scope:ee,client:Q}=this.getStackTop();ee&&Q&&ue(ee)}run(ue){var ee=z(this);try{ue(this)}finally{z(ee)}}getIntegration(ue){var ee=this.getClient();if(!ee)return null;try{return ee.getIntegration(ue)}catch(Q){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`Cannot retrieve integration ${ue.id} from the current Hub`),null}}startTransaction(ue,ee){return this._callExtensionMethod("startTransaction",ue,ee)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(ue=!1){if(ue)return this.endSession();this._sendSessionUpdate()}endSession(){var ue=this.getStackTop(),ee=ue&&ue.scope,Q=ee&&ee.getSession();Q&&(0,b.RJ)(Q),this._sendSessionUpdate(),ee&&ee.setSession()}startSession(ue){const{scope:ee,client:Q}=this.getStackTop(),{release:se,environment:je}=Q&&Q.getOptions()||{};var nt=(0,d.R)();const{userAgent:He}=nt.navigator||{};var de=(0,b.Hv)(Qn(Qn(Qn({release:se,environment:je},ee&&{user:ee.getUser()}),He&&{userAgent:He}),ue));if(ee){var Ce=ee.getSession&&ee.getSession();Ce&&"ok"===Ce.status&&(0,b.CT)(Ce,{status:"exited"}),this.endSession(),ee.setSession(de)}return de}shouldSendDefaultPii(){var ue=this.getClient(),ee=ue&&ue.getOptions();return Boolean(ee&&ee.sendDefaultPii)}_sendSessionUpdate(){const{scope:ue,client:ee}=this.getStackTop();if(ue){var Q=ue.getSession();Q&&ee&&ee.captureSession&&ee.captureSession(Q)}}_withClient(ue){const{scope:ee,client:Q}=this.getStackTop();Q&&ue(Q,ee)}_callExtensionMethod(ue,...ee){var se=H().__SENTRY__;if(se&&se.extensions&&"function"==typeof se.extensions[ue])return se.extensions[ue].apply(this,ee);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&u.kg.warn(`Extension method ${ue} couldn't be found, doing nothing.`)}}function H(){var ne=(0,d.R)();return ne.__SENTRY__=ne.__SENTRY__||{extensions:{},hub:void 0},ne}function z(ne){var ue=H(),ee=te(ue);return V(ue,ne),ee}function O(){var ne=H();return(!q(ne)||te(ne).isOlderThan(4))&&V(ne,new I),(0,c.KV)()?function Z(ne){try{var ue=H().__SENTRY__,ee=ue&&ue.extensions&&ue.extensions.domain&&ue.extensions.domain.active;if(!ee)return te(ne);if(!q(ee)||te(ee).isOlderThan(4)){var Q=te(ne).getStackTop();V(ee,new I(Q.client,g.s.clone(Q.scope)))}return te(ee)}catch(se){return te(ne)}}(ne):te(ne)}function q(ne){return!!(ne&&ne.__SENTRY__&&ne.__SENTRY__.hub)}function te(ne){return(0,d.Y)("hub",()=>new I,ne)}function V(ne,ue){return!!ne&&((ne.__SENTRY__=ne.__SENTRY__||{}).hub=ue,!0)}},383:(X,N,p)=>{"use strict";p.d(N,{c:()=>H,s:()=>A});var e=p(6412),o=p(3967),u=p(509),d=p(1446),c=p(5535),g=p(7576),b=p(1539);class A{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(O){var Z=new A;return O&&(Z._breadcrumbs=[...O._breadcrumbs],Z._tags=Qn({},O._tags),Z._extra=Qn({},O._extra),Z._contexts=Qn({},O._contexts),Z._user=O._user,Z._level=O._level,Z._span=O._span,Z._session=O._session,Z._transactionName=O._transactionName,Z._fingerprint=O._fingerprint,Z._eventProcessors=[...O._eventProcessors],Z._requestSession=O._requestSession,Z._attachments=[...O._attachments]),Z}addScopeListener(O){this._scopeListeners.push(O)}addEventProcessor(O){return this._eventProcessors.push(O),this}setUser(O){return this._user=O||{},this._session&&(0,b.CT)(this._session,{user:O}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(O){return this._requestSession=O,this}setTags(O){return this._tags=Qn(Qn({},this._tags),O),this._notifyScopeListeners(),this}setTag(O,Z){return this._tags=Go(Qn({},this._tags),{[O]:Z}),this._notifyScopeListeners(),this}setExtras(O){return this._extra=Qn(Qn({},this._extra),O),this._notifyScopeListeners(),this}setExtra(O,Z){return this._extra=Go(Qn({},this._extra),{[O]:Z}),this._notifyScopeListeners(),this}setFingerprint(O){return this._fingerprint=O,this._notifyScopeListeners(),this}setLevel(O){return this._level=O,this._notifyScopeListeners(),this}setTransactionName(O){return this._transactionName=O,this._notifyScopeListeners(),this}setContext(O,Z){return null===Z?delete this._contexts[O]:this._contexts=Go(Qn({},this._contexts),{[O]:Z}),this._notifyScopeListeners(),this}setSpan(O){return this._span=O,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){var O=this.getSpan();return O&&O.transaction}setSession(O){return O?this._session=O:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(O){if(!O)return this;if("function"==typeof O){var Z=O(this);return Z instanceof A?Z:this}return O instanceof A?(this._tags=Qn(Qn({},this._tags),O._tags),this._extra=Qn(Qn({},this._extra),O._extra),this._contexts=Qn(Qn({},this._contexts),O._contexts),O._user&&Object.keys(O._user).length&&(this._user=O._user),O._level&&(this._level=O._level),O._fingerprint&&(this._fingerprint=O._fingerprint),O._requestSession&&(this._requestSession=O._requestSession)):(0,e.PO)(O)&&(this._tags=Qn(Qn({},this._tags),O.tags),this._extra=Qn(Qn({},this._extra),O.extra),this._contexts=Qn(Qn({},this._contexts),O.contexts),O.user&&(this._user=O.user),O.level&&(this._level=O.level),O.fingerprint&&(this._fingerprint=O.fingerprint),O.requestSession&&(this._requestSession=O.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(O,Z){var q="number"==typeof Z?Math.min(Z,100):100;if(q<=0)return this;var te=Qn({timestamp:(0,o.yW)()},O);return this._breadcrumbs=[...this._breadcrumbs,te].slice(-q),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(O){return this._attachments.push(O),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(O,Z={}){if(this._extra&&Object.keys(this._extra).length&&(O.extra=Qn(Qn({},this._extra),O.extra)),this._tags&&Object.keys(this._tags).length&&(O.tags=Qn(Qn({},this._tags),O.tags)),this._user&&Object.keys(this._user).length&&(O.user=Qn(Qn({},this._user),O.user)),this._contexts&&Object.keys(this._contexts).length&&(O.contexts=Qn(Qn({},this._contexts),O.contexts)),this._level&&(O.level=this._level),this._transactionName&&(O.transaction=this._transactionName),this._span){O.contexts=Qn({trace:this._span.getTraceContext()},O.contexts);var q=this._span.transaction&&this._span.transaction.name;q&&(O.tags=Qn({transaction:q},O.tags))}return this._applyFingerprint(O),O.breadcrumbs=[...O.breadcrumbs||[],...this._breadcrumbs],O.breadcrumbs=O.breadcrumbs.length>0?O.breadcrumbs:void 0,O.sdkProcessingMetadata=Qn(Qn({},O.sdkProcessingMetadata),this._sdkProcessingMetadata),this._notifyEventProcessors([...I(),...this._eventProcessors],O,Z)}setSDKProcessingMetadata(O){return this._sdkProcessingMetadata=Qn(Qn({},this._sdkProcessingMetadata),O),this}_notifyEventProcessors(O,Z,q,te=0){return new u.cW((V,ne)=>{var ue=O[te];if(null===Z||"function"!=typeof ue)V(Z);else{var ee=ue(Qn({},Z),q);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&ue.id&&null===ee&&d.kg.log(`Event processor "${ue.id}" dropped event`),(0,e.J8)(ee)?ee.then(Q=>this._notifyEventProcessors(O,Q,q,te+1).then(V)).then(null,ne):this._notifyEventProcessors(O,ee,q,te+1).then(V).then(null,ne)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(O=>{O(this)}),this._notifyingListeners=!1)}_applyFingerprint(O){O.fingerprint=O.fingerprint?(0,c.lE)(O.fingerprint):[],this._fingerprint&&(O.fingerprint=O.fingerprint.concat(this._fingerprint)),O.fingerprint&&!O.fingerprint.length&&delete O.fingerprint}}function I(){return(0,g.Y)("globalEventProcessors",()=>[])}function H(z){I().push(z)}},1539:(X,N,p)=>{"use strict";p.d(N,{CT:()=>c,Hv:()=>d,RJ:()=>g});var e=p(3967),o=p(5535),u=p(7759);function d(k){var A=(0,e.ph)(),I={sid:(0,o.DM)(),init:!0,timestamp:A,started:A,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function b(k){return(0,u.Jr)({sid:`${k.sid}`,init:k.init,started:new Date(1e3*k.started).toISOString(),timestamp:new Date(1e3*k.timestamp).toISOString(),status:k.status,errors:k.errors,did:"number"==typeof k.did||"string"==typeof k.did?`${k.did}`:void 0,duration:k.duration,attrs:{release:k.release,environment:k.environment,ip_address:k.ipAddress,user_agent:k.userAgent}})}(I)};return k&&c(I,k),I}function c(k,A={}){if(A.user&&(!k.ipAddress&&A.user.ip_address&&(k.ipAddress=A.user.ip_address),!k.did&&!A.did&&(k.did=A.user.id||A.user.email||A.user.username)),k.timestamp=A.timestamp||(0,e.ph)(),A.ignoreDuration&&(k.ignoreDuration=A.ignoreDuration),A.sid&&(k.sid=32===A.sid.length?A.sid:(0,o.DM)()),void 0!==A.init&&(k.init=A.init),!k.did&&A.did&&(k.did=`${A.did}`),"number"==typeof A.started&&(k.started=A.started),k.ignoreDuration)k.duration=void 0;else if("number"==typeof A.duration)k.duration=A.duration;else{var I=k.timestamp-k.started;k.duration=I>=0?I:0}A.release&&(k.release=A.release),A.environment&&(k.environment=A.environment),!k.ipAddress&&A.ipAddress&&(k.ipAddress=A.ipAddress),!k.userAgent&&A.userAgent&&(k.userAgent=A.userAgent),"number"==typeof A.errors&&(k.errors=A.errors),A.status&&(k.status=A.status)}function g(k,A){let I={};A?I={status:A}:"ok"===k.status&&(I={status:"exited"}),c(k,I)}},6477:(X,N,p)=>{"use strict";p.d(N,{Rt:()=>u,l4:()=>c});var e=p(7576),o=p(6412);function u(b,k){try{let Z=b;var H=[];let q=0,te=0;var O=" > ".length;let V;for(;Z&&q++<5&&(V=d(Z,k),!("html"===V||q>1&&te+H.length*O+V.length>=80));)H.push(V),te+=V.length,Z=Z.parentNode;return H.reverse().join(" > ")}catch(Z){return""}}function d(b,k){var A=b,I=[];let H,z,O,Z,q;if(!A||!A.tagName)return"";I.push(A.tagName.toLowerCase());var te=k&&k.length?k.filter(ne=>A.getAttribute(ne)).map(ne=>[ne,A.getAttribute(ne)]):null;if(te&&te.length)te.forEach(ne=>{I.push(`[${ne[0]}="${ne[1]}"]`)});else if(A.id&&I.push(`#${A.id}`),H=A.className,H&&(0,o.HD)(H))for(z=H.split(/\s+/),q=0;q{"use strict";p.d(N,{R:()=>u,Y:()=>d});var e=p(723),o={};function u(){return(0,e.KV)()?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function d(c,g,b){var k=b||u(),A=k.__SENTRY__=k.__SENTRY__||{};return A[c]||(A[c]=g())}},6412:(X,N,p)=>{"use strict";p.d(N,{Cy:()=>Z,HD:()=>b,J8:()=>O,Kj:()=>z,PO:()=>A,TX:()=>c,V9:()=>te,VW:()=>d,VZ:()=>o,cO:()=>I,fm:()=>g,i2:()=>q,kK:()=>H,pt:()=>k});var e=Object.prototype.toString;function o(V){switch(e.call(V)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return te(V,Error)}}function u(V,ne){return e.call(V)===`[object ${ne}]`}function d(V){return u(V,"ErrorEvent")}function c(V){return u(V,"DOMError")}function g(V){return u(V,"DOMException")}function b(V){return u(V,"String")}function k(V){return null===V||"object"!=typeof V&&"function"!=typeof V}function A(V){return u(V,"Object")}function I(V){return"undefined"!=typeof Event&&te(V,Event)}function H(V){return"undefined"!=typeof Element&&te(V,Element)}function z(V){return u(V,"RegExp")}function O(V){return Boolean(V&&V.then&&"function"==typeof V.then)}function Z(V){return A(V)&&"nativeEvent"in V&&"preventDefault"in V&&"stopPropagation"in V}function q(V){return"number"==typeof V&&V!=V}function te(V,ne){try{return V instanceof ne}catch(ue){return!1}}},1446:(X,N,p)=>{"use strict";p.d(N,{Cf:()=>c,RU:()=>d,kg:()=>b});var e=p(7576),o=(0,e.R)(),d=["debug","info","warn","error","log","assert","trace"];function c(k){var A=(0,e.R)();if(!("console"in A))return k();var I=A.console,H={};d.forEach(z=>{var O=I[z]&&I[z].__sentry_original__;z in A.console&&O&&(H[z]=I[z],I[z]=O)});try{return k()}finally{Object.keys(H).forEach(z=>{I[z]=H[z]})}}function g(){let k=!1;var A={enable:()=>{k=!0},disable:()=>{k=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?d.forEach(I=>{A[I]=(...H)=>{k&&c(()=>{o.console[I](`Sentry Logger [${I}]:`,...H)})}}):d.forEach(I=>{A[I]=()=>{}}),A}let b;b="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?(0,e.Y)("logger",g):g()},5535:(X,N,p)=>{"use strict";p.d(N,{DM:()=>u,Db:()=>g,EG:()=>b,YO:()=>H,jH:()=>c,lE:()=>z});var e=p(7576),o=p(7759);function u(){var O=(0,e.R)(),Z=O.crypto||O.msCrypto;if(Z&&Z.randomUUID)return Z.randomUUID().replace(/-/g,"");var q=Z&&Z.getRandomValues?()=>Z.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,te=>(te^(15&q())>>te/4).toString(16))}function d(O){return O.exception&&O.exception.values?O.exception.values[0]:void 0}function c(O){const{message:Z,event_id:q}=O;if(Z)return Z;var te=d(O);return te?te.type&&te.value?`${te.type}: ${te.value}`:te.type||te.value||q||"":q||""}function g(O,Z,q){var te=O.exception=O.exception||{},V=te.values=te.values||[],ne=V[0]=V[0]||{};ne.value||(ne.value=Z||""),ne.type||(ne.type=q||"Error")}function b(O,Z){var q=d(O);if(q){var V=q.mechanism;if(q.mechanism=Qn(Qn(Qn({},{type:"generic",handled:!0}),V),Z),Z&&"data"in Z){var ne=Qn(Qn({},V&&V.data),Z.data);q.mechanism.data=ne}}}function H(O){if(O&&O.__sentry_captured__)return!0;try{(0,o.xp)(O,"__sentry_captured__",!0)}catch(Z){}return!1}function z(O){return Array.isArray(O)?O:[O]}},723:(X,N,p)=>{"use strict";function o(){return!function e(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function u(c,g){return c.require(g)}p.d(N,{l$:()=>u,KV:()=>o}),X=p.hmd(X)},7759:(X,N,p)=>{"use strict";p.d(N,{$Q:()=>g,HK:()=>b,Jr:()=>O,Sh:()=>A,_j:()=>k,hl:()=>d,xp:()=>c,zf:()=>z});var e=p(6477),o=p(6412),u=p(1090);function d(te,V,ne){if(V in te){var ue=te[V],ee=ne(ue);if("function"==typeof ee)try{g(ee,ue)}catch(Q){}te[V]=ee}}function c(te,V,ne){Object.defineProperty(te,V,{value:ne,writable:!0,configurable:!0})}function g(te,V){te.prototype=V.prototype=V.prototype||{},c(te,"__sentry_original__",V)}function b(te){return te.__sentry_original__}function k(te){return Object.keys(te).map(V=>`${encodeURIComponent(V)}=${encodeURIComponent(te[V])}`).join("&")}function A(te){if((0,o.VZ)(te))return Qn({message:te.message,name:te.name,stack:te.stack},H(te));if((0,o.cO)(te)){var V=Qn({type:te.type,target:I(te.target),currentTarget:I(te.currentTarget)},H(te));return"undefined"!=typeof CustomEvent&&(0,o.V9)(te,CustomEvent)&&(V.detail=te.detail),V}return te}function I(te){try{return(0,o.kK)(te)?(0,e.Rt)(te):Object.prototype.toString.call(te)}catch(V){return""}}function H(te){if("object"==typeof te&&null!==te){var V={};for(var ne in te)Object.prototype.hasOwnProperty.call(te,ne)&&(V[ne]=te[ne]);return V}return{}}function z(te,V=40){var ne=Object.keys(A(te));if(ne.sort(),!ne.length)return"[object has no keys]";if(ne[0].length>=V)return(0,u.$G)(ne[0],V);for(let ee=ne.length;ee>0;ee--){var ue=ne.slice(0,ee).join(", ");if(!(ue.length>V))return ee===ne.length?ue:(0,u.$G)(ue,V)}return""}function O(te){return Z(te,new Map)}function Z(te,V){if((0,o.PO)(te)){if(void 0!==(ne=V.get(te)))return ne;var ue={};for(var ee of(V.set(te,ue),Object.keys(te)))void 0!==te[ee]&&(ue[ee]=Z(te[ee],V));return ue}var ne;return Array.isArray(te)?void 0!==(ne=V.get(te))?ne:(V.set(te,ue=[]),te.forEach(je=>{ue.push(Z(je,V))}),ue):te}},1090:(X,N,p)=>{"use strict";p.d(N,{$G:()=>o,nK:()=>d,zC:()=>c});var e=p(6412);function o(b,k=0){return"string"!=typeof b||0===k||b.length<=k?b:`${b.substr(0,k)}...`}function d(b,k){if(!Array.isArray(b))return"";var A=[];for(let H=0;H{"use strict";p.d(N,{$2:()=>d,WD:()=>u,cW:()=>c});var o,g,e=p(6412);function u(g){return new c(b=>{b(g)})}function d(g){return new c((b,k)=>{k(g)})}(g=o||(o={}))[g.PENDING=0]="PENDING",g[g.RESOLVED=1]="RESOLVED",g[g.REJECTED=2]="REJECTED";class c{__init(){this._state=o.PENDING}__init2(){this._handlers=[]}constructor(b){c.prototype.__init.call(this),c.prototype.__init2.call(this),c.prototype.__init3.call(this),c.prototype.__init4.call(this),c.prototype.__init5.call(this),c.prototype.__init6.call(this);try{b(this._resolve,this._reject)}catch(k){this._reject(k)}}then(b,k){return new c((A,I)=>{this._handlers.push([!1,H=>{if(b)try{A(b(H))}catch(z){I(z)}else A(H)},H=>{if(k)try{A(k(H))}catch(z){I(z)}else I(H)}]),this._executeHandlers()})}catch(b){return this.then(k=>k,b)}finally(b){return new c((k,A)=>{let I,H;return this.then(z=>{H=!1,I=z,b&&b()},z=>{H=!0,I=z,b&&b()}).then(()=>{H?A(I):k(I)})})}__init3(){this._resolve=b=>{this._setResult(o.RESOLVED,b)}}__init4(){this._reject=b=>{this._setResult(o.REJECTED,b)}}__init5(){this._setResult=(b,k)=>{if(this._state===o.PENDING){if((0,e.J8)(k))return void k.then(this._resolve,this._reject);this._state=b,this._value=k,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state!==o.PENDING){var b=this._handlers.slice();this._handlers=[],b.forEach(k=>{k[0]||(this._state===o.RESOLVED&&k[1](this._value),this._state===o.REJECTED&&k[2](this._value),k[0]=!0)})}}}}},3967:(X,N,p)=>{"use strict";p.d(N,{ph:()=>A,yW:()=>k});var e=p(7576),o=p(723);X=p.hmd(X);var u={nowSeconds:()=>Date.now()/1e3},g=(0,o.KV)()?function c(){try{return(0,o.l$)(X,"perf_hooks").performance}catch(q){return}}():function d(){const{performance:Z}=(0,e.R)();if(Z&&Z.now)return{now:()=>Z.now(),timeOrigin:Date.now()-Z.now()}}(),b=void 0===g?u:{nowSeconds:()=>(g.timeOrigin+g.now())/1e3},k=u.nowSeconds.bind(u),A=b.nowSeconds.bind(b);let z;(()=>{const{performance:Z}=(0,e.R)();if(Z&&Z.now){var q=36e5,te=Z.now(),V=Date.now(),ne=Z.timeOrigin?Math.abs(Z.timeOrigin+te-V):q,ue=ne{"use strict";var p=function(){function e(){}return e.UUID=function(){if("undefined"!=typeof window&&void 0!==window.crypto&&void 0!==window.crypto.getRandomValues){var o=new Uint16Array(8);return window.crypto.getRandomValues(o),this.pad4(o[0])+this.pad4(o[1])+"-"+this.pad4(o[2])+"-"+this.pad4(o[3])+"-"+this.pad4(o[4])+"-"+this.pad4(o[5])+this.pad4(o[6])+this.pad4(o[7])}return this.random4()+this.random4()+"-"+this.random4()+"-"+this.random4()+"-"+this.random4()+"-"+this.random4()+this.random4()+this.random4()},e.pad4=function(o){for(var u=o.toString(16);u.length<4;)u="0"+u;return u},e.random4=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)},e}();N.h=p},1520:(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_RESULT__;(function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD=__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];(root.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(X){return"[object Array]"===Object.prototype.toString.call(X)}),ARRAY_BUFFER&&(root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(X){return"object"==typeof X&&X.buffer&&X.buffer.constructor===ArrayBuffer});var createOutputMethod=function(X,N){return function(p){return new Sha256(N,!0).update(p)[X]()}},createMethod=function(X){var N=createOutputMethod("hex",X);NODE_JS&&(N=nodeWrap(N,X)),N.create=function(){return new Sha256(X)},N.update=function(o){return N.create().update(o)};for(var p=0;p>6,u[c++]=128|63&g):g<55296||g>=57344?(u[c++]=224|g>>12,u[c++]=128|g>>6&63,u[c++]=128|63&g):(g=65536+((1023&g)<<10|1023&X.charCodeAt(++e)),u[c++]=240|g>>18,u[c++]=128|g>>12&63,u[c++]=128|g>>6&63,u[c++]=128|63&g);X=u}else{if("object"!==o)throw new Error(ERROR);if(null===X)throw new Error(ERROR);if(ARRAY_BUFFER&&X.constructor===ArrayBuffer)X=new Uint8Array(X);else if(!(Array.isArray(X)||ARRAY_BUFFER&&ArrayBuffer.isView(X)))throw new Error(ERROR)}X.length>64&&(X=new Sha256(N,!0).update(X).array());var b=[],k=[];for(e=0;e<64;++e){var A=X[e]||0;b[e]=92^A,k[e]=54^A}Sha256.call(this,N,p),this.update(k),this.oKeyPad=b,this.inner=!0,this.sharedMemory=p}Sha256.prototype.update=function(X){if(!this.finalized){var N,p=typeof X;if("string"!==p){if("object"!==p)throw new Error(ERROR);if(null===X)throw new Error(ERROR);if(ARRAY_BUFFER&&X.constructor===ArrayBuffer)X=new Uint8Array(X);else if(!(Array.isArray(X)||ARRAY_BUFFER&&ArrayBuffer.isView(X)))throw new Error(ERROR);N=!0}for(var e,u,o=0,d=X.length,c=this.blocks;o>2]|=X[o]<>2]|=e<>2]|=(192|e>>6)<>2]|=(128|63&e)<=57344?(c[u>>2]|=(224|e>>12)<>2]|=(128|e>>6&63)<>2]|=(128|63&e)<>2]|=(240|e>>18)<>2]|=(128|e>>12&63)<>2]|=(128|e>>6&63)<>2]|=(128|63&e)<=64?(this.block=c[16],this.start=u-64,this.hash(),this.hashed=!0):this.start=u}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var X=this.blocks,N=this.lastByteIndex;X[16]=this.block,X[N>>2]|=EXTRA[3&N],this.block=X[16],N>=56&&(this.hashed||this.hash(),X[0]=this.block,X[16]=X[1]=X[2]=X[3]=X[4]=X[5]=X[6]=X[7]=X[8]=X[9]=X[10]=X[11]=X[12]=X[13]=X[14]=X[15]=0),X[14]=this.hBytes<<3|this.bytes>>>29,X[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var b,H,Z,q,te,V,X=this.h0,N=this.h1,p=this.h2,e=this.h3,o=this.h4,u=this.h5,d=this.h6,c=this.h7,g=this.blocks;for(b=16;b<64;++b)g[b]=g[b-16]+(((H=g[b-15])>>>7|H<<25)^(H>>>18|H<<14)^H>>>3)+g[b-7]+(((H=g[b-2])>>>17|H<<15)^(H>>>19|H<<13)^H>>>10)<<0;for(V=N&p,b=0;b<64;b+=4)this.first?(this.is224?(Z=300032,c=(H=g[0]-1413257819)-150054599<<0,e=H+24177077<<0):(Z=704751109,c=(H=g[0]-210244248)-1521486534<<0,e=H+143694565<<0),this.first=!1):(c=e+(H=c+((o>>>6|o<<26)^(o>>>11|o<<21)^(o>>>25|o<<7))+(o&u^~o&d)+K[b]+g[b])<<0,e=H+(((X>>>2|X<<30)^(X>>>13|X<<19)^(X>>>22|X<<10))+((Z=X&N)^X&p^V))<<0),d=p+(H=d+((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&o^~c&u)+K[b+1]+g[b+1])<<0,p=H+(((e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10))+((q=e&X)^e&N^Z))<<0,u=N+(H=u+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&c^~d&o)+K[b+2]+g[b+2])<<0,N=H+(((p>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10))+((te=p&e)^p&X^q))<<0,o=X+(H=o+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&d^~u&c)+K[b+3]+g[b+3])<<0,X=H+(((N>>>2|N<<30)^(N>>>13|N<<19)^(N>>>22|N<<10))+((V=N&p)^N&e^te))<<0;this.h0=this.h0+X<<0,this.h1=this.h1+N<<0,this.h2=this.h2+p<<0,this.h3=this.h3+e<<0,this.h4=this.h4+o<<0,this.h5=this.h5+u<<0,this.h6=this.h6+d<<0,this.h7=this.h7+c<<0},Sha256.prototype.hex=function(){this.finalize();var X=this.h0,N=this.h1,p=this.h2,e=this.h3,o=this.h4,u=this.h5,d=this.h6,c=this.h7,g=HEX_CHARS[X>>28&15]+HEX_CHARS[X>>24&15]+HEX_CHARS[X>>20&15]+HEX_CHARS[X>>16&15]+HEX_CHARS[X>>12&15]+HEX_CHARS[X>>8&15]+HEX_CHARS[X>>4&15]+HEX_CHARS[15&X]+HEX_CHARS[N>>28&15]+HEX_CHARS[N>>24&15]+HEX_CHARS[N>>20&15]+HEX_CHARS[N>>16&15]+HEX_CHARS[N>>12&15]+HEX_CHARS[N>>8&15]+HEX_CHARS[N>>4&15]+HEX_CHARS[15&N]+HEX_CHARS[p>>28&15]+HEX_CHARS[p>>24&15]+HEX_CHARS[p>>20&15]+HEX_CHARS[p>>16&15]+HEX_CHARS[p>>12&15]+HEX_CHARS[p>>8&15]+HEX_CHARS[p>>4&15]+HEX_CHARS[15&p]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]+HEX_CHARS[u>>28&15]+HEX_CHARS[u>>24&15]+HEX_CHARS[u>>20&15]+HEX_CHARS[u>>16&15]+HEX_CHARS[u>>12&15]+HEX_CHARS[u>>8&15]+HEX_CHARS[u>>4&15]+HEX_CHARS[15&u]+HEX_CHARS[d>>28&15]+HEX_CHARS[d>>24&15]+HEX_CHARS[d>>20&15]+HEX_CHARS[d>>16&15]+HEX_CHARS[d>>12&15]+HEX_CHARS[d>>8&15]+HEX_CHARS[d>>4&15]+HEX_CHARS[15&d];return this.is224||(g+=HEX_CHARS[c>>28&15]+HEX_CHARS[c>>24&15]+HEX_CHARS[c>>20&15]+HEX_CHARS[c>>16&15]+HEX_CHARS[c>>12&15]+HEX_CHARS[c>>8&15]+HEX_CHARS[c>>4&15]+HEX_CHARS[15&c]),g},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var X=this.h0,N=this.h1,p=this.h2,e=this.h3,o=this.h4,u=this.h5,d=this.h6,c=this.h7,g=[X>>24&255,X>>16&255,X>>8&255,255&X,N>>24&255,N>>16&255,N>>8&255,255&N,p>>24&255,p>>16&255,p>>8&255,255&p,e>>24&255,e>>16&255,e>>8&255,255&e,o>>24&255,o>>16&255,o>>8&255,255&o,u>>24&255,u>>16&255,u>>8&255,255&u,d>>24&255,d>>16&255,d>>8&255,255&d];return this.is224||g.push(c>>24&255,c>>16&255,c>>8&255,255&c),g},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var X=new ArrayBuffer(this.is224?28:32),N=new DataView(X);return N.setUint32(0,this.h0),N.setUint32(4,this.h1),N.setUint32(8,this.h2),N.setUint32(12,this.h3),N.setUint32(16,this.h4),N.setUint32(20,this.h5),N.setUint32(24,this.h6),this.is224||N.setUint32(28,this.h7),X},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var X=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(X),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()},2113:module=>{var X;X=function(){var define,module,exports;return function X(N,p,e){function o(c,g){if(!p[c]){if(!N[c]){if(u)return u(c,!0);var k=new Error("Cannot find module '"+c+"'");throw k.code="MODULE_NOT_FOUND",k}var A=p[c]={exports:{}};N[c][0].call(A.exports,function(I){return o(N[c][1][I]||I)},A,A.exports,X,N,p,e)}return p[c].exports}for(var u=void 0,d=0;d1?arguments:c;return e(b,u.bind(null,g))}},{"./prototypes/array":9}],2:[function(X,N,p){"use strict";var e=X("./function-name");N.exports=function(u){return u.constructor&&u.constructor.name||"function"==typeof u.constructor&&e(u.constructor)||null}},{"./function-name":5}],3:[function(X,N,p){"use strict";p.wrap=function(e,o){var u=function(){return p.printWarning(o),e.apply(this,arguments)};return e.prototype&&(u.prototype=e.prototype),u},p.defaultMsg=function(e,o){return e+"."+o+" is deprecated and will be removed from the public API in a future version of "+e+"."},p.printWarning=function(e){"undefined"!=typeof console&&(console.info?console.info(e):console.log(e))}},{}],4:[function(X,N,p){"use strict";N.exports=function(o,u){var d=!0;try{o.forEach(function(){if(!u.apply(this,arguments))throw new Error})}catch(c){d=!1}return d}},{}],5:[function(X,N,p){"use strict";N.exports=function(o){return o?o.displayName||o.name||(String(o).match(/function ([^\s(]+)/)||[])[1]:""}},{}],6:[function(X,N,p){"use strict";var e;e="undefined"!=typeof global?global:"undefined"!=typeof window?window:self,N.exports=e},{}],7:[function(X,N,p){"use strict";N.exports={global:X("./global"),calledInOrder:X("./called-in-order"),className:X("./class-name"),deprecated:X("./deprecated"),every:X("./every"),functionName:X("./function-name"),orderByFirstCall:X("./order-by-first-call"),prototypes:X("./prototypes"),typeOf:X("./type-of"),valueToString:X("./value-to-string")}},{"./called-in-order":1,"./class-name":2,"./deprecated":3,"./every":4,"./function-name":5,"./global":6,"./order-by-first-call":8,"./prototypes":12,"./type-of":17,"./value-to-string":18}],8:[function(X,N,p){"use strict";var e=X("./prototypes/array").sort,o=X("./prototypes/array").slice;function u(d,c){var g=d.getCall(0),b=c.getCall(0);return(g&&g.callId||-1)<(b&&b.callId||-1)?-1:1}N.exports=function(c){return e(o(c),u)}},{"./prototypes/array":9}],9:[function(X,N,p){"use strict";var e=X("./copy-prototype");N.exports=e(Array.prototype)},{"./copy-prototype":10}],10:[function(X,N,p){"use strict";var e=Function.call;N.exports=function(u){return Object.getOwnPropertyNames(u).reduce(function(d,c){return"size"!==c&&"caller"!==c&&"callee"!==c&&"arguments"!==c&&"function"==typeof u[c]&&(d[c]=e.bind(u[c])),d},Object.create(null))}},{}],11:[function(X,N,p){"use strict";var e=X("./copy-prototype");N.exports=e(Function.prototype)},{"./copy-prototype":10}],12:[function(X,N,p){"use strict";N.exports={array:X("./array"),function:X("./function"),map:X("./map"),object:X("./object"),set:X("./set"),string:X("./string")}},{"./array":9,"./function":11,"./map":13,"./object":14,"./set":15,"./string":16}],13:[function(X,N,p){"use strict";var e=X("./copy-prototype");N.exports=e(Map.prototype)},{"./copy-prototype":10}],14:[function(X,N,p){"use strict";var e=X("./copy-prototype");N.exports=e(Object.prototype)},{"./copy-prototype":10}],15:[function(X,N,p){"use strict";var e=X("./copy-prototype");N.exports=e(Set.prototype)},{"./copy-prototype":10}],16:[function(X,N,p){"use strict";var e=X("./copy-prototype");N.exports=e(String.prototype)},{"./copy-prototype":10}],17:[function(X,N,p){"use strict";var e=X("type-detect");N.exports=function(u){return e(u).toLowerCase()}},{"type-detect":19}],18:[function(X,N,p){"use strict";N.exports=function e(o){return o&&o.toString?o.toString():String(o)}},{}],19:[function(X,N,p){var o;o=function(){"use strict";var e="function"==typeof Promise,o="object"==typeof self?self:global,u="undefined"!=typeof Symbol,d="undefined"!=typeof Map,c="undefined"!=typeof Set,g="undefined"!=typeof WeakMap,b="undefined"!=typeof WeakSet,k="undefined"!=typeof DataView,A=u&&void 0!==Symbol.iterator,I=u&&void 0!==Symbol.toStringTag,H=c&&"function"==typeof Set.prototype.entries,z=d&&"function"==typeof Map.prototype.entries,O=H&&Object.getPrototypeOf((new Set).entries()),Z=z&&Object.getPrototypeOf((new Map).entries()),q=A&&"function"==typeof Array.prototype[Symbol.iterator],te=q&&Object.getPrototypeOf([][Symbol.iterator]()),V=A&&"function"==typeof String.prototype[Symbol.iterator],ne=V&&Object.getPrototypeOf(""[Symbol.iterator]());return function Q(se){var je=typeof se;if("object"!==je)return je;if(null===se)return"null";if(se===o)return"global";if(Array.isArray(se)&&(!1===I||!(Symbol.toStringTag in se)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&se===window.location)return"Location";if("object"==typeof window.document&&se===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&se===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&se===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&se instanceof window.HTMLElement){if("BLOCKQUOTE"===se.tagName)return"HTMLQuoteElement";if("TD"===se.tagName)return"HTMLTableDataCellElement";if("TH"===se.tagName)return"HTMLTableHeaderCellElement"}}var nt=I&&se[Symbol.toStringTag];if("string"==typeof nt)return nt;var He=Object.getPrototypeOf(se);return He===RegExp.prototype?"RegExp":He===Date.prototype?"Date":e&&He===Promise.prototype?"Promise":c&&He===Set.prototype?"Set":d&&He===Map.prototype?"Map":b&&He===WeakSet.prototype?"WeakSet":g&&He===WeakMap.prototype?"WeakMap":k&&He===DataView.prototype?"DataView":d&&He===Z?"Map Iterator":c&&He===O?"Set Iterator":q&&He===te?"Array Iterator":V&&He===ne?"String Iterator":null===He?"Object":Object.prototype.toString.call(se).slice(8,-1)}},"object"==typeof p&&void 0!==N?N.exports=o():"function"==typeof define&&define.amd?define(o):this.typeDetect=o()},{}],20:[function(require,module,exports){"use strict";var globalObject=require("@sinonjs/commons").global;function withGlobal(_global){var userAgent=_global.navigator&&_global.navigator.userAgent,isRunningInIE=userAgent&&userAgent.indexOf("MSIE ")>-1,maxTimeout=Math.pow(2,31)-1,NOOP=function(){},NOOP_ARRAY=function(){return[]},timeoutResult=_global.setTimeout(NOOP,0),addTimerReturnsObject="object"==typeof timeoutResult,hrtimePresent=_global.process&&"function"==typeof _global.process.hrtime,hrtimeBigintPresent=hrtimePresent&&"function"==typeof _global.process.hrtime.bigint,nextTickPresent=_global.process&&"function"==typeof _global.process.nextTick,performancePresent=_global.performance&&"function"==typeof _global.performance.now,hasPerformancePrototype=_global.Performance&&(typeof _global.Performance).match(/^(function|object)$/),queueMicrotaskPresent=_global.hasOwnProperty("queueMicrotask"),requestAnimationFramePresent=_global.requestAnimationFrame&&"function"==typeof _global.requestAnimationFrame,cancelAnimationFramePresent=_global.cancelAnimationFrame&&"function"==typeof _global.cancelAnimationFrame,requestIdleCallbackPresent=_global.requestIdleCallback&&"function"==typeof _global.requestIdleCallback,cancelIdleCallbackPresent=_global.cancelIdleCallback&&"function"==typeof _global.cancelIdleCallback,setImmediatePresent=_global.setImmediate&&"function"==typeof _global.setImmediate;isRunningInIE&&(_global.setTimeout=_global.setTimeout,_global.clearTimeout=_global.clearTimeout,_global.setInterval=_global.setInterval,_global.clearInterval=_global.clearInterval,_global.Date=_global.Date),setImmediatePresent&&(_global.setImmediate=_global.setImmediate,_global.clearImmediate=_global.clearImmediate),_global.clearTimeout(timeoutResult);var NativeDate=_global.Date,uniqueTimerId=1;function isNumberFinite(X){return Number.isFinite?Number.isFinite(X):"number"==typeof X&&isFinite(X)}function parseTime(X){if(!X)return 0;var u,N=X.split(":"),p=N.length,e=p,o=0;if(p>3||!/^(\d\d:){0,2}\d\d?$/.test(X))throw new Error("tick only understands numbers, 'm:s' and 'h:m:s'. Each part must be two digits");for(;e--;){if((u=parseInt(N[e],10))>=60)throw new Error("Invalid time "+X);o+=u*Math.pow(60,p-e-1)}return 1e3*o}function nanoRemainder(X){var N=1e6,p=1e6*X%N;return Math.floor(p<0?p+N:p)}function getEpoch(X){if(!X)return 0;if("function"==typeof X.getTime)return X.getTime();if("number"==typeof X)return X;throw new TypeError("now should be milliseconds since UNIX epoch")}function inRange(X,N,p){return p&&p.callAt>=X&&p.callAt<=N}function mirrorDateProperties(X,N){var p;for(p in N)N.hasOwnProperty(p)&&(X[p]=N[p]);return N.now?X.now=function(){return X.clock.now}:delete X.now,N.toSource?X.toSource=function(){return N.toSource()}:delete X.toSource,X.toString=function(){return N.toString()},X.prototype=N.prototype,X.parse=N.parse,X.UTC=N.UTC,X.prototype.toUTCString=N.prototype.toUTCString,X}function createDate(){return mirrorDateProperties(function X(N,p,e,o,u,d,c){if(!(this instanceof X))return new NativeDate(X.clock.now).toString();switch(arguments.length){case 0:return new NativeDate(X.clock.now);case 1:return new NativeDate(N);case 2:return new NativeDate(N,p);case 3:return new NativeDate(N,p,e);case 4:return new NativeDate(N,p,e,o);case 5:return new NativeDate(N,p,e,o,u);case 6:return new NativeDate(N,p,e,o,u,d);default:return new NativeDate(N,p,e,o,u,d,c)}},NativeDate)}function enqueueJob(X,N){X.jobs||(X.jobs=[]),X.jobs.push(N)}function runJobs(X){if(X.jobs){for(var N=0;NX.loopLimit)throw new Error("Aborting after running "+X.loopLimit+" timers, assuming an infinite loop!")}X.jobs=[]}}function addTimer(X,N){if(void 0===N.func)throw new Error("Callback must be provided to timer calls");if(N.type=N.immediate?"Immediate":"Timeout",N.hasOwnProperty("delay")&&(isNumberFinite(N.delay)||(N.delay=0),N.delay=N.delay>maxTimeout?1:N.delay,N.delay=Math.max(0,N.delay)),N.hasOwnProperty("interval")&&(N.type="Interval",N.interval=N.interval>maxTimeout?1:N.interval),N.hasOwnProperty("animation")&&(N.type="AnimationFrame",N.animation=!0),X.timers||(X.timers={}),N.id=uniqueTimerId++,N.createdAt=X.now,N.callAt=X.now+(parseInt(N.delay)||(X.duringTick?1:0)),X.timers[N.id]=N,addTimerReturnsObject){var p={id:N.id,ref:function(){return p},unref:function(){return p},refresh:function(){return p}};return p}return N.id}function compareTimers(X,N){return X.callAtN.callAt?1:X.immediate&&!N.immediate?-1:!X.immediate&&N.immediate?1:X.createdAtN.createdAt?1:X.idN.id?1:void 0}function firstTimerInRange(X,N,p){var u,e=X.timers,o=null;for(u in e)e.hasOwnProperty(u)&&inRange(N,p,e[u])&&(!o||1===compareTimers(o,e[u]))&&(o=e[u]);return o}function firstTimer(X){var e,N=X.timers,p=null;for(e in N)N.hasOwnProperty(e)&&(!p||1===compareTimers(p,N[e]))&&(p=N[e]);return p}function lastTimer(X){var e,N=X.timers,p=null;for(e in N)N.hasOwnProperty(e)&&(!p||-1===compareTimers(p,N[e]))&&(p=N[e]);return p}function callTimer(clock,timer){"number"==typeof timer.interval?clock.timers[timer.id].callAt+=timer.interval:delete clock.timers[timer.id],"function"==typeof timer.func?timer.func.apply(null,timer.args):eval(timer.func)}function clearTimer(X,N,p){if(N){X.timers||(X.timers={});var e="object"==typeof N?N.id:N;if(X.timers.hasOwnProperty(e)){var o=X.timers[e];if(o.type!==p)throw new Error("Cannot clear timer: timer created with "+("AnimationFrame"===o.type?"requestAnimationFrame":"set"+o.type)+"() but cleared with "+("AnimationFrame"===p?"cancelAnimationFrame":"clear"+p)+"()");delete X.timers[e]}}}function uninstall(X,N,p){var e,o,u;for(o=0,u=X.methods.length;o1e9)throw new TypeError("Number of nanoseconds can't exceed a billion");var z=I-b[1],O=A-b[0];return z<0&&(z+=1e9,O-=1),[O,z]}return[A,I]}function c(b,k,A,I){var H="number"==typeof b?b:parseTime(b),z=Math.floor(H),O=nanoRemainder(H),Z=p+O,q=o.now+z;if(H<0)throw new TypeError("Negative ticks are not supported");Z>=1e6&&(q+=1,Z-=1e6),p=Z;var ne,ue,ee,Q,se,je,te=o.now,V=o.now;function nt(){for(ne=firstTimerInRange(o,te,q);ne&&te<=q;){if(o.timers[ne.id]){te=ne.callAt,o.now=ne.callAt,ee=o.now;try{runJobs(o),callTimer(o,ne)}catch(He){ue=ue||He}if(k)return void originalSetTimeout(Q);se()}je()}if(ee=o.now,runJobs(o),ee!==o.now&&(te+=o.now-ee,q+=o.now-ee),o.duringTick=!1,ne=firstTimerInRange(o,te,q))try{o.tick(q-o.now)}catch(He){ue=ue||He}else o.now=q,p=Z;if(ue)throw ue;if(!k)return o.now;A(o.now)}return o.duringTick=!0,ee=o.now,runJobs(o),ee!==o.now&&(te+=o.now-ee,q+=o.now-ee),Q=k&&function(){try{se(),je(),nt()}catch(He){I(He)}},se=function(){ee!==o.now&&(te+=o.now-ee,q+=o.now-ee,V+=o.now-ee)},je=function(){ne=firstTimerInRange(o,V,q),V=te},nt()}return o.Date.clock=o,hrtimeBigintPresent&&(d.bigint=function(){var b=d();return BigInt(b[0])*BigInt(1e9)+BigInt(b[1])}),o.requestIdleCallback=function(k,A){var I=0;o.countTimers()>0&&(I=50);var H=addTimer(o,{func:k,args:Array.prototype.slice.call(arguments,2),delay:void 0===A?I:Math.min(A,I)});return H.id||H},o.cancelIdleCallback=function(k){return clearTimer(o,k,"Timeout")},o.setTimeout=function(k,A){return addTimer(o,{func:k,args:Array.prototype.slice.call(arguments,2),delay:A})},o.clearTimeout=function(k){return clearTimer(o,k,"Timeout")},o.nextTick=function(k){return enqueueJob(o,{func:k,args:Array.prototype.slice.call(arguments,1)})},o.queueMicrotask=function(k){return o.nextTick(k)},o.setInterval=function(k,A){return A=parseInt(A,10),addTimer(o,{func:k,args:Array.prototype.slice.call(arguments,2),delay:A,interval:A})},o.clearInterval=function(k){return clearTimer(o,k,"Interval")},setImmediatePresent&&(o.setImmediate=function(k){return addTimer(o,{func:k,args:Array.prototype.slice.call(arguments,1),immediate:!0})},o.clearImmediate=function(k){return clearTimer(o,k,"Immediate")}),o.countTimers=function(){return Object.keys(o.timers||{}).length+(o.jobs||[]).length},o.requestAnimationFrame=function(k){var A=addTimer(o,{func:k,delay:u(),args:[o.now+u()],animation:!0});return A.id||A},o.cancelAnimationFrame=function(k){return clearTimer(o,k,"AnimationFrame")},o.runMicrotasks=function(){runJobs(o)},o.tick=function(k){return c(k,!1)},void 0!==_global.Promise&&(o.tickAsync=function(k){return new _global.Promise(function(A,I){originalSetTimeout(function(){try{c(k,!0,A,I)}catch(H){I(H)}})})}),o.next=function(){runJobs(o);var k=firstTimer(o);if(!k)return o.now;o.duringTick=!0;try{return o.now=k.callAt,callTimer(o,k),runJobs(o),o.now}finally{o.duringTick=!1}},void 0!==_global.Promise&&(o.nextAsync=function(){return new _global.Promise(function(k,A){originalSetTimeout(function(){try{var H,I=firstTimer(o);if(!I)return void k(o.now);o.duringTick=!0,o.now=I.callAt;try{callTimer(o,I)}catch(z){H=z}o.duringTick=!1,originalSetTimeout(function(){H?A(H):k(o.now)})}catch(z){A(z)}})})}),o.runAll=function(){var A;for(runJobs(o),A=0;A1||X instanceof Date||Array.isArray(X)||"number"==typeof X)throw new TypeError("lolex.install called with "+String(X)+" lolex 2.0+ requires an object parameter - see https://github.com/sinonjs/lolex");(X=void 0!==X?X:{}).shouldAdvanceTime=X.shouldAdvanceTime||!1,X.advanceTimeDelta=X.advanceTimeDelta||20;var N,p,e=X.target||_global,o=createClock(X.now,X.loopLimit);for(o.uninstall=function(){return uninstall(o,e,X)},o.methods=X.toFake||[],0===o.methods.length&&(o.methods=keys(timers).filter(function(c){return"nextTick"!==c&&"queueMicrotask"!==c})),N=0,p=o.methods.length;N{"use strict";function e(C,T){for(var D=0;DC.length)&&(T=C.length);for(var D=0,M=new Array(T);D=C.length?{done:!0}:{done:!1,value:C[T++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(T=C[Symbol.iterator]()).next.bind(T)}var Z=function(C){function T(){return C.apply(this,arguments)||this}return u(T,C),T}(A(Error)),q=function(C){function T(D){return C.call(this,"Invalid DateTime: "+D.toMessage())||this}return u(T,C),T}(Z),te=function(C){function T(D){return C.call(this,"Invalid Interval: "+D.toMessage())||this}return u(T,C),T}(Z),V=function(C){function T(D){return C.call(this,"Invalid Duration: "+D.toMessage())||this}return u(T,C),T}(Z),ne=function(C){function T(){return C.apply(this,arguments)||this}return u(T,C),T}(Z),ue=function(C){function T(D){return C.call(this,"Invalid unit "+D)||this}return u(T,C),T}(Z),ee=function(C){function T(){return C.apply(this,arguments)||this}return u(T,C),T}(Z),Q=function(C){function T(){return C.call(this,"Zone is an abstract class")||this}return u(T,C),T}(Z),se="numeric",je="short",nt="long",He={year:se,month:se,day:se},de={year:se,month:je,day:se},Ce={year:se,month:nt,day:se},Ze={year:se,month:nt,day:se,weekday:nt},ot={hour:se,minute:se},Ke={hour:se,minute:se,second:se},xt={hour:se,minute:se,second:se,timeZoneName:je},Be={hour:se,minute:se,second:se,timeZoneName:nt},Tt={hour:se,minute:se,hour12:!1},Zt={hour:se,minute:se,second:se,hour12:!1},Sn={hour:se,minute:se,second:se,hour12:!1,timeZoneName:je},Xt={hour:se,minute:se,second:se,hour12:!1,timeZoneName:nt},nn={year:se,month:se,day:se,hour:se,minute:se},mn={year:se,month:se,day:se,hour:se,minute:se,second:se},Jt={year:se,month:je,day:se,hour:se,minute:se},et={year:se,month:je,day:se,hour:se,minute:se,second:se},Pt={year:se,month:je,day:se,weekday:je,hour:se,minute:se},Ot={year:se,month:nt,day:se,hour:se,minute:se,timeZoneName:je},bt={year:se,month:nt,day:se,hour:se,minute:se,second:se,timeZoneName:je},dt={year:se,month:nt,day:se,weekday:nt,hour:se,minute:se,timeZoneName:nt},ut={year:se,month:nt,day:se,weekday:nt,hour:se,minute:se,second:se,timeZoneName:nt};function Je(C){return void 0===C}function kt(C){return"number"==typeof C}function pt(C){return"number"==typeof C&&C%1==0}function un(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(C){return!1}}function Wn(){return!Je(Intl.DateTimeFormat.prototype.formatToParts)}function Pn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(C){return!1}}function Kt(C,T,D){if(0!==C.length)return C.reduce(function(M,P){var J=[T(P),P];return M&&D(M[0],J[0])===M[0]?M:J},null)[1]}function rt(C,T){return T.reduce(function(D,M){return D[M]=C[M],D},{})}function G(C,T){return Object.prototype.hasOwnProperty.call(C,T)}function _e(C,T,D){return pt(C)&&C>=T&&C<=D}function De(C,T){return void 0===T&&(T=2),C.toString().length=0&&(T=new Date(T)).setUTCFullYear(T.getUTCFullYear()-1900),+T}function In(C){var T=(C+Math.floor(C/4)-Math.floor(C/100)+Math.floor(C/400))%7,D=C-1,M=(D+Math.floor(D/4)-Math.floor(D/100)+Math.floor(D/400))%7;return 4===T||3===M?53:52}function Gn(C){return C>99?C:C>60?1900+C:2e3+C}function Hn(C,T,D,M){void 0===M&&(M=null);var P=new Date(C),J={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};M&&(J.timeZone=M);var Ee=Object.assign({timeZoneName:T},J),ze=un();if(ze&&Wn()){var At=new Intl.DateTimeFormat(D,Ee).formatToParts(P).find(function(ai){return"timezonename"===ai.type.toLowerCase()});return At?At.value:null}if(ze){var cn=new Intl.DateTimeFormat(D,J).format(P);return new Intl.DateTimeFormat(D,Ee).format(P).substring(cn.length).replace(/^[, \u200e]+/,"")}return null}function Jn(C,T){var D=parseInt(C,10);Number.isNaN(D)&&(D=0);var M=parseInt(T,10)||0;return 60*D+(D<0||Object.is(D,-0)?-M:M)}function Tn(C){var T=Number(C);if("boolean"==typeof C||""===C||Number.isNaN(T))throw new ee("Invalid unit value "+C);return T}function ri(C,T,D){var M={};for(var P in C)if(G(C,P)){if(D.indexOf(P)>=0)continue;var J=C[P];if(null==J)continue;M[T(P)]=Tn(J)}return M}function zn(C,T){var D=Math.trunc(C/60),M=Math.abs(C%60),P=D>=0&&!Object.is(D,-0)?"+":"-",J=""+P+Math.abs(D);switch(T){case"short":return""+P+De(Math.abs(D),2)+":"+De(M,2);case"narrow":return M>0?J+":"+M:J;case"techie":return""+P+De(Math.abs(D),2)+De(M,2);default:throw new RangeError("Value format "+T+" is out of range for property format")}}function $t(C){return rt(C,["hour","minute","second","millisecond"])}var xe=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function Se(C){return JSON.stringify(C,Object.keys(C).sort())}var j=["January","February","March","April","May","June","July","August","September","October","November","December"],Ie=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],vt=["J","F","M","A","M","J","J","A","S","O","N","D"];function Vt(C){switch(C){case"narrow":return vt;case"short":return Ie;case"long":return j;case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Fn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ti=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Qt=["M","T","W","T","F","S","S"];function Cn(C){switch(C){case"narrow":return Qt;case"short":return ti;case"long":return Fn;case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var ct=["AM","PM"],ve=["Before Christ","Anno Domini"],Re=["BC","AD"],it=["B","A"];function Lt(C){switch(C){case"narrow":return it;case"short":return Re;case"long":return ve;default:return null}}function ae(C,T){for(var P,D="",M=O(C);!(P=M()).done;){var J=P.value;D+=J.literal?J.val:T(J.val)}return D}var Pe={D:He,DD:de,DDD:Ce,DDDD:Ze,t:ot,tt:Ke,ttt:xt,tttt:Be,T:Tt,TT:Zt,TTT:Sn,TTTT:Xt,f:nn,ff:Jt,fff:Ot,ffff:dt,F:mn,FF:et,FFF:bt,FFFF:ut},W=function(){function C(D,M){this.opts=M,this.loc=D,this.systemLoc=null}C.create=function(M,P){return void 0===P&&(P={}),new C(M,P)},C.parseFormat=function(M){for(var P=null,J="",Ee=!1,ze=[],At=0;At0&&ze.push({literal:Ee,val:J}),P=null,J="",Ee=!Ee):Ee||cn===P?J+=cn:(J.length>0&&ze.push({literal:!1,val:J}),J=cn,P=cn)}return J.length>0&&ze.push({literal:Ee,val:J}),ze},C.macroTokenToFormatOpts=function(M){return Pe[M]};var T=C.prototype;return T.formatWithSystemDefault=function(M,P){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(M,Object.assign({},this.opts,P)).format()},T.formatDateTime=function(M,P){return void 0===P&&(P={}),this.loc.dtFormatter(M,Object.assign({},this.opts,P)).format()},T.formatDateTimeParts=function(M,P){return void 0===P&&(P={}),this.loc.dtFormatter(M,Object.assign({},this.opts,P)).formatToParts()},T.resolvedOptions=function(M,P){return void 0===P&&(P={}),this.loc.dtFormatter(M,Object.assign({},this.opts,P)).resolvedOptions()},T.num=function(M,P){if(void 0===P&&(P=0),this.opts.forceSimple)return De(M,P);var J=Object.assign({},this.opts);return P>0&&(J.padTo=P),this.loc.numberFormatter(J).format(M)},T.formatDateTimeFromString=function(M,P){var J=this,Ee="en"===this.loc.listingMode(),ze=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar&&Wn(),At=function(Si,Fo){return J.loc.extract(M,Si,Fo)},cn=function(Si){return M.isOffsetFixed&&0===M.offset&&Si.allowZ?"Z":M.isValid?M.zone.formatOffset(M.ts,Si.format):""},An=function(Si,Fo){return Ee?function Yn(C,T){return Vt(T)[C.month-1]}(M,Si):At(Fo?{month:Si}:{month:Si,day:"numeric"},"month")},Rn=function(Si,Fo){return Ee?function Un(C,T){return Cn(T)[C.weekday-1]}(M,Si):At(Fo?{weekday:Si}:{weekday:Si,month:"long",day:"numeric"},"weekday")},Wi=function(Si){return Ee?function Oi(C,T){return Lt(T)[C.year<0?0:1]}(M,Si):At({era:Si},"era")};return ae(C.parseFormat(P),function(Si){switch(Si){case"S":return J.num(M.millisecond);case"u":case"SSS":return J.num(M.millisecond,3);case"s":return J.num(M.second);case"ss":return J.num(M.second,2);case"m":return J.num(M.minute);case"mm":return J.num(M.minute,2);case"h":return J.num(M.hour%12==0?12:M.hour%12);case"hh":return J.num(M.hour%12==0?12:M.hour%12,2);case"H":return J.num(M.hour);case"HH":return J.num(M.hour,2);case"Z":return cn({format:"narrow",allowZ:J.opts.allowZ});case"ZZ":return cn({format:"short",allowZ:J.opts.allowZ});case"ZZZ":return cn({format:"techie",allowZ:J.opts.allowZ});case"ZZZZ":return console.log(M.zone),M.zone.offsetName(M.ts,{format:"short",locale:J.loc.locale});case"ZZZZZ":return M.zone.offsetName(M.ts,{format:"long",locale:J.loc.locale});case"z":return M.zoneName;case"a":return Ee?function an(C){return ct[C.hour<12?0:1]}(M):At({hour:"numeric",hour12:!0},"dayperiod");case"d":return ze?At({day:"numeric"},"day"):J.num(M.day);case"dd":return ze?At({day:"2-digit"},"day"):J.num(M.day,2);case"c":case"E":return J.num(M.weekday);case"ccc":return Rn("short",!0);case"cccc":return Rn("long",!0);case"ccccc":return Rn("narrow",!0);case"EEE":return Rn("short",!1);case"EEEE":return Rn("long",!1);case"EEEEE":return Rn("narrow",!1);case"L":return ze?At({month:"numeric",day:"numeric"},"month"):J.num(M.month);case"LL":return ze?At({month:"2-digit",day:"numeric"},"month"):J.num(M.month,2);case"LLL":return An("short",!0);case"LLLL":return An("long",!0);case"LLLLL":return An("narrow",!0);case"M":return ze?At({month:"numeric"},"month"):J.num(M.month);case"MM":return ze?At({month:"2-digit"},"month"):J.num(M.month,2);case"MMM":return An("short",!1);case"MMMM":return An("long",!1);case"MMMMM":return An("narrow",!1);case"y":return ze?At({year:"numeric"},"year"):J.num(M.year);case"yy":return ze?At({year:"2-digit"},"year"):J.num(M.year.toString().slice(-2),2);case"yyyy":return ze?At({year:"numeric"},"year"):J.num(M.year,4);case"yyyyyy":return ze?At({year:"numeric"},"year"):J.num(M.year,6);case"G":return Wi("short");case"GG":return Wi("long");case"GGGGG":return Wi("narrow");case"kk":return J.num(M.weekYear.toString().slice(-2),2);case"kkkk":return J.num(M.weekYear,4);case"W":return J.num(M.weekNumber);case"WW":return J.num(M.weekNumber,2);case"o":return J.num(M.ordinal);case"ooo":return J.num(M.ordinal,3);case"q":return J.num(M.quarter);case"qq":return J.num(M.quarter,2);case"X":return J.num(Math.floor(M.ts/1e3));case"x":return J.num(M.ts);default:return function(Si){var Fo=C.macroTokenToFormatOpts(Si);return Fo?J.formatWithSystemDefault(M,Fo):Si}(Si)}})},T.formatDurationFromString=function(M,P){var Rn,J=this,Ee=function(Rn){switch(Rn[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},At=C.parseFormat(P),cn=At.reduce(function(An,Rn){return Rn.literal?An:An.concat(Rn.val)},[]),vn=M.shiftTo.apply(M,cn.map(Ee).filter(function(An){return An}));return ae(At,(Rn=vn,function(ai){var Wi=Ee(ai);return Wi?J.num(Rn.get(Wi),ai.length):ai}))},C}(),Me=function(){function C(D,M){this.reason=D,this.explanation=M}return C.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},C}(),Y=function(){function C(){}var T=C.prototype;return T.offsetName=function(M,P){throw new Q},T.formatOffset=function(M,P){throw new Q},T.offset=function(M){throw new Q},T.equals=function(M){throw new Q},o(C,[{key:"type",get:function(){throw new Q}},{key:"name",get:function(){throw new Q}},{key:"universal",get:function(){throw new Q}},{key:"isValid",get:function(){throw new Q}}]),C}(),ce=null,$e=function(C){function T(){return C.apply(this,arguments)||this}u(T,C);var D=T.prototype;return D.offsetName=function(P,J){return Hn(P,J.format,J.locale)},D.formatOffset=function(P,J){return zn(this.offset(P),J)},D.offset=function(P){return-new Date(P).getTimezoneOffset()},D.equals=function(P){return"local"===P.type},o(T,[{key:"type",get:function(){return"local"}},{key:"name",get:function(){return un()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===ce&&(ce=new T),ce}}]),T}(Y),_t=RegExp("^"+xe.source+"$"),Ge={},R={year:0,month:1,day:2,hour:3,minute:4,second:5},Ct={},_n=function(C){function T(M){var P;return(P=C.call(this)||this).zoneName=M,P.valid=T.isValidZone(M),P}u(T,C),T.create=function(P){return Ct[P]||(Ct[P]=new T(P)),Ct[P]},T.resetCache=function(){Ct={},Ge={}},T.isValidSpecifier=function(P){return!(!P||!P.match(_t))},T.isValidZone=function(P){try{return new Intl.DateTimeFormat("en-US",{timeZone:P}).format(),!0}catch(J){return!1}},T.parseGMTOffset=function(P){if(P){var J=P.match(/^Etc\/GMT([+-]\d{1,2})$/i);if(J)return-60*parseInt(J[1])}return null};var D=T.prototype;return D.offsetName=function(P,J){return Hn(P,J.format,J.locale,this.name)},D.formatOffset=function(P,J){return zn(this.offset(P),J)},D.offset=function(P){var J=new Date(P),Ee=function qe(C){return Ge[C]||(Ge[C]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:C,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Ge[C]}(this.name),ze=Ee.formatToParts?function Ye(C,T){for(var D=C.formatToParts(T),M=[],P=0;P=0?Si:1e3+Si))/6e4},D.equals=function(P){return"iana"===P.type&&P.name===this.name},o(T,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),T}(Y),wn=null,pi=function(C){function T(M){var P;return(P=C.call(this)||this).fixed=M,P}u(T,C),T.instance=function(P){return 0===P?T.utcInstance:new T(P)},T.parseSpecifier=function(P){if(P){var J=P.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(J)return new T(Jn(J[1],J[2]))}return null},o(T,null,[{key:"utcInstance",get:function(){return null===wn&&(wn=new T(0)),wn}}]);var D=T.prototype;return D.offsetName=function(){return this.name},D.formatOffset=function(P,J){return zn(this.fixed,J)},D.offset=function(){return this.fixed},D.equals=function(P){return"fixed"===P.type&&P.fixed===this.fixed},o(T,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+zn(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),T}(Y),xi=function(C){function T(M){var P;return(P=C.call(this)||this).zoneName=M,P}u(T,C);var D=T.prototype;return D.offsetName=function(){return null},D.formatOffset=function(){return""},D.offset=function(){return NaN},D.equals=function(){return!1},o(T,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),T}(Y);function Ri(C,T){var D;if(Je(C)||null===C)return T;if(C instanceof Y)return C;if(function Ft(C){return"string"==typeof C}(C)){var M=C.toLowerCase();return"local"===M?T:"utc"===M||"gmt"===M?pi.utcInstance:null!=(D=_n.parseGMTOffset(C))?pi.instance(D):_n.isValidSpecifier(M)?_n.create(C):pi.parseSpecifier(M)||new xi(C)}return kt(C)?pi.instance(C):"object"==typeof C&&C.offset&&"number"==typeof C.offset?C:new xi(C)}var mi=function(){return Date.now()},di=null,Ki=null,hr=null,rr=null,Ai=!1,Ei=function(){function C(){}return C.resetCaches=function(){nr.resetCache(),_n.resetCache()},o(C,null,[{key:"now",get:function(){return mi},set:function(D){mi=D}},{key:"defaultZoneName",get:function(){return C.defaultZone.name},set:function(D){di=D?Ri(D):null}},{key:"defaultZone",get:function(){return di||$e.instance}},{key:"defaultLocale",get:function(){return Ki},set:function(D){Ki=D}},{key:"defaultNumberingSystem",get:function(){return hr},set:function(D){hr=D}},{key:"defaultOutputCalendar",get:function(){return rr},set:function(D){rr=D}},{key:"throwOnInvalid",get:function(){return Ai},set:function(D){Ai=D}}]),C}(),Tr={};function Pi(C,T){void 0===T&&(T={});var D=JSON.stringify([C,T]),M=Tr[D];return M||(M=new Intl.DateTimeFormat(C,T),Tr[D]=M),M}var qi={},Dr={};var fi=null;function Hr(C,T,D,M,P){var J=C.listingMode(D);return"error"===J?null:"en"===J?M(T):P(T)}var Qr=function(){function C(D,M,P){if(this.padTo=P.padTo||0,this.floor=P.floor||!1,!M&&un()){var J={useGrouping:!1};P.padTo>0&&(J.minimumIntegerDigits=P.padTo),this.inf=function Pr(C,T){void 0===T&&(T={});var D=JSON.stringify([C,T]),M=qi[D];return M||(M=new Intl.NumberFormat(C,T),qi[D]=M),M}(D,J)}}return C.prototype.format=function(M){if(this.inf){var P=this.floor?Math.floor(M):M;return this.inf.format(P)}return De(this.floor?Math.floor(M):Dt(M,3),this.padTo)},C}(),xo=function(){function C(D,M,P){var J;if(this.opts=P,this.hasIntl=un(),D.zone.universal&&this.hasIntl?(J="UTC",this.dt=P.timeZoneName||0===D.offset?D:Br.fromMillis(D.ts+60*D.offset*1e3)):"local"===D.zone.type?this.dt=D:(this.dt=D,J=D.zone.name),this.hasIntl){var Ee=Object.assign({},this.opts);J&&(Ee.timeZone=J),this.dtf=Pi(M,Ee)}}var T=C.prototype;return T.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var M=function Gi(C){var M="EEEE, LLLL d, yyyy, h:mm a";switch(Se(rt(C,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case Se(He):return"M/d/yyyy";case Se(de):return"LLL d, yyyy";case Se(Ce):return"LLLL d, yyyy";case Se(Ze):return"EEEE, LLLL d, yyyy";case Se(ot):return"h:mm a";case Se(Ke):return"h:mm:ss a";case Se(xt):case Se(Be):return"h:mm a";case Se(Tt):return"HH:mm";case Se(Zt):return"HH:mm:ss";case Se(Sn):case Se(Xt):return"HH:mm";case Se(nn):return"M/d/yyyy, h:mm a";case Se(Jt):return"LLL d, yyyy, h:mm a";case Se(Ot):return"LLLL d, yyyy, h:mm a";case Se(dt):return M;case Se(mn):return"M/d/yyyy, h:mm:ss a";case Se(et):return"LLL d, yyyy, h:mm:ss a";case Se(Pt):return"EEE, d LLL yyyy, h:mm a";case Se(bt):return"LLLL d, yyyy, h:mm:ss a";case Se(ut):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return M}}(this.opts),P=nr.create("en-US");return W.create(P).formatDateTimeFromString(this.dt,M)},T.formatToParts=function(){return this.hasIntl&&Wn()?this.dtf.formatToParts(this.dt.toJSDate()):[]},T.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},C}(),uo=function(){function C(D,M,P){this.opts=Object.assign({style:"long"},P),!M&&Pn()&&(this.rtf=function Ji(C,T){void 0===T&&(T={});var P=function I(C,T){if(null==C)return{};var P,J,D={},M=Object.keys(C);for(J=0;J=0)&&(D[P]=C[P]);return D}(T,["base"]),J=JSON.stringify([C,P]),Ee=Dr[J];return Ee||(Ee=new Intl.RelativeTimeFormat(C,T),Dr[J]=Ee),Ee}(D,P))}var T=C.prototype;return T.format=function(M,P){return this.rtf?this.rtf.format(M,P):function Li(C,T,D,M){void 0===D&&(D="always"),void 0===M&&(M=!1);var P={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},J=-1===["hours","minutes","seconds"].indexOf(C);if("auto"===D&&J){var Ee="days"===C;switch(T){case 1:return Ee?"tomorrow":"next "+P[C][0];case-1:return Ee?"yesterday":"last "+P[C][0];case 0:return Ee?"today":"this "+P[C][0]}}var ze=Object.is(T,-0)||T<0,At=Math.abs(T),cn=1===At,vn=P[C],An=M?cn?vn[1]:vn[2]||vn[1]:cn?P[C][0]:C;return ze?At+" "+An+" ago":"in "+At+" "+An}(P,M,this.opts.numeric,"long"!==this.opts.style)},T.formatToParts=function(M,P){return this.rtf?this.rtf.formatToParts(M,P):[]},C}(),nr=function(){function C(D,M,P,J){var Ee=function jr(C){var T=C.indexOf("-u-");if(-1===T)return[C];var D,M=C.substring(0,T);try{D=Pi(C).resolvedOptions()}catch(ze){D=Pi(M).resolvedOptions()}return[M,D.numberingSystem,D.calendar]}(D),At=Ee[1],cn=Ee[2];this.locale=Ee[0],this.numberingSystem=M||At||null,this.outputCalendar=P||cn||null,this.intl=function bo(C,T,D){return un()?((D||T)&&(C+="-u",D&&(C+="-ca-"+D),T&&(C+="-nu-"+T)),C):[]}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=J,this.fastNumbersCached=null}C.fromOpts=function(M){return C.create(M.locale,M.numberingSystem,M.outputCalendar,M.defaultToEN)},C.create=function(M,P,J,Ee){void 0===Ee&&(Ee=!1);var ze=M||Ei.defaultLocale,At=ze||(Ee?"en-US":function Mr(){if(fi)return fi;if(un()){var C=(new Intl.DateTimeFormat).resolvedOptions().locale;return fi=C&&"und"!==C?C:"en-US"}return fi="en-US"}());return new C(At,P||Ei.defaultNumberingSystem,J||Ei.defaultOutputCalendar,ze)},C.resetCache=function(){fi=null,Tr={},qi={},Dr={}},C.fromObject=function(M){var P=void 0===M?{}:M;return C.create(P.locale,P.numberingSystem,P.outputCalendar)};var T=C.prototype;return T.listingMode=function(M){void 0===M&&(M=!0);var J=un()&&Wn(),Ee=this.isEnglish(),ze=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return J||Ee&&ze||M?!J||Ee&&ze?"en":"intl":"error"},T.clone=function(M){return M&&0!==Object.getOwnPropertyNames(M).length?C.create(M.locale||this.specifiedLocale,M.numberingSystem||this.numberingSystem,M.outputCalendar||this.outputCalendar,M.defaultToEN||!1):this},T.redefaultToEN=function(M){return void 0===M&&(M={}),this.clone(Object.assign({},M,{defaultToEN:!0}))},T.redefaultToSystem=function(M){return void 0===M&&(M={}),this.clone(Object.assign({},M,{defaultToEN:!1}))},T.months=function(M,P,J){var Ee=this;return void 0===P&&(P=!1),void 0===J&&(J=!0),Hr(this,M,J,Vt,function(){var ze=P?{month:M,day:"numeric"}:{month:M},At=P?"format":"standalone";return Ee.monthsCache[At][M]||(Ee.monthsCache[At][M]=function kr(C){for(var T=[],D=1;D<=12;D++){var M=Br.utc(2016,D,1);T.push(C(M))}return T}(function(cn){return Ee.extract(cn,ze,"month")})),Ee.monthsCache[At][M]})},T.weekdays=function(M,P,J){var Ee=this;return void 0===P&&(P=!1),void 0===J&&(J=!0),Hr(this,M,J,Cn,function(){var ze=P?{weekday:M,year:"numeric",month:"long",day:"numeric"}:{weekday:M},At=P?"format":"standalone";return Ee.weekdaysCache[At][M]||(Ee.weekdaysCache[At][M]=function Ho(C){for(var T=[],D=1;D<=7;D++){var M=Br.utc(2016,11,13+D);T.push(C(M))}return T}(function(cn){return Ee.extract(cn,ze,"weekday")})),Ee.weekdaysCache[At][M]})},T.meridiems=function(M){var P=this;return void 0===M&&(M=!0),Hr(this,void 0,M,function(){return ct},function(){if(!P.meridiemCache){var J={hour:"numeric",hour12:!0};P.meridiemCache=[Br.utc(2016,11,13,9),Br.utc(2016,11,13,19)].map(function(Ee){return P.extract(Ee,J,"dayperiod")})}return P.meridiemCache})},T.eras=function(M,P){var J=this;return void 0===P&&(P=!0),Hr(this,M,P,Lt,function(){var Ee={era:M};return J.eraCache[M]||(J.eraCache[M]=[Br.utc(-40,1,1),Br.utc(2017,1,1)].map(function(ze){return J.extract(ze,Ee,"era")})),J.eraCache[M]})},T.extract=function(M,P,J){var At=this.dtFormatter(M,P).formatToParts().find(function(cn){return cn.type.toLowerCase()===J});return At?At.value:null},T.numberFormatter=function(M){return void 0===M&&(M={}),new Qr(this.intl,M.forceSimple||this.fastNumbers,M)},T.dtFormatter=function(M,P){return void 0===P&&(P={}),new xo(M,this.intl,P)},T.relFormatter=function(M){return void 0===M&&(M={}),new uo(this.intl,this.isEnglish(),M)},T.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||un()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},T.equals=function(M){return this.locale===M.locale&&this.numberingSystem===M.numberingSystem&&this.outputCalendar===M.outputCalendar},o(C,[{key:"fastNumbers",get:function(){return null==this.fastNumbersCached&&(this.fastNumbersCached=function Ur(C){return(!C.numberingSystem||"latn"===C.numberingSystem)&&("latn"===C.numberingSystem||!C.locale||C.locale.startsWith("en")||un()&&"latn"===new Intl.DateTimeFormat(C.intl).resolvedOptions().numberingSystem)}(this)),this.fastNumbersCached}}]),C}();function fo(){for(var C=arguments.length,T=new Array(C),D=0;D1?T-1:0),M=1;M3?Fn.indexOf(C)+1:ti.indexOf(C)+1),ze}var no=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function pr(C){var ai,At=C[8],cn=C[9],vn=C[10],An=C[11],Rn=Ir(C[1],C[4],C[3],C[2],C[5],C[6],C[7]);return ai=At?Fi[At]:cn?0:Jn(vn,An),[Rn,new pi(ai)]}var yr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,mr=/^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,or=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function io(C){return[Ir(C[1],C[4],C[3],C[2],C[5],C[6],C[7]),pi.utcInstance]}function dr(C){return[Ir(C[1],C[7],C[2],C[3],C[4],C[5],C[6]),pi.utcInstance]}var $i=fo(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Yr),we=fo(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Yr),Xe=fo(/(\d{4})-?(\d{3})/,Yr),Te=fo(go),at=vr(wt,Oe,tt),Yt=vr(_o,Oe,tt),hn=vr(Gr,Oe),Mn=vr(Oe,tt),ji=fo(/(\d{4})-(\d\d)-(\d\d)/,vo),Sr=fo(to),Xi=vr(wt,Oe,tt,en),lr=vr(Oe,tt,en),oe={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},lt=Object.assign({years:{months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},oe),fn=365.2425,ni=30.436875,cr=Object.assign({years:{months:12,weeks:fn/7,days:fn,hours:24*fn,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:fn/28,days:fn/4,hours:24*fn/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:ni/7,days:ni,hours:24*ni,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},oe),Cr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Eo=Cr.slice(0).reverse();function Zr(C,T,D){void 0===D&&(D=!1);var M={values:D?T.values:Object.assign({},C.values,T.values||{}),loc:C.loc.clone(T.loc),conversionAccuracy:T.conversionAccuracy||C.conversionAccuracy};return new br(M)}function On(C,T,D,M,P){var J=C[P][D],Ee=T[D]/J,At=Math.sign(Ee)!==Math.sign(M[P])&&0!==M[P]&&Math.abs(Ee)<=1?function Po(C){return C<0?Math.floor(C):Math.ceil(C)}(Ee):Math.trunc(Ee);M[P]+=At,T[D]-=At*J}function Ni(C,T){Eo.reduce(function(D,M){return Je(T[M])?D:(D&&On(C,T,D,T,M),M)},null)}var br=function(){function C(D){var M="longterm"===D.conversionAccuracy||!1;this.values=D.values,this.loc=D.loc||nr.create(),this.conversionAccuracy=M?"longterm":"casual",this.invalid=D.invalid||null,this.matrix=M?cr:lt,this.isLuxonDuration=!0}C.fromMillis=function(M,P){return C.fromObject(Object.assign({milliseconds:M},P))},C.fromObject=function(M){if(null==M||"object"!=typeof M)throw new ee("Duration.fromObject: argument expected to be an object, got "+(null===M?"null":typeof M));return new C({values:ri(M,C.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:nr.fromObject(M),conversionAccuracy:M.conversionAccuracy})},C.fromISO=function(M,P){var J=function ui(C){return wo(C,[xn,gi])}(M),Ee=J[0];if(Ee){var ze=Object.assign(Ee,P);return C.fromObject(ze)}return C.invalid("unparsable",'the input "'+M+"\" can't be parsed as ISO 8601")},C.invalid=function(M,P){if(void 0===P&&(P=null),!M)throw new ee("need to specify a reason the Duration is invalid");var J=M instanceof Me?M:new Me(M,P);if(Ei.throwOnInvalid)throw new V(J);return new C({invalid:J})},C.normalizeUnit=function(M){var P={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[M&&M.toLowerCase()];if(!P)throw new ue(M);return P},C.isDuration=function(M){return M&&M.isLuxonDuration||!1};var T=C.prototype;return T.toFormat=function(M,P){void 0===P&&(P={});var J=Object.assign({},P,{floor:!1!==P.round&&!1!==P.floor});return this.isValid?W.create(this.loc,J).formatDurationFromString(this,M):"Invalid Duration"},T.toObject=function(M){if(void 0===M&&(M={}),!this.isValid)return{};var P=Object.assign({},this.values);return M.includeConfig&&(P.conversionAccuracy=this.conversionAccuracy,P.numberingSystem=this.loc.numberingSystem,P.locale=this.loc.locale),P},T.toISO=function(){if(!this.isValid)return null;var M="P";return 0!==this.years&&(M+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(M+=this.months+3*this.quarters+"M"),0!==this.weeks&&(M+=this.weeks+"W"),0!==this.days&&(M+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(M+="T"),0!==this.hours&&(M+=this.hours+"H"),0!==this.minutes&&(M+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(M+=Dt(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===M&&(M+="T0S"),M},T.toJSON=function(){return this.toISO()},T.toString=function(){return this.toISO()},T.valueOf=function(){return this.as("milliseconds")},T.plus=function(M){if(!this.isValid)return this;for(var ze,P=fr(M),J={},Ee=O(Cr);!(ze=Ee()).done;){var At=ze.value;(G(P.values,At)||G(this.values,At))&&(J[At]=P.get(At)+this.get(At))}return Zr(this,{values:J},!0)},T.minus=function(M){if(!this.isValid)return this;var P=fr(M);return this.plus(P.negate())},T.mapUnits=function(M){if(!this.isValid)return this;for(var P={},J=0,Ee=Object.keys(this.values);J=0){cn=Rn;var ai=0;for(var Wi in ze)ai+=this.matrix[Wi][Rn]*ze[Wi],ze[Wi]=0;kt(At[Rn])&&(ai+=At[Rn]);var gr=Math.trunc(ai);for(var tr in Ee[Rn]=gr,ze[Rn]=ai-gr,At)Cr.indexOf(tr)>Cr.indexOf(Rn)&&On(this.matrix,At,tr,Ee,Rn)}else kt(At[Rn])&&(ze[Rn]=At[Rn])}for(var Si in ze)0!==ze[Si]&&(Ee[cn]+=Si===cn?ze[Si]:ze[Si]/this.matrix[cn][Si]);return Zr(this,{values:Ee},!0).normalize()},T.negate=function(){if(!this.isValid)return this;for(var M={},P=0,J=Object.keys(this.values);PM},T.isBefore=function(M){return!!this.isValid&&this.e<=M},T.contains=function(M){return!!this.isValid&&this.s<=M&&this.e>M},T.set=function(M){var P=void 0===M?{}:M;return this.isValid?C.fromDateTimes(P.start||this.s,P.end||this.e):this},T.splitAt=function(){var M=this;if(!this.isValid)return[];for(var P=arguments.length,J=new Array(P),Ee=0;Ee+this.e?this.e:An;At.push(C.fromDateTimes(cn,Rn)),cn=Rn,vn+=1}return At},T.splitBy=function(M){var P=fr(M);if(!this.isValid||!P.isValid||0===P.as("milliseconds"))return[];for(var Ee,ze,J=this.s,At=[];J+this.e?this.e:Ee)),J=ze;return At},T.divideEqually=function(M){return this.isValid?this.splitBy(this.length()/M).slice(0,M):[]},T.overlaps=function(M){return this.e>M.s&&this.s=M.e},T.equals=function(M){return!(!this.isValid||!M.isValid)&&this.s.equals(M.s)&&this.e.equals(M.e)},T.intersection=function(M){if(!this.isValid)return this;var P=this.s>M.s?this.s:M.s,J=this.eJ?null:C.fromDateTimes(P,J)},T.union=function(M){return this.isValid?C.fromDateTimes(this.sM.e?this.e:M.e):this},C.merge=function(M){var P=M.sort(function(ze,At){return ze.s-At.s}).reduce(function(ze,At){var cn=ze[0],vn=ze[1];return vn?vn.overlaps(At)||vn.abutsStart(At)?[cn,vn.union(At)]:[cn.concat([vn]),At]:[cn,At]},[[],null]),J=P[0],Ee=P[1];return Ee&&J.push(Ee),J},C.xor=function(M){for(var P,Rn,J=null,Ee=0,ze=[],At=M.map(function(Wi){return[{time:Wi.s,type:"s"},{time:Wi.e,type:"e"}]}),An=O((P=Array.prototype).concat.apply(P,At).sort(function(Wi,gr){return Wi.time-gr.time}));!(Rn=An()).done;){var ai=Rn.value;1===(Ee+="s"===ai.type?1:-1)?J=ai.time:(J&&+J!=+ai.time&&ze.push(C.fromDateTimes(J,ai.time)),J=null)}return C.merge(ze)},T.difference=function(){for(var M=this,P=arguments.length,J=new Array(P),Ee=0;Ee=Ee&&M<=J[1]&&(T+=M-Ee)}}return parseInt(T,10)}return T}(M[0]))}}}function fe(C){return C.replace(/\./,"\\.?")}function We(C){return C.replace(/\./,"").toLowerCase()}function gt(C,T){return null===C?null:{regex:RegExp(C.map(fe).join("|")),deser:function(M){var P=M[0];return C.findIndex(function(J){return We(P)===We(J)})+T}}}function Rt(C,T){return{regex:C,deser:function(M){return Jn(M[1],M[2])},groups:T}}function Ut(C){return{regex:C,deser:function(D){return D[0]}}}function rn(C){return C.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var $n={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}},Ii=null;function oo(C,T,D){var M=function Ar(C,T){var D;return(D=Array.prototype).concat.apply(D,C.map(function(M){return function Fr(C,T){if(C.literal)return C;var D=W.macroTokenToFormatOpts(C.val);if(!D)return C;var J=W.create(T,D).formatDateTimeParts(function er(){return Ii||(Ii=Br.fromMillis(1555555555555)),Ii}()).map(function(Ee){return function hi(C,T,D){var M=C.type;if("literal"===M)return{literal:!0,val:C.value};var Ee=$n[M];return"object"==typeof Ee&&(Ee=Ee[D[M]]),Ee?{literal:!1,val:Ee}:void 0}(Ee,0,D)});return J.includes(void 0)?C:J}(M,T)}))}(W.parseFormat(D),C),P=M.map(function(tr){return function Dn(C,T){var D=Ne(T),M=Ne(T,"{2}"),P=Ne(T,"{3}"),J=Ne(T,"{4}"),Ee=Ne(T,"{6}"),ze=Ne(T,"{1,2}"),At=Ne(T,"{1,3}"),cn=Ne(T,"{1,6}"),vn=Ne(T,"{1,9}"),An=Ne(T,"{2,4}"),Rn=Ne(T,"{4,6}"),ai=function(Si){return{regex:RegExp(rn(Si.val)),deser:function(fa){return fa[0]},literal:!0}},gr=function(Si){if(C.literal)return ai(Si);switch(Si.val){case"G":return gt(T.eras("short",!1),0);case"GG":return gt(T.eras("long",!1),0);case"y":return B(cn);case"yy":case"kk":return B(An,Gn);case"yyyy":case"kkkk":return B(J);case"yyyyy":return B(Rn);case"yyyyyy":return B(Ee);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return B(ze);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return B(M);case"MMM":return gt(T.months("short",!0,!1),1);case"MMMM":return gt(T.months("long",!0,!1),1);case"LLL":return gt(T.months("short",!1,!1),1);case"LLLL":return gt(T.months("long",!1,!1),1);case"o":case"S":return B(At);case"ooo":case"SSS":return B(P);case"u":return Ut(vn);case"a":return gt(T.meridiems(),0);case"E":case"c":return B(D);case"EEE":return gt(T.weekdays("short",!1,!1),1);case"EEEE":return gt(T.weekdays("long",!1,!1),1);case"ccc":return gt(T.weekdays("short",!0,!1),1);case"cccc":return gt(T.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Rt(new RegExp("([+-]"+ze.source+")(?::("+M.source+"))?"),2);case"ZZZ":return Rt(new RegExp("([+-]"+ze.source+")("+M.source+")?"),2);case"z":return Ut(/[a-z_+-/]{1,256}?/i);default:return ai(Si)}}(C)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return gr.token=C,gr}(tr,C)}),J=P.find(function(tr){return tr.invalidReason});if(J)return{input:T,tokens:M,invalidReason:J.invalidReason};var Ee=function Ci(C){return["^"+C.map(function(D){return D.regex}).reduce(function(D,M){return D+"("+M.source+")"},"")+"$",C]}(P),At=Ee[1],cn=RegExp(Ee[0],"i"),vn=function Ui(C,T,D){var M=C.match(T);if(M){var P={},J=1;for(var Ee in D)if(G(D,Ee)){var ze=D[Ee],At=ze.groups?ze.groups+1:1;!ze.literal&&ze.token&&(P[ze.token.val[0]]=ze.deser(M.slice(J,J+At))),J+=At}return[M,P]}return[M,{}]}(T,cn,At),An=vn[0],Rn=vn[1],ai=Rn?function _i(C){var D;return D=Je(C.Z)?Je(C.z)?null:_n.create(C.z):new pi(C.Z),Je(C.q)||(C.M=3*(C.q-1)+1),Je(C.h)||(C.h<12&&1===C.a?C.h+=12:12===C.h&&0===C.a&&(C.h=0)),0===C.G&&C.y&&(C.y=-C.y),Je(C.u)||(C.S=Mt(C.u)),[Object.keys(C).reduce(function(P,J){var Ee=function(J){switch(J){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(J);return Ee&&(P[Ee]=C[J]),P},{}),D]}(Rn):[null,null],Wi=ai[0],gr=ai[1];if(G(Rn,"a")&&G(Rn,"H"))throw new ne("Can't include meridiem when specifying 24-hour format");return{input:T,tokens:M,regex:cn,rawMatches:An,matches:Rn,result:Wi,zone:gr}}var Lr=[0,31,59,90,120,151,181,212,243,273,304,334],Nr=[0,31,60,91,121,152,182,213,244,274,305,335];function Di(C,T){return new Me("unit out of range","you specified "+T+" (of type "+typeof T+") as a "+C+", which is invalid")}function yo(C,T,D){var M=new Date(Date.UTC(C,T-1,D)).getUTCDay();return 0===M?7:M}function wr(C,T,D){return D+(Et(C)?Nr:Lr)[T-1]}function Or(C,T){var D=Et(C)?Nr:Lr,M=D.findIndex(function(J){return JIn(T)?(ze=T+1,Ee=1):ze=T,Object.assign({weekYear:ze,weekNumber:Ee,weekday:J},$t(C))}function ho(C){var ze,T=C.weekYear,D=C.weekNumber,M=C.weekday,P=yo(T,1,4),J=sn(T),Ee=7*D+M-P-3;Ee<1?Ee+=sn(ze=T-1):Ee>J?(ze=T+1,Ee-=sn(T)):ze=T;var At=Or(ze,Ee);return Object.assign({year:ze,month:At.month,day:At.day},$t(C))}function So(C){var T=C.year,P=wr(T,C.month,C.day);return Object.assign({year:T,ordinal:P},$t(C))}function lo(C){var T=C.year,M=Or(T,C.ordinal);return Object.assign({year:T,month:M.month,day:M.day},$t(C))}function vi(C){var T=pt(C.year),D=_e(C.month,1,12),M=_e(C.day,1,Ln(C.year,C.month));return T?D?!M&&Di("day",C.day):Di("month",C.month):Di("year",C.year)}function bi(C){var T=C.hour,D=C.minute,M=C.second,P=C.millisecond,J=_e(T,0,23)||24===T&&0===D&&0===M&&0===P,Ee=_e(D,0,59),ze=_e(M,0,59),At=_e(P,0,999);return J?Ee?ze?!At&&Di("millisecond",P):Di("second",M):Di("minute",D):Di("hour",T)}var Vi="Invalid DateTime",pe=864e13;function ie(C){return new Me("unsupported zone",'the zone "'+C.name+'" is not supported')}function Ue(C){return null===C.weekData&&(C.weekData=Io(C.c)),C.weekData}function st(C,T){var D={ts:C.ts,zone:C.zone,c:C.c,o:C.o,loc:C.loc,invalid:C.invalid};return new Br(Object.assign({},D,T,{old:D}))}function yt(C,T,D){var M=C-60*T*1e3,P=D.offset(M);if(T===P)return[M,T];var J=D.offset(M-=60*(P-T)*1e3);return P===J?[M,P]:[C-60*Math.min(P,J)*1e3,Math.max(P,J)]}function Nt(C,T){var D=new Date(C+=60*T*1e3);return{year:D.getUTCFullYear(),month:D.getUTCMonth()+1,day:D.getUTCDate(),hour:D.getUTCHours(),minute:D.getUTCMinutes(),second:D.getUTCSeconds(),millisecond:D.getUTCMilliseconds()}}function gn(C,T,D){return yt(Nn(C),T,D)}function pn(C,T){var D,M=Object.keys(T.values);-1===M.indexOf("milliseconds")&&M.push("milliseconds"),T=(D=T).shiftTo.apply(D,M);var P=C.o,J=C.c.year+T.years,Ee=C.c.month+T.months+3*T.quarters,ze=Object.assign({},C.c,{year:J,month:Ee,day:Math.min(C.c.day,Ln(J,Ee))+T.days+7*T.weeks}),At=br.fromObject({hours:T.hours,minutes:T.minutes,seconds:T.seconds,milliseconds:T.milliseconds}).as("milliseconds"),vn=yt(Nn(ze),P,C.zone),An=vn[0],Rn=vn[1];return 0!==At&&(Rn=C.zone.offset(An+=At)),{ts:An,o:Rn}}function Vn(C,T,D,M,P){var J=D.setZone,Ee=D.zone;if(C&&0!==Object.keys(C).length){var At=Br.fromObject(Object.assign(C,D,{zone:T||Ee,setZone:void 0}));return J?At:At.setZone(Ee)}return Br.invalid(new Me("unparsable",'the input "'+P+"\" can't be parsed as "+M))}function ii(C,T,D){return void 0===D&&(D=!0),C.isValid?W.create(nr.create("en-US"),{allowZ:D,forceSimple:!0}).formatDateTimeFromString(C,T):null}function wi(C,T){var D=T.suppressSeconds,P=T.suppressMilliseconds,Ee=T.includeOffset,ze=T.includeZone,At=void 0!==ze&&ze,cn=T.spaceZone,An=T.format,Rn=void 0===An?"extended":An,ai="basic"===Rn?"HHmm":"HH:mm";return(!(void 0!==D&&D)||0!==C.second||0!==C.millisecond)&&(ai+="basic"===Rn?"ss":":ss",(!(void 0!==P&&P)||0!==C.millisecond)&&(ai+=".SSS")),(At||Ee)&&void 0!==cn&&cn&&(ai+=" "),At?ai+="z":Ee&&(ai+="basic"===Rn?"ZZZ":"ZZ"),ii(C,ai)}var Mi={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},co={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Xo=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],is=["year","ordinal","hour","minute","second","millisecond"];function Ks(C){var T={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[C.toLowerCase()];if(!T)throw new ue(C);return T}function zo(C,T){for(var M,D=O(Xo);!(M=D()).done;){var P=M.value;Je(C[P])&&(C[P]=Mi[P])}var J=vi(C)||bi(C);if(J)return Br.invalid(J);var Ee=Ei.now(),At=gn(C,T.offset(Ee),T);return new Br({ts:At[0],zone:T,o:At[1]})}function Ms(C,T,D){var M=!!Je(D.round)||D.round,P=function(An,Rn){return An=Dt(An,M||D.calendary?0:2,!0),T.loc.clone(D).relFormatter(D).format(An,Rn)},J=function(An){return D.calendary?T.hasSame(C,An)?0:T.startOf(An).diff(C.startOf(An),An).get(An):T.diff(C,An).get(An)};if(D.unit)return P(J(D.unit),D.unit);for(var ze,Ee=O(D.units);!(ze=Ee()).done;){var At=ze.value,cn=J(At);if(Math.abs(cn)>=1)return P(cn,At)}return P(0,D.units[D.units.length-1])}var Br=function(){function C(D){var M=D.zone||Ei.defaultZone,P=D.invalid||(Number.isNaN(D.ts)?new Me("invalid input"):null)||(M.isValid?null:ie(M));this.ts=Je(D.ts)?Ei.now():D.ts;var J=null,Ee=null;if(!P)if(D.old&&D.old.ts===this.ts&&D.old.zone.equals(M)){var At=[D.old.c,D.old.o];J=At[0],Ee=At[1]}else{var cn=M.offset(this.ts);J=Nt(this.ts,cn),J=(P=Number.isNaN(J.year)?new Me("invalid input"):null)?null:J,Ee=P?null:cn}this._zone=M,this.loc=D.loc||nr.create(),this.invalid=P,this.weekData=null,this.c=J,this.o=Ee,this.isLuxonDateTime=!0}C.local=function(M,P,J,Ee,ze,At,cn){return Je(M)?new C({ts:Ei.now()}):zo({year:M,month:P,day:J,hour:Ee,minute:ze,second:At,millisecond:cn},Ei.defaultZone)},C.utc=function(M,P,J,Ee,ze,At,cn){return Je(M)?new C({ts:Ei.now(),zone:pi.utcInstance}):zo({year:M,month:P,day:J,hour:Ee,minute:ze,second:At,millisecond:cn},pi.utcInstance)},C.fromJSDate=function(M,P){void 0===P&&(P={});var J=function tn(C){return"[object Date]"===Object.prototype.toString.call(C)}(M)?M.valueOf():NaN;if(Number.isNaN(J))return C.invalid("invalid input");var Ee=Ri(P.zone,Ei.defaultZone);return Ee.isValid?new C({ts:J,zone:Ee,loc:nr.fromObject(P)}):C.invalid(ie(Ee))},C.fromMillis=function(M,P){if(void 0===P&&(P={}),kt(M))return M<-pe||M>pe?C.invalid("Timestamp out of range"):new C({ts:M,zone:Ri(P.zone,Ei.defaultZone),loc:nr.fromObject(P)});throw new ee("fromMillis requires a numerical input, but received a "+typeof M+" with value "+M)},C.fromSeconds=function(M,P){if(void 0===P&&(P={}),kt(M))return new C({ts:1e3*M,zone:Ri(P.zone,Ei.defaultZone),loc:nr.fromObject(P)});throw new ee("fromSeconds requires a numerical input")},C.fromObject=function(M){var P=Ri(M.zone,Ei.defaultZone);if(!P.isValid)return C.invalid(ie(P));var J=Ei.now(),Ee=P.offset(J),ze=ri(M,Ks,["zone","locale","outputCalendar","numberingSystem"]),At=!Je(ze.ordinal),cn=!Je(ze.year),vn=!Je(ze.month)||!Je(ze.day),An=cn||vn,Rn=ze.weekYear||ze.weekNumber,ai=nr.fromObject(M);if((An||At)&&Rn)throw new ne("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(vn&&At)throw new ne("Can't mix ordinal dates with month/day");var gr,tr,Wi=Rn||ze.weekday&&!An,Si=Nt(J,Ee);Wi?(gr=so,tr=co,Si=Io(Si)):At?(gr=is,tr=qr,Si=So(Si)):(gr=Xo,tr=Mi);for(var Qs,Fo=!1,fa=O(gr);!(Qs=fa()).done;){var rs=Qs.value;Je(ze[rs])?ze[rs]=Fo?tr[rs]:Si[rs]:Fo=!0}var ja=Wi?function Wo(C){var T=pt(C.weekYear),D=_e(C.weekNumber,1,In(C.weekYear)),M=_e(C.weekday,1,7);return T?D?!M&&Di("weekday",C.weekday):Di("week",C.week):Di("weekYear",C.weekYear)}(ze):At?function ci(C){var T=pt(C.year),D=_e(C.ordinal,1,sn(C.year));return T?!D&&Di("ordinal",C.ordinal):Di("year",C.year)}(ze):vi(ze),ga=ja||bi(ze);if(ga)return C.invalid(ga);var Ss=gn(Wi?ho(ze):At?lo(ze):ze,Ee,P),Xs=new C({ts:Ss[0],zone:P,o:Ss[1],loc:ai});return ze.weekday&&An&&M.weekday!==Xs.weekday?C.invalid("mismatched weekday","you can't specify both a weekday of "+ze.weekday+" and a date of "+Xs.toISO()):Xs},C.fromISO=function(M,P){void 0===P&&(P={});var J=function Zn(C){return wo(C,[$i,at],[we,Yt],[Xe,hn],[Te,Mn])}(M);return Vn(J[0],J[1],P,"ISO 8601",M)},C.fromRFC2822=function(M,P){void 0===P&&(P={});var J=function ir(C){return wo(function oi(C){return C.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(C),[no,pr])}(M);return Vn(J[0],J[1],P,"RFC 2822",M)},C.fromHTTP=function(M,P){void 0===P&&(P={});var J=function Hi(C){return wo(C,[yr,io],[mr,io],[or,dr])}(M);return Vn(J[0],J[1],P,"HTTP",P)},C.fromFormat=function(M,P,J){if(void 0===J&&(J={}),Je(M)||Je(P))throw new ee("fromFormat requires an input string and a format");var ze=J.locale,cn=J.numberingSystem,Rn=function Wr(C,T,D){var M=oo(C,T,D);return[M.result,M.zone,M.invalidReason]}(nr.fromOpts({locale:void 0===ze?null:ze,numberingSystem:void 0===cn?null:cn,defaultToEN:!0}),M,P),ai=Rn[0],Wi=Rn[1],gr=Rn[2];return gr?C.invalid(gr):Vn(ai,Wi,J,"format "+P,M)},C.fromString=function(M,P,J){return void 0===J&&(J={}),C.fromFormat(M,P,J)},C.fromSQL=function(M,P){void 0===P&&(P={});var J=function ke(C){return wo(C,[ji,Xi],[Sr,lr])}(M);return Vn(J[0],J[1],P,"SQL",M)},C.invalid=function(M,P){if(void 0===P&&(P=null),!M)throw new ee("need to specify a reason the DateTime is invalid");var J=M instanceof Me?M:new Me(M,P);if(Ei.throwOnInvalid)throw new q(J);return new C({invalid:J})},C.isDateTime=function(M){return M&&M.isLuxonDateTime||!1};var T=C.prototype;return T.get=function(M){return this[M]},T.resolvedLocaleOpts=function(M){void 0===M&&(M={});var P=W.create(this.loc.clone(M),M).resolvedOptions(this);return{locale:P.locale,numberingSystem:P.numberingSystem,outputCalendar:P.calendar}},T.toUTC=function(M,P){return void 0===M&&(M=0),void 0===P&&(P={}),this.setZone(pi.instance(M),P)},T.toLocal=function(){return this.setZone(Ei.defaultZone)},T.setZone=function(M,P){var J=void 0===P?{}:P,Ee=J.keepLocalTime,ze=void 0!==Ee&&Ee,At=J.keepCalendarTime,cn=void 0!==At&&At;if((M=Ri(M,Ei.defaultZone)).equals(this.zone))return this;if(M.isValid){var vn=this.ts;if(ze||cn){var An=M.offset(this.ts);vn=gn(this.toObject(),An,M)[0]}return st(this,{ts:vn,zone:M})}return C.invalid(ie(M))},T.reconfigure=function(M){var P=void 0===M?{}:M;return st(this,{loc:this.loc.clone({locale:P.locale,numberingSystem:P.numberingSystem,outputCalendar:P.outputCalendar})})},T.setLocale=function(M){return this.reconfigure({locale:M})},T.set=function(M){if(!this.isValid)return this;var Ee,P=ri(M,Ks,[]);Je(P.weekYear)&&Je(P.weekNumber)&&Je(P.weekday)?Je(P.ordinal)?(Ee=Object.assign(this.toObject(),P),Je(P.day)&&(Ee.day=Math.min(Ln(Ee.year,Ee.month),Ee.day))):Ee=lo(Object.assign(So(this.c),P)):Ee=ho(Object.assign(Io(this.c),P));var ze=gn(Ee,this.o,this.zone);return st(this,{ts:ze[0],o:ze[1]})},T.plus=function(M){return this.isValid?st(this,pn(this,fr(M))):this},T.minus=function(M){return this.isValid?st(this,pn(this,fr(M).negate())):this},T.startOf=function(M){if(!this.isValid)return this;var P={},J=br.normalizeUnit(M);switch(J){case"years":P.month=1;case"quarters":case"months":P.day=1;case"weeks":case"days":P.hour=0;case"hours":P.minute=0;case"minutes":P.second=0;case"seconds":P.millisecond=0}if("weeks"===J&&(P.weekday=1),"quarters"===J){var Ee=Math.ceil(this.month/3);P.month=3*(Ee-1)+1}return this.set(P)},T.endOf=function(M){var P;return this.isValid?this.plus((P={},P[M]=1,P)).startOf(M).minus(1):this},T.toFormat=function(M,P){return void 0===P&&(P={}),this.isValid?W.create(this.loc.redefaultToEN(P)).formatDateTimeFromString(this,M):Vi},T.toLocaleString=function(M){return void 0===M&&(M=He),this.isValid?W.create(this.loc.clone(M),M).formatDateTime(this):Vi},T.toLocaleParts=function(M){return void 0===M&&(M={}),this.isValid?W.create(this.loc.clone(M),M).formatDateTimeParts(this):[]},T.toISO=function(M){return void 0===M&&(M={}),this.isValid?this.toISODate(M)+"T"+this.toISOTime(M):null},T.toISODate=function(M){var J=(void 0===M?{}:M).format,ze="basic"===(void 0===J?"extended":J)?"yyyyMMdd":"yyyy-MM-dd";return this.year>9999&&(ze="+"+ze),ii(this,ze)},T.toISOWeekDate=function(){return ii(this,"kkkk-'W'WW-c")},T.toISOTime=function(M){var P=void 0===M?{}:M,J=P.suppressMilliseconds,ze=P.suppressSeconds,cn=P.includeOffset,An=P.format;return wi(this,{suppressSeconds:void 0!==ze&&ze,suppressMilliseconds:void 0!==J&&J,includeOffset:void 0===cn||cn,format:void 0===An?"extended":An})},T.toRFC2822=function(){return ii(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},T.toHTTP=function(){return ii(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},T.toSQLDate=function(){return ii(this,"yyyy-MM-dd")},T.toSQLTime=function(M){var P=void 0===M?{}:M,J=P.includeOffset,ze=P.includeZone;return wi(this,{includeOffset:void 0===J||J,includeZone:void 0!==ze&&ze,spaceZone:!0})},T.toSQL=function(M){return void 0===M&&(M={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(M):null},T.toString=function(){return this.isValid?this.toISO():Vi},T.valueOf=function(){return this.toMillis()},T.toMillis=function(){return this.isValid?this.ts:NaN},T.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},T.toJSON=function(){return this.toISO()},T.toBSON=function(){return this.toJSDate()},T.toObject=function(M){if(void 0===M&&(M={}),!this.isValid)return{};var P=Object.assign({},this.c);return M.includeConfig&&(P.outputCalendar=this.outputCalendar,P.numberingSystem=this.loc.numberingSystem,P.locale=this.loc.locale),P},T.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},T.diff=function(M,P,J){if(void 0===P&&(P="milliseconds"),void 0===J&&(J={}),!this.isValid||!M.isValid)return br.invalid(this.invalid||M.invalid,"created by diffing an invalid DateTime");var Ee=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},J),ze=function kn(C){return Array.isArray(C)?C:[C]}(P).map(br.normalizeUnit),At=M.valueOf()>this.valueOf(),An=function Vo(C,T,D,M){var An,P=function Jo(C,T,D){for(var J,Ee,P={},ze=0,At=[["years",function(gr,tr){return tr.year-gr.year}],["months",function(gr,tr){return tr.month-gr.month+12*(tr.year-gr.year)}],["weeks",function(gr,tr){var Si=sr(gr,tr);return(Si-Si%7)/7}],["days",sr]];ze=0){var Rn;J=vn;var Wi,ai=An(C,T);(Ee=C.plus(((Rn={})[vn]=ai,Rn)))>T?(C=C.plus(((Wi={})[vn]=ai-1,Wi)),ai-=1):C=Ee,P[vn]=ai}}return[C,P,Ee,J]}(C,T,D),J=P[0],Ee=P[1],ze=P[2],At=P[3],cn=T-J,vn=D.filter(function(Wi){return["hours","minutes","seconds","milliseconds"].indexOf(Wi)>=0});0===vn.length&&(ze0?(ai=br.fromMillis(cn,M)).shiftTo.apply(ai,vn).plus(Rn):Rn}(At?this:M,At?M:this,ze,Ee);return At?An.negate():An},T.diffNow=function(M,P){return void 0===M&&(M="milliseconds"),void 0===P&&(P={}),this.diff(C.local(),M,P)},T.until=function(M){return this.isValid?ro.fromDateTimes(this,M):this},T.hasSame=function(M,P){if(!this.isValid)return!1;if("millisecond"===P)return this.valueOf()===M.valueOf();var J=M.valueOf();return this.startOf(P)<=J&&J<=this.endOf(P)},T.equals=function(M){return this.isValid&&M.isValid&&this.valueOf()===M.valueOf()&&this.zone.equals(M.zone)&&this.loc.equals(M.loc)},T.toRelative=function(M){if(void 0===M&&(M={}),!this.isValid)return null;var P=M.base||C.fromObject({zone:this.zone});return Ms(P,this.plus(M.padding?thisthis.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return Et(this.year)}},{key:"daysInMonth",get:function(){return Ln(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?sn(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?In(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return He}},{key:"DATE_MED",get:function(){return de}},{key:"DATE_FULL",get:function(){return Ce}},{key:"DATE_HUGE",get:function(){return Ze}},{key:"TIME_SIMPLE",get:function(){return ot}},{key:"TIME_WITH_SECONDS",get:function(){return Ke}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return xt}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return Be}},{key:"TIME_24_SIMPLE",get:function(){return Tt}},{key:"TIME_24_WITH_SECONDS",get:function(){return Zt}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return Sn}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return Xt}},{key:"DATETIME_SHORT",get:function(){return nn}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return mn}},{key:"DATETIME_MED",get:function(){return Jt}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return et}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return Pt}},{key:"DATETIME_FULL",get:function(){return Ot}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return bt}},{key:"DATETIME_HUGE",get:function(){return dt}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return ut}}]),C}();function re(C){if(Br.isDateTime(C))return C;if(C&&C.valueOf&&kt(C.valueOf()))return Br.fromJSDate(C);if(C&&"object"==typeof C)return Br.fromObject(C);throw new ee("Unknown datetime argument: "+C+", of type "+typeof C)}N.ou=Br,N.kI=Bo},7088:function(X,N,p){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(u){return/^nm$/i.test(u)},meridiem:function(u,d,c){return u<12?c?"vm":"VM":c?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(p(5439))},2502:function(X,N,p){!function(e){"use strict";var o=function(b){return 0===b?0:1===b?1:2===b?2:b%100>=3&&b%100<=10?3:b%100>=11?4:5},u={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},d=function(b){return function(k,A,I,H){var z=o(k),O=u[b][o(k)];return 2===z&&(O=O[A?0:1]),O.replace(/%d/i,k)}},c=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-dz",{months:c,monthsShort:c,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(b){return"\u0645"===b},meridiem:function(b,k,A){return b<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:d("s"),ss:d("s"),m:d("m"),mm:d("m"),h:d("h"),hh:d("h"),d:d("d"),dd:d("d"),M:d("M"),MM:d("M"),y:d("y"),yy:d("y")},postformat:function(b){return b.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(p(5439))},128:function(X,N,p){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(p(5439))},4519:function(X,N,p){!function(e){"use strict";var o={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},u=function(k){return 0===k?0:1===k?1:2===k?2:k%100>=3&&k%100<=10?3:k%100>=11?4:5},d={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},c=function(k){return function(A,I,H,z){var O=u(A),Z=d[k][u(A)];return 2===O&&(Z=Z[I?0:1]),Z.replace(/%d/i,A)}},g=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:g,monthsShort:g,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(k){return"\u0645"===k},meridiem:function(k,A,I){return k<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:c("s"),ss:c("s"),m:c("m"),mm:c("m"),h:c("h"),hh:c("h"),d:c("d"),dd:c("d"),M:c("M"),MM:c("M"),y:c("y"),yy:c("y")},preparse:function(k){return k.replace(/\u060c/g,",")},postformat:function(k){return k.replace(/\d/g,function(A){return o[A]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(p(5439))},5443:function(X,N,p){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(p(5439))},7642:function(X,N,p){!function(e){"use strict";var o={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,g,b){return c<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(c){return c.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(g){return u[g]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(p(5439))},8592:function(X,N,p){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(p(5439))},7038:function(X,N,p){!function(e){"use strict";var o={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},d=function(A){return 0===A?0:1===A?1:2===A?2:A%100>=3&&A%100<=10?3:A%100>=11?4:5},c={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},g=function(A){return function(I,H,z,O){var Z=d(I),q=c[A][d(I)];return 2===Z&&(q=q[H?0:1]),q.replace(/%d/i,I)}},b=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:b,monthsShort:b,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(A){return"\u0645"===A},meridiem:function(A,I,H){return A<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:g("s"),ss:g("s"),m:g("m"),mm:g("m"),h:g("h"),hh:g("h"),d:g("d"),dd:g("d"),M:g("M"),MM:g("M"),y:g("y"),yy:g("y")},preparse:function(A){return A.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(I){return u[I]}).replace(/\u060c/g,",")},postformat:function(A){return A.replace(/\d/g,function(I){return o[I]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(p(5439))},1213:function(X,N,p){!function(e){"use strict";var o={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(d){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(d)},meridiem:function(d,c,g){return d<4?"gec\u0259":d<12?"s\u0259h\u0259r":d<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(d){if(0===d)return d+"-\u0131nc\u0131";var c=d%10;return d+(o[c]||o[d%100-c]||o[d>=100?100:null])},week:{dow:1,doy:7}})}(p(5439))},9191:function(X,N,p){!function(e){"use strict";function u(c,g,b){return"m"===b?g?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===b?g?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":c+" "+function o(c,g){var b=c.split("_");return g%10==1&&g%100!=11?b[0]:g%10>=2&&g%10<=4&&(g%100<10||g%100>=20)?b[1]:b[2]}({ss:g?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:g?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:g?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[b],+c)}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:u,mm:u,h:u,hh:u,d:"\u0434\u0437\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(c){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(c)},meridiem:function(c,g,b){return c<4?"\u043d\u043e\u0447\u044b":c<12?"\u0440\u0430\u043d\u0456\u0446\u044b":c<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(c,g){switch(g){case"M":case"d":case"DDD":case"w":case"W":return c%10!=2&&c%10!=3||c%100==12||c%100==13?c+"-\u044b":c+"-\u0456";case"D":return c+"-\u0433\u0430";default:return c}},week:{dow:1,doy:7}})}(p(5439))},322:function(X,N,p){!function(e){"use strict";e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(u){var d=u%10,c=u%100;return 0===u?u+"-\u0435\u0432":0===c?u+"-\u0435\u043d":c>10&&c<20?u+"-\u0442\u0438":1===d?u+"-\u0432\u0438":2===d?u+"-\u0440\u0438":7===d||8===d?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(p(5439))},8042:function(X,N,p){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(p(5439))},5903:function(X,N,p){!function(e){"use strict";var o={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(c){return c.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(g){return u[g]})},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(c,g){return 12===c&&(c=0),"\u09b0\u09be\u09a4"===g?c<4?c:c+12:"\u09ad\u09cb\u09b0"===g||"\u09b8\u0995\u09be\u09b2"===g?c:"\u09a6\u09c1\u09aa\u09c1\u09b0"===g?c>=3?c:c+12:"\u09ac\u09bf\u0995\u09be\u09b2"===g||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===g?c+12:void 0},meridiem:function(c,g,b){return c<4?"\u09b0\u09be\u09a4":c<6?"\u09ad\u09cb\u09b0":c<12?"\u09b8\u0995\u09be\u09b2":c<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":c<18?"\u09ac\u09bf\u0995\u09be\u09b2":c<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(p(5439))},9620:function(X,N,p){!function(e){"use strict";var o={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(c){return c.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(g){return u[g]})},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(c,g){return 12===c&&(c=0),"\u09b0\u09be\u09a4"===g&&c>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===g&&c<5||"\u09ac\u09bf\u0995\u09be\u09b2"===g?c+12:c},meridiem:function(c,g,b){return c<4?"\u09b0\u09be\u09a4":c<10?"\u09b8\u0995\u09be\u09b2":c<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":c<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(p(5439))},9645:function(X,N,p){!function(e){"use strict";var o={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},u={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(c){return c.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(g){return u[g]})},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(c,g){return 12===c&&(c=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===g&&c>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===g&&c<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===g?c+12:c},meridiem:function(c,g,b){return c<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":c<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":c<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":c<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(p(5439))},5020:function(X,N,p){!function(e){"use strict";function o(q,te,V){return q+" "+function c(q,te){return 2===te?function g(q){var te={m:"v",b:"v",d:"z"};return void 0===te[q.charAt(0)]?q:te[q.charAt(0)]+q.substring(1)}(q):q}({mm:"munutenn",MM:"miz",dd:"devezh"}[V],q)}function d(q){return q>9?d(q%10):q}var b=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],k=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,O=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:O,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:O,monthsRegex:k,monthsShortRegex:k,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:b,longMonthsParse:b,shortMonthsParse:b,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:o,h:"un eur",hh:"%d eur",d:"un devezh",dd:o,M:"ur miz",MM:o,y:"ur bloaz",yy:function u(q){switch(d(q)){case 1:case 3:case 4:case 5:case 9:return q+" bloaz";default:return q+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(q){return q+(1===q?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(q){return"g.m."===q},meridiem:function(q,te,V){return q<12?"a.m.":"g.m."}})}(p(5439))},4792:function(X,N,p){!function(e){"use strict";function o(d,c,g){var b=d+" ";switch(g){case"ss":return b+(1===d?"sekunda":2===d||3===d||4===d?"sekunde":"sekundi");case"m":return c?"jedna minuta":"jedne minute";case"mm":return b+(1===d?"minuta":2===d||3===d||4===d?"minute":"minuta");case"h":return c?"jedan sat":"jednog sata";case"hh":return b+(1===d?"sat":2===d||3===d||4===d?"sata":"sati");case"dd":return b+(1===d?"dan":"dana");case"MM":return b+(1===d?"mjesec":2===d||3===d||4===d?"mjeseca":"mjeseci");case"yy":return b+(1===d?"godina":2===d||3===d||4===d?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:o,m:o,mm:o,h:o,hh:o,d:"dan",dd:o,M:"mjesec",MM:o,y:"godinu",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(p(5439))},7980:function(X,N,p){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(u,d){var c=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===d||"W"===d)&&(c="a"),u+c},week:{dow:1,doy:4}})}(p(5439))},7322:function(X,N,p){!function(e){"use strict";var o="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),u="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),d=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],c=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function g(A){return A>1&&A<5&&1!=~~(A/10)}function b(A,I,H,z){var O=A+" ";switch(H){case"s":return I||z?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return I||z?O+(g(A)?"sekundy":"sekund"):O+"sekundami";case"m":return I?"minuta":z?"minutu":"minutou";case"mm":return I||z?O+(g(A)?"minuty":"minut"):O+"minutami";case"h":return I?"hodina":z?"hodinu":"hodinou";case"hh":return I||z?O+(g(A)?"hodiny":"hodin"):O+"hodinami";case"d":return I||z?"den":"dnem";case"dd":return I||z?O+(g(A)?"dny":"dn\xed"):O+"dny";case"M":return I||z?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return I||z?O+(g(A)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):O+"m\u011bs\xedci";case"y":return I||z?"rok":"rokem";case"yy":return I||z?O+(g(A)?"roky":"let"):O+"lety"}}e.defineLocale("cs",{months:o,monthsShort:u,monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:d,longMonthsParse:d,shortMonthsParse:d,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},365:function(X,N,p){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(u){return u+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(u)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(u)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(p(5439))},2092:function(X,N,p){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(u){var c="";return u>20?c=40===u||50===u||60===u||80===u||100===u?"fed":"ain":u>0&&(c=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][u]),u+c},week:{dow:1,doy:4}})}(p(5439))},7387:function(X,N,p){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},9459:function(X,N,p){!function(e){"use strict";function o(d,c,g,b){var k={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[d+" Tage",d+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[d+" Monate",d+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[d+" Jahre",d+" Jahren"]};return c?k[g][0]:k[g][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:o,mm:"%d Minuten",h:o,hh:"%d Stunden",d:o,dd:o,w:o,ww:"%d Wochen",M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},3694:function(X,N,p){!function(e){"use strict";function o(d,c,g,b){var k={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[d+" Tage",d+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[d+" Monate",d+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[d+" Jahre",d+" Jahren"]};return c?k[g][0]:k[g][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:o,mm:"%d Minuten",h:o,hh:"%d Stunden",d:o,dd:o,w:o,ww:"%d Wochen",M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},4307:function(X,N,p){!function(e){"use strict";function o(d,c,g,b){var k={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[d+" Tage",d+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[d+" Monate",d+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[d+" Jahre",d+" Jahren"]};return c?k[g][0]:k[g][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:o,mm:"%d Minuten",h:o,hh:"%d Stunden",d:o,dd:o,w:o,ww:"%d Wochen",M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},9659:function(X,N,p){!function(e){"use strict";var o=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],u=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:o,monthsShort:o,weekdays:u,weekdaysShort:u,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(c){return"\u0789\u078a"===c},meridiem:function(c,g,b){return c<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(p(5439))},3460:function(X,N,p){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(d,c){return d?"string"==typeof c&&/D/.test(c.substring(0,c.indexOf("MMMM")))?this._monthsGenitiveEl[d.month()]:this._monthsNominativeEl[d.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(d,c,g){return d>11?g?"\u03bc\u03bc":"\u039c\u039c":g?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(d){return"\u03bc"===(d+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(d,c){var g=this._calendarEl[d],b=c&&c.hours();return function o(d){return"undefined"!=typeof Function&&d instanceof Function||"[object Function]"===Object.prototype.toString.call(d)}(g)&&(g=g.apply(c)),g.replace("{}",b%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(p(5439))},4369:function(X,N,p){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var d=u%10;return u+(1==~~(u%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:0,doy:4}})}(p(5439))},530:function(X,N,p){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var d=u%10;return u+(1==~~(u%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")}})}(p(5439))},9998:function(X,N,p){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var d=u%10;return u+(1==~~(u%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(p(5439))},3391:function(X,N,p){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var d=u%10;return u+(1==~~(u%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(p(5439))},5414:function(X,N,p){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var d=u%10;return u+(1==~~(u%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")}})}(p(5439))},9615:function(X,N,p){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var d=u%10;return u+(1==~~(u%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:0,doy:6}})}(p(5439))},1248:function(X,N,p){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var d=u%10;return u+(1==~~(u%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(p(5439))},3767:function(X,N,p){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var d=u%10;return u+(1==~~(u%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(p(5439))},4530:function(X,N,p){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(u){return"p"===u.charAt(0).toLowerCase()},meridiem:function(u,d,c){return u>11?c?"p.t.m.":"P.T.M.":c?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(p(5439))},8944:function(X,N,p){!function(e){"use strict";var o="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),d=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],c=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(b,k){return b?/-MMM-/.test(k)?u[b.month()]:o[b.month()]:o},monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:d,longMonthsParse:d,shortMonthsParse:d,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(p(5439))},9116:function(X,N,p){!function(e){"use strict";var o="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),d=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],c=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(b,k){return b?/-MMM-/.test(k)?u[b.month()]:o[b.month()]:o},monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:d,longMonthsParse:d,shortMonthsParse:d,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(p(5439))},3609:function(X,N,p){!function(e){"use strict";var o="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),d=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],c=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(b,k){return b?/-MMM-/.test(k)?u[b.month()]:o[b.month()]:o},monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:d,longMonthsParse:d,shortMonthsParse:d,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(p(5439))},6866:function(X,N,p){!function(e){"use strict";var o="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),d=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],c=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(b,k){return b?/-MMM-/.test(k)?u[b.month()]:o[b.month()]:o},monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:d,longMonthsParse:d,shortMonthsParse:d,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(p(5439))},6725:function(X,N,p){!function(e){"use strict";function o(d,c,g,b){var k={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[d+"sekundi",d+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[d+" minuti",d+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[d+" tunni",d+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[d+" kuu",d+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[d+" aasta",d+" aastat"]};return c?k[g][2]?k[g][2]:k[g][1]:b?k[g][0]:k[g][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:"%d p\xe4eva",M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},7931:function(X,N,p){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(p(5439))},6417:function(X,N,p){!function(e){"use strict";var o={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},u={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(c){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(c)},meridiem:function(c,g,b){return c<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/[\u06f0-\u06f9]/g,function(g){return u[g]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(p(5439))},944:function(X,N,p){!function(e){"use strict";var o="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),u=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",o[7],o[8],o[9]];function d(b,k,A,I){var H="";switch(A){case"s":return I?"muutaman sekunnin":"muutama sekunti";case"ss":H=I?"sekunnin":"sekuntia";break;case"m":return I?"minuutin":"minuutti";case"mm":H=I?"minuutin":"minuuttia";break;case"h":return I?"tunnin":"tunti";case"hh":H=I?"tunnin":"tuntia";break;case"d":return I?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":H=I?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return I?"kuukauden":"kuukausi";case"MM":H=I?"kuukauden":"kuukautta";break;case"y":return I?"vuoden":"vuosi";case"yy":H=I?"vuoden":"vuotta"}return function c(b,k){return b<10?k?u[b]:o[b]:b}(b,I)+" "+H}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},1766:function(X,N,p){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(u){return u},week:{dow:1,doy:4}})}(p(5439))},5867:function(X,N,p){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},6848:function(X,N,p){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(u,d){switch(d){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}}})}(p(5439))},7773:function(X,N,p){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(u,d){switch(d){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(p(5439))},1636:function(X,N,p){!function(e){"use strict";var d=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,c=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:d,monthsShortRegex:d,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(b,k){switch(k){case"D":return b+(1===b?"er":"");default:case"M":case"Q":case"DDD":case"d":return b+(1===b?"er":"e");case"w":case"W":return b+(1===b?"re":"e")}},week:{dow:1,doy:4}})}(p(5439))},4940:function(X,N,p){!function(e){"use strict";var o="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),u="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(c,g){return c?/-MMM-/.test(g)?u[c.month()]:o[c.month()]:o},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(c){return c+(1===c||8===c||c>=20?"ste":"de")},week:{dow:1,doy:4}})}(p(5439))},1402:function(X,N,p){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(k){return k+(1===k?"d":k%10==2?"na":"mh")},week:{dow:1,doy:4}})}(p(5439))},6924:function(X,N,p){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(k){return k+(1===k?"d":k%10==2?"na":"mh")},week:{dow:1,doy:4}})}(p(5439))},6398:function(X,N,p){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(u){return 0===u.indexOf("un")?"n"+u:"en "+u},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(p(5439))},2457:function(X,N,p){!function(e){"use strict";function o(d,c,g,b){var k={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[d+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",d+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[d+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",d+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[d+" \u0935\u0930\u093e\u0902\u0928\u0940",d+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[d+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",d+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[d+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",d+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[d+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",d+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return b?k[g][0]:k[g][1]}e.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(d,c){return"D"===c?d+"\u0935\u0947\u0930":d},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(d,c){return 12===d&&(d=0),"\u0930\u093e\u0924\u0940"===c?d<4?d:d+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===c?d:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===c?d>12?d:d+12:"\u0938\u093e\u0902\u091c\u0947"===c?d+12:void 0},meridiem:function(d,c,g){return d<4?"\u0930\u093e\u0924\u0940":d<12?"\u0938\u0915\u093e\u0933\u0940\u0902":d<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":d<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(p(5439))},2545:function(X,N,p){!function(e){"use strict";function o(d,c,g,b){var k={s:["thoddea sekondamni","thodde sekond"],ss:[d+" sekondamni",d+" sekond"],m:["eka mintan","ek minut"],mm:[d+" mintamni",d+" mintam"],h:["eka voran","ek vor"],hh:[d+" voramni",d+" voram"],d:["eka disan","ek dis"],dd:[d+" disamni",d+" dis"],M:["eka mhoinean","ek mhoino"],MM:[d+" mhoineamni",d+" mhoine"],y:["eka vorsan","ek voros"],yy:[d+" vorsamni",d+" vorsam"]};return b?k[g][0]:k[g][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(d,c){return"D"===c?d+"er":d},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(d,c){return 12===d&&(d=0),"rati"===c?d<4?d:d+12:"sokallim"===c?d:"donparam"===c?d>12?d:d+12:"sanje"===c?d+12:void 0},meridiem:function(d,c,g){return d<4?"rati":d<12?"sokallim":d<16?"donparam":d<20?"sanje":"rati"}})}(p(5439))},2641:function(X,N,p){!function(e){"use strict";var o={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},u={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(c){return c.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(g){return u[g]})},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(c,g){return 12===c&&(c=0),"\u0ab0\u0abe\u0aa4"===g?c<4?c:c+12:"\u0ab8\u0ab5\u0abe\u0ab0"===g?c:"\u0aac\u0aaa\u0acb\u0ab0"===g?c>=10?c:c+12:"\u0ab8\u0abe\u0a82\u0a9c"===g?c+12:void 0},meridiem:function(c,g,b){return c<4?"\u0ab0\u0abe\u0aa4":c<10?"\u0ab8\u0ab5\u0abe\u0ab0":c<17?"\u0aac\u0aaa\u0acb\u0ab0":c<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(p(5439))},7536:function(X,N,p){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(u){return 2===u?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":u+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(u){return 2===u?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":u+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(u){return 2===u?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":u+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(u){return 2===u?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":u%10==0&&10!==u?u+" \u05e9\u05e0\u05d4":u+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(u){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(u)},meridiem:function(u,d,c){return u<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":u<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":u<12?c?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":u<18?c?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(p(5439))},6335:function(X,N,p){!function(e){"use strict";var o={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},d=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];e.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:d,longMonthsParse:d,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(b){return b.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return u[k]})},postformat:function(b){return b.replace(/\d/g,function(k){return o[k]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(b,k){return 12===b&&(b=0),"\u0930\u093e\u0924"===k?b<4?b:b+12:"\u0938\u0941\u092c\u0939"===k?b:"\u0926\u094b\u092a\u0939\u0930"===k?b>=10?b:b+12:"\u0936\u093e\u092e"===k?b+12:void 0},meridiem:function(b,k,A){return b<4?"\u0930\u093e\u0924":b<10?"\u0938\u0941\u092c\u0939":b<17?"\u0926\u094b\u092a\u0939\u0930":b<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(p(5439))},7458:function(X,N,p){!function(e){"use strict";function o(d,c,g){var b=d+" ";switch(g){case"ss":return b+(1===d?"sekunda":2===d||3===d||4===d?"sekunde":"sekundi");case"m":return c?"jedna minuta":"jedne minute";case"mm":return b+(1===d?"minuta":2===d||3===d||4===d?"minute":"minuta");case"h":return c?"jedan sat":"jednog sata";case"hh":return b+(1===d?"sat":2===d||3===d||4===d?"sata":"sati");case"dd":return b+(1===d?"dan":"dana");case"MM":return b+(1===d?"mjesec":2===d||3===d||4===d?"mjeseca":"mjeseci");case"yy":return b+(1===d?"godina":2===d||3===d||4===d?"godine":"godina")}}e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:o,m:o,mm:o,h:o,hh:o,d:"dan",dd:o,M:"mjesec",MM:o,y:"godinu",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(p(5439))},6540:function(X,N,p){!function(e){"use strict";var o="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function u(g,b,k,A){var I=g;switch(k){case"s":return A||b?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return I+(A||b)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(A||b?" perc":" perce");case"mm":return I+(A||b?" perc":" perce");case"h":return"egy"+(A||b?" \xf3ra":" \xf3r\xe1ja");case"hh":return I+(A||b?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(A||b?" nap":" napja");case"dd":return I+(A||b?" nap":" napja");case"M":return"egy"+(A||b?" h\xf3nap":" h\xf3napja");case"MM":return I+(A||b?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(A||b?" \xe9v":" \xe9ve");case"yy":return I+(A||b?" \xe9v":" \xe9ve")}return""}function d(g){return(g?"":"[m\xfalt] ")+"["+o[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(g){return"u"===g.charAt(1).toLowerCase()},meridiem:function(g,b,k){return g<12?!0===k?"de":"DE":!0===k?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return d.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return d.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},5283:function(X,N,p){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(u){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(u)},meridiem:function(u){return u<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":u<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":u<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(u,d){switch(d){case"DDD":case"w":case"W":case"DDDo":return 1===u?u+"-\u056b\u0576":u+"-\u0580\u0564";default:return u}},week:{dow:1,doy:7}})}(p(5439))},8780:function(X,N,p){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(u,d){return 12===u&&(u=0),"pagi"===d?u:"siang"===d?u>=11?u:u+12:"sore"===d||"malam"===d?u+12:void 0},meridiem:function(u,d,c){return u<11?"pagi":u<15?"siang":u<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(p(5439))},4205:function(X,N,p){!function(e){"use strict";function o(c){return c%100==11||c%10!=1}function u(c,g,b,k){var A=c+" ";switch(b){case"s":return g||k?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return o(c)?A+(g||k?"sek\xfandur":"sek\xfandum"):A+"sek\xfanda";case"m":return g?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return o(c)?A+(g||k?"m\xedn\xfatur":"m\xedn\xfatum"):g?A+"m\xedn\xfata":A+"m\xedn\xfatu";case"hh":return o(c)?A+(g||k?"klukkustundir":"klukkustundum"):A+"klukkustund";case"d":return g?"dagur":k?"dag":"degi";case"dd":return o(c)?g?A+"dagar":A+(k?"daga":"d\xf6gum"):g?A+"dagur":A+(k?"dag":"degi");case"M":return g?"m\xe1nu\xf0ur":k?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return o(c)?g?A+"m\xe1nu\xf0ir":A+(k?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):g?A+"m\xe1nu\xf0ur":A+(k?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return g||k?"\xe1r":"\xe1ri";case"yy":return o(c)?A+(g||k?"\xe1r":"\xe1rum"):A+(g||k?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:u,ss:u,m:u,mm:u,h:"klukkustund",hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},9985:function(X,N,p){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(u){return(/^[0-9].+$/.test(u)?"tra":"in")+" "+u},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(p(5439))},4211:function(X,N,p){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(p(5439))},1003:function(X,N,p){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(u,d){return"\u5143"===d[1]?1:parseInt(d[1]||u,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(u){return"\u5348\u5f8c"===u},meridiem:function(u,d,c){return u<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(u){return u.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(u){return this.week()!==u.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(u,d){switch(d){case"y":return 1===u?"\u5143\u5e74":u+"\u5e74";case"d":case"D":case"DDD":return u+"\u65e5";default:return u}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(p(5439))},420:function(X,N,p){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(u,d){return 12===u&&(u=0),"enjing"===d?u:"siyang"===d?u>=11?u:u+12:"sonten"===d||"ndalu"===d?u+12:void 0},meridiem:function(u,d,c){return u<11?"enjing":u<15?"siyang":u<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(p(5439))},851:function(X,N,p){!function(e){"use strict";e.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(u){return u.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(d,c,g){return"\u10d8"===g?c+"\u10e8\u10d8":c+g+"\u10e8\u10d8"})},past:function(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(u)?u.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(u)?u.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):u},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(u){return 0===u?u:1===u?u+"-\u10da\u10d8":u<20||u<=100&&u%20==0||u%100==0?"\u10db\u10d4-"+u:u+"-\u10d4"},week:{dow:1,doy:7}})}(p(5439))},6074:function(X,N,p){!function(e){"use strict";var o={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(d){return d+(o[d]||o[d%10]||o[d>=100?100:null])},week:{dow:1,doy:7}})}(p(5439))},3343:function(X,N,p){!function(e){"use strict";var o={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},u={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(c){return"\u179b\u17d2\u1784\u17b6\u1785"===c},meridiem:function(c,g,b){return c<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(c){return c.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(g){return u[g]})},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]})},week:{dow:1,doy:4}})}(p(5439))},4799:function(X,N,p){!function(e){"use strict";var o={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},u={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(c){return c.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(g){return u[g]})},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(c,g){return 12===c&&(c=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===g?c<4?c:c+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===g?c:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===g?c>=10?c:c+12:"\u0cb8\u0c82\u0c9c\u0cc6"===g?c+12:void 0},meridiem:function(c,g,b){return c<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":c<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":c<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":c<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(c){return c+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(p(5439))},3549:function(X,N,p){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(u,d){switch(d){case"d":case"D":case"DDD":return u+"\uc77c";case"M":return u+"\uc6d4";case"w":case"W":return u+"\uc8fc";default:return u}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(u){return"\uc624\ud6c4"===u},meridiem:function(u,d,c){return u<12?"\uc624\uc804":"\uc624\ud6c4"}})}(p(5439))},1037:function(X,N,p){!function(e){"use strict";var o={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},d=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];e.defineLocale("ku",{months:d,monthsShort:d,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(g){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(g)},meridiem:function(g,b,k){return g<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(g){return g.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(b){return u[b]}).replace(/\u060c/g,",")},postformat:function(g){return g.replace(/\d/g,function(b){return o[b]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(p(5439))},3125:function(X,N,p){!function(e){"use strict";var o={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(d){return d+(o[d]||o[d%10]||o[d>=100?100:null])},week:{dow:1,doy:7}})}(p(5439))},9586:function(X,N,p){!function(e){"use strict";function o(b,k,A,I){var H={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return k?H[A][0]:H[A][1]}function c(b){if(b=parseInt(b,10),isNaN(b))return!1;if(b<0)return!0;if(b<10)return 4<=b&&b<=7;if(b<100){var k=b%10;return c(0===k?b/10:k)}if(b<1e4){for(;b>=10;)b/=10;return c(b)}return c(b/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function u(b){return c(b.substr(0,b.indexOf(" ")))?"a "+b:"an "+b},past:function d(b){return c(b.substr(0,b.indexOf(" ")))?"viru "+b:"virun "+b},s:"e puer Sekonnen",ss:"%d Sekonnen",m:o,mm:"%d Minutten",h:o,hh:"%d Stonnen",d:o,dd:"%d Deeg",M:o,MM:"%d M\xe9int",y:o,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},2349:function(X,N,p){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(u){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===u},meridiem:function(u,d,c){return u<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(u){return"\u0e97\u0eb5\u0ec8"+u}})}(p(5439))},2400:function(X,N,p){!function(e){"use strict";var o={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function d(A,I,H,z){return I?g(H)[0]:z?g(H)[1]:g(H)[2]}function c(A){return A%10==0||A>10&&A<20}function g(A){return o[A].split("_")}function b(A,I,H,z){var O=A+" ";return 1===A?O+d(0,I,H[0],z):I?O+(c(A)?g(H)[1]:g(H)[0]):z?O+g(H)[1]:O+(c(A)?g(H)[1]:g(H)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function u(A,I,H,z){return I?"kelios sekund\u0117s":z?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:b,m:d,mm:b,h:d,hh:b,d,dd:b,M:d,MM:b,y:d,yy:b},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(A){return A+"-oji"},week:{dow:1,doy:4}})}(p(5439))},9991:function(X,N,p){!function(e){"use strict";var o={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function u(k,A,I){return I?A%10==1&&A%100!=11?k[2]:k[3]:A%10==1&&A%100!=11?k[0]:k[1]}function d(k,A,I){return k+" "+u(o[I],k,A)}function c(k,A,I){return u(o[I],k,A)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function g(k,A){return A?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:d,m:c,mm:d,h:c,hh:d,d:c,dd:d,M:c,MM:d,y:c,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},8477:function(X,N,p){!function(e){"use strict";var o={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(d,c){return 1===d?c[0]:d>=2&&d<=4?c[1]:c[2]},translate:function(d,c,g){var b=o.words[g];return 1===g.length?c?b[0]:b[1]:d+" "+o.correctGrammaticalCase(d,b)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:o.translate,m:o.translate,mm:o.translate,h:o.translate,hh:o.translate,d:"dan",dd:o.translate,M:"mjesec",MM:o.translate,y:"godinu",yy:o.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(p(5439))},5118:function(X,N,p){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(p(5439))},5943:function(X,N,p){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(u){var d=u%10,c=u%100;return 0===u?u+"-\u0435\u0432":0===c?u+"-\u0435\u043d":c>10&&c<20?u+"-\u0442\u0438":1===d?u+"-\u0432\u0438":2===d?u+"-\u0440\u0438":7===d||8===d?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(p(5439))},3849:function(X,N,p){!function(e){"use strict";e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(u,d){return 12===u&&(u=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===d&&u>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===d||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===d?u+12:u},meridiem:function(u,d,c){return u<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":u<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":u<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":u<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(p(5439))},1977:function(X,N,p){!function(e){"use strict";function o(d,c,g,b){switch(g){case"s":return c?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return d+(c?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return d+(c?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return d+(c?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return d+(c?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return d+(c?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return d+(c?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return d}}e.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(d){return"\u04ae\u0425"===d},meridiem:function(d,c,g){return d<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(d,c){switch(c){case"d":case"D":case"DDD":return d+" \u04e9\u0434\u04e9\u0440";default:return d}}})}(p(5439))},3482:function(X,N,p){!function(e){"use strict";var o={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function d(g,b,k,A){var I="";if(b)switch(k){case"s":I="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":I="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":I="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":I="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":I="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":I="%d \u0924\u093e\u0938";break;case"d":I="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":I="%d \u0926\u093f\u0935\u0938";break;case"M":I="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":I="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":I="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":I="%d \u0935\u0930\u094d\u0937\u0947"}else switch(k){case"s":I="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":I="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":I="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":I="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":I="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":I="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":I="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":I="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":I="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":I="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":I="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":I="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return I.replace(/%d/i,g)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},preparse:function(g){return g.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(b){return u[b]})},postformat:function(g){return g.replace(/\d/g,function(b){return o[b]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(g,b){return 12===g&&(g=0),"\u092a\u0939\u093e\u091f\u0947"===b||"\u0938\u0915\u093e\u0933\u0940"===b?g:"\u0926\u0941\u092a\u093e\u0930\u0940"===b||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===b||"\u0930\u093e\u0924\u094d\u0930\u0940"===b?g>=12?g:g+12:void 0},meridiem:function(g,b,k){return g>=0&&g<6?"\u092a\u0939\u093e\u091f\u0947":g<12?"\u0938\u0915\u093e\u0933\u0940":g<17?"\u0926\u0941\u092a\u093e\u0930\u0940":g<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(p(5439))},4524:function(X,N,p){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(u,d){return 12===u&&(u=0),"pagi"===d?u:"tengahari"===d?u>=11?u:u+12:"petang"===d||"malam"===d?u+12:void 0},meridiem:function(u,d,c){return u<11?"pagi":u<15?"tengahari":u<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(p(5439))},485:function(X,N,p){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(u,d){return 12===u&&(u=0),"pagi"===d?u:"tengahari"===d?u>=11?u:u+12:"petang"===d||"malam"===d?u+12:void 0},meridiem:function(u,d,c){return u<11?"pagi":u<15?"tengahari":u<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(p(5439))},6681:function(X,N,p){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(p(5439))},2024:function(X,N,p){!function(e){"use strict";var o={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},u={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(c){return c.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(g){return u[g]})},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]})},week:{dow:1,doy:4}})}(p(5439))},2688:function(X,N,p){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},8914:function(X,N,p){!function(e){"use strict";var o={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(g){return u[g]})},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(c,g){return 12===c&&(c=0),"\u0930\u093e\u0924\u093f"===g?c<4?c:c+12:"\u092c\u093f\u0939\u093e\u0928"===g?c:"\u0926\u093f\u0909\u0901\u0938\u094b"===g?c>=10?c:c+12:"\u0938\u093e\u0901\u091d"===g?c+12:void 0},meridiem:function(c,g,b){return c<3?"\u0930\u093e\u0924\u093f":c<12?"\u092c\u093f\u0939\u093e\u0928":c<16?"\u0926\u093f\u0909\u0901\u0938\u094b":c<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(p(5439))},2272:function(X,N,p){!function(e){"use strict";var o="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),d=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],c=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(b,k){return b?/-MMM-/.test(k)?u[b.month()]:o[b.month()]:o},monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:d,longMonthsParse:d,shortMonthsParse:d,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(b){return b+(1===b||8===b||b>=20?"ste":"de")},week:{dow:1,doy:4}})}(p(5439))},1758:function(X,N,p){!function(e){"use strict";var o="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),d=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],c=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(b,k){return b?/-MMM-/.test(k)?u[b.month()]:o[b.month()]:o},monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:d,longMonthsParse:d,shortMonthsParse:d,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(b){return b+(1===b||8===b||b>=20?"ste":"de")},week:{dow:1,doy:4}})}(p(5439))},1510:function(X,N,p){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},2797:function(X,N,p){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(u,d){var c=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===d||"W"===d)&&(c="a"),u+c},week:{dow:1,doy:4}})}(p(5439))},7944:function(X,N,p){!function(e){"use strict";var o={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},u={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(c){return c.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(g){return u[g]})},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(c,g){return 12===c&&(c=0),"\u0a30\u0a3e\u0a24"===g?c<4?c:c+12:"\u0a38\u0a35\u0a47\u0a30"===g?c:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===g?c>=10?c:c+12:"\u0a38\u0a3c\u0a3e\u0a2e"===g?c+12:void 0},meridiem:function(c,g,b){return c<4?"\u0a30\u0a3e\u0a24":c<10?"\u0a38\u0a35\u0a47\u0a30":c<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":c<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(p(5439))},1605:function(X,N,p){!function(e){"use strict";var o="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),u="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),d=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function c(k){return k%10<5&&k%10>1&&~~(k/10)%10!=1}function g(k,A,I){var H=k+" ";switch(I){case"ss":return H+(c(k)?"sekundy":"sekund");case"m":return A?"minuta":"minut\u0119";case"mm":return H+(c(k)?"minuty":"minut");case"h":return A?"godzina":"godzin\u0119";case"hh":return H+(c(k)?"godziny":"godzin");case"ww":return H+(c(k)?"tygodnie":"tygodni");case"MM":return H+(c(k)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return H+(c(k)?"lata":"lat")}}e.defineLocale("pl",{months:function(k,A){return k?/D MMMM/.test(A)?u[k.month()]:o[k.month()]:o},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:d,longMonthsParse:d,shortMonthsParse:d,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:g,m:g,mm:g,h:g,hh:g,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:g,M:"miesi\u0105c",MM:g,y:"rok",yy:g},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},3840:function(X,N,p){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(p(5439))},4225:function(X,N,p){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(p(5439))},5128:function(X,N,p){!function(e){"use strict";function o(d,c,g){var k=" ";return(d%100>=20||d>=100&&d%100==0)&&(k=" de "),d+k+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[g]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:o,m:"un minut",mm:o,h:"o or\u0103",hh:o,d:"o zi",dd:o,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:o,M:"o lun\u0103",MM:o,y:"un an",yy:o},week:{dow:1,doy:7}})}(p(5439))},5127:function(X,N,p){!function(e){"use strict";function u(g,b,k){return"m"===k?b?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":g+" "+function o(g,b){var k=g.split("_");return b%10==1&&b%100!=11?k[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?k[1]:k[2]}({ss:b?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:b?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[k],+g)}var d=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:d,longMonthsParse:d,shortMonthsParse:d,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(g){if(g.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(g){if(g.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:u,m:u,mm:u,h:"\u0447\u0430\u0441",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(g){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(g)},meridiem:function(g,b,k){return g<4?"\u043d\u043e\u0447\u0438":g<12?"\u0443\u0442\u0440\u0430":g<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(g,b){switch(b){case"M":case"d":case"DDD":return g+"-\u0439";case"D":return g+"-\u0433\u043e";case"w":case"W":return g+"-\u044f";default:return g}},week:{dow:1,doy:4}})}(p(5439))},2525:function(X,N,p){!function(e){"use strict";var o=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],u=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:o,monthsShort:o,weekdays:u,weekdaysShort:u,weekdaysMin:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,g,b){return c<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(p(5439))},9893:function(X,N,p){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},3123:function(X,N,p){!function(e){"use strict";e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(u){return u+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(u){return"\u0db4.\u0dc0."===u||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===u},meridiem:function(u,d,c){return u>11?c?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":c?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(p(5439))},9635:function(X,N,p){!function(e){"use strict";var o="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),u="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function d(b){return b>1&&b<5}function c(b,k,A,I){var H=b+" ";switch(A){case"s":return k||I?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return k||I?H+(d(b)?"sekundy":"sek\xfand"):H+"sekundami";case"m":return k?"min\xfata":I?"min\xfatu":"min\xfatou";case"mm":return k||I?H+(d(b)?"min\xfaty":"min\xfat"):H+"min\xfatami";case"h":return k?"hodina":I?"hodinu":"hodinou";case"hh":return k||I?H+(d(b)?"hodiny":"hod\xedn"):H+"hodinami";case"d":return k||I?"de\u0148":"d\u0148om";case"dd":return k||I?H+(d(b)?"dni":"dn\xed"):H+"d\u0148ami";case"M":return k||I?"mesiac":"mesiacom";case"MM":return k||I?H+(d(b)?"mesiace":"mesiacov"):H+"mesiacmi";case"y":return k||I?"rok":"rokom";case"yy":return k||I?H+(d(b)?"roky":"rokov"):H+"rokmi"}}e.defineLocale("sk",{months:o,monthsShort:u,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},8106:function(X,N,p){!function(e){"use strict";function o(d,c,g,b){var k=d+" ";switch(g){case"s":return c||b?"nekaj sekund":"nekaj sekundami";case"ss":return k+(1===d?c?"sekundo":"sekundi":2===d?c||b?"sekundi":"sekundah":d<5?c||b?"sekunde":"sekundah":"sekund");case"m":return c?"ena minuta":"eno minuto";case"mm":return k+(1===d?c?"minuta":"minuto":2===d?c||b?"minuti":"minutama":d<5?c||b?"minute":"minutami":c||b?"minut":"minutami");case"h":return c?"ena ura":"eno uro";case"hh":return k+(1===d?c?"ura":"uro":2===d?c||b?"uri":"urama":d<5?c||b?"ure":"urami":c||b?"ur":"urami");case"d":return c||b?"en dan":"enim dnem";case"dd":return k+(1===d?c||b?"dan":"dnem":2===d?c||b?"dni":"dnevoma":c||b?"dni":"dnevi");case"M":return c||b?"en mesec":"enim mesecem";case"MM":return k+(1===d?c||b?"mesec":"mesecem":2===d?c||b?"meseca":"mesecema":d<5?c||b?"mesece":"meseci":c||b?"mesecev":"meseci");case"y":return c||b?"eno leto":"enim letom";case"yy":return k+(1===d?c||b?"leto":"letom":2===d?c||b?"leti":"letoma":d<5?c||b?"leta":"leti":c||b?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(p(5439))},8799:function(X,N,p){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(u){return"M"===u.charAt(0)},meridiem:function(u,d,c){return u<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},2872:function(X,N,p){!function(e){"use strict";var o={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(d,c){return 1===d?c[0]:d>=2&&d<=4?c[1]:c[2]},translate:function(d,c,g){var b=o.words[g];return 1===g.length?c?b[0]:b[1]:d+" "+o.correctGrammaticalCase(d,b)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:o.translate,m:o.translate,mm:o.translate,h:o.translate,hh:o.translate,d:"\u0434\u0430\u043d",dd:o.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:o.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:o.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(p(5439))},7949:function(X,N,p){!function(e){"use strict";var o={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(d,c){return 1===d?c[0]:d>=2&&d<=4?c[1]:c[2]},translate:function(d,c,g){var b=o.words[g];return 1===g.length?c?b[0]:b[1]:d+" "+o.correctGrammaticalCase(d,b)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:o.translate,m:o.translate,mm:o.translate,h:o.translate,hh:o.translate,d:"dan",dd:o.translate,M:"mesec",MM:o.translate,y:"godinu",yy:o.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(p(5439))},6167:function(X,N,p){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(u,d,c){return u<11?"ekuseni":u<15?"emini":u<19?"entsambama":"ebusuku"},meridiemHour:function(u,d){return 12===u&&(u=0),"ekuseni"===d?u:"emini"===d?u>=11?u:u+12:"entsambama"===d||"ebusuku"===d?0===u?0:u+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(p(5439))},9713:function(X,N,p){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(u){var d=u%10;return u+(1==~~(u%100/10)?":e":1===d||2===d?":a":":e")},week:{dow:1,doy:4}})}(p(5439))},1982:function(X,N,p){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(p(5439))},2732:function(X,N,p){!function(e){"use strict";var o={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},u={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(c){return c+"\u0bb5\u0ba4\u0bc1"},preparse:function(c){return c.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(g){return u[g]})},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(c,g,b){return c<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":c<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":c<10?" \u0b95\u0bbe\u0bb2\u0bc8":c<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":c<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":c<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(c,g){return 12===c&&(c=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===g?c<2?c:c+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===g||"\u0b95\u0bbe\u0bb2\u0bc8"===g||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===g&&c>=10?c:c+12},week:{dow:0,doy:6}})}(p(5439))},3636:function(X,N,p){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(u,d){return 12===u&&(u=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===d?u<4?u:u+12:"\u0c09\u0c26\u0c2f\u0c02"===d?u:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===d?u>=10?u:u+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===d?u+12:void 0},meridiem:function(u,d,c){return u<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":u<10?"\u0c09\u0c26\u0c2f\u0c02":u<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":u<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(p(5439))},2115:function(X,N,p){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var d=u%10;return u+(1==~~(u%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(p(5439))},9801:function(X,N,p){!function(e){"use strict";var o={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(d,c){return 12===d&&(d=0),"\u0448\u0430\u0431"===c?d<4?d:d+12:"\u0441\u0443\u0431\u04b3"===c?d:"\u0440\u04ef\u0437"===c?d>=11?d:d+12:"\u0431\u0435\u0433\u043e\u04b3"===c?d+12:void 0},meridiem:function(d,c,g){return d<4?"\u0448\u0430\u0431":d<11?"\u0441\u0443\u0431\u04b3":d<16?"\u0440\u04ef\u0437":d<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(d){return d+(o[d]||o[d%10]||o[d>=100?100:null])},week:{dow:1,doy:7}})}(p(5439))},2868:function(X,N,p){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(u){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===u},meridiem:function(u,d,c){return u<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(p(5439))},1310:function(X,N,p){!function(e){"use strict";var o={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(d,c){switch(c){case"d":case"D":case"Do":case"DD":return d;default:if(0===d)return d+"'unjy";var g=d%10;return d+(o[g]||o[d%100-g]||o[d>=100?100:null])}},week:{dow:1,doy:7}})}(p(5439))},2360:function(X,N,p){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(u){return u},week:{dow:1,doy:4}})}(p(5439))},6645:function(X,N,p){!function(e){"use strict";var o="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function c(k,A,I,H){var z=function g(k){var A=Math.floor(k%1e3/100),I=Math.floor(k%100/10),H=k%10,z="";return A>0&&(z+=o[A]+"vatlh"),I>0&&(z+=(""!==z?" ":"")+o[I]+"maH"),H>0&&(z+=(""!==z?" ":"")+o[H]),""===z?"pagh":z}(k);switch(I){case"ss":return z+" lup";case"mm":return z+" tup";case"hh":return z+" rep";case"dd":return z+" jaj";case"MM":return z+" jar";case"yy":return z+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function u(k){var A=k;return-1!==k.indexOf("jaj")?A.slice(0,-3)+"leS":-1!==k.indexOf("jar")?A.slice(0,-3)+"waQ":-1!==k.indexOf("DIS")?A.slice(0,-3)+"nem":A+" pIq"},past:function d(k){var A=k;return-1!==k.indexOf("jaj")?A.slice(0,-3)+"Hu\u2019":-1!==k.indexOf("jar")?A.slice(0,-3)+"wen":-1!==k.indexOf("DIS")?A.slice(0,-3)+"ben":A+" ret"},s:"puS lup",ss:c,m:"wa\u2019 tup",mm:c,h:"wa\u2019 rep",hh:c,d:"wa\u2019 jaj",dd:c,M:"wa\u2019 jar",MM:c,y:"wa\u2019 DIS",yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},8374:function(X,N,p){!function(e){"use strict";var o={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(d,c,g){return d<12?g?"\xf6\xf6":"\xd6\xd6":g?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(d){return"\xf6s"===d||"\xd6S"===d},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(d,c){switch(c){case"d":case"D":case"Do":case"DD":return d;default:if(0===d)return d+"'\u0131nc\u0131";var g=d%10;return d+(o[g]||o[d%100-g]||o[d>=100?100:null])}},week:{dow:1,doy:7}})}(p(5439))},256:function(X,N,p){!function(e){"use strict";function u(d,c,g,b){var k={s:["viensas secunds","'iensas secunds"],ss:[d+" secunds",d+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[d+" m\xeduts",d+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[d+" \xfeoras",d+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[d+" ziuas",d+" ziuas"],M:["'n mes","'iens mes"],MM:[d+" mesen",d+" mesen"],y:["'n ar","'iens ar"],yy:[d+" ars",d+" ars"]};return b||c?k[g][0]:k[g][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(d){return"d'o"===d.toLowerCase()},meridiem:function(d,c,g){return d>11?g?"d'o":"D'O":g?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(p(5439))},1631:function(X,N,p){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(p(5439))},1595:function(X,N,p){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(p(5439))},6050:function(X,N,p){!function(e){"use strict";e.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(u,d){return 12===u&&(u=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===d||"\u0633\u06d5\u06be\u06d5\u0631"===d||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===d?u:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===d||"\u0643\u06d5\u0686"===d?u+12:u>=11?u:u+12},meridiem:function(u,d,c){var g=100*u+d;return g<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":g<900?"\u0633\u06d5\u06be\u06d5\u0631":g<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":g<1230?"\u0686\u06c8\u0634":g<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(u,d){switch(d){case"d":case"D":case"DDD":return u+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return u+"-\u06be\u06d5\u067e\u062a\u06d5";default:return u}},preparse:function(u){return u.replace(/\u060c/g,",")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(p(5439))},5610:function(X,N,p){!function(e){"use strict";function u(b,k,A){return"m"===A?k?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===A?k?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":b+" "+function o(b,k){var A=b.split("_");return k%10==1&&k%100!=11?A[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?A[1]:A[2]}({ss:k?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:k?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:k?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[A],+b)}function c(b){return function(){return b+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function d(b,k){var A={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===b?A.nominative.slice(1,7).concat(A.nominative.slice(0,1)):b?A[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(k)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(k)?"genitive":"nominative"][b.day()]:A.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:c("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:c("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:c("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:c("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return c("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return c("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:u,m:u,mm:u,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:u,y:"\u0440\u0456\u043a",yy:u},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(b){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(b)},meridiem:function(b,k,A){return b<4?"\u043d\u043e\u0447\u0456":b<12?"\u0440\u0430\u043d\u043a\u0443":b<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(b,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return b+"-\u0439";case"D":return b+"-\u0433\u043e";default:return b}},week:{dow:1,doy:7}})}(p(5439))},6077:function(X,N,p){!function(e){"use strict";var o=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],u=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];e.defineLocale("ur",{months:o,monthsShort:o,weekdays:u,weekdaysShort:u,weekdaysMin:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,g,b){return c<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(p(5439))},2207:function(X,N,p){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(p(5439))},2862:function(X,N,p){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(p(5439))},2238:function(X,N,p){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(u){return/^ch$/i.test(u)},meridiem:function(u,d,c){return u<12?c?"sa":"SA":c?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(u){return u},week:{dow:1,doy:4}})}(p(5439))},5590:function(X,N,p){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(u){var d=u%10;return u+(1==~~(u%100/10)?"th":1===d?"st":2===d?"nd":3===d?"rd":"th")},week:{dow:1,doy:4}})}(p(5439))},9058:function(X,N,p){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(p(5439))},7908:function(X,N,p){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,d){return 12===u&&(u=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?u:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?u+12:u>=11?u:u+12},meridiem:function(u,d,c){var g=100*u+d;return g<600?"\u51cc\u6668":g<900?"\u65e9\u4e0a":g<1130?"\u4e0a\u5348":g<1230?"\u4e2d\u5348":g<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(u){return u.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(u){return this.week()!==u.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(u,d){switch(d){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u5468";default:return u}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(p(5439))},8867:function(X,N,p){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,d){return 12===u&&(u=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?u:"\u4e2d\u5348"===d?u>=11?u:u+12:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?u+12:void 0},meridiem:function(u,d,c){var g=100*u+d;return g<600?"\u51cc\u6668":g<900?"\u65e9\u4e0a":g<1200?"\u4e0a\u5348":1200===g?"\u4e2d\u5348":g<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(u,d){switch(d){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(p(5439))},1133:function(X,N,p){!function(e){"use strict";e.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,d){return 12===u&&(u=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?u:"\u4e2d\u5348"===d?u>=11?u:u+12:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?u+12:void 0},meridiem:function(u,d,c){var g=100*u+d;return g<600?"\u51cc\u6668":g<900?"\u65e9\u4e0a":g<1130?"\u4e0a\u5348":g<1230?"\u4e2d\u5348":g<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(u,d){switch(d){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(p(5439))},3291:function(X,N,p){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,d){return 12===u&&(u=0),"\u51cc\u6668"===d||"\u65e9\u4e0a"===d||"\u4e0a\u5348"===d?u:"\u4e2d\u5348"===d?u>=11?u:u+12:"\u4e0b\u5348"===d||"\u665a\u4e0a"===d?u+12:void 0},meridiem:function(u,d,c){var g=100*u+d;return g<600?"\u51cc\u6668":g<900?"\u65e9\u4e0a":g<1130?"\u4e0a\u5348":g<1230?"\u4e2d\u5348":g<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(u,d){switch(d){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(p(5439))},5439:function(X,N,p){(X=p.nmd(X)).exports=function(){"use strict";var e,te;function o(){return e.apply(null,arguments)}function d(x){return x instanceof Array||"[object Array]"===Object.prototype.toString.call(x)}function c(x){return null!=x&&"[object Object]"===Object.prototype.toString.call(x)}function g(x,U){return Object.prototype.hasOwnProperty.call(x,U)}function b(x){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(x).length;var U;for(U in x)if(g(x,U))return!1;return!0}function k(x){return void 0===x}function A(x){return"number"==typeof x||"[object Number]"===Object.prototype.toString.call(x)}function I(x){return x instanceof Date||"[object Date]"===Object.prototype.toString.call(x)}function H(x,U){var Fe,ye=[];for(Fe=0;Fe>>0;for(Fe=0;Fe0)for(ye=0;ye=0?ye?"+":"":"-")+Math.pow(10,Math.max(0,U-Fe.length)).toString().substr(1)+Fe}var Xt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,nn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,mn={},Jt={};function et(x,U,ye,Fe){var ht=Fe;"string"==typeof Fe&&(ht=function(){return this[Fe]()}),x&&(Jt[x]=ht),U&&(Jt[U[0]]=function(){return Sn(ht.apply(this,arguments),U[1],U[2])}),ye&&(Jt[ye]=function(){return this.localeData().ordinal(ht.apply(this,arguments),x)})}function Pt(x){return x.match(/\[[\s\S]/)?x.replace(/^\[|\]$/g,""):x.replace(/\\/g,"")}function bt(x,U){return x.isValid()?(U=dt(U,x.localeData()),mn[U]=mn[U]||function Ot(x){var ye,Fe,U=x.match(Xt);for(ye=0,Fe=U.length;ye=0&&nn.test(x);)x=x.replace(nn,Fe),nn.lastIndex=0,ye-=1;return x}var Kt={};function rt(x,U){var ye=x.toLowerCase();Kt[ye]=Kt[ye+"s"]=Kt[U]=x}function G(x){return"string"==typeof x?Kt[x]||Kt[x.toLowerCase()]:void 0}function _e(x){var ye,Fe,U={};for(Fe in x)g(x,Fe)&&(ye=G(Fe))&&(U[ye]=x[Fe]);return U}var he={};function De(x,U){he[x]=U}function Mt(x){return x%4==0&&x%100!=0||x%400==0}function Dt(x){return x<0?Math.ceil(x)||0:Math.floor(x)}function Et(x){var U=+x,ye=0;return 0!==U&&isFinite(U)&&(ye=Dt(U)),ye}function sn(x,U){return function(ye){return null!=ye?(Nn(this,x,ye),o.updateOffset(this,U),this):Ln(this,x)}}function Ln(x,U){return x.isValid()?x._d["get"+(x._isUTC?"UTC":"")+U]():NaN}function Nn(x,U,ye){x.isValid()&&!isNaN(ye)&&("FullYear"===U&&Mt(x.year())&&1===x.month()&&29===x.date()?(ye=Et(ye),x._d["set"+(x._isUTC?"UTC":"")+U](ye,x.month(),R(ye,x.month()))):x._d["set"+(x._isUTC?"UTC":"")+U](ye))}var ve,Hn=/\d/,Jn=/\d\d/,Tn=/\d{3}/,ri=/\d{4}/,zn=/[+-]?\d{6}/,$t=/\d\d?/,xe=/\d\d\d\d?/,Se=/\d\d\d\d\d\d?/,j=/\d{1,3}/,Ie=/\d{1,4}/,vt=/[+-]?\d{1,6}/,Vt=/\d+/,Fn=/[+-]?\d+/,ti=/Z|[+-]\d\d:?\d\d/gi,Qt=/Z|[+-]\d\d(?::?\d\d)?/gi,ct=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Re(x,U,ye){ve[x]=Ze(U)?U:function(Fe,ht){return Fe&&ye?ye:U}}function it(x,U){return g(ve,x)?ve[x](U._strict,U._locale):new RegExp(function Lt(x){return an(x.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(U,ye,Fe,ht,qt){return ye||Fe||ht||qt}))}(x))}function an(x){return x.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ve={};var Un={};function Yn(x,U){var ye,Fe=U;for("string"==typeof x&&(x=[x]),A(U)&&(Fe=function(ht,qt){qt[U]=Et(ht)}),ye=0;ye68?1900:2e3)};var Pi=sn("FullYear",!0);function Pr(x,U,ye,Fe,ht,qt,t){var ge;return x<100&&x>=0?(ge=new Date(x+400,U,ye,Fe,ht,qt,t),isFinite(ge.getFullYear())&&ge.setFullYear(x)):ge=new Date(x,U,ye,Fe,ht,qt,t),ge}function Dr(x){var U,ye;return x<100&&x>=0?((ye=Array.prototype.slice.call(arguments))[0]=x+400,U=new Date(Date.UTC.apply(null,ye)),isFinite(U.getUTCFullYear())&&U.setUTCFullYear(x)):U=new Date(Date.UTC.apply(null,arguments)),U}function Ji(x,U,ye){var Fe=7+U-ye;return-(7+Dr(x,0,Fe).getUTCDay()-U)%7+Fe-1}function fi(x,U,ye,Fe,ht){var h,y,ge=1+7*(U-1)+(7+ye-Fe)%7+Ji(x,Fe,ht);return ge<=0?y=Tr(h=x-1)+ge:ge>Tr(x)?(h=x+1,y=ge-Tr(x)):(h=x,y=ge),{year:h,dayOfYear:y}}function Mr(x,U,ye){var qt,t,Fe=Ji(x.year(),U,ye),ht=Math.floor((x.dayOfYear()-Fe-1)/7)+1;return ht<1?qt=ht+jr(t=x.year()-1,U,ye):ht>jr(x.year(),U,ye)?(qt=ht-jr(x.year(),U,ye),t=x.year()+1):(t=x.year(),qt=ht),{week:qt,year:t}}function jr(x,U,ye){var Fe=Ji(x,U,ye),ht=Ji(x+1,U,ye);return(Tr(x)-Fe+ht)/7}et("w",["ww",2],"wo","week"),et("W",["WW",2],"Wo","isoWeek"),rt("week","w"),rt("isoWeek","W"),De("week",5),De("isoWeek",5),Re("w",$t),Re("ww",$t,Jn),Re("W",$t),Re("WW",$t,Jn),Oi(["w","ww","W","WW"],function(x,U,ye,Fe){U[Fe.substr(0,1)]=Et(x)});function nr(x,U){return x.slice(U,7).concat(x.slice(0,U))}et("d",0,"do","day"),et("dd",0,0,function(x){return this.localeData().weekdaysMin(this,x)}),et("ddd",0,0,function(x){return this.localeData().weekdaysShort(this,x)}),et("dddd",0,0,function(x){return this.localeData().weekdays(this,x)}),et("e",0,0,"weekday"),et("E",0,0,"isoWeekday"),rt("day","d"),rt("weekday","e"),rt("isoWeekday","E"),De("day",11),De("weekday",11),De("isoWeekday",11),Re("d",$t),Re("e",$t),Re("E",$t),Re("dd",function(x,U){return U.weekdaysMinRegex(x)}),Re("ddd",function(x,U){return U.weekdaysShortRegex(x)}),Re("dddd",function(x,U){return U.weekdaysRegex(x)}),Oi(["dd","ddd","dddd"],function(x,U,ye,Fe){var ht=ye._locale.weekdaysParse(x,Fe,ye._strict);null!=ht?U.d=ht:q(ye).invalidWeekday=x}),Oi(["d","e","E"],function(x,U,ye,Fe){U[Fe]=Et(x)});var fo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),To=ct,Do=ct,ko=ct;function eo(x,U,ye){var Fe,ht,qt,t=x.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Fe=0;Fe<7;++Fe)qt=O([2e3,1]).day(Fe),this._minWeekdaysParse[Fe]=this.weekdaysMin(qt,"").toLocaleLowerCase(),this._shortWeekdaysParse[Fe]=this.weekdaysShort(qt,"").toLocaleLowerCase(),this._weekdaysParse[Fe]=this.weekdays(qt,"").toLocaleLowerCase();return ye?"dddd"===U?-1!==(ht=qe.call(this._weekdaysParse,t))?ht:null:"ddd"===U?-1!==(ht=qe.call(this._shortWeekdaysParse,t))?ht:null:-1!==(ht=qe.call(this._minWeekdaysParse,t))?ht:null:"dddd"===U?-1!==(ht=qe.call(this._weekdaysParse,t))||-1!==(ht=qe.call(this._shortWeekdaysParse,t))||-1!==(ht=qe.call(this._minWeekdaysParse,t))?ht:null:"ddd"===U?-1!==(ht=qe.call(this._shortWeekdaysParse,t))||-1!==(ht=qe.call(this._weekdaysParse,t))||-1!==(ht=qe.call(this._minWeekdaysParse,t))?ht:null:-1!==(ht=qe.call(this._minWeekdaysParse,t))||-1!==(ht=qe.call(this._weekdaysParse,t))||-1!==(ht=qe.call(this._shortWeekdaysParse,t))?ht:null}function wt(){function x(f,Wt){return Wt.length-f.length}var qt,t,ge,h,y,U=[],ye=[],Fe=[],ht=[];for(qt=0;qt<7;qt++)t=O([2e3,1]).day(qt),ge=an(this.weekdaysMin(t,"")),h=an(this.weekdaysShort(t,"")),y=an(this.weekdays(t,"")),U.push(ge),ye.push(h),Fe.push(y),ht.push(ge),ht.push(h),ht.push(y);U.sort(x),ye.sort(x),Fe.sort(x),ht.sort(x),this._weekdaysRegex=new RegExp("^("+ht.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Fe.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+ye.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+U.join("|")+")","i")}function Oe(){return this.hours()%12||12}function en(x,U){et(x,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),U)})}function xn(x,U){return U._meridiemParse}et("H",["HH",2],0,"hour"),et("h",["hh",2],0,Oe),et("k",["kk",2],0,function tt(){return this.hours()||24}),et("hmm",0,0,function(){return""+Oe.apply(this)+Sn(this.minutes(),2)}),et("hmmss",0,0,function(){return""+Oe.apply(this)+Sn(this.minutes(),2)+Sn(this.seconds(),2)}),et("Hmm",0,0,function(){return""+this.hours()+Sn(this.minutes(),2)}),et("Hmmss",0,0,function(){return""+this.hours()+Sn(this.minutes(),2)+Sn(this.seconds(),2)}),en("a",!0),en("A",!1),rt("hour","h"),De("hour",13),Re("a",xn),Re("A",xn),Re("H",$t),Re("h",$t),Re("k",$t),Re("HH",$t,Jn),Re("hh",$t,Jn),Re("kk",$t,Jn),Re("hmm",xe),Re("hmmss",Se),Re("Hmm",xe),Re("Hmmss",Se),Yn(["H","HH"],3),Yn(["k","kk"],function(x,U,ye){var Fe=Et(x);U[3]=24===Fe?0:Fe}),Yn(["a","A"],function(x,U,ye){ye._isPm=ye._locale.isPM(x),ye._meridiem=x}),Yn(["h","hh"],function(x,U,ye){U[3]=Et(x),q(ye).bigHour=!0}),Yn("hmm",function(x,U,ye){var Fe=x.length-2;U[3]=Et(x.substr(0,Fe)),U[4]=Et(x.substr(Fe)),q(ye).bigHour=!0}),Yn("hmmss",function(x,U,ye){var Fe=x.length-4,ht=x.length-2;U[3]=Et(x.substr(0,Fe)),U[4]=Et(x.substr(Fe,2)),U[5]=Et(x.substr(ht)),q(ye).bigHour=!0}),Yn("Hmm",function(x,U,ye){var Fe=x.length-2;U[3]=Et(x.substr(0,Fe)),U[4]=Et(x.substr(Fe))}),Yn("Hmmss",function(x,U,ye){var Fe=x.length-4,ht=x.length-2;U[3]=Et(x.substr(0,Fe)),U[4]=Et(x.substr(Fe,2)),U[5]=Et(x.substr(ht))});var Ir=sn("Hours",!0);var mr,pr={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:be,monthsShort:Ye,week:{dow:0,doy:6},weekdays:fo,weekdaysMin:wo,weekdaysShort:vr,meridiemParse:/[ap]\.?m?\.?/i},oi={},yr={};function or(x,U){var ye,Fe=Math.min(x.length,U.length);for(ye=0;ye0;){if(ht=$i(qt.slice(0,ye).join("-")))return ht;if(Fe&&Fe.length>=ye&&or(qt,Fe)>=ye-1)break;ye--}U++}return mr}(x)}function hn(x){var U,ye=x._a;return ye&&-2===q(x).overflow&&(U=ye[1]<0||ye[1]>11?1:ye[2]<1||ye[2]>R(ye[0],ye[1])?2:ye[3]<0||ye[3]>24||24===ye[3]&&(0!==ye[4]||0!==ye[5]||0!==ye[6])?3:ye[4]<0||ye[4]>59?4:ye[5]<0||ye[5]>59?5:ye[6]<0||ye[6]>999?6:-1,q(x)._overflowDayOfYear&&(U<0||U>2)&&(U=2),q(x)._overflowWeeks&&-1===U&&(U=7),q(x)._overflowWeekday&&-1===U&&(U=8),q(x).overflow=U),x}var Mn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Zn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ir=/Z|[+-]\d\d(?::?\d\d)?/,Hi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ui=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ji=/^\/?Date\((-?\d+)/i,Sr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Xi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function lr(x){var U,ye,qt,t,ge,h,Fe=x._i,ht=Mn.exec(Fe)||Zn.exec(Fe);if(ht){for(q(x).iso=!0,U=0,ye=Hi.length;U7)&&(h=!0)):(qt=x._locale._week.dow,t=x._locale._week.doy,y=Mr(sr(),qt,t),ye=Cr(U.gg,x._a[0],y.year),Fe=Cr(U.w,y.week),null!=U.d?((ht=U.d)<0||ht>6)&&(h=!0):null!=U.e?(ht=U.e+qt,(U.e<0||U.e>6)&&(h=!0)):ht=qt),Fe<1||Fe>jr(ye,qt,t)?q(x)._overflowWeeks=!0:null!=h?q(x)._overflowWeekday=!0:(ge=fi(ye,Fe,ht,qt,t),x._a[0]=ge.year,x._dayOfYear=ge.dayOfYear)}(x),null!=x._dayOfYear&&(t=Cr(x._a[0],ht[0]),(x._dayOfYear>Tr(t)||0===x._dayOfYear)&&(q(x)._overflowDayOfYear=!0),ye=Dr(t,0,x._dayOfYear),x._a[1]=ye.getUTCMonth(),x._a[2]=ye.getUTCDate()),U=0;U<3&&null==x._a[U];++U)x._a[U]=Fe[U]=ht[U];for(;U<7;U++)x._a[U]=Fe[U]=null==x._a[U]?2===U?1:0:x._a[U];24===x._a[3]&&0===x._a[4]&&0===x._a[5]&&0===x._a[6]&&(x._nextDay=!0,x._a[3]=0),x._d=(x._useUTC?Dr:Pr).apply(null,Fe),qt=x._useUTC?x._d.getUTCDay():x._d.getDay(),null!=x._tzm&&x._d.setUTCMinutes(x._d.getUTCMinutes()-x._tzm),x._nextDay&&(x._a[3]=24),x._w&&void 0!==x._w.d&&x._w.d!==qt&&(q(x).weekdayMismatch=!0)}}function On(x){if(x._f!==o.ISO_8601)if(x._f!==o.RFC_2822){x._a=[],q(x).empty=!0;var ye,Fe,ht,qt,t,y,U=""+x._i,ge=U.length,h=0;for(ht=dt(x._f,x._locale).match(Xt)||[],ye=0;ye0&&q(x).unusedInput.push(t),U=U.slice(U.indexOf(Fe)+Fe.length),h+=Fe.length),Jt[qt]?(Fe?q(x).empty=!1:q(x).unusedTokens.push(qt),Li(qt,Fe,x)):x._strict&&!Fe&&q(x).unusedTokens.push(qt);q(x).charsLeftOver=ge-h,U.length>0&&q(x).unusedInput.push(U),x._a[3]<=12&&!0===q(x).bigHour&&x._a[3]>0&&(q(x).bigHour=void 0),q(x).parsedDateParts=x._a.slice(0),q(x).meridiem=x._meridiem,x._a[3]=function Ni(x,U,ye){var Fe;return null==ye?U:null!=x.meridiemHour?x.meridiemHour(U,ye):(null!=x.isPM&&((Fe=x.isPM(ye))&&U<12&&(U+=12),!Fe&&12===U&&(U=0)),U)}(x._locale,x._a[3],x._meridiem),null!==(y=q(x).era)&&(x._a[0]=x._locale.erasConvertYear(y,x._a[0])),Zr(x),hn(x)}else ni(x);else lr(x)}function ur(x){var U=x._i,ye=x._f;return x._locale=x._locale||at(x._l),null===U||void 0===ye&&""===U?ne({nullInput:!0}):("string"==typeof U&&(x._i=U=x._locale.preparse(U)),je(U)?new se(hn(U)):(I(U)?x._d=U:d(ye)?function br(x){var U,ye,Fe,ht,qt,t,ge=!1;if(0===x._f.length)return q(x).invalidFormat=!0,void(x._d=new Date(NaN));for(ht=0;htthis?this:x:ne()});function Ko(x,U){var ye,Fe;if(1===U.length&&d(U[0])&&(U=U[0]),!U.length)return sr();for(ye=U[0],Fe=1;Fe=0?new Date(x+400,U,ye)-Ee:new Date(x,U,ye).valueOf()}function cn(x,U,ye){return x<100&&x>=0?Date.UTC(x+400,U,ye)-Ee:Date.UTC(x,U,ye)}function ea(x,U){return U.erasAbbrRegex(x)}function Us(){var ht,qt,x=[],U=[],ye=[],Fe=[],t=this.eras();for(ht=0,qt=t.length;ht(qt=jr(x,Fe,ht))&&(U=qt),ks.call(this,x,U,ye,Fe,ht))}function ks(x,U,ye,Fe,ht){var qt=fi(x,U,ye,Fe,ht),t=Dr(qt.year,0,qt.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}et("N",0,0,"eraAbbr"),et("NN",0,0,"eraAbbr"),et("NNN",0,0,"eraAbbr"),et("NNNN",0,0,"eraName"),et("NNNNN",0,0,"eraNarrow"),et("y",["y",1],"yo","eraYear"),et("y",["yy",2],0,"eraYear"),et("y",["yyy",3],0,"eraYear"),et("y",["yyyy",4],0,"eraYear"),Re("N",ea),Re("NN",ea),Re("NNN",ea),Re("NNNN",function zr(x,U){return U.erasNameRegex(x)}),Re("NNNNN",function Ha(x,U){return U.erasNarrowRegex(x)}),Yn(["N","NN","NNN","NNNN","NNNNN"],function(x,U,ye,Fe){var ht=ye._locale.erasParse(x,Fe,ye._strict);ht?q(ye).era=ht:q(ye).invalidEra=x}),Re("y",Vt),Re("yy",Vt),Re("yyy",Vt),Re("yyyy",Vt),Re("yo",function dl(x,U){return U._eraYearOrdinalRegex||Vt}),Yn(["y","yy","yyy","yyyy"],0),Yn(["yo"],function(x,U,ye,Fe){var ht;ye._locale._eraYearOrdinalRegex&&(ht=x.match(ye._locale._eraYearOrdinalRegex)),U[0]=ye._locale.eraYearOrdinalParse?ye._locale.eraYearOrdinalParse(x,ht):parseInt(x,10)}),et(0,["gg",2],0,function(){return this.weekYear()%100}),et(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ta("gggg","weekYear"),ta("ggggg","weekYear"),ta("GGGG","isoWeekYear"),ta("GGGGG","isoWeekYear"),rt("weekYear","gg"),rt("isoWeekYear","GG"),De("weekYear",1),De("isoWeekYear",1),Re("G",Fn),Re("g",Fn),Re("GG",$t,Jn),Re("gg",$t,Jn),Re("GGGG",Ie,ri),Re("gggg",Ie,ri),Re("GGGGG",vt,zn),Re("ggggg",vt,zn),Oi(["gggg","ggggg","GGGG","GGGGG"],function(x,U,ye,Fe){U[Fe.substr(0,2)]=Et(x)}),Oi(["gg","GG"],function(x,U,ye,Fe){U[Fe]=o.parseTwoDigitYear(x)}),et("Q",0,"Qo","quarter"),rt("quarter","Q"),De("quarter",7),Re("Q",Hn),Yn("Q",function(x,U){U[1]=3*(Et(x)-1)}),et("D",["DD",2],"Do","date"),rt("date","D"),De("date",9),Re("D",$t),Re("DD",$t,Jn),Re("Do",function(x,U){return x?U._dayOfMonthOrdinalParse||U._ordinalParse:U._dayOfMonthOrdinalParseLenient}),Yn(["D","DD"],2),Yn("Do",function(x,U){U[2]=Et(x.match($t)[0])});var _a=sn("Date",!0);et("DDD",["DDDD",3],"DDDo","dayOfYear"),rt("dayOfYear","DDD"),De("dayOfYear",4),Re("DDD",j),Re("DDDD",Tn),Yn(["DDD","DDDD"],function(x,U,ye){ye._dayOfYear=Et(x)}),et("m",["mm",2],0,"minute"),rt("minute","m"),De("minute",14),Re("m",$t),Re("mm",$t,Jn),Yn(["m","mm"],4);var Zo=sn("Minutes",!1);et("s",["ss",2],0,"second"),rt("second","s"),De("second",15),Re("s",$t),Re("ss",$t,Jn),Yn(["s","ss"],5);var Yo,hs,va=sn("Seconds",!1);for(et("S",0,0,function(){return~~(this.millisecond()/100)}),et(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),et(0,["SSS",3],0,"millisecond"),et(0,["SSSS",4],0,function(){return 10*this.millisecond()}),et(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),et(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),et(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),et(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),et(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),rt("millisecond","ms"),De("millisecond",16),Re("S",j,Hn),Re("SS",j,Jn),Re("SSS",j,Tn),Yo="SSSS";Yo.length<=9;Yo+="S")Re(Yo,Vt);function ya(x,U){U[6]=Et(1e3*("0."+x))}for(Yo="S";Yo.length<=9;Yo+="S")Yn(Yo,ya);hs=sn("Milliseconds",!1),et("z",0,0,"zoneAbbr"),et("zz",0,0,"zoneName");var qn=se.prototype;function Co(x){return x}qn.add=ci,qn.calendar=function yt(x,U){1===arguments.length&&(arguments[0]?Vi(arguments[0])?(x=arguments[0],U=void 0):Ue(arguments[0])&&(U=arguments[0],x=void 0):(x=void 0,U=void 0));var ye=x||sr(),Fe=hi(ye,this).startOf("day"),ht=o.calendarFormat(this,Fe)||"sameElse",qt=U&&(Ze(U[ht])?U[ht].call(this,ye):U[ht]);return this.format(qt||this.localeData().calendar(ht,this,sr(ye)))},qn.clone=function Nt(){return new se(this)},qn.diff=function co(x,U,ye){var Fe,ht,qt;if(!this.isValid())return NaN;if(!(Fe=hi(x,this)).isValid())return NaN;switch(ht=6e4*(Fe.utcOffset()-this.utcOffset()),U=G(U)){case"year":qt=qr(this,Fe)/12;break;case"month":qt=qr(this,Fe);break;case"quarter":qt=qr(this,Fe)/3;break;case"second":qt=(this-Fe)/1e3;break;case"minute":qt=(this-Fe)/6e4;break;case"hour":qt=(this-Fe)/36e5;break;case"day":qt=(this-Fe-ht)/864e5;break;case"week":qt=(this-Fe-ht)/6048e5;break;default:qt=this-Fe}return ye?qt:Dt(qt)},qn.endOf=function An(x){var U,ye;if(void 0===(x=G(x))||"millisecond"===x||!this.isValid())return this;switch(ye=this._isUTC?cn:At,x){case"year":U=ye(this.year()+1,0,1)-1;break;case"quarter":U=ye(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":U=ye(this.year(),this.month()+1,1)-1;break;case"week":U=ye(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":U=ye(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":U=ye(this.year(),this.month(),this.date()+1)-1;break;case"hour":U=this._d.valueOf(),U+=J-ze(U+(this._isUTC?0:this.utcOffset()*P),J)-1;break;case"minute":U=this._d.valueOf(),U+=P-ze(U,P)-1;break;case"second":U=this._d.valueOf(),U+=M-ze(U,M)-1}return this._d.setTime(U),o.updateOffset(this,!0),this},qn.format=function Ks(x){x||(x=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var U=bt(this,x);return this.localeData().postformat(U)},qn.from=function zo(x,U){return this.isValid()&&(je(x)&&x.isValid()||sr(x).isValid())?Or({to:this,from:x}).locale(this.locale()).humanize(!U):this.localeData().invalidDate()},qn.fromNow=function Ms(x){return this.from(sr(),x)},qn.to=function Br(x,U){return this.isValid()&&(je(x)&&x.isValid()||sr(x).isValid())?Or({from:this,to:x}).locale(this.locale()).humanize(!U):this.localeData().invalidDate()},qn.toNow=function re(x){return this.to(sr(),x)},qn.get=function In(x){return Ze(this[x=G(x)])?this[x]():this},qn.invalidAt=function Qs(){return q(this).overflow},qn.isAfter=function gn(x,U){var ye=je(x)?x:sr(x);return!(!this.isValid()||!ye.isValid())&&("millisecond"===(U=G(U)||"millisecond")?this.valueOf()>ye.valueOf():ye.valueOf()9999?bt(ye,U?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ze(Date.prototype.toISOString)?U?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",bt(ye,"Z")):bt(ye,U?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},qn.inspect=function is(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var ye,Fe,x="moment",U="";return this.isLocal()||(x=0===this.utcOffset()?"moment.utc":"moment.parseZone",U="Z"),ye="["+x+'("]',Fe=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(ye+Fe+"-MM-DD[T]HH:mm:ss.SSS"+U+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(qn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),qn.toJSON=function Si(){return this.isValid()?this.toISOString():null},qn.toString=function Xo(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},qn.unix=function ai(){return Math.floor(this.valueOf()/1e3)},qn.valueOf=function Rn(){return this._d.valueOf()-6e4*(this._offset||0)},qn.creationData=function rs(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},qn.eraName=function Ns(){var x,U,ye,Fe=this.localeData().eras();for(x=0,U=Fe.length;xthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},qn.isLocal=function Lr(){return!!this.isValid()&&!this._isUTC},qn.isUtcOffset=function Nr(){return!!this.isValid()&&this._isUTC},qn.isUtc=Di,qn.isUTC=Di,qn.zoneAbbr=function Va(){return this._isUTC?"UTC":""},qn.zoneName=function Wa(){return this._isUTC?"Coordinated Universal Time":""},qn.dates=He("dates accessor is deprecated. Use date instead.",_a),qn.months=He("months accessor is deprecated. Use month instead",Ki),qn.years=He("years accessor is deprecated. Use year instead",Pi),qn.zone=He("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function _i(x,U){return null!=x?("string"!=typeof x&&(x=-x),this.utcOffset(x,U),this):-this.utcOffset()}),qn.isDSTShifted=He("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Wr(){if(!k(this._isDSTShifted))return this._isDSTShifted;var U,x={};return Q(x,this),(x=ur(x))._a?(U=x._isUTC?O(x._a):sr(x._a),this._isDSTShifted=this.isValid()&&function Ut(x,U,ye){var t,Fe=Math.min(x.length,U.length),ht=Math.abs(x.length-U.length),qt=0;for(t=0;t0):this._isDSTShifted=!1,this._isDSTShifted});var _r=xt.prototype;function As(x,U,ye,Fe){var ht=at(),qt=O().set(Fe,U);return ht[ye](qt,x)}function za(x,U,ye){if(A(x)&&(U=x,x=void 0),x=x||"",null!=U)return As(x,U,ye,"month");var Fe,ht=[];for(Fe=0;Fe<12;Fe++)ht[Fe]=As(x,Fe,ye,"month");return ht}function Hs(x,U,ye,Fe){"boolean"==typeof x?(A(U)&&(ye=U,U=void 0),U=U||""):(ye=U=x,x=!1,A(U)&&(ye=U,U=void 0),U=U||"");var t,ht=at(),qt=x?ht._week.dow:0,ge=[];if(null!=ye)return As(U,(ye+qt)%7,Fe,"day");for(t=0;t<7;t++)ge[t]=As(U,(t+qt)%7,Fe,"day");return ge}_r.calendar=function Zt(x,U,ye){var Fe=this._calendar[x]||this._calendar.sameElse;return Ze(Fe)?Fe.call(U,ye):Fe},_r.longDateFormat=function Je(x){var U=this._longDateFormat[x],ye=this._longDateFormat[x.toUpperCase()];return U||!ye?U:(this._longDateFormat[x]=ye.match(Xt).map(function(Fe){return"MMMM"===Fe||"MM"===Fe||"DD"===Fe||"dddd"===Fe?Fe.slice(1):Fe}).join(""),this._longDateFormat[x])},_r.invalidDate=function pt(){return this._invalidDate},_r.ordinal=function un(x){return this._ordinal.replace("%d",x)},_r.preparse=Co,_r.postformat=Co,_r.relativeTime=function Pn(x,U,ye,Fe){var ht=this._relativeTime[ye];return Ze(ht)?ht(x,U,ye,Fe):ht.replace(/%d/i,x)},_r.pastFuture=function kn(x,U){var ye=this._relativeTime[x>0?"future":"past"];return Ze(ye)?ye(U):ye.replace(/%s/i,U)},_r.set=function ot(x){var U,ye;for(ye in x)g(x,ye)&&(Ze(U=x[ye])?this[ye]=U:this["_"+ye]=U);this._config=x,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_r.eras=function ll(x,U){var ye,Fe,ht,qt=this._eras||at("en")._eras;for(ye=0,Fe=qt.length;ye=0)return qt[Fe]},_r.erasConvertYear=function ga(x,U){var ye=x.since<=x.until?1:-1;return void 0===U?o(x.since).year():o(x.since).year()+(U-x.offset)*ye},_r.erasAbbrRegex=function us(x){return g(this,"_erasAbbrRegex")||Us.call(this),x?this._erasAbbrRegex:this._erasRegex},_r.erasNameRegex=function Xs(x){return g(this,"_erasNameRegex")||Us.call(this),x?this._erasNameRegex:this._erasRegex},_r.erasNarrowRegex=function xs(x){return g(this,"_erasNarrowRegex")||Us.call(this),x?this._erasNarrowRegex:this._erasRegex},_r.months=function pi(x,U){return x?d(this._months)?this._months[x.month()]:this._months[(this._months.isFormat||Ct).test(U)?"format":"standalone"][x.month()]:d(this._months)?this._months:this._months.standalone},_r.monthsShort=function xi(x,U){return x?d(this._monthsShort)?this._monthsShort[x.month()]:this._monthsShort[Ct.test(U)?"format":"standalone"][x.month()]:d(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_r.monthsParse=function mi(x,U,ye){var Fe,ht,qt;if(this._monthsParseExact)return Ri.call(this,x,U,ye);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Fe=0;Fe<12;Fe++){if(ht=O([2e3,Fe]),ye&&!this._longMonthsParse[Fe]&&(this._longMonthsParse[Fe]=new RegExp("^"+this.months(ht,"").replace(".","")+"$","i"),this._shortMonthsParse[Fe]=new RegExp("^"+this.monthsShort(ht,"").replace(".","")+"$","i")),!ye&&!this._monthsParse[Fe]&&(qt="^"+this.months(ht,"")+"|^"+this.monthsShort(ht,""),this._monthsParse[Fe]=new RegExp(qt.replace(".",""),"i")),ye&&"MMMM"===U&&this._longMonthsParse[Fe].test(x))return Fe;if(ye&&"MMM"===U&&this._shortMonthsParse[Fe].test(x))return Fe;if(!ye&&this._monthsParse[Fe].test(x))return Fe}},_r.monthsRegex=function Ai(x){return this._monthsParseExact?(g(this,"_monthsRegex")||Ei.call(this),x?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=wn),this._monthsStrictRegex&&x?this._monthsStrictRegex:this._monthsRegex)},_r.monthsShortRegex=function rr(x){return this._monthsParseExact?(g(this,"_monthsRegex")||Ei.call(this),x?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=_n),this._monthsShortStrictRegex&&x?this._monthsShortStrictRegex:this._monthsShortRegex)},_r.week=function bo(x){return Mr(x,this._week.dow,this._week.doy).week},_r.firstDayOfYear=function Hr(){return this._week.doy},_r.firstDayOfWeek=function Ho(){return this._week.dow},_r.weekdays=function go(x,U){var ye=d(this._weekdays)?this._weekdays:this._weekdays[x&&!0!==x&&this._weekdays.isFormat.test(U)?"format":"standalone"];return!0===x?nr(ye,this._week.dow):x?ye[x.day()]:ye},_r.weekdaysMin=function Xr(x){return!0===x?nr(this._weekdaysMin,this._week.dow):x?this._weekdaysMin[x.day()]:this._weekdaysMin},_r.weekdaysShort=function Yr(x){return!0===x?nr(this._weekdaysShort,this._week.dow):x?this._weekdaysShort[x.day()]:this._weekdaysShort},_r.weekdaysParse=function Mo(x,U,ye){var Fe,ht,qt;if(this._weekdaysParseExact)return eo.call(this,x,U,ye);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Fe=0;Fe<7;Fe++){if(ht=O([2e3,1]).day(Fe),ye&&!this._fullWeekdaysParse[Fe]&&(this._fullWeekdaysParse[Fe]=new RegExp("^"+this.weekdays(ht,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Fe]=new RegExp("^"+this.weekdaysShort(ht,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Fe]=new RegExp("^"+this.weekdaysMin(ht,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Fe]||(qt="^"+this.weekdays(ht,"")+"|^"+this.weekdaysShort(ht,"")+"|^"+this.weekdaysMin(ht,""),this._weekdaysParse[Fe]=new RegExp(qt.replace(".",""),"i")),ye&&"dddd"===U&&this._fullWeekdaysParse[Fe].test(x))return Fe;if(ye&&"ddd"===U&&this._shortWeekdaysParse[Fe].test(x))return Fe;if(ye&&"dd"===U&&this._minWeekdaysParse[Fe].test(x))return Fe;if(!ye&&this._weekdaysParse[Fe].test(x))return Fe}},_r.weekdaysRegex=function to(x){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||wt.call(this),x?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=To),this._weekdaysStrictRegex&&x?this._weekdaysStrictRegex:this._weekdaysRegex)},_r.weekdaysShortRegex=function vo(x){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||wt.call(this),x?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Do),this._weekdaysShortStrictRegex&&x?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_r.weekdaysMinRegex=function mt(x){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||wt.call(this),x?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ko),this._weekdaysMinStrictRegex&&x?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_r.isPM=function gi(x){return"p"===(x+"").toLowerCase().charAt(0)},_r.meridiem=function no(x,U,ye){return x>11?ye?"pm":"PM":ye?"am":"AM"},we("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(x){var U=x%10;return x+(1===Et(x%100/10)?"th":1===U?"st":2===U?"nd":3===U?"rd":"th")}}),o.lang=He("moment.lang is deprecated. Use moment.locale instead.",we),o.langData=He("moment.langData is deprecated. Use moment.localeData instead.",at);var ps=Math.abs;function Za(x,U,ye,Fe){var ht=Or(U,ye);return x._milliseconds+=Fe*ht._milliseconds,x._days+=Fe*ht._days,x._months+=Fe*ht._months,x._bubble()}function Ys(x){return x<0?Math.floor(x):Math.ceil(x)}function ba(x){return 4800*x/146097}function na(x){return 146097*x/4800}function es(x){return function(){return this.as(x)}}var Es=es("ms"),Ta=es("s"),qa=es("m"),po=es("h"),Ma=es("d"),Sa=es("w"),ia=es("M"),Ps=es("Q"),Ja=es("y");function $o(x){return function(){return this.isValid()?this._data[x]:NaN}}var Os=$o("milliseconds"),ra=$o("seconds"),ms=$o("minutes"),Xa=$o("hours"),xa=$o("days"),oa=$o("months"),Vs=$o("years");var ts=Math.round,fs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function gs(x,U,ye,Fe,ht){return ht.relativeTime(U||1,!!ye,x,Fe)}var sa=Math.abs;function Is(x){return(x>0)-(x<0)||+x}function Fs(){if(!this.isValid())return this.localeData().invalidDate();var Fe,ht,qt,t,h,y,f,Wt,x=sa(this._milliseconds)/1e3,U=sa(this._days),ye=sa(this._months),ge=this.asSeconds();return ge?(Fe=Dt(x/60),ht=Dt(Fe/60),x%=60,Fe%=60,qt=Dt(ye/12),ye%=12,t=x?x.toFixed(3).replace(/\.?0+$/,""):"",h=ge<0?"-":"",y=Is(this._months)!==Is(ge)?"-":"",f=Is(this._days)!==Is(ge)?"-":"",Wt=Is(this._milliseconds)!==Is(ge)?"-":"",h+"P"+(qt?y+qt+"Y":"")+(ye?y+ye+"M":"")+(U?f+U+"D":"")+(ht||Fe||x?"T":"")+(ht?Wt+ht+"H":"")+(Fe?Wt+Fe+"M":"")+(x?Wt+t+"S":"")):"P0D"}var ar=We.prototype;return ar.isValid=function B(){return this._isValid},ar.abs=function Tl(){var x=this._data;return this._milliseconds=ps(this._milliseconds),this._days=ps(this._days),this._months=ps(this._months),x.milliseconds=ps(x.milliseconds),x.seconds=ps(x.seconds),x.minutes=ps(x.minutes),x.hours=ps(x.hours),x.months=ps(x.months),x.years=ps(x.years),this},ar.add=function Xc(x,U){return Za(this,x,U,1)},ar.subtract=function os(x,U){return Za(this,x,U,-1)},ar.as=function $a(x){if(!this.isValid())return NaN;var U,ye,Fe=this._milliseconds;if("month"===(x=G(x))||"quarter"===x||"year"===x)switch(U=this._days+Fe/864e5,ye=this._months+ba(U),x){case"month":return ye;case"quarter":return ye/3;case"year":return ye/12}else switch(U=this._days+Math.round(na(this._months)),x){case"week":return U/7+Fe/6048e5;case"day":return U+Fe/864e5;case"hour":return 24*U+Fe/36e5;case"minute":return 1440*U+Fe/6e4;case"second":return 86400*U+Fe/1e3;case"millisecond":return Math.floor(864e5*U)+Fe;default:throw new Error("Unknown unit "+x)}},ar.asMilliseconds=Es,ar.asSeconds=Ta,ar.asMinutes=qa,ar.asHours=po,ar.asDays=Ma,ar.asWeeks=Sa,ar.asMonths=ia,ar.asQuarters=Ps,ar.asYears=Ja,ar.valueOf=function wa(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Et(this._months/12):NaN},ar._bubble=function Gs(){var ht,qt,t,ge,h,x=this._milliseconds,U=this._days,ye=this._months,Fe=this._data;return x>=0&&U>=0&&ye>=0||x<=0&&U<=0&&ye<=0||(x+=864e5*Ys(na(ye)+U),U=0,ye=0),Fe.milliseconds=x%1e3,ht=Dt(x/1e3),Fe.seconds=ht%60,qt=Dt(ht/60),Fe.minutes=qt%60,t=Dt(qt/60),Fe.hours=t%24,U+=Dt(t/24),ye+=h=Dt(ba(U)),U-=Ys(na(h)),ge=Dt(ye/12),ye%=12,Fe.days=U,Fe.months=ye,Fe.years=ge,this},ar.clone=function Ka(){return Or(this)},ar.get=function Qa(x){return x=G(x),this.isValid()?this[x+"s"]():NaN},ar.milliseconds=Os,ar.seconds=ra,ar.minutes=ms,ar.hours=Xa,ar.days=xa,ar.weeks=function Da(){return Dt(this.days()/7)},ar.months=oa,ar.years=Vs,ar.humanize=function ka(x,U){if(!this.isValid())return this.localeData().invalidDate();var ht,qt,ye=!1,Fe=fs;return"object"==typeof x&&(U=x,x=!1),"boolean"==typeof x&&(ye=x),"object"==typeof U&&(Fe=Object.assign({},fs,U),null!=U.s&&null==U.ss&&(Fe.ss=U.s-1)),qt=function Ws(x,U,ye,Fe){var ht=Or(x).abs(),qt=ts(ht.as("s")),t=ts(ht.as("m")),ge=ts(ht.as("h")),h=ts(ht.as("d")),y=ts(ht.as("M")),f=ts(ht.as("w")),Wt=ts(ht.as("y")),dn=qt<=ye.ss&&["s",qt]||qt0,dn[4]=Fe,gs.apply(null,dn)}(this,!ye,Fe,ht=this.localeData()),ye&&(qt=ht.pastFuture(+this,qt)),ht.postformat(qt)},ar.toISOString=Fs,ar.toString=Fs,ar.toJSON=Fs,ar.locale=C,ar.localeData=D,ar.toIsoString=He("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fs),ar.lang=T,et("X",0,0,"unix"),et("x",0,0,"valueOf"),Re("x",Fn),Re("X",/[+-]?\d+(\.\d{1,3})?/),Yn("X",function(x,U,ye){ye._d=new Date(1e3*parseFloat(x))}),Yn("x",function(x,U,ye){ye._d=new Date(Et(x))}),o.version="2.29.1",function u(x){e=x}(sr),o.fn=qn,o.min=function Qo(){return Ko("isBefore",[].slice.call(arguments,0))},o.max=function Vr(){return Ko("isAfter",[].slice.call(arguments,0))},o.now=function(){return Date.now?Date.now():+new Date},o.utc=O,o.unix=function Qc(x){return sr(1e3*x)},o.months=function Xl(x,U){return za(x,U,"months")},o.isDate=I,o.locale=we,o.invalid=ne,o.duration=Or,o.isMoment=je,o.weekdays=function tc(x,U,ye){return Hs(x,U,ye,"weekdays")},o.parseZone=function Ca(){return sr.apply(null,arguments).parseZone()},o.localeData=at,o.isDuration=gt,o.monthsShort=function ec(x,U){return za(x,U,"monthsShort")},o.weekdaysMin=function ic(x,U,ye){return Hs(x,U,ye,"weekdaysMin")},o.defineLocale=Xe,o.updateLocale=function Te(x,U){if(null!=U){var ye,Fe,ht=pr;null!=oi[x]&&null!=oi[x].parentLocale?oi[x].set(Ke(oi[x]._config,U)):(null!=(Fe=$i(x))&&(ht=Fe._config),U=Ke(ht,U),null==Fe&&(U.abbr=x),(ye=new xt(U)).parentLocale=oi[x],oi[x]=ye),we(x)}else null!=oi[x]&&(null!=oi[x].parentLocale?(oi[x]=oi[x].parentLocale,x===we()&&we(x)):null!=oi[x]&&delete oi[x]);return oi[x]},o.locales=function Yt(){return Be(oi)},o.weekdaysShort=function nc(x,U,ye){return Hs(x,U,ye,"weekdaysShort")},o.normalizeUnits=G,o.relativeTimeRounding=function ml(x){return void 0===x?ts:"function"==typeof x&&(ts=x,!0)},o.relativeTimeThreshold=function fl(x,U){return void 0!==fs[x]&&(void 0===U?fs[x]:(fs[x]=U,"s"===x&&(fs.ss=U-1),!0))},o.calendarFormat=function st(x,U){var ye=x.diff(U,"days",!0);return ye<-6?"sameElse":ye<-1?"lastWeek":ye<0?"lastDay":ye<1?"sameDay":ye<2?"nextDay":ye<7?"nextWeek":"sameElse"},o.prototype=qn,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}()},5563:(X,N,p)=>{"use strict";p.d(N,{$Z:()=>c,HU:()=>g,l1:()=>b});var e=p(5e3),o=p(9808);const u=["contentRef"],d=["*"];let c=(()=>{class k{constructor(I){this.display="inline-block",this._dragDisabled=!1,this._elementRef=I}get dragDisabled(){return this._dragDisabled}set dragDisabled(I){this._dragDisabled=I}}return k.\u0275fac=function(I){return new(I||k)(e.Y36(e.SBq))},k.\u0275dir=e.lG2({type:k,selectors:[["","drag-scroll-item",""]],hostVars:2,hostBindings:function(I,H){2&I&&e.Udp("display",H.display)},inputs:{dragDisabled:["drag-disabled","dragDisabled"]}}),k})(),g=(()=>{class k{constructor(I,H,z){this._elementRef=I,this._renderer=H,this._document=z,this._index=0,this._scrollbarHidden=!1,this._disabled=!1,this._xDisabled=!1,this._xWheelEnabled=!1,this._yDisabled=!1,this._dragDisabled=!1,this._snapDisabled=!1,this._snapOffset=0,this._snapDuration=500,this._isDragging=!1,this.isPressed=!1,this.isScrolling=!1,this.scrollTimer=-1,this.scrollToTimer=-1,this.downX=0,this.downY=0,this.displayType="block",this.elWidth=null,this.elHeight=null,this._pointerEvents="auto",this.scrollbarWidth=null,this.isAnimating=!1,this.prevChildrenLength=0,this.indexBound=0,this.dsInitialized=new e.vpe,this.indexChanged=new e.vpe,this.reachesLeftBound=new e.vpe,this.reachesRightBound=new e.vpe,this.snapAnimationFinished=new e.vpe,this.dragStart=new e.vpe,this.dragEnd=new e.vpe,this.scrollbarWidth=`${this.getScrollbarWidth()}px`}get isDragging(){return this._isDragging}get currIndex(){return this._index}set currIndex(I){I!==this._index&&(this._index=I,this.indexChanged.emit(I))}get scrollbarHidden(){return this._scrollbarHidden}set scrollbarHidden(I){this._scrollbarHidden=I}get disabled(){return this._disabled}set disabled(I){this._disabled=I}get xDisabled(){return this._xDisabled}set xDisabled(I){this._xDisabled=I}get yDisabled(){return this._yDisabled}set yDisabled(I){this._yDisabled=I}get xWheelEnabled(){return this._xWheelEnabled}set xWheelEnabled(I){this._xWheelEnabled=I}get dragDisabled(){return this._dragDisabled}set dragDisabled(I){this._dragDisabled=I}get snapDisabled(){return this._snapDisabled}set snapDisabled(I){this._snapDisabled=I}get snapOffset(){return this._snapOffset}set snapOffset(I){this._snapOffset=I}get snapDuration(){return this._snapDuration}set snapDuration(I){this._snapDuration=I}ngOnChanges(){this.setScrollBar(),this.xDisabled||this.disabled||this._scrollbarHidden?this.disableScroll("x"):this.enableScroll("x"),this.yDisabled||this.disabled?this.disableScroll("y"):this.enableScroll("y")}ngAfterViewInit(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","true"),this.displayType="undefined"!=typeof window?window.getComputedStyle(this._elementRef.nativeElement).display:"block",this._renderer.setStyle(this._contentRef.nativeElement,"display",this.displayType),this._renderer.setStyle(this._contentRef.nativeElement,"whiteSpace","noWrap"),this.markElDimension(),this._renderer.setStyle(this._contentRef.nativeElement,"width",this.elWidth),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.elHeight),this.wrapper&&this.checkScrollbar(),this._onMouseDownListener=this._renderer.listen(this._contentRef.nativeElement,"mousedown",this.onMouseDownHandler.bind(this)),this._onScrollListener=this._renderer.listen(this._contentRef.nativeElement,"scroll",this.onScrollHandler.bind(this)),this._onDragStartListener=this._renderer.listen(this._contentRef.nativeElement,"dragstart",I=>{I.preventDefault()}),this.checkNavStatus(),this.dsInitialized.emit(),this.adjustMarginToLastChild()}ngAfterViewChecked(){this._children.length!==this.prevChildrenLength&&(this.markElDimension(),this.checkScrollbar(),this.prevChildrenLength=this._children.length,this.checkNavStatus())}ngOnDestroy(){this._renderer.setAttribute(this._contentRef.nativeElement,"drag-scroll","false"),this._onMouseDownListener&&(this._onMouseDownListener=this._onMouseDownListener()),this._onScrollListener&&(this._onScrollListener=this._onScrollListener()),this._onDragStartListener&&(this._onDragStartListener=this._onDragStartListener())}onMouseMoveHandler(I){this.onMouseMove(I)}onMouseMove(I){if(this.isPressed&&!this.disabled){if(!I.buttons&&!I.which)return this.onMouseUpHandler(I);if(this._pointerEvents="none",this._setIsDragging(!0),!this.xDisabled&&!this.dragDisabled){const H=I.clientX;this._contentRef.nativeElement.scrollLeft=this._contentRef.nativeElement.scrollLeft-H+this.downX,this.downX=H}if(!this.yDisabled&&!this.dragDisabled){const H=I.clientY;this._contentRef.nativeElement.scrollTop=this._contentRef.nativeElement.scrollTop-H+this.downY,this.downY=H}}}onMouseDownHandler(I){const H=this.locateDragScrollItem(I.target);if(H&&H.dragDisabled)return;this._startGlobalListening("touchstart"===I.type),this.isPressed=!0;const O=I;this.downX=O.clientX,this.downY=O.clientY,clearTimeout(this.scrollToTimer)}onScrollHandler(){this.checkNavStatus(),this.isPressed||this.isAnimating||this.snapDisabled?this.locateCurrentIndex():(this.isScrolling=!0,clearTimeout(this.scrollTimer),this.scrollTimer=setTimeout(()=>{this.isScrolling=!1,this.locateCurrentIndex(!0)},500))}onMouseUpHandler(I){this.isPressed&&(this.isPressed=!1,this._pointerEvents="auto",this._setIsDragging(!1),this.snapDisabled?this.locateCurrentIndex():this.locateCurrentIndex(!0),this._stopGlobalListening())}moveLeft(){(0!==this.currIndex||this.snapDisabled)&&(this.currIndex--,clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}moveRight(){const I=this.wrapper||this.parentNode,H=I?I.clientWidth:0;!this.isScrollReachesRightEnd()&&this.currIndex=0&&I!==this.currIndex&&this.currIndex<=this.maximumIndex(z,this._children.toArray())&&(this.currIndex=Math.min(I,this.maximumIndex(z,this._children.toArray())),clearTimeout(this.scrollToTimer),this.scrollTo(this._contentRef.nativeElement,this.toChildrenLocation(),this.snapDuration))}checkNavStatus(){setTimeout(()=>{const I=Boolean(this._children.length<=1),H=Boolean(this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth);I||H?(this.reachesLeftBound.emit(!0),this.reachesRightBound.emit(!0)):this.isScrollReachesRightEnd()?(this.reachesLeftBound.emit(!1),this.reachesRightBound.emit(!0)):0===this._contentRef.nativeElement.scrollLeft&&this._contentRef.nativeElement.scrollWidth>this._contentRef.nativeElement.clientWidth?(this.reachesLeftBound.emit(!0),this.reachesRightBound.emit(!1)):(this.reachesLeftBound.emit(!1),this.reachesRightBound.emit(!1))},0)}onWheel(I){this._xWheelEnabled&&(I.preventDefault(),this._snapDisabled?this._contentRef.nativeElement.scrollBy(I.deltaY,0):I.deltaY<0?this.moveLeft():I.deltaY>0&&this.moveRight())}onWindowResize(){this.refreshWrapperDimensions(),this.checkNavStatus()}_setIsDragging(I){this._isDragging!==I&&(this._isDragging=I,I?this.dragStart.emit():this.dragEnd.emit())}_startGlobalListening(I){this._onMouseMoveListener||(this._onMouseMoveListener=this._renderer.listen("document",I?"touchmove":"mousemove",this.onMouseMoveHandler.bind(this))),this._onMouseUpListener||(this._onMouseUpListener=this._renderer.listen("document",I?"touchend":"mouseup",this.onMouseUpHandler.bind(this)))}_stopGlobalListening(){this._onMouseMoveListener&&(this._onMouseMoveListener=this._onMouseMoveListener()),this._onMouseUpListener&&(this._onMouseUpListener=this._onMouseUpListener())}disableScroll(I){this._renderer.setStyle(this._contentRef.nativeElement,`overflow-${I}`,"hidden")}enableScroll(I){this._renderer.setStyle(this._contentRef.nativeElement,`overflow-${I}`,"auto")}hideScrollbar(){"none"!==this._contentRef.nativeElement.style.display&&!this.wrapper&&(this.parentNode=this._contentRef.nativeElement.parentNode,this.wrapper=this._renderer.createElement("div"),this._renderer.setAttribute(this.wrapper,"class","drag-scroll-wrapper"),this._renderer.addClass(this.wrapper,"drag-scroll-container"),this.refreshWrapperDimensions(),this._renderer.setStyle(this.wrapper,"overflow","hidden"),this._renderer.setStyle(this._contentRef.nativeElement,"width",`calc(100% + ${this.scrollbarWidth})`),this._renderer.setStyle(this._contentRef.nativeElement,"height",`calc(100% + ${this.scrollbarWidth})`),this._renderer.appendChild(this._elementRef.nativeElement,this.wrapper),this._renderer.appendChild(this.wrapper,this._contentRef.nativeElement),this.adjustMarginToLastChild())}showScrollbar(){this.wrapper&&(this._renderer.setStyle(this._contentRef.nativeElement,"width","100%"),this._renderer.setStyle(this._contentRef.nativeElement,"height",this.wrapper.style.height),null!==this.parentNode&&(this.parentNode.removeChild(this.wrapper),this.parentNode.appendChild(this._contentRef.nativeElement)),this.wrapper=null,this.adjustMarginToLastChild())}checkScrollbar(){this._renderer.setStyle(this._contentRef.nativeElement,"height",this._contentRef.nativeElement.scrollWidth<=this._contentRef.nativeElement.clientWidth?"100%":`calc(100% + ${this.scrollbarWidth})`),this._renderer.setStyle(this._contentRef.nativeElement,"width",this._contentRef.nativeElement.scrollHeight<=this._contentRef.nativeElement.clientHeight?"100%":`calc(100% + ${this.scrollbarWidth})`)}setScrollBar(){this.scrollbarHidden?this.hideScrollbar():this.showScrollbar()}getScrollbarWidth(){const I=this._renderer.createElement("div");this._renderer.setStyle(I,"visibility","hidden"),this._renderer.setStyle(I,"width","100px"),this._renderer.setStyle(I,"msOverflowStyle","scrollbar"),this._renderer.appendChild(this._document.body,I);const H=I.offsetWidth;this._renderer.setStyle(I,"overflow","scroll");const z=this._renderer.createElement("div");this._renderer.setStyle(z,"width","100%"),this._renderer.appendChild(I,z);const O=z.offsetWidth;return this._renderer.removeChild(this._document.body,I),H-O||20}refreshWrapperDimensions(){this.wrapper&&(this._renderer.setStyle(this.wrapper,"width","100%"),this._renderer.setStyle(this.wrapper,"height",this._elementRef.nativeElement.style.height>0||this._elementRef.nativeElement.offsetHeight>0?this._elementRef.nativeElement.style.height||this._elementRef.nativeElement.offsetHeight+"px":"100%"))}scrollTo(I,H,z){const O=this;O.isAnimating=!0;const Z=I.scrollLeft,q=H-Z-this.snapOffset;let V=0;const ue=function(){var ee,Q,se;V+=20,I.scrollLeft=(ee=V,Q=Z,se=q,(ee/=z/2)<1?se/2*ee*ee+Q:-se/2*(--ee*(ee-2)-1)+Q),V{O.isAnimating=!1,O.snapAnimationFinished.emit(O.currIndex)},20)};ue()}locateCurrentIndex(I){this.currentChildWidth((H,z,O,Z,q)=>{this._contentRef.nativeElement.scrollLeft>=O&&this._contentRef.nativeElement.scrollLeft<=z?(z-this._contentRef.nativeElement.scrollLeft>H/2&&!this.isScrollReachesRightEnd()?(this.isAnimating||(this.currIndex=Z),I&&this.scrollTo(this._contentRef.nativeElement,O,this.snapDuration)):0!==this._contentRef.nativeElement.scrollLeft&&(this.isAnimating||(this.currIndex=Z+1),I&&this.scrollTo(this._contentRef.nativeElement,O+H,this.snapDuration)),q()):Z+1===this._children.length-1&&(this.isAnimating||(this.currIndex=Z+1),q())})}currentChildWidth(I){let H=0,z=!1;const O=function(){z=!0},Z=this._children.toArray();for(let q=0;q1&&(this.indexBound=this.maximumIndex(I?I.clientWidth:0,this._children.toArray()))}maximumIndex(I,H){let z=0,O=0;for(let Z=0;Z<=H.length;Z++){const q=H[H.length-1-Z];if(!q)break;{const te=q._elementRef.nativeElement;let V=te.clientWidth;if(0===V&&te.firstElementChild&&(V=q._elementRef.nativeElement.firstElementChild.clientWidth),O+=V,!(O=this._contentRef.nativeElement.scrollWidth}adjustMarginToLastChild(){if(this._children&&this._children.length>0&&this.hideScrollbar){const I=this._children.toArray();this._renderer.setStyle(I[I.length-1]._elementRef.nativeElement,"margin-right",this.wrapper&&I.length>1?this.scrollbarWidth:0)}}}return k.\u0275fac=function(I){return new(I||k)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(o.K0))},k.\u0275cmp=e.Xpm({type:k,selectors:[["drag-scroll"]],contentQueries:function(I,H,z){if(1&I&&e.Suo(z,c,5),2&I){let O;e.iGM(O=e.CRH())&&(H._children=O)}},viewQuery:function(I,H){if(1&I&&e.Gf(u,7),2&I){let z;e.iGM(z=e.CRH())&&(H._contentRef=z.first)}},hostVars:2,hostBindings:function(I,H){1&I&&e.NdJ("wheel",function(O){return H.onWheel(O)})("resize",function(){return H.onWindowResize()},!1,e.Jf7),2&I&&e.Udp("pointer-events",H._pointerEvents)},inputs:{scrollbarHidden:["scrollbar-hidden","scrollbarHidden"],disabled:["drag-scroll-disabled","disabled"],xDisabled:["drag-scroll-x-disabled","xDisabled"],yDisabled:["drag-scroll-y-disabled","yDisabled"],xWheelEnabled:["scroll-x-wheel-enabled","xWheelEnabled"],dragDisabled:["drag-disabled","dragDisabled"],snapDisabled:["snap-disabled","snapDisabled"],snapOffset:["snap-offset","snapOffset"],snapDuration:["snap-duration","snapDuration"]},outputs:{dsInitialized:"dsInitialized",indexChanged:"indexChanged",reachesLeftBound:"reachesLeftBound",reachesRightBound:"reachesRightBound",snapAnimationFinished:"snapAnimationFinished",dragStart:"dragStart",dragEnd:"dragEnd"},features:[e.TTD],ngContentSelectors:d,decls:3,vars:0,consts:[[1,"drag-scroll-content"],["contentRef",""]],template:function(I,H){1&I&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA())},styles:["[_nghost-%COMP%] {\n overflow: hidden;\n display: block;\n }\n .drag-scroll-content[_ngcontent-%COMP%] {\n height: 100%;\n overflow: auto;\n white-space: nowrap;\n }"]}),k})(),b=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=e.oAB({type:k}),k.\u0275inj=e.cJS({}),k})()},1995:(X,N,p)=>{"use strict";p.d(N,{Su:()=>A,ob:()=>k});var e=p(5e3),o=p(3075),u=p(9808);function d(I,H){if(1&I&&(e.TgZ(0,"label",2)(1,"span",3),e._uU(2),e.qZA(),e.TgZ(3,"span",4),e._uU(4),e.qZA()()),2&I){const z=e.oxw();e.xp6(1),e.Udp("color",z.getColor("checkedTextColor")),e.uIk("aria-label",z.checkedLabel),e.xp6(1),e.Oqu(z.checkedLabel),e.xp6(1),e.Udp("color",z.getColor("uncheckedTextColor")),e.uIk("aria-label",z.uncheckedLabel),e.xp6(1),e.Oqu(z.uncheckedLabel)}}const c=["*"],g=new e.OlP("UI_SWITCH_OPTIONS"),b={provide:o.JU,useExisting:(0,e.Gpc)(()=>k),multi:!0};let k=(()=>{class I{constructor(z={},O){this.cdr=O,this.change=new e.vpe,this.changeEvent=new e.vpe,this.valueChange=new e.vpe,this.onTouchedCallback=Z=>{},this.onChangeCallback=Z=>{},this.size=z&&z.size||"medium",this.color=z&&z.color,this.switchOffColor=z&&z.switchOffColor,this.switchColor=z&&z.switchColor,this.defaultBgColor=z&&z.defaultBgColor,this.defaultBoColor=z&&z.defaultBoColor,this.checkedLabel=z&&z.checkedLabel,this.uncheckedLabel=z&&z.uncheckedLabel,this.checkedTextColor=z&&z.checkedTextColor,this.uncheckedTextColor=z&&z.uncheckedTextColor}set checked(z){this._checked=!1!==z}get checked(){return this._checked}set disabled(z){this._disabled=!1!==z}get disabled(){return this._disabled}set reverse(z){this._reverse=!1!==z}get reverse(){return this._reverse}set loading(z){this._loading=!1!==z}get loading(){return this._loading}getColor(z=""){return"borderColor"===z?this.defaultBoColor:"switchColor"===z?this.reverse?this.checked&&this.switchOffColor||this.switchColor:this.checked?this.switchColor:this.switchOffColor||this.switchColor:"checkedTextColor"===z?this.reverse?this.uncheckedTextColor:this.checkedTextColor:"uncheckedTextColor"===z?this.reverse?this.checkedTextColor:this.uncheckedTextColor:this.reverse?this.checked?this.defaultBgColor:this.color:this.checked?this.color:this.defaultBgColor}onClick(z){this.disabled||(this.checked=!this.checked,this.change.emit(this.checked),this.valueChange.emit(this.checked),this.changeEvent.emit(z),this.onChangeCallback(this.checked),this.onTouchedCallback(this.checked),this.cdr.markForCheck())}onToggle(z){this.disabled||(this.beforeChange?this._beforeChange=this.beforeChange.subscribe(O=>{O&&this.onClick(z)}):this.onClick(z))}writeValue(z){z!==this.checked&&(this.checked=!!z),this.onChangeCallback(this.checked),this.cdr&&this.cdr.markForCheck()}registerOnChange(z){this.onChangeCallback=z}registerOnTouched(z){this.onTouchedCallback=z}setDisabledState(z){this.disabled=z}ngOnDestroy(){this._beforeChange&&this._beforeChange.unsubscribe()}}return I.\u0275fac=function(z){return new(z||I)(e.Y36(g,8),e.Y36(e.sBO))},I.\u0275cmp=e.Xpm({type:I,selectors:[["ui-switch"]],hostBindings:function(z,O){1&z&&e.NdJ("click",function(q){return O.onToggle(q)})},inputs:{size:"size",color:"color",switchOffColor:"switchOffColor",switchColor:"switchColor",defaultBgColor:"defaultBgColor",defaultBoColor:"defaultBoColor",checkedLabel:"checkedLabel",uncheckedLabel:"uncheckedLabel",checkedTextColor:"checkedTextColor",uncheckedTextColor:"uncheckedTextColor",checked:"checked",disabled:"disabled",reverse:"reverse",loading:"loading",beforeChange:"beforeChange"},outputs:{change:"change",changeEvent:"changeEvent",valueChange:"valueChange"},features:[e._Bn([b])],ngContentSelectors:c,decls:4,vars:20,consts:[["type","button","role","switch",1,"switch"],["class","switch-pane",4,"ngIf"],[1,"switch-pane"],[1,"switch-label-checked"],[1,"switch-label-unchecked"]],template:function(z,O){1&z&&(e.F$t(),e.TgZ(0,"button",0),e.YNc(1,d,5,8,"label",1),e.TgZ(2,"small"),e.Hsn(3),e.qZA()()),2&z&&(e.Udp("background-color",O.getColor())("border-color",O.getColor("borderColor")),e.ekj("checked",O.checked)("disabled",O.disabled)("loading",O.loading)("switch-large","large"===O.size)("switch-medium","medium"===O.size)("switch-small","small"===O.size),e.uIk("aria-checked",O.checked),e.xp6(1),e.Q6J("ngIf",O.checkedLabel||O.uncheckedLabel),e.xp6(1),e.Udp("background",O.getColor("switchColor")))},directives:[u.O5],encapsulation:2}),I})(),A=(()=>{class I{static forRoot(z){return{ngModule:I,providers:[{provide:g,useValue:z||{}}]}}}return I.\u0275fac=function(z){return new(z||I)},I.\u0275mod=e.oAB({type:I}),I.\u0275inj=e.cJS({imports:[[u.ez,o.u5],o.u5]}),I})()},1135:(X,N,p)=>{"use strict";p.d(N,{X:()=>o});var e=p(7579);class o extends e.x{constructor(d){super(),this._value=d}get value(){return this.getValue()}_subscribe(d){const c=super._subscribe(d);return!c.closed&&d.next(this._value),c}getValue(){const{hasError:d,thrownError:c,_value:g}=this;if(d)throw c;return this._throwIfClosed(),g}next(d){super.next(this._value=d)}}},8306:(X,N,p)=>{"use strict";p.d(N,{y:()=>I});var e=p(930),o=p(727),u=p(8822),d=p(4671);var b=p(2416),k=p(576),A=p(2806);let I=(()=>{class Z{constructor(te){te&&(this._subscribe=te)}lift(te){const V=new Z;return V.source=this,V.operator=te,V}subscribe(te,V,ne){const ue=function O(Z){return Z&&Z instanceof e.Lv||function z(Z){return Z&&(0,k.m)(Z.next)&&(0,k.m)(Z.error)&&(0,k.m)(Z.complete)}(Z)&&(0,o.Nn)(Z)}(te)?te:new e.Hp(te,V,ne);return(0,A.x)(()=>{const{operator:ee,source:Q}=this;ue.add(ee?ee.call(ue,Q):Q?this._subscribe(ue):this._trySubscribe(ue))}),ue}_trySubscribe(te){try{return this._subscribe(te)}catch(V){te.error(V)}}forEach(te,V){return new(V=H(V))((ne,ue)=>{let ee;ee=this.subscribe(Q=>{try{te(Q)}catch(se){ue(se),null==ee||ee.unsubscribe()}},ue,ne)})}_subscribe(te){var V;return null===(V=this.source)||void 0===V?void 0:V.subscribe(te)}[u.L](){return this}pipe(...te){return function g(Z){return 0===Z.length?d.y:1===Z.length?Z[0]:function(te){return Z.reduce((V,ne)=>ne(V),te)}}(te)(this)}toPromise(te){return new(te=H(te))((V,ne)=>{let ue;this.subscribe(ee=>ue=ee,ee=>ne(ee),()=>V(ue))})}}return Z.create=q=>new Z(q),Z})();function H(Z){var q;return null!==(q=null!=Z?Z:b.v.Promise)&&void 0!==q?q:Promise}},4707:(X,N,p)=>{"use strict";p.d(N,{t:()=>u});var e=p(7579),o=p(6063);class u extends e.x{constructor(c=1/0,g=1/0,b=o.l){super(),this._bufferSize=c,this._windowTime=g,this._timestampProvider=b,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=g===1/0,this._bufferSize=Math.max(1,c),this._windowTime=Math.max(1,g)}next(c){const{isStopped:g,_buffer:b,_infiniteTimeWindow:k,_timestampProvider:A,_windowTime:I}=this;g||(b.push(c),!k&&b.push(A.now()+I)),this._trimBuffer(),super.next(c)}_subscribe(c){this._throwIfClosed(),this._trimBuffer();const g=this._innerSubscribe(c),{_infiniteTimeWindow:b,_buffer:k}=this,A=k.slice();for(let I=0;I{"use strict";p.d(N,{u:()=>k,x:()=>b});var e=p(8306),o=p(727);const d=(0,p(3888).d)(A=>function(){A(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var c=p(8737),g=p(2806);let b=(()=>{class A extends e.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(H){const z=new k(this,this);return z.operator=H,z}_throwIfClosed(){if(this.closed)throw new d}next(H){(0,g.x)(()=>{if(this._throwIfClosed(),!this.isStopped){const z=this.observers.slice();for(const O of z)O.next(H)}})}error(H){(0,g.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=H;const{observers:z}=this;for(;z.length;)z.shift().error(H)}})}complete(){(0,g.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:H}=this;for(;H.length;)H.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var H;return(null===(H=this.observers)||void 0===H?void 0:H.length)>0}_trySubscribe(H){return this._throwIfClosed(),super._trySubscribe(H)}_subscribe(H){return this._throwIfClosed(),this._checkFinalizedStatuses(H),this._innerSubscribe(H)}_innerSubscribe(H){const{hasError:z,isStopped:O,observers:Z}=this;return z||O?o.Lc:(Z.push(H),new o.w0(()=>(0,c.P)(Z,H)))}_checkFinalizedStatuses(H){const{hasError:z,thrownError:O,isStopped:Z}=this;z?H.error(O):Z&&H.complete()}asObservable(){const H=new e.y;return H.source=this,H}}return A.create=(I,H)=>new k(I,H),A})();class k extends b{constructor(I,H){super(),this.destination=I,this.source=H}next(I){var H,z;null===(z=null===(H=this.destination)||void 0===H?void 0:H.next)||void 0===z||z.call(H,I)}error(I){var H,z;null===(z=null===(H=this.destination)||void 0===H?void 0:H.error)||void 0===z||z.call(H,I)}complete(){var I,H;null===(H=null===(I=this.destination)||void 0===I?void 0:I.complete)||void 0===H||H.call(I)}_subscribe(I){var H,z;return null!==(z=null===(H=this.source)||void 0===H?void 0:H.subscribe(I))&&void 0!==z?z:o.Lc}}},930:(X,N,p)=>{"use strict";p.d(N,{Hp:()=>O,Lv:()=>z});var e=p(576),o=p(727),u=p(2416),d=p(7849),c=p(5032);const g=A("C",void 0,void 0);function A(ne,ue,ee){return{kind:ne,value:ue,error:ee}}var I=p(3410),H=p(2806);class z extends o.w0{constructor(ue){super(),this.isStopped=!1,ue?(this.destination=ue,(0,o.Nn)(ue)&&ue.add(this)):this.destination=V}static create(ue,ee,Q){return new O(ue,ee,Q)}next(ue){this.isStopped?te(function k(ne){return A("N",ne,void 0)}(ue),this):this._next(ue)}error(ue){this.isStopped?te(function b(ne){return A("E",void 0,ne)}(ue),this):(this.isStopped=!0,this._error(ue))}complete(){this.isStopped?te(g,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ue){this.destination.next(ue)}_error(ue){try{this.destination.error(ue)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class O extends z{constructor(ue,ee,Q){let se;if(super(),(0,e.m)(ue))se=ue;else if(ue){let je;({next:se,error:ee,complete:Q}=ue),this&&u.v.useDeprecatedNextContext?(je=Object.create(ue),je.unsubscribe=()=>this.unsubscribe()):je=ue,se=null==se?void 0:se.bind(je),ee=null==ee?void 0:ee.bind(je),Q=null==Q?void 0:Q.bind(je)}this.destination={next:se?Z(se):c.Z,error:Z(null!=ee?ee:q),complete:Q?Z(Q):c.Z}}}function Z(ne,ue){return(...ee)=>{try{ne(...ee)}catch(Q){u.v.useDeprecatedSynchronousErrorHandling?(0,H.O)(Q):(0,d.h)(Q)}}}function q(ne){throw ne}function te(ne,ue){const{onStoppedNotification:ee}=u.v;ee&&I.z.setTimeout(()=>ee(ne,ue))}const V={closed:!0,next:c.Z,error:q,complete:c.Z}},727:(X,N,p)=>{"use strict";p.d(N,{Lc:()=>g,w0:()=>c,Nn:()=>b});var e=p(576);const u=(0,p(3888).d)(A=>function(H){A(this),this.message=H?`${H.length} errors occurred during unsubscription:\n${H.map((z,O)=>`${O+1}) ${z.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=H});var d=p(8737);class c{constructor(I){this.initialTeardown=I,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let I;if(!this.closed){this.closed=!0;const{_parentage:H}=this;if(H)if(this._parentage=null,Array.isArray(H))for(const Z of H)Z.remove(this);else H.remove(this);const{initialTeardown:z}=this;if((0,e.m)(z))try{z()}catch(Z){I=Z instanceof u?Z.errors:[Z]}const{_teardowns:O}=this;if(O){this._teardowns=null;for(const Z of O)try{k(Z)}catch(q){I=null!=I?I:[],q instanceof u?I=[...I,...q.errors]:I.push(q)}}if(I)throw new u(I)}}add(I){var H;if(I&&I!==this)if(this.closed)k(I);else{if(I instanceof c){if(I.closed||I._hasParent(this))return;I._addParent(this)}(this._teardowns=null!==(H=this._teardowns)&&void 0!==H?H:[]).push(I)}}_hasParent(I){const{_parentage:H}=this;return H===I||Array.isArray(H)&&H.includes(I)}_addParent(I){const{_parentage:H}=this;this._parentage=Array.isArray(H)?(H.push(I),H):H?[H,I]:I}_removeParent(I){const{_parentage:H}=this;H===I?this._parentage=null:Array.isArray(H)&&(0,d.P)(H,I)}remove(I){const{_teardowns:H}=this;H&&(0,d.P)(H,I),I instanceof c&&I._removeParent(this)}}c.EMPTY=(()=>{const A=new c;return A.closed=!0,A})();const g=c.EMPTY;function b(A){return A instanceof c||A&&"closed"in A&&(0,e.m)(A.remove)&&(0,e.m)(A.add)&&(0,e.m)(A.unsubscribe)}function k(A){(0,e.m)(A)?A():A.unsubscribe()}},2416:(X,N,p)=>{"use strict";p.d(N,{v:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},3905:(X,N,p)=>{"use strict";p.d(N,{z:()=>u});var e=p(6805),o=p(930);function u(d,c){const g="object"==typeof c;return new Promise((b,k)=>{const A=new o.Hp({next:I=>{b(I),A.unsubscribe()},error:k,complete:()=>{g?b(c.defaultValue):k(new e.K)}});d.subscribe(A)})}},9841:(X,N,p)=>{"use strict";p.d(N,{a:()=>I});var e=p(8306),o=p(4742),u=p(2076),d=p(4671),c=p(3268),g=p(3269),b=p(1810),k=p(5403),A=p(9672);function I(...O){const Z=(0,g.yG)(O),q=(0,g.jO)(O),{args:te,keys:V}=(0,o.D)(O);if(0===te.length)return(0,u.D)([],Z);const ne=new e.y(function H(O,Z,q=d.y){return te=>{z(Z,()=>{const{length:V}=O,ne=new Array(V);let ue=V,ee=V;for(let Q=0;Q{const se=(0,u.D)(O[Q],Z);let je=!1;se.subscribe(new k.Q(te,nt=>{ne[Q]=nt,je||(je=!0,ee--),ee||te.next(q(ne.slice()))},()=>{--ue||te.complete()}))},te)},te)}}(te,Z,V?ue=>(0,b.n)(V,ue):d.y));return q?ne.pipe((0,c.Z)(q)):ne}function z(O,Z,q){O?(0,A.f)(q,O,Z):Z()}},7272:(X,N,p)=>{"use strict";p.d(N,{z:()=>c});var e=p(8189),u=p(3269),d=p(2076);function c(...g){return function o(){return(0,e.J)(1)}()((0,d.D)(g,(0,u.yG)(g)))}},9770:(X,N,p)=>{"use strict";p.d(N,{P:()=>u});var e=p(8306),o=p(8421);function u(d){return new e.y(c=>{(0,o.Xf)(d()).subscribe(c)})}},515:(X,N,p)=>{"use strict";p.d(N,{E:()=>o});const o=new(p(8306).y)(c=>c.complete())},4128:(X,N,p)=>{"use strict";p.d(N,{D:()=>k});var e=p(8306),o=p(4742),u=p(8421),d=p(3269),c=p(5403),g=p(3268),b=p(1810);function k(...A){const I=(0,d.jO)(A),{args:H,keys:z}=(0,o.D)(A),O=new e.y(Z=>{const{length:q}=H;if(!q)return void Z.complete();const te=new Array(q);let V=q,ne=q;for(let ue=0;ue{ee||(ee=!0,ne--),te[ue]=Q},()=>V--,void 0,()=>{(!V||!ee)&&(ne||Z.next(z?(0,b.n)(z,te):te),Z.complete())}))}});return I?O.pipe((0,g.Z)(I)):O}},2076:(X,N,p)=>{"use strict";p.d(N,{D:()=>nt});var e=p(8421),o=p(9672),u=p(4482),d=p(5403);function c(He,de=0){return(0,u.e)((Ce,Ze)=>{Ce.subscribe(new d.Q(Ze,ot=>(0,o.f)(Ze,He,()=>Ze.next(ot),de),()=>(0,o.f)(Ze,He,()=>Ze.complete(),de),ot=>(0,o.f)(Ze,He,()=>Ze.error(ot),de)))})}function g(He,de=0){return(0,u.e)((Ce,Ze)=>{Ze.add(He.schedule(()=>Ce.subscribe(Ze),de))})}var A=p(8306),H=p(2202),z=p(576);function Z(He,de){if(!He)throw new Error("Iterable cannot be null");return new A.y(Ce=>{(0,o.f)(Ce,de,()=>{const Ze=He[Symbol.asyncIterator]();(0,o.f)(Ce,de,()=>{Ze.next().then(ot=>{ot.done?Ce.complete():Ce.next(ot.value)})},0,!0)})})}var q=p(3670),te=p(8239),V=p(1144),ne=p(6495),ue=p(2206),ee=p(4532),Q=p(3260);function nt(He,de){return de?function je(He,de){if(null!=He){if((0,q.c)(He))return function b(He,de){return(0,e.Xf)(He).pipe(g(de),c(de))}(He,de);if((0,V.z)(He))return function I(He,de){return new A.y(Ce=>{let Ze=0;return de.schedule(function(){Ze===He.length?Ce.complete():(Ce.next(He[Ze++]),Ce.closed||this.schedule())})})}(He,de);if((0,te.t)(He))return function k(He,de){return(0,e.Xf)(He).pipe(g(de),c(de))}(He,de);if((0,ue.D)(He))return Z(He,de);if((0,ne.T)(He))return function O(He,de){return new A.y(Ce=>{let Ze;return(0,o.f)(Ce,de,()=>{Ze=He[H.h](),(0,o.f)(Ce,de,()=>{let ot,Ke;try{({value:ot,done:Ke}=Ze.next())}catch(xt){return void Ce.error(xt)}Ke?Ce.complete():Ce.next(ot)},0,!0)}),()=>(0,z.m)(null==Ze?void 0:Ze.return)&&Ze.return()})}(He,de);if((0,Q.L)(He))return function se(He,de){return Z((0,Q.Q)(He),de)}(He,de)}throw(0,ee.z)(He)}(He,de):(0,e.Xf)(He)}},4968:(X,N,p)=>{"use strict";p.d(N,{R:()=>I});var e=p(8421),o=p(8306),u=p(6099),d=p(1144),c=p(576),g=p(3268);const b=["addListener","removeListener"],k=["addEventListener","removeEventListener"],A=["on","off"];function I(q,te,V,ne){if((0,c.m)(V)&&(ne=V,V=void 0),ne)return I(q,te,V).pipe((0,g.Z)(ne));const[ue,ee]=function Z(q){return(0,c.m)(q.addEventListener)&&(0,c.m)(q.removeEventListener)}(q)?k.map(Q=>se=>q[Q](te,se,V)):function z(q){return(0,c.m)(q.addListener)&&(0,c.m)(q.removeListener)}(q)?b.map(H(q,te)):function O(q){return(0,c.m)(q.on)&&(0,c.m)(q.off)}(q)?A.map(H(q,te)):[];if(!ue&&(0,d.z)(q))return(0,u.z)(Q=>I(Q,te,V))((0,e.Xf)(q));if(!ue)throw new TypeError("Invalid event target");return new o.y(Q=>{const se=(...je)=>Q.next(1ee(se)})}function H(q,te){return V=>ne=>q[V](te,ne)}},8421:(X,N,p)=>{"use strict";p.d(N,{Xf:()=>O});var e=p(5987),o=p(1144),u=p(8239),d=p(8306),c=p(3670),g=p(2206),b=p(4532),k=p(6495),A=p(3260),I=p(576),H=p(7849),z=p(8822);function O(Q){if(Q instanceof d.y)return Q;if(null!=Q){if((0,c.c)(Q))return function Z(Q){return new d.y(se=>{const je=Q[z.L]();if((0,I.m)(je.subscribe))return je.subscribe(se);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Q);if((0,o.z)(Q))return function q(Q){return new d.y(se=>{for(let je=0;je{Q.then(je=>{se.closed||(se.next(je),se.complete())},je=>se.error(je)).then(null,H.h)})}(Q);if((0,g.D)(Q))return ne(Q);if((0,k.T)(Q))return function V(Q){return new d.y(se=>{for(const je of Q)if(se.next(je),se.closed)return;se.complete()})}(Q);if((0,A.L)(Q))return function ue(Q){return ne((0,A.Q)(Q))}(Q)}throw(0,b.z)(Q)}function ne(Q){return new d.y(se=>{(function ee(Q,se){var je,nt,He,de;return(0,e.mG)(this,void 0,void 0,function*(){try{for(je=(0,e.KL)(Q);!(nt=yield je.next()).done;)if(se.next(nt.value),se.closed)return}catch(Ce){He={error:Ce}}finally{try{nt&&!nt.done&&(de=je.return)&&(yield de.call(je))}finally{if(He)throw He.error}}se.complete()})})(Q,se).catch(je=>se.error(je))})}},6451:(X,N,p)=>{"use strict";p.d(N,{T:()=>g});var e=p(8189),o=p(8421),u=p(515),d=p(3269),c=p(2076);function g(...b){const k=(0,d.yG)(b),A=(0,d._6)(b,1/0),I=b;return I.length?1===I.length?(0,o.Xf)(I[0]):(0,e.J)(A)((0,c.D)(I,k)):u.E}},9646:(X,N,p)=>{"use strict";p.d(N,{of:()=>u});var e=p(3269),o=p(2076);function u(...d){const c=(0,e.yG)(d);return(0,o.D)(d,c)}},2843:(X,N,p)=>{"use strict";p.d(N,{_:()=>u});var e=p(8306),o=p(576);function u(d,c){const g=(0,o.m)(d)?d:()=>d,b=k=>k.error(g());return new e.y(c?k=>c.schedule(b,0,k):b)}},2805:(X,N,p)=>{"use strict";p.d(N,{H:()=>c});var e=p(8306),o=p(4986),u=p(3532),d=p(1165);function c(g=0,b,k=o.P){let A=-1;return null!=b&&((0,u.K)(b)?k=b:A=b),new e.y(I=>{let H=(0,d.q)(g)?+g-k.now():g;H<0&&(H=0);let z=0;return k.schedule(function(){I.closed||(I.next(z++),0<=A?this.schedule(void 0,A):I.complete())},H)})}},5403:(X,N,p)=>{"use strict";p.d(N,{Q:()=>o});var e=p(930);class o extends e.Lv{constructor(d,c,g,b,k){super(d),this.onFinalize=k,this._next=c?function(A){try{c(A)}catch(I){d.error(I)}}:super._next,this._error=b?function(A){try{b(A)}catch(I){d.error(I)}finally{this.unsubscribe()}}:super._error,this._complete=g?function(){try{g()}catch(A){d.error(A)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var d;const{closed:c}=this;super.unsubscribe(),!c&&(null===(d=this.onFinalize)||void 0===d||d.call(this))}}},262:(X,N,p)=>{"use strict";p.d(N,{K:()=>d});var e=p(8421),o=p(5403),u=p(4482);function d(c){return(0,u.e)((g,b)=>{let I,k=null,A=!1;k=g.subscribe(new o.Q(b,void 0,void 0,H=>{I=(0,e.Xf)(c(H,d(c)(g))),k?(k.unsubscribe(),k=null,I.subscribe(b)):A=!0})),A&&(k.unsubscribe(),k=null,I.subscribe(b))})}},4351:(X,N,p)=>{"use strict";p.d(N,{b:()=>u});var e=p(6099),o=p(576);function u(d,c){return(0,o.m)(c)?(0,e.z)(d,c,1):(0,e.z)(d,1)}},8372:(X,N,p)=>{"use strict";p.d(N,{b:()=>d});var e=p(4986),o=p(4482),u=p(5403);function d(c,g=e.z){return(0,o.e)((b,k)=>{let A=null,I=null,H=null;const z=()=>{if(A){A.unsubscribe(),A=null;const Z=I;I=null,k.next(Z)}};function O(){const Z=H+c,q=g.now();if(q{I=Z,H=g.now(),A||(A=g.schedule(O,c),k.add(A))},()=>{z(),k.complete()},void 0,()=>{I=A=null}))})}},6590:(X,N,p)=>{"use strict";p.d(N,{d:()=>u});var e=p(4482),o=p(5403);function u(d){return(0,e.e)((c,g)=>{let b=!1;c.subscribe(new o.Q(g,k=>{b=!0,g.next(k)},()=>{b||g.next(d),g.complete()}))})}},1005:(X,N,p)=>{"use strict";p.d(N,{g:()=>z});var e=p(4986),o=p(7272),u=p(5698),d=p(4482),c=p(5403),g=p(5032),k=p(9718),A=p(6099);function I(O,Z){return Z?q=>(0,o.z)(Z.pipe((0,u.q)(1),function b(){return(0,d.e)((O,Z)=>{O.subscribe(new c.Q(Z,g.Z))})}()),q.pipe(I(O))):(0,A.z)((q,te)=>O(q,te).pipe((0,u.q)(1),(0,k.h)(q)))}var H=p(2805);function z(O,Z=e.z){const q=(0,H.H)(O,Z);return I(()=>q)}},1884:(X,N,p)=>{"use strict";p.d(N,{x:()=>d});var e=p(4671),o=p(4482),u=p(5403);function d(g,b=e.y){return g=null!=g?g:c,(0,o.e)((k,A)=>{let I,H=!0;k.subscribe(new u.Q(A,z=>{const O=b(z);(H||!g(I,O))&&(H=!1,I=O,A.next(z))}))})}function c(g,b){return g===b}},9300:(X,N,p)=>{"use strict";p.d(N,{h:()=>u});var e=p(4482),o=p(5403);function u(d,c){return(0,e.e)((g,b)=>{let k=0;g.subscribe(new o.Q(b,A=>d.call(c,A,k++)&&b.next(A)))})}},8746:(X,N,p)=>{"use strict";p.d(N,{x:()=>o});var e=p(4482);function o(u){return(0,e.e)((d,c)=>{try{d.subscribe(c)}finally{c.add(u)}})}},590:(X,N,p)=>{"use strict";p.d(N,{P:()=>b});var e=p(6805),o=p(9300),u=p(5698),d=p(6590),c=p(8068),g=p(4671);function b(k,A){const I=arguments.length>=2;return H=>H.pipe(k?(0,o.h)((z,O)=>k(z,O,H)):g.y,(0,u.q)(1),I?(0,d.d)(A):(0,c.T)(()=>new e.K))}},4004:(X,N,p)=>{"use strict";p.d(N,{U:()=>u});var e=p(4482),o=p(5403);function u(d,c){return(0,e.e)((g,b)=>{let k=0;g.subscribe(new o.Q(b,A=>{b.next(d.call(c,A,k++))}))})}},9718:(X,N,p)=>{"use strict";p.d(N,{h:()=>o});var e=p(4004);function o(u){return(0,e.U)(()=>u)}},8189:(X,N,p)=>{"use strict";p.d(N,{J:()=>u});var e=p(6099),o=p(4671);function u(d=1/0){return(0,e.z)(o.y,d)}},2733:(X,N,p)=>{"use strict";p.d(N,{p:()=>d});var e=p(8421),o=p(9672),u=p(5403);function d(c,g,b,k,A,I,H,z){const O=[];let Z=0,q=0,te=!1;const V=()=>{te&&!O.length&&!Z&&g.complete()},ne=ee=>Z{I&&g.next(ee),Z++;let Q=!1;(0,e.Xf)(b(ee,q++)).subscribe(new u.Q(g,se=>{null==A||A(se),I?ne(se):g.next(se)},()=>{Q=!0},void 0,()=>{if(Q)try{for(Z--;O.length&&Zue(se)):ue(se)}V()}catch(se){g.error(se)}}))};return c.subscribe(new u.Q(g,ne,()=>{te=!0,V()})),()=>{null==z||z()}}},6099:(X,N,p)=>{"use strict";p.d(N,{z:()=>g});var e=p(4004),o=p(8421),u=p(4482),d=p(2733),c=p(576);function g(b,k,A=1/0){return(0,c.m)(k)?g((I,H)=>(0,e.U)((z,O)=>k(I,z,H,O))((0,o.Xf)(b(I,H))),A):("number"==typeof k&&(A=k),(0,u.e)((I,H)=>(0,d.p)(I,H,b,A)))}},3099:(X,N,p)=>{"use strict";p.d(N,{B:()=>g});var e=p(2076),o=p(5698),u=p(7579),d=p(930),c=p(4482);function g(k={}){const{connector:A=(()=>new u.x),resetOnError:I=!0,resetOnComplete:H=!0,resetOnRefCountZero:z=!0}=k;return O=>{let Z=null,q=null,te=null,V=0,ne=!1,ue=!1;const ee=()=>{null==q||q.unsubscribe(),q=null},Q=()=>{ee(),Z=te=null,ne=ue=!1},se=()=>{const je=Z;Q(),null==je||je.unsubscribe()};return(0,c.e)((je,nt)=>{V++,!ue&&!ne&&ee();const He=te=null!=te?te:A();nt.add(()=>{V--,0===V&&!ue&&!ne&&(q=b(se,z))}),He.subscribe(nt),Z||(Z=new d.Hp({next:de=>He.next(de),error:de=>{ue=!0,ee(),q=b(Q,I,de),He.error(de)},complete:()=>{ne=!0,ee(),q=b(Q,H),He.complete()}}),(0,e.D)(je).subscribe(Z))})(O)}}function b(k,A,...I){return!0===A?(k(),null):!1===A?null:A(...I).pipe((0,o.q)(1)).subscribe(()=>k())}},4782:(X,N,p)=>{"use strict";p.d(N,{d:()=>u});var e=p(4707),o=p(3099);function u(d,c,g){var b,k;let A,I=!1;return d&&"object"==typeof d?(A=null!==(b=d.bufferSize)&&void 0!==b?b:1/0,c=null!==(k=d.windowTime)&&void 0!==k?k:1/0,I=!!d.refCount,g=d.scheduler):A=null!=d?d:1/0,(0,o.B)({connector:()=>new e.t(A,c,g),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:I})}},5684:(X,N,p)=>{"use strict";p.d(N,{T:()=>o});var e=p(9300);function o(u){return(0,e.h)((d,c)=>u<=c)}},8675:(X,N,p)=>{"use strict";p.d(N,{O:()=>d});var e=p(7272),o=p(3269),u=p(4482);function d(...c){const g=(0,o.yG)(c);return(0,u.e)((b,k)=>{(g?(0,e.z)(c,b,g):(0,e.z)(c,b)).subscribe(k)})}},3900:(X,N,p)=>{"use strict";p.d(N,{w:()=>d});var e=p(8421),o=p(4482),u=p(5403);function d(c,g){return(0,o.e)((b,k)=>{let A=null,I=0,H=!1;const z=()=>H&&!A&&k.complete();b.subscribe(new u.Q(k,O=>{null==A||A.unsubscribe();let Z=0;const q=I++;(0,e.Xf)(c(O,q)).subscribe(A=new u.Q(k,te=>k.next(g?g(O,te,q,Z++):te),()=>{A=null,z()}))},()=>{H=!0,z()}))})}},5698:(X,N,p)=>{"use strict";p.d(N,{q:()=>d});var e=p(515),o=p(4482),u=p(5403);function d(c){return c<=0?()=>e.E:(0,o.e)((g,b)=>{let k=0;g.subscribe(new u.Q(b,A=>{++k<=c&&(b.next(A),c<=k&&b.complete())}))})}},2722:(X,N,p)=>{"use strict";p.d(N,{R:()=>c});var e=p(4482),o=p(5403),u=p(8421),d=p(5032);function c(g){return(0,e.e)((b,k)=>{(0,u.Xf)(g).subscribe(new o.Q(k,()=>k.complete(),d.Z)),!k.closed&&b.subscribe(k)})}},8505:(X,N,p)=>{"use strict";p.d(N,{b:()=>c});var e=p(576),o=p(4482),u=p(5403),d=p(4671);function c(g,b,k){const A=(0,e.m)(g)||b||k?{next:g,error:b,complete:k}:g;return A?(0,o.e)((I,H)=>{var z;null===(z=A.subscribe)||void 0===z||z.call(A);let O=!0;I.subscribe(new u.Q(H,Z=>{var q;null===(q=A.next)||void 0===q||q.call(A,Z),H.next(Z)},()=>{var Z;O=!1,null===(Z=A.complete)||void 0===Z||Z.call(A),H.complete()},Z=>{var q;O=!1,null===(q=A.error)||void 0===q||q.call(A,Z),H.error(Z)},()=>{var Z,q;O&&(null===(Z=A.unsubscribe)||void 0===Z||Z.call(A)),null===(q=A.finalize)||void 0===q||q.call(A)}))}):d.y}},8068:(X,N,p)=>{"use strict";p.d(N,{T:()=>d});var e=p(6805),o=p(4482),u=p(5403);function d(g=c){return(0,o.e)((b,k)=>{let A=!1;b.subscribe(new u.Q(k,I=>{A=!0,k.next(I)},()=>A?k.complete():k.error(g())))})}function c(){return new e.K}},4408:(X,N,p)=>{"use strict";p.d(N,{o:()=>c});var e=p(727);class o extends e.w0{constructor(b,k){super()}schedule(b,k=0){return this}}const u={setInterval(...g){const{delegate:b}=u;return((null==b?void 0:b.setInterval)||setInterval)(...g)},clearInterval(g){const{delegate:b}=u;return((null==b?void 0:b.clearInterval)||clearInterval)(g)},delegate:void 0};var d=p(8737);class c extends o{constructor(b,k){super(b,k),this.scheduler=b,this.work=k,this.pending=!1}schedule(b,k=0){if(this.closed)return this;this.state=b;const A=this.id,I=this.scheduler;return null!=A&&(this.id=this.recycleAsyncId(I,A,k)),this.pending=!0,this.delay=k,this.id=this.id||this.requestAsyncId(I,this.id,k),this}requestAsyncId(b,k,A=0){return u.setInterval(b.flush.bind(b,this),A)}recycleAsyncId(b,k,A=0){if(null!=A&&this.delay===A&&!1===this.pending)return k;u.clearInterval(k)}execute(b,k){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const A=this._execute(b,k);if(A)return A;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(b,k){let I,A=!1;try{this.work(b)}catch(H){A=!0,I=H||new Error("Scheduled action threw falsy error")}if(A)return this.unsubscribe(),I}unsubscribe(){if(!this.closed){const{id:b,scheduler:k}=this,{actions:A}=k;this.work=this.state=this.scheduler=null,this.pending=!1,(0,d.P)(A,this),null!=b&&(this.id=this.recycleAsyncId(k,b,null)),this.delay=null,super.unsubscribe()}}}},7565:(X,N,p)=>{"use strict";p.d(N,{v:()=>u});var e=p(6063);class o{constructor(c,g=o.now){this.schedulerActionCtor=c,this.now=g}schedule(c,g=0,b){return new this.schedulerActionCtor(this,c).schedule(b,g)}}o.now=e.l.now;class u extends o{constructor(c,g=o.now){super(c,g),this.actions=[],this._active=!1,this._scheduled=void 0}flush(c){const{actions:g}=this;if(this._active)return void g.push(c);let b;this._active=!0;do{if(b=c.execute(c.state,c.delay))break}while(c=g.shift());if(this._active=!1,b){for(;c=g.shift();)c.unsubscribe();throw b}}}},3101:(X,N,p)=>{"use strict";p.d(N,{E:()=>Z});var e=p(4408);let u,o=1;const d={};function c(te){return te in d&&(delete d[te],!0)}const g={setImmediate(te){const V=o++;return d[V]=!0,u||(u=Promise.resolve()),u.then(()=>c(V)&&te()),V},clearImmediate(te){c(te)}},{setImmediate:k,clearImmediate:A}=g,I={setImmediate(...te){const{delegate:V}=I;return((null==V?void 0:V.setImmediate)||k)(...te)},clearImmediate(te){const{delegate:V}=I;return((null==V?void 0:V.clearImmediate)||A)(te)},delegate:void 0};var z=p(7565);const Z=new class O extends z.v{flush(V){this._active=!0,this._scheduled=void 0;const{actions:ne}=this;let ue,ee=-1;V=V||ne.shift();const Q=ne.length;do{if(ue=V.execute(V.state,V.delay))break}while(++ee0?super.requestAsyncId(V,ne,ue):(V.actions.push(this),V._scheduled||(V._scheduled=I.setImmediate(V.flush.bind(V,void 0))))}recycleAsyncId(V,ne,ue=0){if(null!=ue&&ue>0||null==ue&&this.delay>0)return super.recycleAsyncId(V,ne,ue);0===V.actions.length&&(I.clearImmediate(ne),V._scheduled=void 0)}})},4986:(X,N,p)=>{"use strict";p.d(N,{P:()=>d,z:()=>u});var e=p(4408);const u=new(p(7565).v)(e.o),d=u},6063:(X,N,p)=>{"use strict";p.d(N,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},3410:(X,N,p)=>{"use strict";p.d(N,{z:()=>e});const e={setTimeout(...o){const{delegate:u}=e;return((null==u?void 0:u.setTimeout)||setTimeout)(...o)},clearTimeout(o){const{delegate:u}=e;return((null==u?void 0:u.clearTimeout)||clearTimeout)(o)},delegate:void 0}},2202:(X,N,p)=>{"use strict";p.d(N,{h:()=>o});const o=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(X,N,p)=>{"use strict";p.d(N,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(X,N,p)=>{"use strict";p.d(N,{K:()=>o});const o=(0,p(3888).d)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(X,N,p)=>{"use strict";p.d(N,{_6:()=>g,jO:()=>d,yG:()=>c});var e=p(576),o=p(3532);function u(b){return b[b.length-1]}function d(b){return(0,e.m)(u(b))?b.pop():void 0}function c(b){return(0,o.K)(u(b))?b.pop():void 0}function g(b,k){return"number"==typeof u(b)?b.pop():k}},4742:(X,N,p)=>{"use strict";p.d(N,{D:()=>c});const{isArray:e}=Array,{getPrototypeOf:o,prototype:u,keys:d}=Object;function c(b){if(1===b.length){const k=b[0];if(e(k))return{args:k,keys:null};if(function g(b){return b&&"object"==typeof b&&o(b)===u}(k)){const A=d(k);return{args:A.map(I=>k[I]),keys:A}}}return{args:b,keys:null}}},8737:(X,N,p)=>{"use strict";function e(o,u){if(o){const d=o.indexOf(u);0<=d&&o.splice(d,1)}}p.d(N,{P:()=>e})},3888:(X,N,p)=>{"use strict";function e(o){const d=o(c=>{Error.call(c),c.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}p.d(N,{d:()=>e})},1810:(X,N,p)=>{"use strict";function e(o,u){return o.reduce((d,c,g)=>(d[c]=u[g],d),{})}p.d(N,{n:()=>e})},2806:(X,N,p)=>{"use strict";p.d(N,{O:()=>d,x:()=>u});var e=p(2416);let o=null;function u(c){if(e.v.useDeprecatedSynchronousErrorHandling){const g=!o;if(g&&(o={errorThrown:!1,error:null}),c(),g){const{errorThrown:b,error:k}=o;if(o=null,b)throw k}}else c()}function d(c){e.v.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=c)}},9672:(X,N,p)=>{"use strict";function e(o,u,d,c=0,g=!1){const b=u.schedule(function(){d(),g?o.add(this.schedule(null,c)):this.unsubscribe()},c);if(o.add(b),!g)return b}p.d(N,{f:()=>e})},4671:(X,N,p)=>{"use strict";function e(o){return o}p.d(N,{y:()=>e})},1144:(X,N,p)=>{"use strict";p.d(N,{z:()=>e});const e=o=>o&&"number"==typeof o.length&&"function"!=typeof o},2206:(X,N,p)=>{"use strict";p.d(N,{D:()=>o});var e=p(576);function o(u){return Symbol.asyncIterator&&(0,e.m)(null==u?void 0:u[Symbol.asyncIterator])}},1165:(X,N,p)=>{"use strict";function e(o){return o instanceof Date&&!isNaN(o)}p.d(N,{q:()=>e})},576:(X,N,p)=>{"use strict";function e(o){return"function"==typeof o}p.d(N,{m:()=>e})},3670:(X,N,p)=>{"use strict";p.d(N,{c:()=>u});var e=p(8822),o=p(576);function u(d){return(0,o.m)(d[e.L])}},6495:(X,N,p)=>{"use strict";p.d(N,{T:()=>u});var e=p(2202),o=p(576);function u(d){return(0,o.m)(null==d?void 0:d[e.h])}},8239:(X,N,p)=>{"use strict";p.d(N,{t:()=>o});var e=p(576);function o(u){return(0,e.m)(null==u?void 0:u.then)}},3260:(X,N,p)=>{"use strict";p.d(N,{L:()=>d,Q:()=>u});var e=p(5987),o=p(576);function u(c){return(0,e.FC)(this,arguments,function*(){const b=c.getReader();try{for(;;){const{value:k,done:A}=yield(0,e.qq)(b.read());if(A)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(k)}}finally{b.releaseLock()}})}function d(c){return(0,o.m)(null==c?void 0:c.getReader)}},3532:(X,N,p)=>{"use strict";p.d(N,{K:()=>o});var e=p(576);function o(u){return u&&(0,e.m)(u.schedule)}},4482:(X,N,p)=>{"use strict";p.d(N,{A:()=>o,e:()=>u});var e=p(576);function o(d){return(0,e.m)(null==d?void 0:d.lift)}function u(d){return c=>{if(o(c))return c.lift(function(g){try{return d(g,this)}catch(b){this.error(b)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(X,N,p)=>{"use strict";p.d(N,{Z:()=>d});var e=p(4004);const{isArray:o}=Array;function d(c){return(0,e.U)(g=>function u(c,g){return o(g)?c(...g):c(g)}(c,g))}},5032:(X,N,p)=>{"use strict";function e(){}p.d(N,{Z:()=>e})},7849:(X,N,p)=>{"use strict";p.d(N,{h:()=>u});var e=p(2416),o=p(3410);function u(d){o.z.setTimeout(()=>{const{onUnhandledError:c}=e.v;if(!c)throw d;c(d)})}},4532:(X,N,p)=>{"use strict";function e(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}p.d(N,{z:()=>e})},1452:X=>{X.exports=function(N){"use strict";var e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function u(te,V){var ne=te[0],ue=te[1],ee=te[2],Q=te[3];ue=((ue+=((ee=((ee+=((Q=((Q+=((ne=((ne+=(ue&ee|~ue&Q)+V[0]-680876936|0)<<7|ne>>>25)+ue|0)&ue|~ne&ee)+V[1]-389564586|0)<<12|Q>>>20)+ne|0)&ne|~Q&ue)+V[2]+606105819|0)<<17|ee>>>15)+Q|0)&Q|~ee&ne)+V[3]-1044525330|0)<<22|ue>>>10)+ee|0,ue=((ue+=((ee=((ee+=((Q=((Q+=((ne=((ne+=(ue&ee|~ue&Q)+V[4]-176418897|0)<<7|ne>>>25)+ue|0)&ue|~ne&ee)+V[5]+1200080426|0)<<12|Q>>>20)+ne|0)&ne|~Q&ue)+V[6]-1473231341|0)<<17|ee>>>15)+Q|0)&Q|~ee&ne)+V[7]-45705983|0)<<22|ue>>>10)+ee|0,ue=((ue+=((ee=((ee+=((Q=((Q+=((ne=((ne+=(ue&ee|~ue&Q)+V[8]+1770035416|0)<<7|ne>>>25)+ue|0)&ue|~ne&ee)+V[9]-1958414417|0)<<12|Q>>>20)+ne|0)&ne|~Q&ue)+V[10]-42063|0)<<17|ee>>>15)+Q|0)&Q|~ee&ne)+V[11]-1990404162|0)<<22|ue>>>10)+ee|0,ue=((ue+=((ee=((ee+=((Q=((Q+=((ne=((ne+=(ue&ee|~ue&Q)+V[12]+1804603682|0)<<7|ne>>>25)+ue|0)&ue|~ne&ee)+V[13]-40341101|0)<<12|Q>>>20)+ne|0)&ne|~Q&ue)+V[14]-1502002290|0)<<17|ee>>>15)+Q|0)&Q|~ee&ne)+V[15]+1236535329|0)<<22|ue>>>10)+ee|0,ue=((ue+=((ee=((ee+=((Q=((Q+=((ne=((ne+=(ue&Q|ee&~Q)+V[1]-165796510|0)<<5|ne>>>27)+ue|0)&ee|ue&~ee)+V[6]-1069501632|0)<<9|Q>>>23)+ne|0)&ue|ne&~ue)+V[11]+643717713|0)<<14|ee>>>18)+Q|0)&ne|Q&~ne)+V[0]-373897302|0)<<20|ue>>>12)+ee|0,ue=((ue+=((ee=((ee+=((Q=((Q+=((ne=((ne+=(ue&Q|ee&~Q)+V[5]-701558691|0)<<5|ne>>>27)+ue|0)&ee|ue&~ee)+V[10]+38016083|0)<<9|Q>>>23)+ne|0)&ue|ne&~ue)+V[15]-660478335|0)<<14|ee>>>18)+Q|0)&ne|Q&~ne)+V[4]-405537848|0)<<20|ue>>>12)+ee|0,ue=((ue+=((ee=((ee+=((Q=((Q+=((ne=((ne+=(ue&Q|ee&~Q)+V[9]+568446438|0)<<5|ne>>>27)+ue|0)&ee|ue&~ee)+V[14]-1019803690|0)<<9|Q>>>23)+ne|0)&ue|ne&~ue)+V[3]-187363961|0)<<14|ee>>>18)+Q|0)&ne|Q&~ne)+V[8]+1163531501|0)<<20|ue>>>12)+ee|0,ue=((ue+=((ee=((ee+=((Q=((Q+=((ne=((ne+=(ue&Q|ee&~Q)+V[13]-1444681467|0)<<5|ne>>>27)+ue|0)&ee|ue&~ee)+V[2]-51403784|0)<<9|Q>>>23)+ne|0)&ue|ne&~ue)+V[7]+1735328473|0)<<14|ee>>>18)+Q|0)&ne|Q&~ne)+V[12]-1926607734|0)<<20|ue>>>12)+ee|0,ue=((ue+=((ee=((ee+=((Q=((Q+=((ne=((ne+=(ue^ee^Q)+V[5]-378558|0)<<4|ne>>>28)+ue|0)^ue^ee)+V[8]-2022574463|0)<<11|Q>>>21)+ne|0)^ne^ue)+V[11]+1839030562|0)<<16|ee>>>16)+Q|0)^Q^ne)+V[14]-35309556|0)<<23|ue>>>9)+ee|0,ue=((ue+=((ee=((ee+=((Q=((Q+=((ne=((ne+=(ue^ee^Q)+V[1]-1530992060|0)<<4|ne>>>28)+ue|0)^ue^ee)+V[4]+1272893353|0)<<11|Q>>>21)+ne|0)^ne^ue)+V[7]-155497632|0)<<16|ee>>>16)+Q|0)^Q^ne)+V[10]-1094730640|0)<<23|ue>>>9)+ee|0,ue=((ue+=((ee=((ee+=((Q=((Q+=((ne=((ne+=(ue^ee^Q)+V[13]+681279174|0)<<4|ne>>>28)+ue|0)^ue^ee)+V[0]-358537222|0)<<11|Q>>>21)+ne|0)^ne^ue)+V[3]-722521979|0)<<16|ee>>>16)+Q|0)^Q^ne)+V[6]+76029189|0)<<23|ue>>>9)+ee|0,ue=((ue+=((ee=((ee+=((Q=((Q+=((ne=((ne+=(ue^ee^Q)+V[9]-640364487|0)<<4|ne>>>28)+ue|0)^ue^ee)+V[12]-421815835|0)<<11|Q>>>21)+ne|0)^ne^ue)+V[15]+530742520|0)<<16|ee>>>16)+Q|0)^Q^ne)+V[2]-995338651|0)<<23|ue>>>9)+ee|0,ue=((ue+=((Q=((Q+=(ue^((ne=((ne+=(ee^(ue|~Q))+V[0]-198630844|0)<<6|ne>>>26)+ue|0)|~ee))+V[7]+1126891415|0)<<10|Q>>>22)+ne|0)^((ee=((ee+=(ne^(Q|~ue))+V[14]-1416354905|0)<<15|ee>>>17)+Q|0)|~ne))+V[5]-57434055|0)<<21|ue>>>11)+ee|0,ue=((ue+=((Q=((Q+=(ue^((ne=((ne+=(ee^(ue|~Q))+V[12]+1700485571|0)<<6|ne>>>26)+ue|0)|~ee))+V[3]-1894986606|0)<<10|Q>>>22)+ne|0)^((ee=((ee+=(ne^(Q|~ue))+V[10]-1051523|0)<<15|ee>>>17)+Q|0)|~ne))+V[1]-2054922799|0)<<21|ue>>>11)+ee|0,ue=((ue+=((Q=((Q+=(ue^((ne=((ne+=(ee^(ue|~Q))+V[8]+1873313359|0)<<6|ne>>>26)+ue|0)|~ee))+V[15]-30611744|0)<<10|Q>>>22)+ne|0)^((ee=((ee+=(ne^(Q|~ue))+V[6]-1560198380|0)<<15|ee>>>17)+Q|0)|~ne))+V[13]+1309151649|0)<<21|ue>>>11)+ee|0,ue=((ue+=((Q=((Q+=(ue^((ne=((ne+=(ee^(ue|~Q))+V[4]-145523070|0)<<6|ne>>>26)+ue|0)|~ee))+V[11]-1120210379|0)<<10|Q>>>22)+ne|0)^((ee=((ee+=(ne^(Q|~ue))+V[2]+718787259|0)<<15|ee>>>17)+Q|0)|~ne))+V[9]-343485551|0)<<21|ue>>>11)+ee|0,te[0]=ne+te[0]|0,te[1]=ue+te[1]|0,te[2]=ee+te[2]|0,te[3]=Q+te[3]|0}function d(te){var ne,V=[];for(ne=0;ne<64;ne+=4)V[ne>>2]=te.charCodeAt(ne)+(te.charCodeAt(ne+1)<<8)+(te.charCodeAt(ne+2)<<16)+(te.charCodeAt(ne+3)<<24);return V}function c(te){var ne,V=[];for(ne=0;ne<64;ne+=4)V[ne>>2]=te[ne]+(te[ne+1]<<8)+(te[ne+2]<<16)+(te[ne+3]<<24);return V}function g(te){var ue,ee,Q,se,je,nt,V=te.length,ne=[1732584193,-271733879,-1732584194,271733878];for(ue=64;ue<=V;ue+=64)u(ne,d(te.substring(ue-64,ue)));for(ee=(te=te.substring(ue-64)).length,Q=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],ue=0;ue>2]|=te.charCodeAt(ue)<<(ue%4<<3);if(Q[ue>>2]|=128<<(ue%4<<3),ue>55)for(u(ne,Q),ue=0;ue<16;ue+=1)Q[ue]=0;return se=(se=8*V).toString(16).match(/(.*?)(.{0,8})$/),je=parseInt(se[2],16),nt=parseInt(se[1],16)||0,Q[14]=je,Q[15]=nt,u(ne,Q),ne}function k(te){var ne,V="";for(ne=0;ne<4;ne+=1)V+=e[te>>8*ne+4&15]+e[te>>8*ne&15];return V}function A(te){var V;for(V=0;VQ?new ArrayBuffer(0):(se=Q-ee,je=new ArrayBuffer(se),nt=new Uint8Array(je),He=new Uint8Array(this,ee,se),nt.set(He),je)}}(),q.prototype.append=function(te){return this.appendBinary(I(te)),this},q.prototype.appendBinary=function(te){this._buff+=te,this._length+=te.length;var ne,V=this._buff.length;for(ne=64;ne<=V;ne+=64)u(this._hash,d(this._buff.substring(ne-64,ne)));return this._buff=this._buff.substring(ne-64),this},q.prototype.end=function(te){var ue,Q,V=this._buff,ne=V.length,ee=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(ue=0;ue>2]|=V.charCodeAt(ue)<<(ue%4<<3);return this._finish(ee,ne),Q=A(this._hash),te&&(Q=Z(Q)),this.reset(),Q},q.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},q.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},q.prototype.setState=function(te){return this._buff=te.buff,this._length=te.length,this._hash=te.hash,this},q.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},q.prototype._finish=function(te,V){var ue,ee,Q,ne=V;if(te[ne>>2]|=128<<(ne%4<<3),ne>55)for(u(this._hash,te),ne=0;ne<16;ne+=1)te[ne]=0;ue=(ue=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),ee=parseInt(ue[2],16),Q=parseInt(ue[1],16)||0,te[14]=ee,te[15]=Q,u(this._hash,te)},q.hash=function(te,V){return q.hashBinary(I(te),V)},q.hashBinary=function(te,V){var ue=A(g(te));return V?Z(ue):ue},(q.ArrayBuffer=function(){this.reset()}).prototype.append=function(te){var ue,V=function O(te,V,ne){var ue=new Uint8Array(te.byteLength+V.byteLength);return ue.set(new Uint8Array(te)),ue.set(new Uint8Array(V),te.byteLength),ne?ue:ue.buffer}(this._buff.buffer,te,!0),ne=V.length;for(this._length+=te.byteLength,ue=64;ue<=ne;ue+=64)u(this._hash,c(V.subarray(ue-64,ue)));return this._buff=ue-64>2]|=V[ee]<<(ee%4<<3);return this._finish(ue,ne),Q=A(this._hash),te&&(Q=Z(Q)),this.reset(),Q},q.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},q.ArrayBuffer.prototype.getState=function(){var te=q.prototype.getState.call(this);return te.buff=function z(te){return String.fromCharCode.apply(null,new Uint8Array(te))}(te.buff),te},q.ArrayBuffer.prototype.setState=function(te){return te.buff=function H(te,V){var Q,ne=te.length,ue=new ArrayBuffer(ne),ee=new Uint8Array(ue);for(Q=0;Q>2]|=te[ue]<<(ue%4<<3);if(Q[ue>>2]|=128<<(ue%4<<3),ue>55)for(u(ne,Q),ue=0;ue<16;ue+=1)Q[ue]=0;return se=(se=8*V).toString(16).match(/(.*?)(.{0,8})$/),je=parseInt(se[2],16),nt=parseInt(se[1],16)||0,Q[14]=je,Q[15]=nt,u(ne,Q),ne}(new Uint8Array(te)));return V?Z(ue):ue},q}()},6700:(X,N,p)=>{var e={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":3482,"./mr.js":3482,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":2238,"./vi.js":2238,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function o(d){var c=u(d);return p(c)}function u(d){if(!p.o(e,d)){var c=new Error("Cannot find module '"+d+"'");throw c.code="MODULE_NOT_FOUND",c}return e[d]}o.keys=function(){return Object.keys(e)},o.resolve=u,X.exports=o,o.id=6700},5987:(X,N,p)=>{"use strict";function k(Ce,Ze,ot,Ke){return new(ot||(ot=Promise))(function(Be,Tt){function Zt(nn){try{Xt(Ke.next(nn))}catch(mn){Tt(mn)}}function Sn(nn){try{Xt(Ke.throw(nn))}catch(mn){Tt(mn)}}function Xt(nn){nn.done?Be(nn.value):function xt(Be){return Be instanceof ot?Be:new ot(function(Tt){Tt(Be)})}(nn.value).then(Zt,Sn)}Xt((Ke=Ke.apply(Ce,Ze||[])).next())})}function V(Ce){return this instanceof V?(this.v=Ce,this):new V(Ce)}function ne(Ce,Ze,ot){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var xt,Ke=ot.apply(Ce,Ze||[]),Be=[];return xt={},Tt("next"),Tt("throw"),Tt("return"),xt[Symbol.asyncIterator]=function(){return this},xt;function Tt(Jt){Ke[Jt]&&(xt[Jt]=function(et){return new Promise(function(Pt,Ot){Be.push([Jt,et,Pt,Ot])>1||Zt(Jt,et)})})}function Zt(Jt,et){try{!function Sn(Jt){Jt.value instanceof V?Promise.resolve(Jt.value.v).then(Xt,nn):mn(Be[0][2],Jt)}(Ke[Jt](et))}catch(Pt){mn(Be[0][3],Pt)}}function Xt(Jt){Zt("next",Jt)}function nn(Jt){Zt("throw",Jt)}function mn(Jt,et){Jt(et),Be.shift(),Be.length&&Zt(Be[0][0],Be[0][1])}}function ee(Ce){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ot,Ze=Ce[Symbol.asyncIterator];return Ze?Ze.call(Ce):(Ce=function z(Ce){var Ze="function"==typeof Symbol&&Symbol.iterator,ot=Ze&&Ce[Ze],Ke=0;if(ot)return ot.call(Ce);if(Ce&&"number"==typeof Ce.length)return{next:function(){return Ce&&Ke>=Ce.length&&(Ce=void 0),{value:Ce&&Ce[Ke++],done:!Ce}}};throw new TypeError(Ze?"Object is not iterable.":"Symbol.iterator is not defined.")}(Ce),ot={},Ke("next"),Ke("throw"),Ke("return"),ot[Symbol.asyncIterator]=function(){return this},ot);function Ke(Be){ot[Be]=Ce[Be]&&function(Tt){return new Promise(function(Zt,Sn){!function xt(Be,Tt,Zt,Sn){Promise.resolve(Sn).then(function(Xt){Be({value:Xt,done:Zt})},Tt)}(Zt,Sn,(Tt=Ce[Be](Tt)).done,Tt.value)})}}}p.d(N,{FC:()=>ne,KL:()=>ee,mG:()=>k,qq:()=>V})},655:(X,N,p)=>{"use strict";p.d(N,{ZT:()=>o,ev:()=>te,mG:()=>k,pi:()=>u});var e=function(Ce,Ze){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ot,Ke){ot.__proto__=Ke}||function(ot,Ke){for(var xt in Ke)Object.prototype.hasOwnProperty.call(Ke,xt)&&(ot[xt]=Ke[xt])})(Ce,Ze)};function o(Ce,Ze){if("function"!=typeof Ze&&null!==Ze)throw new TypeError("Class extends value "+String(Ze)+" is not a constructor or null");function ot(){this.constructor=Ce}e(Ce,Ze),Ce.prototype=null===Ze?Object.create(Ze):(ot.prototype=Ze.prototype,new ot)}var u=function(){return u=Object.assign||function(Ze){for(var ot,Ke=1,xt=arguments.length;Ke{"use strict";p.d(N,{uE:()=>di,qh:()=>mi,A6:()=>vo,Ux:()=>Ji,WU:()=>go,nf:()=>eo,C1:()=>Xr,d3:()=>Yr,Bl:()=>ko,A0:()=>to,AX:()=>Hr,JT:()=>Ur,ry:()=>Mr,yA:()=>bo,$j:()=>Ei,_L:()=>uo,zP:()=>Qr,Zv:()=>jr,eo:()=>Ai,AO:()=>fo,$7:()=>Ho,e9:()=>Mo});var e=p(5e3),o=p(3075),u=p(3489),d=p(6856),c=p(7531),g=p(9808),b=p(8306),k=p(2076),A=p(7579),I=p(2722),H=p(1135),z=p(4782),O=p(515),Z=p(6451),q=p(6688),te=p(5245),ne=(p(3191),p(508)),nt=(p(727),p(9770),p(9646),p(4968),p(925),p(9776)),He=p(495);p(1159),p(7429),p(8675),p(3900),p(5698),p(9300),p(4004),p(8505),p(1005),p(226);const pt={provide:new e.OlP("mat-autocomplete-scroll-strategy"),deps:[nt.aV],useFactory:function kt(mt){return()=>mt.scrollStrategies.reposition()}};let Kt=(()=>{class mt{}return mt.\u0275fac=function(Oe){return new(Oe||mt)},mt.\u0275mod=e.oAB({type:mt}),mt.\u0275inj=e.cJS({providers:[pt],imports:[[nt.U8,ne.Ng,ne.BQ,g.ez],He.ZD,ne.Ng,ne.BQ]}),mt})();var rt=p(4107),G=p(9814),_e=p(2251),he=p(655),De=p(5081),Ve=p(7703),Mt=p(773);function Dt(mt,wt){if(1&mt&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&mt){const Oe=e.oxw();e.xp6(1),e.Oqu(Oe.getMaterialValidationService().getErrors()[0])}}const Et=["matInput"],Gn=["select"];function Hn(mt,wt){if(1&mt&&(e.TgZ(0,"mat-option",4),e._uU(1),e.qZA()),2&mt){const Oe=wt.$implicit,tt=e.oxw();e.Q6J("value",Oe.value),e.uIk("data-id",tt.getOptionDataId(Oe.value))("data-select-option-text",Oe.viewValue),e.xp6(1),e.hij(" ",Oe.viewValue," ")}}function Jn(mt,wt){if(1&mt&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&mt){const Oe=e.oxw();e.xp6(1),e.Oqu(Oe.getMaterialValidationService().getErrors()[0])}}function Tn(mt,wt){if(1&mt&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&mt){const Oe=e.oxw();e.xp6(1),e.Oqu(Oe.getMaterialValidationService().getErrors()[0])}}function ri(mt,wt){}function zn(mt,wt){1&mt&&(e.TgZ(0,"span"),e._uU(1," *"),e.qZA())}function $t(mt,wt){if(1&mt&&(e.TgZ(0,"mat-radio-button",5),e._uU(1),e.qZA()),2&mt){const Oe=wt.$implicit,tt=e.oxw();e.Q6J("value",Oe.value),e.uIk("data-id",tt.getOptionDataId(Oe.value)),e.xp6(1),e.hij(" ",Oe.option," ")}}function xe(mt,wt){}function Se(mt,wt){if(1&mt&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&mt){const Oe=e.oxw();e.xp6(1),e.Oqu(Oe.getMaterialValidationService().getErrors()[0])}}function j(mt,wt){if(1&mt){const Oe=e.EpF();e.TgZ(0,"pa-primary-button",1),e.NdJ("click",function(){return e.CHM(Oe),e.oxw().onClick()}),e.qZA()}if(2&mt){const Oe=e.oxw();e.Q6J("buttonText",Oe.actionSettings.buttonText)("disabled",Oe.isDisabled),e.uIk("data-id",Oe.getPrimaryButtonDataId())}}function Ie(mt,wt){if(1&mt){const Oe=e.EpF();e.TgZ(0,"pa-text-button-updated",1),e.NdJ("click",function(){return e.CHM(Oe),e.oxw().onClick()}),e.qZA()}if(2&mt){const Oe=e.oxw();e.Q6J("buttonText",Oe.actionSettings.buttonText)("disabled",Oe.isDisabled),e.uIk("data-id",Oe.getSecondaryButtonDataId())}}function vt(mt,wt){if(1&mt&&e._UZ(0,"pa-form-control-builder",5),2&mt){const Oe=e.oxw().$implicit,tt=e.oxw();e.Q6J("control",Oe)("form",tt.form)}}function Vt(mt,wt){if(1&mt&&(e.TgZ(0,"div",3),e.YNc(1,vt,1,2,"pa-form-control-builder",4),e.qZA()),2&mt){const Oe=wt.$implicit,tt=e.oxw();e.xp6(1),e.Q6J("ngIf",tt.conditionalControl(Oe))}}function Fn(mt,wt){if(1&mt&&(e.TgZ(0,"div"),e._UZ(1,"pa-dynamic-content",6),e.qZA()),2&mt){const Oe=wt.$implicit;e.xp6(1),e.Q6J("componentToRender",Oe)}}function ti(mt,wt){if(1&mt){const Oe=e.EpF();e.TgZ(0,"pa-form-action-builder",5),e.NdJ("actionTriggered",function(){e.CHM(Oe);const en=e.oxw().$implicit;return e.oxw().actionTriggered.next(en.action)}),e.qZA()}if(2&mt){const Oe=e.oxw().$implicit,tt=e.oxw();e.Q6J("formAction",Oe,e.LSH)("form",tt.form)}}const Qt=function(mt){return{"button-container":mt}};function Cn(mt,wt){if(1&mt&&(e.TgZ(0,"div",3),e.YNc(1,ti,1,2,"pa-form-action-builder",4),e.qZA()),2&mt){const Oe=wt.$implicit,tt=e.oxw();e.Q6J("ngClass",e.VKq(2,Qt,tt.buttonAlignCenter)),e.xp6(1),e.Q6J("ngIf",tt.shouldShowAction(Oe))}}const ct=["dialog"];function ve(mt,wt){if(1&mt&&(e.TgZ(0,"div",8),e._uU(1),e.qZA()),2&mt){const Oe=e.oxw();e.xp6(1),e.Oqu(Oe.form.formDescription)}}function Re(mt,wt){if(1&mt&&(e.ynx(0),e.TgZ(1,"p",9),e._uU(2),e.qZA(),e.BQk()),2&mt){const Oe=wt.$implicit;e.xp6(2),e.Oqu(Oe)}}function it(mt,wt){if(1&mt&&(e.TgZ(0,"p",7),e._uU(1),e.qZA()),2&mt){const Oe=e.oxw();e.xp6(1),e.Oqu(Oe.pageForm.title)}}function Lt(mt,wt){if(1&mt&&(e.TgZ(0,"div",8)(1,"p",9),e._uU(2),e.qZA()()),2&mt){const Oe=wt.$implicit;e.xp6(2),e.Oqu(Oe)}}function Un(mt,wt){if(1&mt&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&mt){const Oe=e.oxw();e.xp6(1),e.Oqu(Oe.getMaterialValidationService().getErrors()[0])}}function Oi(mt,wt){if(1&mt&&(e.ynx(0),e.TgZ(1,"p",3),e._uU(2),e.qZA(),e.BQk()),2&mt){const Oe=wt.$implicit;e.xp6(2),e.Oqu(Oe)}}function Li(mt,wt){if(1&mt&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&mt){const Oe=e.oxw();let tt;e.xp6(1),e.Oqu(null==(tt=Oe.confirmationContent())?null:tt.deleteConfirmationMessage)}}function Gi(mt,wt){if(1&mt&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&mt){const Oe=e.oxw();e.xp6(1),e.Oqu(Oe.deleteMessages)}}function ae(mt,wt){if(1&mt&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&mt){const Oe=wt.$implicit;e.xp6(1),e.Oqu(Oe)}}function Pe(mt,wt){if(1&mt&&(e.TgZ(0,"ul"),e.YNc(1,ae,2,1,"li",1),e.qZA()),2&mt){const Oe=e.oxw();let tt;e.xp6(1),e.Q6J("ngForOf",null==(tt=Oe.confirmationContent())?null:tt.extraWarningStatements)}}function W(mt,wt){if(1&mt){const Oe=e.EpF();e.TgZ(0,"div",10)(1,"button",11),e.NdJ("click",function(){return e.CHM(Oe),e.oxw().launchAddDialog()}),e._UZ(2,"i",12),e.qZA()()}}function Me(mt,wt){if(1&mt){const Oe=e.EpF();e.TgZ(0,"pa-crud-form-modal",13),e.NdJ("refreshRequested",function(){return e.CHM(Oe),e.oxw().refreshList()}),e.qZA()}if(2&mt){const Oe=e.oxw();e.Q6J("form",Oe.activeCrudForm)}}function Y(mt,wt){if(1&mt&&(e.TgZ(0,"p",14),e._uU(1),e.qZA()),2&mt){const Oe=wt.$implicit;e.xp6(1),e.Oqu(Oe)}}const ce=["*"];let $e=(()=>{class mt{constructor(){this.errors=[],this.formControl=new o.NI(null,this.fakeValidation())}setErrors(Oe){this.errors=Oe,Oe.length>0&&this.formControl.markAsTouched(),this.formControl.updateValueAndValidity({emitEvent:!0})}getErrors(){return this.errors}fakeValidation(){return Oe=>0===this.errors.length?null:{fakeValidationError:!0}}}return mt.\u0275fac=function(Oe){return new(Oe||mt)},mt.\u0275prov=e.Yz7({token:mt,factory:mt.\u0275fac}),mt})(),_t=(()=>{class mt{constructor(Oe){this.materialValidationService=Oe,this.fieldValueChanged=new e.vpe,this.fieldValueCommit=new e.vpe,this.hasBeenFocused=!1,this.getFieldDataId=()=>`form-field-${this.fieldKey}`}setErrors(Oe){this.hasBeenFocused&&this.materialValidationService.setErrors(Oe)}setFocus(){this.hasBeenFocused=!0}updateDate(){this.fieldValueChanged.emit(this.fieldValue)}commitEmit(){this.fieldValueCommit.emit()}updateAndCommit(){this.updateDate(),this.firstUpdateTakenPlace?this.commitEmit():this.firstUpdateTakenPlace=!0}getMaterialValidationService(){return this.materialValidationService}}return mt.\u0275fac=function(Oe){return new(Oe||mt)(e.Y36($e))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-form-datepicker"]],inputs:{componentSettings:"componentSettings",fieldValue:"fieldValue",fieldKey:"fieldKey"},outputs:{fieldValueChanged:"fieldValueChanged",fieldValueCommit:"fieldValueCommit"},features:[e._Bn([$e])],decls:7,vars:9,consts:[[1,"input-area",3,"click"],["matInput","","readonly","readonly",1,"input",3,"matDatepicker","placeholder","ngModel","formControl","required","matDatepickerFilter","ngModelChange","blur","keyup","focus"],["matSuffix","",3,"for"],["picker",""],[4,"ngIf"]],template:function(Oe,tt){if(1&Oe){const en=e.EpF();e.TgZ(0,"mat-form-field")(1,"div",0),e.NdJ("click",function(){return e.CHM(en),e.MAs(5).open()}),e.TgZ(2,"input",1),e.NdJ("ngModelChange",function(gi){return tt.fieldValue=gi})("blur",function(){return tt.commitEmit()})("keyup",function(){return tt.updateDate()})("focus",function(){return tt.setFocus()})("ngModelChange",function(){return tt.updateAndCommit()}),e.qZA(),e._UZ(3,"mat-datepicker-toggle",2)(4,"mat-datepicker",null,3),e.qZA(),e.YNc(6,Dt,2,1,"mat-error",4),e.qZA()}if(2&Oe){const en=e.MAs(5);e.xp6(2),e.Q6J("matDatepicker",en)("placeholder",tt.componentSettings.placeholder)("ngModel",tt.fieldValue)("formControl",tt.getMaterialValidationService().formControl)("required",tt.componentSettings.required)("matDatepickerFilter",tt.componentSettings.filter),e.uIk("data-id",tt.getFieldDataId()),e.xp6(1),e.Q6J("for",en),e.xp6(3),e.Q6J("ngIf",tt.getMaterialValidationService().formControl.hasError("fakeValidationError"))}},directives:[u.KE,d.nW,d.Mq,c.Nt,d.hl,o.Fj,o.JJ,o.oH,o.Q7,u.R9,g.O5,u.TO],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}.input-area[_ngcontent-%COMP%]{display:flex}.input-area[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{cursor:pointer}"]}),mt})(),R=(()=>{class mt{constructor(Oe,tt){this.materialValidationService=Oe,this.ref=tt,this.fieldValueChanged=new e.vpe,this.fieldValueCommit=new e.vpe,this.getFieldDataId=()=>`form-field-${this.fieldKey}`,this.getOptionDataId=en=>`option-${this.fieldKey}-${String(en).replace(" ","").toLocaleLowerCase()}`}setErrors(Oe){this.materialValidationService.setErrors(Oe)}emitCurrentValue(){this.fieldValueChanged.emit(this.fieldValue),this.fieldValueCommit.emit()}getOptionsObs(){return function Ge(mt){return!!mt&&(mt instanceof b.y||"function"==typeof mt.lift&&"function"==typeof mt.subscribe)}(this.componentSettings.options)?this.componentSettings.options:(0,k.D)([this.componentSettings.options])}getMaterialValidationService(){return this.materialValidationService}}return mt.\u0275fac=function(Oe){return new(Oe||mt)(e.Y36($e),e.Y36(e.sBO))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-form-dropdown"]],viewQuery:function(Oe,tt){if(1&Oe&&e.Gf(Gn,5),2&Oe){let en;e.iGM(en=e.CRH())&&(tt.matSelect=en.first)}},inputs:{componentSettings:"componentSettings",fieldValue:"fieldValue",fieldKey:"fieldKey"},outputs:{fieldValueChanged:"fieldValueChanged",fieldValueCommit:"fieldValueCommit"},features:[e._Bn([$e])],decls:6,vars:8,consts:[[3,"placeholder","ngModel","required","ngModelChange","blur"],["select",""],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"]],template:function(Oe,tt){1&Oe&&(e.TgZ(0,"mat-form-field")(1,"mat-select",0,1),e.NdJ("ngModelChange",function(xn){return tt.fieldValue=xn})("blur",function(){return tt.emitCurrentValue()})("ngModelChange",function(){return tt.emitCurrentValue()}),e.YNc(3,Hn,2,4,"mat-option",2),e.ALo(4,"async"),e.qZA(),e.YNc(5,Jn,2,1,"mat-error",3),e.qZA()),2&Oe&&(e.xp6(1),e.Q6J("placeholder",tt.componentSettings.placeholder)("ngModel",tt.fieldValue)("required",tt.componentSettings.required),e.uIk("data-id",tt.getFieldDataId()),e.xp6(2),e.Q6J("ngForOf",e.lcZ(4,6,tt.getOptionsObs())),e.xp6(2),e.Q6J("ngIf",tt.getMaterialValidationService().formControl.hasError("fakeValidationError")))},directives:[u.KE,rt.gD,ne.ey,o.JJ,o.On,o.Q7,g.sg,g.O5,u.TO],pipes:[g.Ov],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),mt})(),be=(()=>{class mt{constructor(Oe){this.materialValidationService=Oe,this.fieldValueChanged=new e.vpe,this.fieldValueCommit=new e.vpe,this.hasBeenFocused=!1,this.getFieldDataId=()=>`form-field-${this.fieldKey}`}setErrors(Oe){this.hasBeenFocused&&this.materialValidationService.setErrors(Oe)}setFocus(){this.hasBeenFocused=!0}emitChange(){this.fieldValueChanged.emit(this.fieldValue)}getMaterialValidationService(){return this.materialValidationService}emitCommit(){this.fieldValueCommit.emit()}}return mt.\u0275fac=function(Oe){return new(Oe||mt)(e.Y36($e))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["app-pa-password-field"]],inputs:{componentSettings:"componentSettings",fieldValue:"fieldValue",fieldKey:"fieldKey"},outputs:{fieldValueChanged:"fieldValueChanged",fieldValueCommit:"fieldValueCommit"},features:[e._Bn([$e])],decls:3,vars:6,consts:[["matInput","","type","password",3,"placeholder","ngModel","formControl","required","ngModelChange","change","input","blur","focus"],[4,"ngIf"]],template:function(Oe,tt){1&Oe&&(e.TgZ(0,"mat-form-field")(1,"input",0),e.NdJ("ngModelChange",function(xn){return tt.fieldValue=xn})("change",function(){return tt.emitChange()})("input",function(){return tt.emitChange()})("blur",function(){return tt.emitCommit()})("focus",function(){return tt.setFocus()}),e.qZA(),e.YNc(2,Tn,2,1,"mat-error",1),e.qZA()),2&Oe&&(e.xp6(1),e.Q6J("placeholder",tt.componentSettings.placeholder)("ngModel",tt.fieldValue)("formControl",tt.getMaterialValidationService().formControl)("required",tt.componentSettings.required),e.uIk("data-id",tt.getFieldDataId()),e.xp6(1),e.Q6J("ngIf",tt.getMaterialValidationService().formControl.hasError("fakeValidationError")))},directives:[u.KE,c.Nt,o.Fj,o.JJ,o.oH,o.Q7,g.O5,u.TO],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),mt})(),Ye=(()=>{class mt{constructor(Oe){this.viewContainerRef=Oe}}return mt.\u0275fac=function(Oe){return new(Oe||mt)(e.Y36(e.s_b))},mt.\u0275dir=e.lG2({type:mt,selectors:[["","formbuilder-host",""]]}),mt})(),Ct=(()=>{class mt{constructor(Oe){this.componentFactoryResolver=Oe,this.actionTriggered=new e.vpe,this.destroyed=new A.x}ngAfterViewInit(){setTimeout(()=>{this.initialiseControls()})}initialiseControls(){const Oe=this.formBuilderHost.viewContainerRef;Oe.clear();const tt=Oe.createComponent(this.formAction.action.component);tt.instance.actionSettings=this.formAction.action.actionSettings,tt.instance.action.subscribe(()=>{this.actionTriggered.next()}),this.formAction.disableOnValidation&&this.form.getCurrentFormState(this.destroyed).subscribe(en=>{tt.instance.isDisabled=en})}ngOnDestroy(){this.destroyed.next()}}return mt.\u0275fac=function(Oe){return new(Oe||mt)(e.Y36(e._Vd))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-form-action-builder"]],viewQuery:function(Oe,tt){if(1&Oe&&e.Gf(Ye,5),2&Oe){let en;e.iGM(en=e.CRH())&&(tt.formBuilderHost=en.first)}},inputs:{form:"form",formAction:"formAction"},outputs:{actionTriggered:"actionTriggered"},decls:2,vars:0,consts:[[1,"form-container"],["formbuilder-host",""]],template:function(Oe,tt){1&Oe&&(e.TgZ(0,"div",0),e.YNc(1,ri,0,0,"ng-template",1),e.qZA())},directives:[Ye],styles:[""]}),mt})(),_n=(()=>{class mt{constructor(){this.fieldValueChanged=new e.vpe,this.fieldValueCommit=new e.vpe,this.getFieldDataId=()=>`form-field-${this.fieldKey}`,this.getOptionDataId=Oe=>`radio-${this.fieldKey}-${String(Oe).replace(" ","").toLocaleLowerCase()}`}setErrors(Oe){}onSelectedValue(Oe){this.fieldValueChanged.emit(Oe)}}return mt.\u0275fac=function(Oe){return new(Oe||mt)},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-form-radio-button"]],inputs:{componentSettings:"componentSettings",fieldValue:"fieldValue",fieldKey:"fieldKey"},outputs:{fieldValueChanged:"fieldValueChanged",fieldValueCommit:"fieldValueCommit"},decls:6,vars:5,consts:[[1,"radio-container"],[1,"radio-group-title"],[4,"ngIf"],[3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(Oe,tt){1&Oe&&(e.TgZ(0,"div",0)(1,"div",1),e._uU(2),e.YNc(3,zn,2,0,"span",2),e.qZA(),e.TgZ(4,"mat-radio-group",3),e.NdJ("ngModelChange",function(xn){return tt.fieldValue=xn})("ngModelChange",function(xn){return tt.onSelectedValue(xn)}),e.YNc(5,$t,2,3,"mat-radio-button",4),e.qZA()()),2&Oe&&(e.xp6(2),e.hij("",tt.componentSettings.title," "),e.xp6(1),e.Q6J("ngIf",tt.componentSettings.required),e.xp6(1),e.Q6J("ngModel",tt.fieldValue),e.uIk("data-id",tt.getFieldDataId()),e.xp6(1),e.Q6J("ngForOf",tt.componentSettings.radioOptions))},directives:[G.U0,g.O5,G.VQ,o.JJ,o.On,g.sg],styles:[".radio-container[_ngcontent-%COMP%]{color:#320d42;font-size:.9em}.radio-container[_ngcontent-%COMP%] .radio-group-title[_ngcontent-%COMP%]{font-weight:700}.radio-container[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:left;margin:5px}.radio-container[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%] mat-radio-button[_ngcontent-%COMP%]{margin-bottom:5px}"]}),mt})(),wn=(()=>{class mt{constructor(Oe){this.componentFactoryResolver=Oe,this.destroyed=new A.x}ngAfterViewInit(){setTimeout(()=>{this.buildComponents()})}ngOnDestroy(){this.destroyed.next()}buildComponents(){const Oe=this.formBuilderHost.viewContainerRef;Oe.clear();const tt=Oe.createComponent(this.control.field.component);tt.instance.componentSettings=this.control.field.fieldSettings,tt.instance.fieldValue=this.form.getControlValue(this.control),tt.instance.fieldKey=String(this.control.fieldKey),tt.instance.fieldValueChanged.pipe((0,I.R)(this.destroyed)).subscribe(en=>{this.form.setControlValue(this.control,en),this.form.updateActionDisabledState()}),tt.instance.fieldValueCommit.pipe((0,I.R)(this.destroyed)).subscribe(en=>{this.form.updateControlErrors()}),this.form.getErrorSubscription(this.control,this.destroyed).subscribe(en=>{tt.instance.setErrors(en)})}}return mt.\u0275fac=function(Oe){return new(Oe||mt)(e.Y36(e._Vd))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-form-control-builder"]],viewQuery:function(Oe,tt){if(1&Oe&&e.Gf(Ye,5),2&Oe){let en;e.iGM(en=e.CRH())&&(tt.formBuilderHost=en.first)}},inputs:{control:"control",form:"form"},decls:2,vars:0,consts:[[1,"form-container"],["formbuilder-host",""]],template:function(Oe,tt){1&Oe&&(e.TgZ(0,"div",0),e.YNc(1,xe,0,0,"ng-template",1),e.qZA())},directives:[Ye],styles:[".form-container[_ngcontent-%COMP%]{margin:6px}"]}),mt})(),pi=(()=>{class mt{constructor(Oe){this.materialValidationService=Oe,this.inputTextType="text",this.fieldValueChanged=new e.vpe,this.fieldValueCommit=new e.vpe,this.hasBeenFocused=!1,this.getFieldDataId=()=>`form-field-${this.fieldKey}`}ngOnInit(){this.componentSettings.isCurrency&&this.fieldValue&&(this.fieldValue=Number(this.fieldValue).toFixed(2))}setErrors(Oe){this.hasBeenFocused&&this.materialValidationService.setErrors(Oe)}setFocus(){this.hasBeenFocused=!0}emitChange(Oe){console.log(`form changed: ${this.fieldKey} - ${this.fieldValue}`),this.fieldValue=Oe.target.value,this.fieldValueChanged.emit(this.fieldValue)}getMaterialValidationService(){return this.materialValidationService}emitCommit(){this.fieldValueCommit.emit()}getTextType(){return this.componentSettings&&this.componentSettings.type?this.componentSettings.type:this.inputTextType}}return mt.\u0275fac=function(Oe){return new(Oe||mt)(e.Y36($e))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-form-textfield"]],viewQuery:function(Oe,tt){if(1&Oe&&e.Gf(Et,5),2&Oe){let en;e.iGM(en=e.CRH())&&(tt.matInput=en.first)}},inputs:{componentSettings:"componentSettings",fieldValue:"fieldValue",fieldKey:"fieldKey",inputTextType:"inputTextType"},outputs:{fieldValueChanged:"fieldValueChanged",fieldValueCommit:"fieldValueCommit"},features:[e._Bn([$e])],decls:4,vars:7,consts:[["matInput","",3,"placeholder","ngModel","formControl","type","required","ngModelChange","change","input","blur","focus"],["matInput",""],[4,"ngIf"]],template:function(Oe,tt){1&Oe&&(e.TgZ(0,"mat-form-field")(1,"input",0,1),e.NdJ("ngModelChange",function(xn){return tt.fieldValue=xn})("change",function(xn){return tt.emitChange(xn)})("input",function(xn){return tt.emitChange(xn)})("blur",function(){return tt.emitCommit()})("focus",function(){return tt.setFocus()}),e.qZA(),e.YNc(3,Se,2,1,"mat-error",2),e.qZA()),2&Oe&&(e.xp6(1),e.Q6J("placeholder",tt.componentSettings.placeholder)("ngModel",tt.fieldValue)("formControl",tt.getMaterialValidationService().formControl)("type",tt.getTextType())("required",tt.componentSettings.required),e.uIk("data-id",tt.getFieldDataId()),e.xp6(2),e.Q6J("ngIf",tt.getMaterialValidationService().formControl.hasError("fakeValidationError")))},directives:[u.KE,c.Nt,o.Fj,o.JJ,o.oH,o.Q7,g.O5,u.TO],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),mt})(),xi=(()=>{class mt{constructor(){this.action=new e.vpe,this.buttonType=mi,this.formatDataId=Oe=>`${Oe}${this.actionSettings.buttonText.replace(" ","").toLocaleLowerCase()}`,this.getPrimaryButtonDataId=()=>this.formatDataId("button-primary-"),this.getSecondaryButtonDataId=()=>this.formatDataId("button-secondary-")}onClick(){this.action.emit()}}return mt.\u0275fac=function(Oe){return new(Oe||mt)},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-form-actionbutton"]],inputs:{actionSettings:"actionSettings"},outputs:{action:"action"},decls:2,vars:2,consts:[[3,"buttonText","disabled","click",4,"ngIf"],[3,"buttonText","disabled","click"]],template:function(Oe,tt){1&Oe&&(e.YNc(0,j,1,3,"pa-primary-button",0),e.YNc(1,Ie,1,3,"pa-text-button-updated",0)),2&Oe&&(e.Q6J("ngIf",tt.actionSettings.buttonType===tt.buttonType.raisedButton),e.xp6(1),e.Q6J("ngIf",tt.actionSettings.buttonType===tt.buttonType.standardButton))},directives:[_e.lR4,_e._WT,g.O5],styles:["button[_ngcontent-%COMP%]{margin:5px}mat-form-field[_ngcontent-%COMP%]{width:100%}button[_ngcontent-%COMP%]{cursor:pointer}.mat-button[_ngcontent-%COMP%]{border:2px solid #cbb9d3;border-radius:23px}.mat-button[_ngcontent-%COMP%]:hover{border-color:#7e6787;background-color:#fff}.mat-button[_ngcontent-%COMP%] .mat-button-ripple{border-radius:inherit}.mat-button[_ngcontent-%COMP%] .mat-button-focus-overlay{background-color:initial}.mat-raised-button[_ngcontent-%COMP%]{border-radius:23px;padding:2px}"]}),mt})();class Ri{}Ri.primary="primary",Ri.none=void 0;var mi=(()=>{return(mt=mi||(mi={}))[mt.raisedButton=0]="raisedButton",mt[mt.standardButton=1]="standardButton",mi;var mt})(),di=(()=>{return(mt=di||(di={}))[mt.closeForm=0]="closeForm",mt[mt.closeFormRefreshRequired=1]="closeFormRefreshRequired",mt[mt.doNothing=2]="doNothing",di;var mt})();let Ki=(()=>{class mt{constructor(){}ngOnInit(){}conditionalControl(Oe){const tt=this.form.getConditionFieldByFieldKey(Oe.fieldKey);return!tt||tt.condition(this.form.getModel())}}return mt.\u0275fac=function(Oe){return new(Oe||mt)},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-form-controls"]],inputs:{form:"form"},decls:3,vars:2,consts:[[1,"control-container"],["class","control",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"control"],[3,"control","form",4,"ngIf"],[3,"control","form"],[3,"componentToRender"]],template:function(Oe,tt){1&Oe&&(e.TgZ(0,"div",0),e.YNc(1,Vt,2,1,"div",1),e.YNc(2,Fn,2,1,"div",2),e.qZA()),2&Oe&&(e.xp6(1),e.Q6J("ngForOf",tt.form.controls),e.xp6(1),e.Q6J("ngForOf",tt.form.additionalComponentsToRender))},directives:[wn,_e.uVl,g.sg,g.O5],styles:[".control-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.control-container[_ngcontent-%COMP%] .control[_ngcontent-%COMP%]{flex-grow:1;flex-basis:25%}"]}),mt})(),hr=(()=>{class mt{constructor(){this.buttonAlignCenter=!1,this.actionTriggered=new e.vpe}shouldShowAction(Oe){return!Oe.conditionalKey||this.form.getModel()[Oe.conditionalKey]}}return mt.\u0275fac=function(Oe){return new(Oe||mt)},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-form-actions"]],inputs:{form:"form",buttonAlignCenter:"buttonAlignCenter"},outputs:{actionTriggered:"actionTriggered"},decls:3,vars:1,consts:[[1,"action-container"],[1,"actions"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"formAction","form","actionTriggered",4,"ngIf"],[3,"formAction","form","actionTriggered"]],template:function(Oe,tt){1&Oe&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,Cn,2,4,"div",2),e.qZA()()),2&Oe&&(e.xp6(2),e.Q6J("ngForOf",tt.form.actions))},directives:[Ct,g.sg,g.mk,g.O5],styles:[".action-container[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:flex-end}.action-container[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:space-between;align-items:center}.action-container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{width:100%}"]}),mt})(),rr=(()=>{class mt{constructor(Oe){this.loadingSpinnerService=Oe,this.destroyed$=new A.x,this.refreshRequested=new e.vpe,this.getFormTitle=()=>{var tt;return`form-${null===(tt=this.form.title)||void 0===tt?void 0:tt.replace(" ","").trim().toLocaleLowerCase()}`}}initialiseErrorSubscription(){this.formGlobalErrors$=this.form.getGlobalErrorSubscription(this.destroyed$)}ngOnInit(){this.form&&this.initialiseErrorSubscription()}ngOnChanges(Oe){Oe.form&&this.initialiseErrorSubscription()}ngOnDestroy(){this.destroyed$.next()}formShown(){this.form.setInitialFormState()}handleAction(Oe){return(0,he.mG)(this,void 0,void 0,function*(){yield this.loadingSpinnerService.runWithSpinner(this.form.getSpinnerName(),()=>(0,he.mG)(this,void 0,void 0,function*(){const tt=yield Oe.actionHandler(),en=tt===di.closeForm,xn=tt===di.closeFormRefreshRequired;xn&&this.refreshRequested.next(),(!0===tt||en||xn)&&(this.form.resetForm(),this.modal.resolve())}))})}}return mt.\u0275fac=function(Oe){return new(Oe||mt)(e.Y36(_e.ojH))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-crud-form-modal"]],viewQuery:function(Oe,tt){if(1&Oe&&e.Gf(ct,5),2&Oe){let en;e.iGM(en=e.CRH())&&(tt.modal=en.first)}},inputs:{dialogName:"dialogName",form:"form"},outputs:{refreshRequested:"refreshRequested"},features:[e.TTD],decls:9,vars:10,consts:[[3,"dialogName","titleText","loadingSpinnerTitle","modalShown"],["dialog",""],["content","",1,"form-control-container"],["data-id","form-description","class","form-description",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"form"],["footer",""],[3,"form","actionTriggered"],["data-id","form-description",1,"form-description"],["data-id","modal-error-message",1,"error-message"]],template:function(Oe,tt){1&Oe&&(e.TgZ(0,"pa-modal-with-title",0,1),e.NdJ("modalShown",function(){return tt.formShown()}),e.TgZ(2,"div",2),e.YNc(3,ve,2,1,"div",3),e.YNc(4,Re,3,1,"ng-container",4),e.ALo(5,"async"),e._UZ(6,"pa-form-controls",5),e.qZA(),e.TgZ(7,"div",6)(8,"pa-form-actions",7),e.NdJ("actionTriggered",function(xn){return tt.handleAction(xn)}),e.qZA()()()),2&Oe&&(e.Q6J("dialogName",tt.dialogName)("titleText",tt.form.title)("loadingSpinnerTitle",tt.form.getSpinnerName()),e.uIk("data-id",tt.getFormTitle()),e.xp6(3),e.Q6J("ngIf",tt.form.formDescription),e.xp6(1),e.Q6J("ngForOf",e.lcZ(5,8,tt.formGlobalErrors$)),e.xp6(2),e.Q6J("form",tt.form),e.xp6(2),e.Q6J("form",tt.form))},directives:[_e.yQ,Ki,hr,g.O5,g.sg],pipes:[g.Ov],styles:["pa-form-actions[_ngcontent-%COMP%]{width:100%}.error-message[_ngcontent-%COMP%]{color:red}.form-control-container[_ngcontent-%COMP%], .form-description[_ngcontent-%COMP%]{padding:15px}"]}),mt})(),Ai=(()=>{class mt{constructor(Oe,tt,en,xn){this.factory=Oe,this.appRef=tt,this.modalService=en,this.injector=xn}showModalForm(Oe){return(0,he.mG)(this,void 0,void 0,function*(){const tt=this.factory.resolveComponentFactory(rr).create(this.injector);tt.instance.form=Oe;const en=De.h.UUID().toString();tt.instance.dialogName=en,this.appRef.attachView(tt.hostView),document.body.appendChild(tt.hostView.rootNodes[0]),yield new Promise(gi=>setTimeout(gi)),console.log("Showing form",Oe),yield this.modalService.showDialog(en),this.appRef.detachView(tt.hostView),tt.destroy()})}}return mt.\u0275fac=function(Oe){return new(Oe||mt)(e.LFG(e._Vd),e.LFG(e.z2F),e.LFG(_e.s6z),e.LFG(e.zs3))},mt.\u0275prov=e.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})(),Ei=(()=>{class mt{constructor(Oe){this.spinnerService=Oe,this.buttonAlignCenter=!1,this.destroyed=new A.x,this.loadingSpinnerName=De.h.UUID()}ngOnDestroy(){this.destroyed.next()}ngOnInit(){this.pageForm.getGlobalErrorSubscription(this.destroyed).subscribe(Oe=>{this.globalErrors=Oe})}ngAfterContentChecked(){!this.pageForm||this.pageForm.setInitialFormState()}actionTriggered(Oe){return(0,he.mG)(this,void 0,void 0,function*(){yield this.spinnerService.runWithSpinner(this.loadingSpinnerName,()=>(0,he.mG)(this,void 0,void 0,function*(){yield Oe.actionHandler()}))})}}return mt.\u0275fac=function(Oe){return new(Oe||mt)(e.Y36(_e.ojH))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-form-builder"]],inputs:{pageForm:"pageForm",buttonAlignCenter:"buttonAlignCenter"},decls:7,vars:6,consts:[[1,"page-container"],["class","page-title",4,"ngIf"],["class","global-errors-container",4,"ngFor","ngForOf"],[1,"form-container"],[3,"form"],[3,"form","buttonAlignCenter","actionTriggered"],[3,"name"],[1,"page-title"],[1,"global-errors-container"],["data-id","global-errors"]],template:function(Oe,tt){1&Oe&&(e.TgZ(0,"div",0),e.YNc(1,it,2,1,"p",1),e.YNc(2,Lt,3,1,"div",2),e.TgZ(3,"div",3),e._UZ(4,"pa-form-controls",4),e.TgZ(5,"pa-form-actions",5),e.NdJ("actionTriggered",function(xn){return tt.actionTriggered(xn)}),e.qZA()()(),e._UZ(6,"pa-loading-spinner",6)),2&Oe&&(e.xp6(1),e.Q6J("ngIf",tt.pageForm.title),e.xp6(1),e.Q6J("ngForOf",tt.globalErrors),e.xp6(2),e.Q6J("form",tt.pageForm),e.xp6(1),e.Q6J("form",tt.pageForm)("buttonAlignCenter",tt.buttonAlignCenter),e.xp6(1),e.Q6J("name",tt.loadingSpinnerName))},directives:[Ki,hr,_e.z4j,g.O5,g.sg],styles:[".page-container[_ngcontent-%COMP%]{margin:10px;display:flex;flex-direction:column;align-items:center}.page-container[_ngcontent-%COMP%] .form-container[_ngcontent-%COMP%]{width:100%}.page-container[_ngcontent-%COMP%] .global-errors-container[_ngcontent-%COMP%]{font-weight:700;color:#ea605d}.page-container[_ngcontent-%COMP%] .global-errors-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 0 5px}.page-container[_ngcontent-%COMP%] .control-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.page-container[_ngcontent-%COMP%] .action-container[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:flex-end}.page-container[_ngcontent-%COMP%] .page-title[_ngcontent-%COMP%]{font-size:30px;font-weight:700}.spinner[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:#320d4280}"]}),mt})(),Pi=(()=>{class mt{constructor(Oe){this.materialValidationService=Oe,this.fieldValueChanged=new e.vpe,this.fieldValueCommit=new e.vpe,this.getFieldDataId=()=>`form-field-${this.fieldKey}`}ngOnInit(){this.setDefaults()}setDefaults(){this.componentSettings.max||(this.componentSettings.max=2147483647),this.componentSettings.min||(this.componentSettings.min=0)}setFocus(){this.hasBeenFocused=!0}setErrors(Oe){this.hasBeenFocused&&this.materialValidationService.setErrors(Oe)}emitChange(){this.fieldValueChanged.emit(this.fieldValue)}getMaterialValidationService(){return this.materialValidationService}emitCommit(){this.fieldValueCommit.emit()}showErrors(){return this.getMaterialValidationService().formControl.hasError("fakeValidationError")}}return mt.\u0275fac=function(Oe){return new(Oe||mt)(e.Y36($e))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-form-number-field"]],inputs:{componentSettings:"componentSettings",fieldValue:"fieldValue",fieldKey:"fieldKey"},outputs:{fieldValueChanged:"fieldValueChanged",fieldValueCommit:"fieldValueCommit"},features:[e._Bn([$e])],decls:3,vars:9,consts:[["matInput","","type","number",3,"placeholder","ngModel","formControl","required","max","min","autocomplete","ngModelChange","keyup","change","blur","focus"],[4,"ngIf"]],template:function(Oe,tt){1&Oe&&(e.TgZ(0,"mat-form-field")(1,"input",0),e.NdJ("ngModelChange",function(xn){return tt.fieldValue=xn})("keyup",function(){return tt.emitChange()})("change",function(){return tt.emitChange()})("blur",function(){return tt.emitCommit()})("focus",function(){return tt.setFocus()}),e.qZA(),e.YNc(2,Un,2,1,"mat-error",1),e.qZA()),2&Oe&&(e.xp6(1),e.Q6J("placeholder",tt.componentSettings.placeholder)("ngModel",tt.fieldValue)("formControl",tt.getMaterialValidationService().formControl)("required",tt.componentSettings.required)("max",tt.componentSettings.max)("min",tt.componentSettings.min)("autocomplete",!1),e.uIk("data-id",tt.getFieldDataId()),e.xp6(1),e.Q6J("ngIf",tt.showErrors()))},directives:[u.KE,c.Nt,o.wV,o.Fd,o.qQ,o.Fj,o.JJ,o.oH,o.Q7,g.O5,u.TO],styles:["mat-form-field[_ngcontent-%COMP%]{width:100%}"]}),mt})(),Ji=(()=>{class mt{}return mt.\u0275fac=function(Oe){return new(Oe||mt)},mt.\u0275mod=e.oAB({type:mt}),mt.\u0275inj=e.cJS({imports:[[g.ez,o.u5,c.c,o.UX,rt.LD,Ve.ot,G.Fk,d.FA,Mt.Cq,ne.XK,q.Hi,Kt,te.Ps,_e.qWK]]}),mt})();class fi{validate(wt){return null==wt||""===wt}}class Mr{constructor(){this.title="",this.controls=[],this.additionalComponentsToRender=[],this.actions=[],this.dataModel={},this.conditionalFields=[],this.controlErrorSubjects=[],this.serverErrors=[],this.formState=new H.X(!1),this.validations=[],this.onCompleted=new A.x,this.onCancel=new A.x,this.currentGlobalError=new H.X([])}getSpinnerName(){return"form-spinner-"+this.title.replace(/[^A-Za-z0-1]/g,"")}setFormDescription(wt){return this.formDescription=wt,this}setModel(wt){this.dataModel=wt}getModel(){return this.dataModel}addControl(wt,Oe,tt=[]){const en={fieldKey:wt,field:Oe,errorEnums:tt,required:!1};return this.currentControl=en,this.controls.push(en),this}addAdditionalComponent(wt){return this.additionalComponentsToRender=[...this.additionalComponentsToRender,wt],this}setServerError(wt,Oe){return this.serverErrors.push({errorEnum:wt,errorMessage:Oe}),this}addValidation(wt,Oe){let tt=this.getValidationsByFieldKey(this.currentControl.fieldKey);return tt||(tt={key:this.currentControl.fieldKey,validators:[]},this.validations.push(tt)),tt.validators.push({validator:wt,errorMessage:Oe}),this}setConditionalField(wt){let Oe=this.getConditionFieldByFieldKey(this.currentControl.fieldKey);return Oe||(Oe={key:this.currentControl.fieldKey,condition:wt},this.conditionalFields.push(Oe)),this}addAction(wt){const Oe={action:wt,disableOnValidation:!1};return this.currentAction=Oe,this.actions.push(Oe),this}addConditionalAction(wt,Oe){const tt={action:wt,disableOnValidation:!1,conditionalKey:Oe};return this.currentAction=tt,this.actions.push(tt),this}disableOnValidation(){return this.currentAction.disableOnValidation=!0,this}setControlValue(wt,Oe){this.dataModel[wt.fieldKey]=Oe}getErrorSubscription(wt,Oe){const tt=this.controlErrorSubjects.find(xn=>xn.key===wt.fieldKey);if(tt)return tt.error.pipe((0,I.R)(Oe));const en={key:wt.fieldKey,error:new H.X([])};return this.controlErrorSubjects.push(en),en.error.pipe((0,I.R)(Oe))}getGlobalErrorSubscription(wt){return this.currentGlobalError.pipe((0,I.R)(wt),(0,z.d)(1))}updateControlErrors(){this.controls.forEach(wt=>{const Oe=this.getErrorObservablesByFieldKey(wt.fieldKey);Oe&&Oe.error.next(this.validateControl(wt,this.getControlValue(wt)))})}emitControlError(wt,Oe){const tt=[];tt.push(Oe),this.updateErrors(wt,tt)}updateActionDisabledState(){this.formState.next(this.checkCurrentFormState())}getCurrentFormState(wt){return this.formState.pipe((0,I.R)(wt))}setInitialFormState(){this.updateActionDisabledState()}required(){return this.addValidation(new fi,"Required"),this.currentControl.required=!0,this}formCompletedObservable(wt){return this.onCompleted.pipe((0,I.R)(wt))}formCompleted(){this.resetForm(),this.onCompleted.next()}showErrors(wt){const Oe=[];wt.forEach(tt=>{const en=this.serverErrors.find(Fi=>Fi.errorEnum===tt),xn=en?en.errorMessage:`An error has occurred (error ${tt})`,gi=this.controls.find(Fi=>Fi.errorEnums.includes(tt));gi?this.emitControlError(gi.fieldKey,xn):Oe.push(xn)}),0!=Oe.length&&this.emitGlobalError(Oe)}buildForm(){return this}formCancelledObservable(wt){return this.onCancel.pipe((0,I.R)(wt))}formCancelled(){this.resetForm(),this.onCancel.next()}getConditionFieldByFieldKey(wt){return this.conditionalFields.find(Oe=>Oe.key===wt)}getControlValue(wt){return this.dataModel[wt.fieldKey]}resetForm(){this.setModel({}),this.currentGlobalError.next([]),this.controlErrorSubjects=[]}getValidationsByFieldKey(wt){return this.validations.find(Oe=>Oe.key===wt)}getErrorObservablesByFieldKey(wt){return this.controlErrorSubjects.find(Oe=>Oe.key===wt)}updateErrors(wt,Oe){const tt=this.getErrorObservablesByFieldKey(wt);tt?tt.error.next(Oe):this.currentGlobalError.next(Oe)}checkCurrentFormState(){console.log("Checking form state");for(const wt in this.controls){const Oe=this.controls[wt];if(0!==this.validateControl(Oe,this.getControlValue(Oe)).length)return!0}return!1}validateControl(wt,Oe){const tt=[],en=this.getValidationsByFieldKey(wt.fieldKey),xn=this.getConditionFieldByFieldKey(wt.fieldKey);return xn&&!xn.condition(this.getModel())?[]:(en&&0!==en.validators.length&&en.validators.forEach(gi=>{gi.validator.validate(Oe)&&(console.log("Error found ",gi.errorMessage),tt.push(gi.errorMessage))}),tt)}emitGlobalError(wt){this.currentGlobalError.next(wt)}}class jr{constructor(wt){this.component=pi,this.fieldSettings=wt}}class bo{constructor(wt,Oe){this.component=xi,this.actionSettings=wt,this.actionHandler=Oe}}class kr{constructor(){this.form=new Mr}create(wt){return this.form.title=wt,this}textControl(wt,Oe,tt=[]){return this.form.addControl(Oe,new jr({placeholder:wt,required:!0}),tt).required(),this}createDefaultActions(wt,Oe){return this.form.addAction(new bo({buttonType:mi.standardButton,buttonText:"Cancel"},()=>(0,he.mG)(this,void 0,void 0,function*(){return this.form.formCancelled(),di.closeForm}))).addAction(new bo({buttonText:wt,buttonType:mi.raisedButton},()=>(0,he.mG)(this,void 0,void 0,function*(){const tt=this.form.getModel(),en=yield Oe(tt);return en.successful?(this.form.formCompleted(),di.closeFormRefreshRequired):(this.form.showErrors(en.errors),di.doNothing)}))).disableOnValidation(),this.form}}class Ho{create(wt){return(new kr).create(wt)}}class Hr{constructor(wt){this.component=_t,this.fieldSettings=wt}}class Ur{constructor(wt){this.component=R,this.fieldSettings=wt}}class Qr{constructor(wt){this.component=_n,this.fieldSettings=wt}}class uo{constructor(wt){this.component=Pi,this.fieldSettings=wt}}class fo{constructor(wt){this.component=be,this.fieldSettings=wt}}class ko{constructor(wt){this.minLength=wt}validate(wt){if(wt)return wt.length()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)}validate(wt){return!!wt&&!this.regex.test(wt)}}class Yr{constructor(wt){this.getDate=wt}validate(wt){return wtthis.maxNumber}}class eo{constructor(wt){this.maxLength=wt}validate(wt){if(wt)return wt.length>this.maxLength}}class Mo{constructor(wt){this.getPassword=wt}validate(wt){return wt!==this.getPassword()}}let Gr=(()=>{class mt{constructor(){this.deleteServerErrors=[]}confirmationContent(){return this.deleteMessages}getModalTitle(){const Oe=this.deleteMessages;return(null==Oe?void 0:Oe.deleteConfirmationTitle)?Oe.deleteConfirmationTitle:"Confirm delete"}}return mt.\u0275fac=function(Oe){return new(Oe||mt)},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-crud-delete-modal"]],inputs:{dialogName:"dialogName",deleteMessages:"deleteMessages"},decls:5,vars:6,consts:[["buttonText","Delete","backgroundColor","tangerine","icon","exclamation-circle",3,"dialogName","modalTitle"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"server-errors"]],template:function(Oe,tt){if(1&Oe&&(e.TgZ(0,"pa-two-button-modal",0),e.YNc(1,Oi,3,1,"ng-container",1),e.YNc(2,Li,2,1,"p",2),e.YNc(3,Gi,2,1,"p",2),e.YNc(4,Pe,2,1,"ul",2),e.qZA()),2&Oe){let en,xn,gi;e.Q6J("dialogName",tt.dialogName)("modalTitle",tt.getModalTitle()),e.xp6(1),e.Q6J("ngForOf",tt.deleteServerErrors),e.xp6(1),e.Q6J("ngIf",null==(en=tt.confirmationContent())?null:en.deleteConfirmationMessage),e.xp6(1),e.Q6J("ngIf",!(null!=(xn=tt.confirmationContent())&&xn.deleteConfirmationMessage)),e.xp6(1),e.Q6J("ngIf",null==(gi=tt.confirmationContent())?null:gi.extraWarningStatements)}},directives:[_e.yQy,g.sg,g.O5],styles:[".form-dialog-actions[_ngcontent-%COMP%]{padding-top:40px;text-align:right}.server-errors[_ngcontent-%COMP%]{color:red}"]}),mt})(),Ao=(()=>{class mt{constructor(){}ngOnInit(){}}return mt.\u0275fac=function(Oe){return new(Oe||mt)},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-crud-double-confirm-delete-modal"]],decls:0,vars:0,template:function(Oe,tt){},styles:[""]}),mt})(),to=(()=>{class mt{constructor(Oe,tt){this.modalService=Oe,this.spinnerService=tt,this.destroyed=new A.x,this.clickableCellClicked=new e.vpe,this.data=[]}ngOnDestroy(){this.destroyed.next()}setDeleteErrorList(Oe){this.deleteServerErrors=[],Oe.errors.forEach(tt=>{const en=this.crudConfig.deleteServerErrors.find(xn=>xn.deleteEnum===tt);this.deleteServerErrors.push(en?en.deleteErrorMessage:`An error has occurred (error ${tt})`)})}ngOnInit(){var Oe,tt,en,xn,gi,Fi,Ir,no;return(0,he.mG)(this,void 0,void 0,function*(){const pr=null!==(tt=null===(Oe=this.createForm)||void 0===Oe?void 0:Oe.formCancelledObservable(this.destroyed))&&void 0!==tt?tt:O.E,oi=null!==(xn=null===(en=this.createForm)||void 0===en?void 0:en.formCompletedObservable(this.destroyed))&&void 0!==xn?xn:O.E,yr=null!==(Fi=null===(gi=this.updateForm)||void 0===gi?void 0:gi.formCancelledObservable(this.destroyed))&&void 0!==Fi?Fi:O.E,mr=null!==(no=null===(Ir=this.updateForm)||void 0===Ir?void 0:Ir.formCompletedObservable(this.destroyed))&&void 0!==no?no:O.E;(0,Z.T)(pr,yr),(0,Z.T)(oi,mr).subscribe(()=>(0,he.mG)(this,void 0,void 0,function*(){yield this.closeDialogAndGetData()})),this.tableSort=this.crudConfig.initialSortOrder(),yield new Promise($i=>setTimeout($i)),yield this.getData()})}closeDialogAndGetData(){return(0,he.mG)(this,void 0,void 0,function*(){yield this.getData(),this.sortTable(this.tableSort)})}getData(){return(0,he.mG)(this,void 0,void 0,function*(){yield this.spinnerService.runWithSpinner("main-loading-spinner",()=>(0,he.mG)(this,void 0,void 0,function*(){this.data=[...yield this.crudConfig.loadList()],this.sortTable(this.tableSort)}))})}launchAddDialog(){return(0,he.mG)(this,void 0,void 0,function*(){yield this.showFormDialog(this.createForm)})}launchUpdateDialog(Oe){return(0,he.mG)(this,void 0,void 0,function*(){if(this.crudConfig.beforeUpdateFormShown){const tt=yield this.crudConfig.beforeUpdateFormShown(Object.assign({},Oe));if(tt.shouldReloadItemList&&(yield this.getData()),!tt.shouldContinueToNormalUpdateForm)return}this.updateForm.resetForm(),yield this.crudConfig.loadValueIntoUpdateForm(Object.assign({},Oe)),yield this.showFormDialog(this.updateForm)})}launchDeleteDialog(Oe){return(0,he.mG)(this,void 0,void 0,function*(){const tt=this.data[Oe];this.deleteMessages=this.crudConfig.getDeleteConfirmationDialogContent(tt),yield this.showRegularDeleteConfirmation(tt,Oe)})}showDoubleDeleteConfirmation(Oe){this.crudConfig.getDeleteConfirmationDialogContent(Oe)}showRegularDeleteConfirmation(Oe,tt){return(0,he.mG)(this,void 0,void 0,function*(){console.log("showing delete confirmation"),(yield this.modalService.showDialog("delete-confirm-modal"))&&(yield this.spinnerService.runWithSpinner("main-loading-spinner",()=>(0,he.mG)(this,void 0,void 0,function*(){const xn=yield this.crudConfig.deleteEntity(Oe);if(!xn.successful)return this.setDeleteErrorList(xn),void this.modalService.showDialog("delete-failed-dialog");yield this.getData()})))})}sortTable(Oe){this.tableSort=Oe,this.sortMethod=this.sortBy(Oe),this.sort()}sort(){this.data=this.tableSort.sortAscending?[...this.data.sort(this.sortMethod)]:[...this.data.sort(this.sortMethod).reverse()]}sortBy(Oe){return(tt,en)=>{const xn=Oe.columnName,Fi=en[xn];return tt[xn].toString().toLowerCase().localeCompare(Fi.toString().toLowerCase())}}showFormDialog(Oe){return(0,he.mG)(this,void 0,void 0,function*(){null!=this.activeCrudForm&&(yield this.destroyExistingModalInstance()),this.activeCrudForm=Oe,yield new Promise(tt=>setTimeout(tt)),this.modalService.showDialog("active-crud-form")})}destroyExistingModalInstance(){return(0,he.mG)(this,void 0,void 0,function*(){this.activeCrudForm=null,yield new Promise(Oe=>setTimeout(Oe))})}onCellClick(Oe){this.clickableCellClicked.next(Oe)}refreshList(){return(0,he.mG)(this,void 0,void 0,function*(){console.log("Refreshing due to form refresh request"),yield this.getData()})}}return mt.\u0275fac=function(Oe){return new(Oe||mt)(e.Y36(_e.s6z),e.Y36(_e.ojH))},mt.\u0275cmp=e.Xpm({type:mt,selectors:[["pa-crud-screen"]],inputs:{columnSettings:"columnSettings",createForm:"createForm",updateForm:"updateForm",title:"title",crudConfig:"crudConfig",formModelSize:"formModelSize"},outputs:{clickableCellClicked:"clickableCellClicked"},ngContentSelectors:ce,decls:14,vars:8,consts:[[1,"crud-form-container"],[1,"crud-form-header"],["class","button-area",4,"ngIf"],[1,"table-list-view"],[3,"listViewColumns","listViewRows","displayNoItemsMessage","updateClick","deleteClick","clickableCellClicked","tableColumnSortClicked"],["name","main-loading-spinner"],["dialogName","active-crud-form",3,"form","refreshRequested",4,"ngIf"],["dialogName","delete-confirm-modal",3,"deleteMessages"],["modalTitle","Failed to delete","dialogName","delete-failed-dialog","pageObjectName","CrudScreenDeleteFailedModal","icon","exclamation","backgroundColor","tangerine","data-id","failed-to-delete-modal"],["class","delete-error","data-id","server-error",4,"ngFor","ngForOf"],[1,"button-area"],["mat-fab","","color","primary","data-id","create-new-button",3,"click"],[1,"fa","fa-plus"],["dialogName","active-crud-form",3,"form","refreshRequested"],["data-id","server-error",1,"delete-error"]],template:function(Oe,tt){1&Oe&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1),e.Hsn(2),e.YNc(3,W,3,0,"div",2),e.qZA(),e.TgZ(4,"div",3)(5,"pa-list-view",4),e.NdJ("updateClick",function(xn){return tt.launchUpdateDialog(xn)})("deleteClick",function(xn){return tt.launchDeleteDialog(xn)})("clickableCellClicked",function(xn){return tt.onCellClick(xn)})("tableColumnSortClicked",function(xn){return tt.sortTable(xn)}),e.qZA()()(),e._UZ(6,"pa-loading-spinner",5),e.YNc(7,Me,1,1,"pa-crud-form-modal",6),e._UZ(8,"pa-crud-delete-modal",7)(9,"pa-crud-double-confirm-delete-modal"),e.TgZ(10,"pa-one-button-modal",8)(11,"p"),e._uU(12,"Something went wrong when deleting."),e.qZA(),e.YNc(13,Y,2,1,"p",9),e.qZA()),2&Oe&&(e.uIk("data-id","crud-screen-"+tt.title),e.xp6(3),e.Q6J("ngIf",tt.createForm),e.xp6(2),e.Q6J("listViewColumns",tt.columnSettings)("listViewRows",tt.data)("displayNoItemsMessage",tt.crudConfig.displayNoItemsMessage),e.xp6(2),e.Q6J("ngIf",tt.activeCrudForm),e.xp6(1),e.Q6J("deleteMessages",tt.deleteMessages),e.xp6(5),e.Q6J("ngForOf",tt.deleteServerErrors))},directives:[Ve.lW,_e.NRv,_e.z4j,rr,Gr,Ao,_e.xxP,g.O5,g.sg],styles:[".crud-form-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.crud-form-container[_ngcontent-%COMP%] .fa-plus[_ngcontent-%COMP%]{font-size:17px;margin-left:2px;margin-bottom:1px}.crud-form-container[_ngcontent-%COMP%] .crud-form-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.crud-form-container[_ngcontent-%COMP%] .crud-form-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-align:left}.crud-form-container[_ngcontent-%COMP%] .crud-form-header[_ngcontent-%COMP%] .button-area[_ngcontent-%COMP%]{text-align:right;margin-bottom:10px}.crud-form-container[_ngcontent-%COMP%] .table-list-view[_ngcontent-%COMP%]{display:flex;flex-direction:column}.spinner[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:#320d4280}.delete-error[_ngcontent-%COMP%]{color:#e53935}"]}),mt})(),vo=(()=>{class mt{}return mt.\u0275fac=function(Oe){return new(Oe||mt)},mt.\u0275mod=e.oAB({type:mt}),mt.\u0275inj=e.cJS({imports:[[g.ez,_e.qWK,Ji,Mt.Cq,te.Ps,Ve.ot,_e.qWK]]}),mt})()},2251:(X,N,p)=>{"use strict";p.d(N,{Jwe:()=>Cc,EDG:()=>ym,S5k:()=>tl,tMh:()=>Oa,N_R:()=>Pc,pmU:()=>gh,L$3:()=>Ec,yXr:()=>Pg,HiY:()=>Gp,vn6:()=>im,jZm:()=>$u,rU4:()=>wd,E_n:()=>qu,c85:()=>da,aBm:()=>ca,Dvu:()=>yl,cUn:()=>Td,DAj:()=>eh,RQI:()=>zp,qv2:()=>Wp,VSE:()=>Zp,lri:()=>xl,sY8:()=>ju,IKH:()=>Wl,JDH:()=>wc,Ilo:()=>mm,wjK:()=>am,hWU:()=>sm,l7b:()=>nl,MCG:()=>rm,MuS:()=>om,a0E:()=>Qu,p4T:()=>Hl,azF:()=>Al,DHd:()=>fm,p70:()=>El,Ju4:()=>Dg,kAF:()=>yh,Zjt:()=>Ed,Bm4:()=>Cg,ojH:()=>_c,N_n:()=>Mh,p$d:()=>Th,I6:()=>xh,KjJ:()=>Sh,B2n:()=>Ls,SVJ:()=>Vl,qkA:()=>hc,Vs$:()=>Ic,I1v:()=>ch,lUp:()=>Jp,RiH:()=>Xu,yBE:()=>bc,ZCD:()=>Fd,fsK:()=>Ld,pKX:()=>ua,iv3:()=>cm,htk:()=>hg,S63:()=>Uu,H44:()=>Id,Slz:()=>Mm,VPP:()=>Bl,KEo:()=>uh,cuW:()=>mg,mdl:()=>bg,sjO:()=>el,VGV:()=>pg,yUD:()=>lm,VD_:()=>Ra,Z89:()=>Xp,Hj:()=>Dc,wIK:()=>kd,uVl:()=>Tc,XIK:()=>dm,DjA:()=>Ju,uzG:()=>fc,Dns:()=>Yu,Cnh:()=>Nu,Dh6:()=>hm,bcm:()=>Kp,DIJ:()=>Zu,pHm:()=>lh,hJZ:()=>pm,ebf:()=>ah,G64:()=>pc,BZl:()=>Kr,FMm:()=>as,NRv:()=>nm,z4j:()=>kl,dqg:()=>Ac,XIh:()=>zl,$bT:()=>Nl,s6z:()=>Ll,yQ:()=>Zs,xUl:()=>Hu,ezk:()=>Qi,gxX:()=>qp,q82:()=>oh,xxP:()=>mc,F2S:()=>Ou,lR4:()=>Ea,KpR:()=>vd,rTi:()=>Pa,paU:()=>dh,Ya_:()=>vc,pdG:()=>Sm,KND:()=>Gu,a4h:()=>um,YTT:()=>lg,_WT:()=>uc,dqB:()=>Hp,LlY:()=>yd,QDO:()=>jl,VlL:()=>Mc,yQy:()=>Sd,wp0:()=>Cl,YrW:()=>Qp,qZe:()=>Fa,mix:()=>gc,OQz:()=>Ad,Eep:()=>vm,LBH:()=>Vp,al2:()=>Ru,ZE0:()=>Cd,QCi:()=>ns,qWK:()=>hh,DL7:()=>xc,yKG:()=>ph,Aup:()=>Ia,BQ$:()=>tm,njQ:()=>Ul,XL3:()=>yc,V7b:()=>Sc,Sl:()=>bd,xg2:()=>Wu,lxs:()=>Pd,Rw7:()=>Fu,pKd:()=>Dl,Eod:()=>Lu,kJI:()=>kc});var e=p(5e3),o=p(5081),u=p(9808),d=p(2313),c=p(3075),g=p(655),b=p(8093),k=p(4707),A=p(7579),I=p(5698),H=p(2722),z=p(1135),O=p(9300),Z=p(8505),q=p(4482),te=p(2733),ne=p(2805),ue=p(3900),ee=p(8746),Q=p(3905),se=p(4986),je=p(1165),nt=p(8421),He=p(3888),de=p(5403),Ce=p(9672);const Ze=(0,He.d)(a=>function(n=null){a(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function Ke(a){throw new Ze(a)}var Ft,xt=p(9646),Be=p(2076),Tt=p(4004),Zt=p(262),Sn=p(8306),Xt=p(515),nn=p(6451),mn=p(4521),Jt=p(1777),et=p(5563),Pt=p(7423),Ot=p(6856),bt=p(3489),dt=p(4107),ut=p(508),Je=p(773),kt=p(7446),pt={Linear:{None:function(a){return a}},Quadratic:{In:function(a){return a*a},Out:function(a){return a*(2-a)},InOut:function(a){return(a*=2)<1?.5*a*a:-.5*(--a*(a-2)-1)}},Cubic:{In:function(a){return a*a*a},Out:function(a){return--a*a*a+1},InOut:function(a){return(a*=2)<1?.5*a*a*a:.5*((a-=2)*a*a+2)}},Quartic:{In:function(a){return a*a*a*a},Out:function(a){return 1- --a*a*a*a},InOut:function(a){return(a*=2)<1?.5*a*a*a*a:-.5*((a-=2)*a*a*a-2)}},Quintic:{In:function(a){return a*a*a*a*a},Out:function(a){return--a*a*a*a*a+1},InOut:function(a){return(a*=2)<1?.5*a*a*a*a*a:.5*((a-=2)*a*a*a*a+2)}},Sinusoidal:{In:function(a){return 1-Math.cos(a*Math.PI/2)},Out:function(a){return Math.sin(a*Math.PI/2)},InOut:function(a){return.5*(1-Math.cos(Math.PI*a))}},Exponential:{In:function(a){return 0===a?0:Math.pow(1024,a-1)},Out:function(a){return 1===a?1:1-Math.pow(2,-10*a)},InOut:function(a){return 0===a?0:1===a?1:(a*=2)<1?.5*Math.pow(1024,a-1):.5*(2-Math.pow(2,-10*(a-1)))}},Circular:{In:function(a){return 1-Math.sqrt(1-a*a)},Out:function(a){return Math.sqrt(1- --a*a)},InOut:function(a){return(a*=2)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)}},Elastic:{In:function(a){return 0===a?0:1===a?1:-Math.pow(2,10*(a-1))*Math.sin(5*(a-1.1)*Math.PI)},Out:function(a){return 0===a?0:1===a?1:Math.pow(2,-10*a)*Math.sin(5*(a-.1)*Math.PI)+1},InOut:function(a){return 0===a?0:1===a?1:(a*=2)<1?-.5*Math.pow(2,10*(a-1))*Math.sin(5*(a-1.1)*Math.PI):.5*Math.pow(2,-10*(a-1))*Math.sin(5*(a-1.1)*Math.PI)+1}},Back:{In:function(a){var _=1.70158;return a*a*((_+1)*a-_)},Out:function(a){var _=1.70158;return--a*a*((_+1)*a+_)+1},InOut:function(a){var _=2.5949095;return(a*=2)<1?a*a*((_+1)*a-_)*.5:.5*((a-=2)*a*((_+1)*a+_)+2)}},Bounce:{In:function(a){return 1-pt.Bounce.Out(1-a)},Out:function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},InOut:function(a){return a<.5?.5*pt.Bounce.In(2*a):.5*pt.Bounce.Out(2*a-1)+.5}}};Ft="undefined"==typeof self&&"undefined"!=typeof process&&process.hrtime?function(){var a=process.hrtime();return 1e3*a[0]+a[1]/1e6}:"undefined"!=typeof self&&void 0!==self.performance&&void 0!==self.performance.now?self.performance.now.bind(self.performance):void 0!==Date.now?Date.now:function(){return(new Date).getTime()};var a,tn=Ft,un=function(){function a(){this._tweens={},this._tweensAddedDuringUpdate={}}return a.prototype.getAll=function(){var _=this;return Object.keys(this._tweens).map(function(n){return _._tweens[n]})},a.prototype.removeAll=function(){this._tweens={}},a.prototype.add=function(_){this._tweens[_.getId()]=_,this._tweensAddedDuringUpdate[_.getId()]=_},a.prototype.remove=function(_){delete this._tweens[_.getId()],delete this._tweensAddedDuringUpdate[_.getId()]},a.prototype.update=function(_,n){void 0===_&&(_=tn()),void 0===n&&(n=!1);var l=Object.keys(this._tweens);if(0===l.length)return!1;for(;l.length>0;){this._tweensAddedDuringUpdate={};for(var w=0;w1?E(a[n],a[n-1],n-l):E(a[w],a[w+1>n?n:w+1],l-w)},Bezier:function(a,_){for(var n=0,l=a.length-1,w=Math.pow,E=Wn.Utils.Bernstein,Ae=0;Ae<=l;Ae++)n+=w(1-_,l-Ae)*w(_,Ae)*a[Ae]*E(l,Ae);return n},CatmullRom:function(a,_){var n=a.length-1,l=n*_,w=Math.floor(l),E=Wn.Utils.CatmullRom;return a[0]===a[n]?(_<0&&(w=Math.floor(l=n*(1+_))),E(a[(w-1+n)%n],a[w],a[(w+1)%n],a[(w+2)%n],l-w)):_<0?a[0]-(E(a[0],a[0],a[1],a[1],-l)-a[0]):_>1?a[n]-(E(a[n],a[n],a[n-1],a[n-1],l-n)-a[n]):E(a[w?w-1:0],a[w],a[n1;l--)n*=l;return a[_]=n,n}),CatmullRom:function(a,_,n,l,w){var E=.5*(n-a),Ae=.5*(l-_),ft=w*w;return(2*_-2*n+E+Ae)*(w*ft)+(-3*_+3*n-2*E-Ae)*ft+E*w+_}}},Pn=function(){function a(){}return a.nextId=function(){return a._nextId++},a._nextId=0,a}(),kn=new un,Kt=function(){function a(_,n){void 0===n&&(n=kn),this._object=_,this._group=n,this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=pt.Linear.None,this._interpolationFunction=Wn.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._id=Pn.nextId(),this._isChainStopped=!1,this._goToEnd=!1}return a.prototype.getId=function(){return this._id},a.prototype.isPlaying=function(){return this._isPlaying},a.prototype.isPaused=function(){return this._isPaused},a.prototype.to=function(_,n){return this._valuesEnd=Object.create(_),void 0!==n&&(this._duration=n),this},a.prototype.duration=function(_){return this._duration=_,this},a.prototype.start=function(_){if(this._isPlaying)return this;if(this._group&&this._group.add(this),this._repeat=this._initialRepeat,this._reversed)for(var n in this._reversed=!1,this._valuesStartRepeat)this._swapEndStartRepeatValues(n),this._valuesStart[n]=this._valuesStartRepeat[n];return this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=void 0!==_?"string"==typeof _?tn()+parseFloat(_):_:tn(),this._startTime+=this._delayTime,this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat),this},a.prototype._setupProperties=function(_,n,l,w){for(var E in l){var Ae=_[E],ft=Array.isArray(Ae),jt=ft?"array":typeof Ae,zt=!ft&&Array.isArray(l[E]);if("undefined"!==jt&&"function"!==jt){if(zt){var yn=l[E];if(0===yn.length)continue;yn=yn.map(this._handleRelativeValue.bind(this,Ae)),l[E]=[Ae].concat(yn)}if("object"!==jt&&!ft||!Ae||zt)void 0===n[E]&&(n[E]=Ae),ft||(n[E]*=1),w[E]=zt?l[E].slice().reverse():n[E]||0;else{for(var jn in n[E]=ft?[]:{},Ae)n[E][jn]=Ae[jn];w[E]=ft?[]:{},this._setupProperties(Ae,n[E],l[E],w[E])}}}},a.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._group&&this._group.remove(this),this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this},a.prototype.end=function(){return this._goToEnd=!0,this.update(1/0),this},a.prototype.pause=function(_){return void 0===_&&(_=tn()),this._isPaused||!this._isPlaying||(this._isPaused=!0,this._pauseStart=_,this._group&&this._group.remove(this)),this},a.prototype.resume=function(_){return void 0===_&&(_=tn()),this._isPaused&&this._isPlaying?(this._isPaused=!1,this._startTime+=_-this._pauseStart,this._pauseStart=0,this._group&&this._group.add(this),this):this},a.prototype.stopChainedTweens=function(){for(var _=0,n=this._chainedTweens.length;_this._startTime+this._duration)return!1;n&&this.start(_)}if(this._goToEnd=!1,_1?1:w);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,Ae),this._onUpdateCallback&&this._onUpdateCallback(this._object,w),1===w){if(this._repeat>0){for(l in isFinite(this._repeat)&&this._repeat--,this._valuesStartRepeat)!this._yoyo&&"string"==typeof this._valuesEnd[l]&&(this._valuesStartRepeat[l]=this._valuesStartRepeat[l]+parseFloat(this._valuesEnd[l])),this._yoyo&&this._swapEndStartRepeatValues(l),this._valuesStart[l]=this._valuesStartRepeat[l];return this._yoyo&&(this._reversed=!this._reversed),this._startTime=void 0!==this._repeatDelayTime?_+this._repeatDelayTime:_+this._delayTime,this._onRepeatCallback&&this._onRepeatCallback(this._object),!0}this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var ft=0,jt=this._chainedTweens.length;ft(function(a){a.Prompt="PROMPT",a.Camera="CAMERA",a.Photos="PHOTOS"}(Hn||(Hn={})),Hn))(),Jn=(()=>(function(a){a.Rear="REAR",a.Front="FRONT"}(Jn||(Jn={})),Jn))(),Tn=(()=>(function(a){a.Uri="uri",a.Base64="base64",a.DataUrl="dataUrl"}(Tn||(Tn={})),Tn))(),ri=(()=>(function(a){a[a.Photo=0]="Photo",a[a.Video=1]="Video"}(ri||(ri={})),ri))(),zn=(()=>(function(a){a[a.Photo=0]="Photo",a[a.Video=1]="Video",a[a.All=2]="All"}(zn||(zn={})),zn))();class Se extends Pt.Uw{takePhoto(_){var n=this;return(0,Gn.Z)(function*(){return new Promise(function(){var l=(0,Gn.Z)(function*(w,E){_.webUseInput?n.takePhotoCameraInputExperience(_,w,E):n.takePhotoCameraExperience(_,w,E)});return function(w,E){return l.apply(this,arguments)}}())})()}recordVideo(_){var n=this;return(0,Gn.Z)(function*(){throw n.unimplemented("recordVideo is not implemented on Web.")})()}playVideo(_){var n=this;return(0,Gn.Z)(function*(){throw n.unimplemented("playVideo is not implemented on Web.")})()}chooseFromGallery(_){var n=this;return(0,Gn.Z)(function*(){return new Promise(function(){var l=(0,Gn.Z)(function*(w,E){n.galleryInputExperience(_,w,E)});return function(w,E){return l.apply(this,arguments)}}())})()}editPhoto(_){var n=this;return(0,Gn.Z)(function*(){throw n.unimplemented("editPhoto is not implemented on Web.")})()}editURIPhoto(_){var n=this;return(0,Gn.Z)(function*(){throw n.unimplemented("editURIPhoto is not implemented on Web.")})()}getPhoto(_){var n=this;return(0,Gn.Z)(function*(){return new Promise(function(){var l=(0,Gn.Z)(function*(w,E){if(_.webUseInput||_.source===Hn.Photos)n.fileInputExperience(_,w,E);else if(_.source===Hn.Prompt){let Ae=document.querySelector("pwa-action-sheet");Ae||(Ae=document.createElement("pwa-action-sheet"),document.body.appendChild(Ae)),Ae.header=_.promptLabelHeader||"Photo",Ae.cancelable=!1,Ae.options=[{title:_.promptLabelPhoto||"From Photos"},{title:_.promptLabelPicture||"Take Picture"}],Ae.addEventListener("onSelection",function(){var ft=(0,Gn.Z)(function*(jt){0===jt.detail?n.fileInputExperience(_,w,E):n.cameraExperience(_,w,E)});return function(jt){return ft.apply(this,arguments)}}())}else n.cameraExperience(_,w,E)});return function(w,E){return l.apply(this,arguments)}}())})()}pickImages(_){var n=this;return(0,Gn.Z)(function*(){return new Promise(function(){var l=(0,Gn.Z)(function*(w,E){n.multipleFileInputExperience(w,E)});return function(w,E){return l.apply(this,arguments)}}())})()}cameraExperience(_,n,l){var w=this;return(0,Gn.Z)(function*(){yield w._setupPWACameraModal(_.direction,E=>w._getCameraPhoto(E,_),()=>w.fileInputExperience(_,n,l),n,l)})()}fileInputExperience(_,n,l){let w=document.querySelector("#_capacitor-camera-input");const E=()=>{var Ae;null===(Ae=w.parentNode)||void 0===Ae||Ae.removeChild(w)};w||(w=document.createElement("input"),w.id="_capacitor-camera-input",w.type="file",w.hidden=!0,document.body.appendChild(w),w.addEventListener("change",Ae=>{const ft=w.files[0];let jt="jpeg";if("image/png"===ft.type?jt="png":"image/gif"===ft.type&&(jt="gif"),"dataUrl"===_.resultType||"base64"===_.resultType){const zt=new FileReader;zt.addEventListener("load",()=>{if("dataUrl"===_.resultType)n({dataUrl:zt.result,format:jt});else if("base64"===_.resultType){const yn=zt.result.split(",")[1];n({base64String:yn,format:jt})}E()}),zt.readAsDataURL(ft)}else n({webPath:URL.createObjectURL(ft),format:jt}),E()}),w.addEventListener("cancel",Ae=>{l(new Pt.xz("User cancelled photos app")),E()})),w.accept="image/*",w.capture=!0,_.source===Hn.Photos||_.source===Hn.Prompt?w.removeAttribute("capture"):_.direction===Jn.Front?w.capture="user":_.direction===Jn.Rear&&(w.capture="environment"),w.click()}multipleFileInputExperience(_,n){let l=document.querySelector("#_capacitor-camera-input-multiple");const w=()=>{var E;null===(E=l.parentNode)||void 0===E||E.removeChild(l)};l||(l=document.createElement("input"),l.id="_capacitor-camera-input-multiple",l.type="file",l.hidden=!0,l.multiple=!0,document.body.appendChild(l),l.addEventListener("change",E=>{const Ae=[];for(let ft=0;ft{n(new Pt.xz("User cancelled photos app")),w()})),l.accept="image/*",l.click()}_getCameraPhoto(_,n){return new Promise((l,w)=>{const E=new FileReader,Ae=this._getFileFormat(_);"uri"===n.resultType?l({webPath:URL.createObjectURL(_),format:Ae,saved:!1}):(E.readAsDataURL(_),E.onloadend=()=>{const ft=E.result;l("dataUrl"===n.resultType?{dataUrl:ft,format:Ae,saved:!1}:{base64String:ft.split(",")[1],format:Ae,saved:!1})},E.onerror=ft=>{w(ft)})})}takePhotoCameraExperience(_,n,l){var w=this;return(0,Gn.Z)(function*(){yield w._setupPWACameraModal(_.cameraDirection,E=>{var Ae;return w._buildPhotoMediaResult(E,null!==(Ae=_.includeMetadata)&&void 0!==Ae&&Ae)},()=>w.takePhotoCameraInputExperience(_,n,l),n,l)})()}takePhotoCameraInputExperience(_,n,l){var w=this;const E=this._createFileInput("_capacitor-camera-input-takephoto"),Ae=()=>{var ft;null===(ft=E.parentNode)||void 0===ft||ft.removeChild(E)};E.onchange=function(){var ft=(0,Gn.Z)(function*(jt){var zt;if(!w._validateFileInput(E,l,Ae))return;const yn=E.files[0];n(yield w._buildPhotoMediaResult(yn,null!==(zt=_.includeMetadata)&&void 0!==zt&&zt)),Ae()});return function(jt){return ft.apply(this,arguments)}}(),E.oncancel=()=>{l(new Pt.xz("User cancelled photos app")),Ae()},E.accept="image/*",E.capture=_.cameraDirection===Jn.Front?"user":"environment",E.click()}galleryInputExperience(_,n,l){var E,Ae,w=this;const ft=this._createFileInput("_capacitor-camera-input-gallery");ft.multiple=null!==(E=_.allowMultipleSelection)&&void 0!==E&&E;const jt=()=>{var yn;null===(yn=ft.parentNode)||void 0===yn||yn.removeChild(ft)};ft.onchange=function(){var yn=(0,Gn.Z)(function*(jn){var ei;if(!w._validateFileInput(ft,l,jt))return;const yi=[];for(let Er=0;Er{l(new Pt.xz("User cancelled photos app")),jt()};const zt=null!==(Ae=_.mediaType)&&void 0!==Ae?Ae:zn.Photo;ft.accept=zt===zn.Photo?"image/*":zt===zn.Video?"video/*":"image/*,video/*",ft.click()}_getFileFormat(_){return"image/png"===_.type?"png":"image/gif"===_.type?"gif":_.type.startsWith("video/")?_.type.split("/")[1]:_.type.startsWith("image/")?"jpeg":_.type.split("/")[1]||"jpeg"}_buildPhotoMediaResult(_,n){var l=this;return(0,Gn.Z)(function*(){const w=l._getFileFormat(_),E=yield l._getBase64FromFile(_),Ae={type:ri.Photo,thumbnail:E,webPath:URL.createObjectURL(_),saved:!1};if(n){const ft=yield l._getImageResolution(_);Ae.metadata={format:w,resolution:ft,size:_.size,creationDate:"lastModified"in _?new Date(_.lastModified).toISOString():(new Date).toISOString()}}return Ae})()}_validateFileInput(_,n,l){return!(!_.files||0===_.files.length)||(n(new Pt.xz(_.multiple?"No files selected":"No file selected")),l(),!1)}_setupPWACameraModal(_,n,l,w,E){return(0,Gn.Z)(function*(){if(customElements.get("pwa-camera-modal")){const Ae=document.createElement("pwa-camera-modal");Ae.facingMode=_===Jn.Front?"user":"environment",document.body.appendChild(Ae);try{yield Ae.componentOnReady(),Ae.addEventListener("onPhoto",function(){var ft=(0,Gn.Z)(function*(jt){const zt=jt.detail;null===zt?E(new Pt.xz("User cancelled photos app")):zt instanceof Error?E(zt):w(yield n(zt)),Ae.dismiss(),document.body.removeChild(Ae)});return function(jt){return ft.apply(this,arguments)}}()),Ae.present()}catch(ft){l()}}else console.error("Unable to load PWA Element 'pwa-camera-modal'. See the docs: https://capacitorjs.com/docs/web/pwa-elements."),l()})()}_createFileInput(_){let n=document.querySelector(`#${_}`);return n||(n=document.createElement("input"),n.id=_,n.type="file",n.hidden=!0,document.body.appendChild(n)),n}_getImageResolution(_){return(0,Gn.Z)(function*(){try{const n=yield createImageBitmap(_),l=`${n.width}x${n.height}`;return n.close(),l}catch(n){return void console.warn("Failed to get image resolution:",n)}})()}_getBase64FromFile(_){return new Promise((n,l)=>{const w=new FileReader;w.onloadend=()=>{const Ae=w.result.split(",")[1];n(Ae)},w.onerror=E=>{l(E)},w.readAsDataURL(_)})}_getVideoMetadata(_){return new Promise(n=>{const l=document.createElement("video");l.preload="metadata",l.muted=!0,l.onloadedmetadata=()=>{const w=Math.min(1,.1*l.duration);l.currentTime=w},l.onseeked=()=>{const w={resolution:`${l.videoWidth}x${l.videoHeight}`,duration:l.duration};try{const E=document.createElement("canvas");E.width=l.videoWidth,E.height=l.videoHeight;const Ae=E.getContext("2d");Ae&&(Ae.drawImage(l,0,0,E.width,E.height),w.thumbnail=E.toDataURL("image/jpeg",.8).split(",")[1])}catch(E){console.warn("Failed to generate video thumbnail:",E)}URL.revokeObjectURL(l.src),n(w)},l.onerror=()=>{URL.revokeObjectURL(l.src),n({})},l.src=URL.createObjectURL(_)})}checkPermissions(){var _=this;return(0,Gn.Z)(function*(){if("undefined"==typeof navigator||!navigator.permissions)throw _.unavailable("Permissions API not available in this browser");try{return{camera:(yield window.navigator.permissions.query({name:"camera"})).state,photos:"granted"}}catch(n){throw _.unavailable("Camera permissions are not available in this browser")}})()}requestPermissions(){var _=this;return(0,Gn.Z)(function*(){throw _.unimplemented("Not implemented on web.")})()}pickLimitedLibraryPhotos(){var _=this;return(0,Gn.Z)(function*(){throw _.unavailable("Not implemented on web.")})()}getLimitedLibraryPhotos(){var _=this;return(0,Gn.Z)(function*(){throw _.unavailable("Not implemented on web.")})()}}new Se;const Ie=(0,Pt.fo)("Camera",{web:()=>new Se});var vt=p(7703),Vt=p(5245),Fn=p(8966);function ve(a,_,n,l){var Ae,w=arguments.length,E=w<3?_:null===l?l=Object.getOwnPropertyDescriptor(_,n):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)E=Reflect.decorate(a,_,n,l);else for(var ft=a.length-1;ft>=0;ft--)(Ae=a[ft])&&(E=(w<3?Ae(E):w>3?Ae(_,n,E):Ae(_,n))||E);return w>3&&E&&Object.defineProperty(_,n,E),E}function Re(a,_){return function(n,l){_(n,l,a)}}var R=p(4782),be=p(1884),Ye=p(7122);function Ct(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"ngx-material-timepicker-24-hours-face",17),e.NdJ("hourChange",function(w){return e.CHM(n),e.oxw(2).onHourChange(w)})("hourSelected",function(w){return e.CHM(n),e.oxw(2).onHourSelected(w)}),e.ALo(1,"async"),e.qZA()}if(2&a){const n=e.oxw(2);e.Q6J("selectedHour",e.lcZ(1,4,n.selectedHour))("minTime",n.minTime)("maxTime",n.maxTime)("format",n.format)}}function _n(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"ngx-material-timepicker-12-hours-face",18),e.NdJ("hourChange",function(w){return e.CHM(n),e.oxw(2).onHourChange(w)})("hourSelected",function(w){return e.CHM(n),e.oxw(2).onHourSelected(w)}),e.ALo(1,"async"),e.ALo(2,"async"),e.qZA()}if(2&a){const n=e.oxw(2);e.Q6J("selectedHour",e.lcZ(1,4,n.selectedHour))("period",e.lcZ(2,6,n.selectedPeriod))("minTime",n.minTime)("maxTime",n.maxTime)}}function wn(a,_){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Ct,2,6,"ngx-material-timepicker-24-hours-face",15),e.YNc(2,_n,3,8,"ng-template",null,16,e.W1O),e.qZA()),2&a){const n=e.MAs(3),l=e.oxw();e.xp6(1),e.Q6J("ngIf",24===l.format)("ngIfElse",n)}}function pi(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"ngx-material-timepicker-minutes-face",19),e.NdJ("minuteChange",function(w){return e.CHM(n),e.oxw().onMinuteChange(w)}),e.ALo(1,"async"),e.ALo(2,"async"),e.ALo(3,"async"),e.qZA()}if(2&a){const n=e.oxw();let l;e.Q6J("selectedMinute",e.lcZ(1,7,n.selectedMinute))("selectedHour",null==(l=e.lcZ(2,9,n.selectedHour))?null:l.time)("minTime",n.minTime)("maxTime",n.maxTime)("format",n.format)("period",e.lcZ(3,11,n.selectedPeriod))("minutesGap",n.minutesGap)}}function xi(a,_){1&a&&e.GkF(0)}function Ri(a,_){1&a&&e.GkF(0)}function mi(a,_){1&a&&(e.TgZ(0,"ngx-material-timepicker-button"),e._uU(1,"Cancel"),e.qZA())}function di(a,_){1&a&&(e.TgZ(0,"ngx-material-timepicker-button"),e._uU(1,"Ok"),e.qZA())}const Ki=function(a){return{"timepicker-backdrop-overlay--transparent":a}};function hr(a,_){1&a&&(e.O4$(),e.TgZ(0,"svg",2),e._UZ(1,"path",3),e.qZA())}const rr=[[["","ngxMaterialTimepickerToggleIcon",""]]],Ai=["[ngxMaterialTimepickerToggleIcon]"],Ei=["clockFace"],Tr=["clockHand"],Pi=function(a){return{transform:a}},qi=function(a,_){return{active:a,disabled:_}};function Pr(a,_){if(1&a&&(e.TgZ(0,"div",9)(1,"span",10),e.ALo(2,"activeHour"),e._uU(3),e.ALo(4,"timeLocalizer"),e.qZA()()),2&a){const n=_.$implicit,l=e.oxw(2);e.Q6J("ngStyle",e.VKq(11,Pi,"rotateZ("+n.angle+"deg) translateX(-50%)")),e.xp6(1),e.Q6J("ngStyle",e.VKq(13,Pi,"rotateZ(-"+n.angle+"deg)"))("ngClass",e.WLB(15,qi,e.Dn7(2,4,n.time,l.selectedTime.time,l.isClockFaceDisabled),n.disabled)),e.xp6(2),e.hij(" ",e.xi3(4,8,n.time,l.timeUnit.HOUR)," ")}}function Dr(a,_){if(1&a&&(e.TgZ(0,"div",13)(1,"span",10),e.ALo(2,"activeHour"),e._uU(3),e.ALo(4,"timeLocalizer"),e.qZA()()),2&a){const n=_.$implicit,l=e.oxw(3);e.Udp("height",l.innerClockFaceSize,"px"),e.Q6J("ngStyle",e.VKq(13,Pi,"rotateZ("+n.angle+"deg) translateX(-50%)")),e.xp6(1),e.Q6J("ngStyle",e.VKq(15,Pi,"rotateZ(-"+n.angle+"deg)"))("ngClass",e.WLB(17,qi,e.Dn7(2,6,n.time,null==l.selectedTime?null:l.selectedTime.time,l.isClockFaceDisabled),n.disabled)),e.xp6(2),e.hij(" ",e.xi3(4,10,n.time,l.timeUnit.HOUR),"")}}function Ji(a,_){if(1&a&&(e.TgZ(0,"div",11),e.YNc(1,Dr,5,20,"div",12),e.ALo(2,"slice"),e.qZA()),2&a){const n=e.oxw(2);e.Udp("top","calc(50% - "+n.innerClockFaceSize+"px)"),e.xp6(1),e.Q6J("ngForOf",e.Dn7(2,4,n.faceTime,12,24))("ngForTrackBy",n.trackByTime)}}function fi(a,_){if(1&a&&(e.TgZ(0,"div",6),e.YNc(1,Pr,5,18,"div",7),e.ALo(2,"slice"),e.YNc(3,Ji,3,8,"div",8),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.Dn7(2,3,n.faceTime,0,12))("ngForTrackBy",n.trackByTime),e.xp6(2),e.Q6J("ngIf",n.faceTime.length>12)}}function Mr(a,_){if(1&a&&(e.TgZ(0,"div",9)(1,"span",10),e.ALo(2,"activeMinute"),e._uU(3),e.ALo(4,"timeLocalizer"),e.ALo(5,"minutesFormatter"),e.qZA()()),2&a){const n=_.$implicit,l=e.oxw(2);e.Q6J("ngStyle",e.VKq(15,Pi,"rotateZ("+n.angle+"deg) translateX(-50%)")),e.xp6(1),e.Q6J("ngStyle",e.VKq(17,Pi,"rotateZ(-"+n.angle+"deg)"))("ngClass",e.WLB(19,qi,e.gM2(2,4,n.time,null==l.selectedTime?null:l.selectedTime.time,l.minutesGap,l.isClockFaceDisabled),n.disabled)),e.xp6(2),e.hij(" ",e.xi3(4,9,e.xi3(5,12,n.time,l.minutesGap),l.timeUnit.MINUTE),"")}}function jr(a,_){if(1&a&&(e.TgZ(0,"div",6),e.YNc(1,Mr,6,22,"div",7),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.faceTime)("ngForTrackBy",n.trackByTime)}}const bo=function(a){return{"clock-face__clock-hand_minute":a}},kr=["*"];function Ho(a,_){1&a&&e.GkF(0)}function Hr(a,_){1&a&&(e.TgZ(0,"small",10),e._uU(1," * use arrows ("),e.TgZ(2,"span"),e._uU(3,"\u21c5"),e.qZA(),e._uU(4,") to change the time"),e.qZA())}const Ur=function(a){return{"timepicker-dial__hint-container--hidden":a}};function Qr(a,_){if(1&a&&(e.TgZ(0,"div",7),e.YNc(1,Ho,1,0,"ng-container",8),e.YNc(2,Hr,5,0,"ng-template",null,9,e.W1O),e.qZA()),2&a){const n=e.MAs(3),l=e.oxw();e.Q6J("ngClass",e.VKq(2,Ur,!l.isHintVisible)),e.xp6(1),e.Q6J("ngTemplateOutlet",l.editableHintTmpl?l.editableHintTmpl:n)}}const xo=function(a){return{"timepicker-dial__period--hidden":a}},uo=function(a){return{"timepicker-dial__item_active":a}};function nr(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"input",2),e.NdJ("ngModelChange",function(w){return e.CHM(n),e.oxw().time=w})("input",function(){return e.CHM(n),e.oxw().updateTime()})("focus",function(w){e.CHM(n);const E=e.oxw();return E.saveTimeAndChangeTimeUnit(w,E.timeUnit)}),e.ALo(1,"timeLocalizer"),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("ngClass",e.VKq(7,uo,n.isActive))("ngModel",e.xi3(1,4,n.time,n.timeUnit))("disabled",n.disabled)("timepickerAutofocus",n.isActive)}}function fo(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"input",3),e.NdJ("ngModelChange",function(w){return e.CHM(n),e.oxw().onModelChange(w)})("input",function(){return e.CHM(n),e.oxw().updateTime()})("focus",function(w){e.CHM(n);const E=e.oxw();return E.saveTimeAndChangeTimeUnit(w,E.timeUnit)})("keydown",function(w){return e.CHM(n),e.oxw().onKeydown(w)})("keypress",function(w){return e.CHM(n),e.oxw().changeTimeByKeyboard(w)}),e.ALo(1,"timeLocalizer"),e.ALo(2,"timeParser"),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("ngClass",e.VKq(11,uo,n.isActive))("ngModel",e.Dn7(1,4,e.xi3(2,8,n.time,n.timeUnit),n.timeUnit,!0))("disabled",n.disabled)("timepickerAutofocus",n.isActive)}}function vr(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",3),e.NdJ("@scaleInOut.done",function(){return e.CHM(n),e.oxw().animationDone()}),e.TgZ(1,"p"),e._uU(2,"Current time would be invalid in this period."),e.qZA()()}2&a&&e.Q6J("@scaleInOut",void 0)}function wo(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"ngx-timepicker-period-selector",9),e.NdJ("periodSelected",function(w){return e.CHM(n),e.oxw().changePeriod(w)}),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("selectedPeriod",n.period)("disabled",n.disabled||n.isChangePeriodDisabled)}}function To(a,_){1&a&&e.GkF(0)}const Do=function(a){return{"ngx-timepicker__toggle--left":a}};function ko(a,_){if(1&a&&(e.TgZ(0,"ngx-material-timepicker-toggle",10)(1,"span",11),e.YNc(2,To,1,0,"ng-container",12),e.qZA()()),2&a){const n=e.oxw(),l=e.MAs(10),w=e.MAs(12);e.Q6J("ngClass",e.VKq(4,Do,"left"===n.buttonAlign))("for",l)("disabled",n.disabled),e.xp6(2),e.Q6J("ngTemplateOutlet",n.toggleIcon||w)}}function go(a,_){1&a&&(e.O4$(),e.TgZ(0,"svg",13),e._UZ(1,"path",14),e.qZA())}const Yr=function(a){return{"ngx-timepicker--disabled":a}},Xr=function(a){return{"ngx-timepicker-control--active":a}},eo=function(a){return{"period-selector__button--active":a}};function Mo(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"ul",6)(1,"li")(2,"button",7),e.NdJ("click",function(){e.CHM(n);const w=e.oxw();return w.select(w.period.AM)}),e._uU(3),e.qZA()(),e.TgZ(4,"li")(5,"button",7),e.NdJ("click",function(){e.CHM(n);const w=e.oxw();return w.select(w.period.PM)}),e._uU(6),e.qZA()()()}if(2&a){const n=e.oxw();e.Q6J("@scaleInOut",void 0)("timepickerAutofocus",!0),e.xp6(2),e.Q6J("ngClass",e.VKq(6,eo,n.localizedPeriod===n.meridiems[0])),e.xp6(1),e.Oqu(n.meridiems[0]),e.xp6(2),e.Q6J("ngClass",e.VKq(8,eo,n.localizedPeriod===n.meridiems[1])),e.xp6(1),e.Oqu(n.meridiems[1])}}function _o(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",8),e.NdJ("click",function(){return e.CHM(n),e.oxw().backdropClick()}),e.qZA()}}const Gr=function(a){return{"period-control__button--disabled":a}};function Ao(a,_){1&a&&e.GkF(0)}function to(a,_){if(1&a&&(e.TgZ(0,"div",3),e.YNc(1,Ao,1,0,"ng-container",4),e.qZA()),2&a){const n=e.oxw(),l=e.MAs(4);e.Q6J("ngxAppendToInput",n.inputElement),e.xp6(1),e.Q6J("ngTemplateOutlet",l)}}function vo(a,_){1&a&&e.GkF(0)}function mt(a,_){if(1&a&&e.YNc(0,vo,1,0,"ng-container",4),2&a){e.oxw();const n=e.MAs(4);e.Q6J("ngTemplateOutlet",n)}}function wt(a,_){1&a&&e.Hsn(0)}let Oe=class{constructor(){this.backdropClickSubject=new A.x,this.keydownEventSubject=new A.x}get backdropClick(){return this.backdropClickSubject.asObservable().pipe((0,R.d)({bufferSize:1,refCount:!0}))}get keydownEvent(){return this.keydownEventSubject.asObservable().pipe((0,R.d)({bufferSize:1,refCount:!0}))}dispatchEvent(_){switch(_.type){case"click":this.backdropClickSubject.next(_);break;case"keydown":this.keydownEventSubject.next(_);break;default:throw new Error("no such event type")}}};Oe.\u0275fac=function(_){return new(_||Oe)},Oe.\u0275prov=e.Yz7({token:Oe,factory:function(a){return Oe.\u0275fac(a)},providedIn:"root"}),Oe.ngInjectableDef=(0,e.Yz7)({factory:function(){return new Oe},token:Oe,providedIn:"root"});let tt=class{constructor(_,n,l,w){this.cfr=_,this.appRef=n,this.injector=l,this.document=w}appendTimepickerToBody(_,n){this.componentRef=this.cfr.resolveComponentFactory(_).create(this.injector),Object.keys(n).forEach(w=>this.componentRef.instance[w]=n[w]),this.appRef.attachView(this.componentRef.hostView),this.document.body.appendChild(this.componentRef.hostView.rootNodes[0])}destroyTimepicker(){this.componentRef.destroy(),this.appRef.detachView(this.componentRef.hostView)}};tt.\u0275fac=function(_){return new(_||tt)(e.LFG(e._Vd),e.LFG(e.z2F),e.LFG(e.zs3),e.LFG(u.K0,8))},tt.\u0275prov=e.Yz7({token:tt,factory:function(a){return tt.\u0275fac(a)},providedIn:"root"}),tt.ngInjectableDef=(0,e.Yz7)({factory:function(){return new tt((0,e.LFG)(e._Vd),(0,e.LFG)(e.z2F),(0,e.LFG)(e.gxx),(0,e.LFG)(u.K0,8))},token:tt,providedIn:"root"}),tt=ve([Re(3,(0,e.FiY)()),Re(3,(0,e.tBr)(u.K0))],tt);var en=(()=>(function(a){a[a.HOUR=0]="HOUR",a[a.MINUTE=1]="MINUTE"}(en||(en={})),en))(),xn=(()=>(function(a){a.AM="AM",a.PM="PM"}(xn||(xn={})),xn))(),gi=(()=>(function(a){a.TWELVE="hh:mm a",a.TWELVE_SHORT="h:m a",a.TWENTY_FOUR="HH:mm",a.TWENTY_FOUR_SHORT="H:m"}(gi||(gi={})),gi))();function Fi(a,_,n="minutes"){return"hours"===n?a.hour>=_.hour:"minutes"===n?a.hasSame(_,n)||a.valueOf()>_.valueOf():void 0}function Ir(a,_,n="minutes"){return"hours"===n?a.hour<=_.hour:"minutes"===n?a.hasSame(_,n)||a.valueOf()<=_.valueOf():void 0}function pr(a){return!!([46,8,9,27,13].some(_=>_===a.keyCode)||65==a.keyCode&&(!0===a.ctrlKey||!0===a.metaKey)||67==a.keyCode&&(!0===a.ctrlKey||!0===a.metaKey)||88==a.keyCode&&(!0===a.ctrlKey||!0===a.metaKey)||a.keyCode>=35&&a.keyCode<=40)||!((a.keyCode<48||a.keyCode>57)&&(a.keyCode<96||a.keyCode>105))}let oi=(()=>{class a{static parseTime(n,l){const{numberingSystem:w,locale:E}=a.getLocaleOptionsByTime(n,l),ft=2===n.split(" ").length?gi.TWELVE_SHORT:gi.TWENTY_FOUR_SHORT;return Ye.ou.fromFormat(n,ft,{numberingSystem:w,locale:E})}static formatTime(n,l){if(!n)return"Invalid Time";const{format:w}=l,E=a.parseTime(n,l).setLocale(a.DEFAULT_LOCALE);return 24!==w?E.toLocaleString(Object.assign({},Ye.ou.TIME_SIMPLE,{hour12:24!==w,numberingSystem:a.DEFAULT_NUMBERING_SYSTEM})).replace(/\u200E/g,"").replace(/\u202F/g," "):E.toISOTime({includeOffset:!1,suppressMilliseconds:!0,suppressSeconds:!0}).replace(/\u200E/g,"").replace(/\u202F/g," ")}static toLocaleTimeString(n,l={}){const{format:w=a.DEFAULT_FORMAT,locale:E=a.DEFAULT_LOCALE}=l,ft=Object.assign({},Ye.ou.TIME_SIMPLE,{hourCycle:24===w?"h23":"h12"}),jt=24===w?gi.TWENTY_FOUR_SHORT:gi.TWELVE_SHORT,zt=Object.assign({locale:l.locale,numberingSystem:l.numberingSystem},ft);return Ye.ou.fromFormat(n,jt).setLocale(E).toLocaleString(zt).replace(/\u202F/g," ")}static isTimeAvailable(n,l,w,E,Ae,ft){if(!n)return;const jt=this.parseTime(n,{format:ft}),zt=jt.minute;if(Ae&&zt==zt&&zt%Ae!=0)throw new Error(`Your minutes - ${zt} doesn't match your minutesGap - ${Ae}`);const yn=l&&!w&&Fi(jt,l,E),jn=w&&!l&&Ir(jt,w,E),ei=l&&w&&function no(a,_,n,l="minutes"){return"hours"===l?Ir(a,n,l)&&Fi(a,_,l):"minutes"===l?Ir(a,n)&&Fi(a,_):void 0}(jt,l,w,E);return yn||jn||ei||!l&&!w}static formatHour(n,l,w){if(24===l)return n;const E=w===xn.AM?n:n+12;return w===xn.AM&&12===E?0:w===xn.PM&&24===E?12:E}static fromDateTimeToString(n,l){const w=24===l?gi.TWENTY_FOUR:gi.TWELVE;return n.reconfigure({numberingSystem:a.DEFAULT_NUMBERING_SYSTEM,locale:a.DEFAULT_LOCALE}).toFormat(w).replace(/\u202F/g," ")}static getLocaleOptionsByTime(n,l){const w={numberingSystem:l.numberingSystem,locale:l.locale},E={numberingSystem:a.DEFAULT_NUMBERING_SYSTEM,locale:a.DEFAULT_LOCALE};return isNaN(parseInt(n,10))?w:E}}return a.DEFAULT_FORMAT=12,a.DEFAULT_LOCALE="en-US",a.DEFAULT_NUMBERING_SYSTEM="latn",a})();const yr={time:12,angle:360},mr={time:0,angle:360};let or=class{constructor(){this.hourSubject=new z.X(yr),this.minuteSubject=new z.X(mr),this.periodSubject=new z.X(xn.AM)}set hour(_){this.hourSubject.next(_)}get selectedHour(){return this.hourSubject.asObservable()}set minute(_){this.minuteSubject.next(_)}get selectedMinute(){return this.minuteSubject.asObservable()}set period(_){(_===xn.AM||_===xn.PM)&&this.periodSubject.next(_)}get selectedPeriod(){return this.periodSubject.asObservable()}setDefaultTimeIfAvailable(_,n,l,w,E){try{oi.isTimeAvailable(_,n,l,"minutes",E)&&this.setDefaultTime(_,w)}catch(Ae){console.error(Ae)}}getFullTime(_){const n=this.hourSubject.getValue().time,l=this.minuteSubject.getValue().time,ft=`${null!=n?n:yr.time}:${null!=l?l:mr.time} ${12===_?this.periodSubject.getValue():""}`.trim();return oi.formatTime(ft,{format:_})}setDefaultTime(_,n){const l=oi.parseTime(_,{format:n}).toJSDate();if(Ye.ou.fromJSDate(l).isValid){const w=_.substr(_.length-2).toUpperCase(),E=l.getHours();this.hour=Object.assign({},yr,{time:io(E,w)}),this.minute=Object.assign({},mr,{time:l.getMinutes()}),this.period=w}else this.resetTime()}resetTime(){this.hour=Object.assign({},yr),this.minute=Object.assign({},mr),this.period=xn.AM}};function io(a,_){switch(_){case xn.AM:return 0===a?12:a;case xn.PM:return 12===a?12:a-12;default:return a}}or.\u0275fac=function(_){return new(_||or)},or.\u0275prov=e.Yz7({token:or,factory:function(a){return or.\u0275fac(a)},providedIn:"root"}),or.ngInjectableDef=(0,e.Yz7)({factory:function(){return new or},token:or,providedIn:"root"});const dr=new e.OlP("TimeLocale",{providedIn:"root",factory:()=>oi.DEFAULT_LOCALE}),$i=new e.OlP("NumberingSystem",{providedIn:"root",factory:()=>oi.DEFAULT_NUMBERING_SYSTEM});var we=(()=>(function(a){a.ENTER="enter",a.LEAVE="leave"}(we||(we={})),we))();let Xe=(()=>{let a=class{constructor(n,l,w){this.timepickerService=n,this.eventService=l,this.locale=w,this.timeUnit=en,this.activeTimeUnit=en.HOUR,this.unsubscribe=new A.x}set defaultTime(n){this._defaultTime=n,this.setDefaultTime(n)}get defaultTime(){return this._defaultTime}onKeydown(n){this.eventService.dispatchEvent(n),n.stopPropagation()}ngOnInit(){this.animationState=!this.disableAnimation&&we.ENTER,this.defineTime(),this.selectedHour=this.timepickerService.selectedHour.pipe((0,R.d)({bufferSize:1,refCount:!0})),this.selectedMinute=this.timepickerService.selectedMinute.pipe((0,R.d)({bufferSize:1,refCount:!0})),this.selectedPeriod=this.timepickerService.selectedPeriod.pipe((0,R.d)({bufferSize:1,refCount:!0})),this.timepickerBaseRef.timeUpdated.pipe((0,H.R)(this.unsubscribe)).subscribe(this.setDefaultTime.bind(this))}onHourChange(n){this.timepickerService.hour=n,this.onTimeChange()}onHourSelected(n){this.hoursOnly||this.changeTimeUnit(en.MINUTE),this.timepickerBaseRef.hourSelected.next(n)}onMinuteChange(n){this.timepickerService.minute=n,this.onTimeChange()}changePeriod(n){this.timepickerService.period=n,this.onTimeChange()}changeTimeUnit(n){this.activeTimeUnit=n}setTime(){this.timepickerBaseRef.timeSet.next(this.timepickerService.getFullTime(this.format)),this.close()}close(){this.disableAnimation?this.timepickerBaseRef.close():this.animationState=we.LEAVE}animationDone(n){"done"===n.phaseName&&n.toState===we.LEAVE&&this.timepickerBaseRef.close()}ngOnDestroy(){this.unsubscribe.next(),this.unsubscribe.complete()}setDefaultTime(n){this.timepickerService.setDefaultTimeIfAvailable(n,this.minTime,this.maxTime,this.format,this.minutesGap)}defineTime(){const n=this.minTime;if(n&&!this.time&&!this.defaultTime){const l=oi.fromDateTimeToString(n,this.format);this.setDefaultTime(l)}}onTimeChange(){const n=oi.toLocaleTimeString(this.timepickerService.getFullTime(this.format),{locale:this.locale,format:this.format});this.timepickerBaseRef.timeChanged.emit(n)}};return a.\u0275fac=function(n){return new(n||a)(e.Y36(or),e.Y36(Oe),e.Y36(dr))},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-material-timepicker-container"]],hostBindings:function(n,l){1&n&&e.NdJ("keydown",function(E){return l.onKeydown(E)})},inputs:{defaultTime:"defaultTime"},features:[e._Bn([or])],decls:22,vars:31,consts:[[1,"timepicker-backdrop-overlay",3,"overlay","ngClass"],[1,"timepicker-overlay"],[3,"appendToInput","inputElement","ngxMaterialTimepickerTheme"],[1,"timepicker",3,"ngClass"],[1,"timepicker__header"],[3,"format","hour","minute","period","activeTimeUnit","minTime","maxTime","isEditable","editableHintTmpl","minutesGap","hoursOnly","periodChanged","timeUnitChanged","hourChanged","minuteChanged"],[1,"timepicker__main-content"],[1,"timepicker__body",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"selectedMinute","selectedHour","minTime","maxTime","format","period","minutesGap","minuteChange",4,"ngSwitchCase"],[1,"timepicker__actions"],[3,"click"],[4,"ngTemplateOutlet"],["cancelBtnDefault",""],["confirmBtnDefault",""],[3,"selectedHour","minTime","maxTime","format","hourChange","hourSelected",4,"ngIf","ngIfElse"],["ampmHours",""],[3,"selectedHour","minTime","maxTime","format","hourChange","hourSelected"],[3,"selectedHour","period","minTime","maxTime","hourChange","hourSelected"],[3,"selectedMinute","selectedHour","minTime","maxTime","format","period","minutesGap","minuteChange"]],template:function(n,l){if(1&n&&(e._UZ(0,"div",0),e.TgZ(1,"div",1)(2,"ngx-material-timepicker-content",2)(3,"div",3),e.NdJ("@timepicker.done",function(E){return l.animationDone(E)}),e.TgZ(4,"header",4)(5,"ngx-material-timepicker-dial",5),e.NdJ("periodChanged",function(E){return l.changePeriod(E)})("timeUnitChanged",function(E){return l.changeTimeUnit(E)})("hourChanged",function(E){return l.onHourChange(E)})("minuteChanged",function(E){return l.onMinuteChange(E)}),e.ALo(6,"async"),e.ALo(7,"async"),e.ALo(8,"async"),e.qZA()(),e.TgZ(9,"div",6)(10,"div",7),e.YNc(11,wn,4,2,"div",8),e.YNc(12,pi,4,13,"ngx-material-timepicker-minutes-face",9),e.qZA(),e.TgZ(13,"div",10)(14,"div",11),e.NdJ("click",function(){return l.close()}),e.YNc(15,xi,1,0,"ng-container",12),e.qZA(),e.TgZ(16,"div",11),e.NdJ("click",function(){return l.setTime()}),e.YNc(17,Ri,1,0,"ng-container",12),e.qZA()()()()()(),e.YNc(18,mi,2,0,"ng-template",null,13,e.W1O),e.YNc(20,di,2,0,"ng-template",null,14,e.W1O)),2&n){const w=e.MAs(19),E=e.MAs(21);let Ae,ft;e.Q6J("overlay",l.preventOverlayClick)("ngClass",e.VKq(29,Ki,l.appendToInput)),e.xp6(2),e.Q6J("appendToInput",l.appendToInput)("inputElement",l.inputElement)("ngxMaterialTimepickerTheme",l.theme),e.xp6(1),e.Q6J("@timepicker",l.animationState)("ngClass",l.timepickerClass),e.xp6(2),e.Q6J("format",l.format)("hour",null==(Ae=e.lcZ(6,23,l.selectedHour))?null:Ae.time)("minute",null==(ft=e.lcZ(7,25,l.selectedMinute))?null:ft.time)("period",e.lcZ(8,27,l.selectedPeriod))("activeTimeUnit",l.activeTimeUnit)("minTime",l.minTime)("maxTime",l.maxTime)("isEditable",l.enableKeyboardInput)("editableHintTmpl",l.editableHintTmpl)("minutesGap",l.minutesGap)("hoursOnly",l.hoursOnly),e.xp6(5),e.Q6J("ngSwitch",l.activeTimeUnit),e.xp6(1),e.Q6J("ngSwitchCase",l.timeUnit.HOUR),e.xp6(1),e.Q6J("ngSwitchCase",l.timeUnit.MINUTE),e.xp6(3),e.Q6J("ngTemplateOutlet",l.cancelBtnTmpl?l.cancelBtnTmpl:w),e.xp6(2),e.Q6J("ngTemplateOutlet",l.confirmBtnTmpl?l.confirmBtnTmpl:E)}},directives:function(){return[Ni,u.mk,Qo,ir,ni,u.RF,u.n9,u.O5,Sr,Xi,lr,u.tP,fn]},pipes:function(){return[u.Ov]},styles:['[_nghost-%COMP%]{--body-background-color:#fff;--primary-font-family:"Roboto",sans-serif;--button-color:deepskyblue;--dial-active-color:#fff;--dial-inactive-color:rgba(255, 255, 255, .5);--dial-background-color:deepskyblue;--dial-editable-active-color:deepskyblue;--dial-editable-background-color:#fff;--clock-face-time-active-color:#fff;--clock-face-time-inactive-color:#6c6c6c;--clock-face-inner-time-inactive-color:#929292;--clock-face-time-disabled-color:#c5c5c5;--clock-face-background-color:#f0f0f0;--clock-hand-color:deepskyblue}.timepicker-backdrop-overlay[_ngcontent-%COMP%]{position:fixed;top:0;bottom:0;right:0;left:0;background-color:rgba(0,0,0,.3);z-index:999;pointer-events:auto}.timepicker-backdrop-overlay--transparent[_ngcontent-%COMP%]{background-color:transparent}.timepicker-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;z-index:999;pointer-events:none}.timepicker[_ngcontent-%COMP%]{width:300px;border-radius:2px;box-shadow:rgba(0,0,0,.25) 0 14px 45px,rgba(0,0,0,.22) 0 10px 18px;outline:0;position:static;z-index:999;pointer-events:auto}.timepicker__header[_ngcontent-%COMP%]{padding:15px 30px;background-color:#00bfff}@supports (background-color:var(--dial-background-color)){.timepicker__header[_ngcontent-%COMP%]{background-color:var(--dial-background-color)}}.timepicker__body[_ngcontent-%COMP%]{padding:15px 5px;display:flex;justify-content:center;align-items:center;background-color:#fff}@supports (background-color:var(--body-background-color)){.timepicker__body[_ngcontent-%COMP%]{background-color:var(--body-background-color)}}.timepicker__actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:15px;background-color:#fff}@supports (background-color:var(--body-background-color)){.timepicker__actions[_ngcontent-%COMP%]{background-color:var(--body-background-color)}}@media (max-device-width:1023px) and (orientation:landscape){.timepicker[_ngcontent-%COMP%]{display:flex;width:515px}.timepicker__header[_ngcontent-%COMP%]{display:flex;align-items:center}.timepicker__main-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.timepicker__actions[_ngcontent-%COMP%]{padding:5px;margin-top:-1px}}'],data:{animation:[(0,Jt.X$)("timepicker",[(0,Jt.eR)(`* => ${we.ENTER}`,[(0,Jt.oB)({transform:"translateY(-30%)"}),(0,Jt.jt)("0.2s ease-out",(0,Jt.oB)({transform:"translateY(0)"}))]),(0,Jt.eR)(`${we.ENTER} => ${we.LEAVE}`,[(0,Jt.oB)({transform:"translateY(0)",opacity:1}),(0,Jt.jt)("0.2s ease-out",(0,Jt.oB)({transform:"translateY(-30%)",opacity:0}))])])]}}),ve([(0,e.IIB)()],a.prototype,"defaultTime",null),ve([(0,e.L6J)("keydown",["$event"])],a.prototype,"onKeydown",null),a=ve([Re(2,(0,e.tBr)(dr))],a),a})(),at=(()=>{let a=class{constructor(n,l){this.eventService=n,this.domService=l,this.timeUpdated=new A.x,this.isEsc=!0,this.hoursOnly=!1,this.timeSet=new e.vpe,this.opened=new e.vpe,this.closed=new e.vpe,this.hourSelected=new e.vpe,this.timeChanged=new e.vpe,this.unsubscribe=new A.x}set ngxMaterialTimepickerTheme(n){console.warn("'ngxMaterialTimepickerTheme' is deprecated. Use 'theme' instead"),this._ngxMaterialTimepickerTheme=n}set format(n){this._format=24===n?24:12}get format(){return this.timepickerInput?this.timepickerInput.format:this._format}set minutesGap(n){null!=n&&(n=Math.floor(n),this._minutesGap=n<=59?n:1)}get minutesGap(){return this._minutesGap}get minTime(){return this.timepickerInput?this.timepickerInput.min:this.min}get maxTime(){return this.timepickerInput?this.timepickerInput.max:this.max}get disabled(){return this.timepickerInput&&this.timepickerInput.disabled}get time(){return this.timepickerInput&&this.timepickerInput.value}get inputElement(){return this.timepickerInput&&this.timepickerInput.element}registerInput(n){if(this.timepickerInput)throw Error("A Timepicker can only be associated with a single input.");this.timepickerInput=n}open(){this.domService.appendTimepickerToBody(Xe,{timepickerBaseRef:this,time:this.time,defaultTime:this.defaultTime,maxTime:this.maxTime,minTime:this.minTime,format:this.format,minutesGap:this.minutesGap,disableAnimation:this.disableAnimation,cancelBtnTmpl:this.cancelBtnTmpl,confirmBtnTmpl:this.confirmBtnTmpl,editableHintTmpl:this.editableHintTmpl,disabled:this.disabled,enableKeyboardInput:this.enableKeyboardInput,preventOverlayClick:this.preventOverlayClick,appendToInput:this.appendToInput,hoursOnly:this.hoursOnly,theme:this.theme||this._ngxMaterialTimepickerTheme,timepickerClass:this.timepickerClass,inputElement:this.inputElement}),this.opened.next(),this.subscribeToEvents()}close(){this.domService.destroyTimepicker(),this.closed.next(),this.unsubscribeFromEvents()}updateTime(n){this.timeUpdated.next(n)}subscribeToEvents(){(0,nn.T)(this.eventService.backdropClick,this.eventService.keydownEvent.pipe((0,O.h)(n=>27===n.keyCode&&this.isEsc))).pipe((0,H.R)(this.unsubscribe)).subscribe(()=>this.close())}unsubscribeFromEvents(){this.unsubscribe.next(),this.unsubscribe.complete()}};return a.\u0275fac=function(n){return new(n||a)(e.Y36(Oe),e.Y36(tt))},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-material-timepicker"]],inputs:{isEsc:["ESC","isEsc"],hoursOnly:"hoursOnly",ngxMaterialTimepickerTheme:"ngxMaterialTimepickerTheme",format:"format",minutesGap:"minutesGap",cancelBtnTmpl:"cancelBtnTmpl",editableHintTmpl:"editableHintTmpl",confirmBtnTmpl:"confirmBtnTmpl",enableKeyboardInput:"enableKeyboardInput",preventOverlayClick:"preventOverlayClick",disableAnimation:"disableAnimation",appendToInput:"appendToInput",defaultTime:"defaultTime",timepickerClass:"timepickerClass",theme:"theme",min:"min",max:"max"},outputs:{timeSet:"timeSet",opened:"opened",closed:"closed",hourSelected:"hourSelected",timeChanged:"timeChanged"},decls:0,vars:0,template:function(n,l){},encapsulation:2}),ve([(0,e.IIB)()],a.prototype,"cancelBtnTmpl",void 0),ve([(0,e.IIB)()],a.prototype,"editableHintTmpl",void 0),ve([(0,e.IIB)()],a.prototype,"confirmBtnTmpl",void 0),ve([(0,e.IIB)("ESC")],a.prototype,"isEsc",void 0),ve([(0,e.IIB)()],a.prototype,"enableKeyboardInput",void 0),ve([(0,e.IIB)()],a.prototype,"preventOverlayClick",void 0),ve([(0,e.IIB)()],a.prototype,"disableAnimation",void 0),ve([(0,e.IIB)()],a.prototype,"appendToInput",void 0),ve([(0,e.IIB)()],a.prototype,"hoursOnly",void 0),ve([(0,e.IIB)()],a.prototype,"defaultTime",void 0),ve([(0,e.IIB)()],a.prototype,"timepickerClass",void 0),ve([(0,e.IIB)()],a.prototype,"theme",void 0),ve([(0,e.IIB)()],a.prototype,"min",void 0),ve([(0,e.IIB)()],a.prototype,"max",void 0),ve([(0,e.IIB)()],a.prototype,"ngxMaterialTimepickerTheme",null),ve([(0,e.IIB)()],a.prototype,"format",null),ve([(0,e.IIB)()],a.prototype,"minutesGap",null),ve([(0,e.r_U)()],a.prototype,"timeSet",void 0),ve([(0,e.r_U)()],a.prototype,"opened",void 0),ve([(0,e.r_U)()],a.prototype,"closed",void 0),ve([(0,e.r_U)()],a.prototype,"hourSelected",void 0),ve([(0,e.r_U)()],a.prototype,"timeChanged",void 0),a})(),Yt=(()=>{let a=class{};return a.\u0275fac=function(n){return new(n||a)},a.\u0275dir=e.lG2({type:a,selectors:[["","ngxMaterialTimepickerToggleIcon",""]]}),a})(),hn=(()=>{let a=class{get disabled(){return void 0===this._disabled?this.timepicker.disabled:this._disabled}set disabled(n){this._disabled=n}open(n){this.timepicker&&(this.timepicker.open(),n.stopPropagation())}};return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-material-timepicker-toggle"]],contentQueries:function(n,l,w){if(1&n&&e.Suo(w,Yt,7),2&n){let E;e.iGM(E=e.CRH())&&(l.customIcon=E.first)}},inputs:{disabled:"disabled",timepicker:["for","timepicker"]},ngContentSelectors:Ai,decls:3,vars:2,consts:[["type","button",1,"ngx-material-timepicker-toggle",3,"disabled","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24px","height","24px",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24px","height","24px"],["d","M 12 2 C 6.4889971 2 2 6.4889971 2 12 C 2 17.511003 6.4889971 22 12 22 C 17.511003 22 22 17.511003 22 12 C 22 6.4889971 17.511003 2 12 2 z M 12 4 C 16.430123 4 20 7.5698774 20 12 C 20 16.430123 16.430123 20 12 20 C 7.5698774 20 4 16.430123 4 12 C 4 7.5698774 7.5698774 4 12 4 z M 11 6 L 11 12.414062 L 15.292969 16.707031 L 16.707031 15.292969 L 13 11.585938 L 13 6 L 11 6 z"]],template:function(n,l){1&n&&(e.F$t(rr),e.TgZ(0,"button",0),e.NdJ("click",function(E){return l.open(E)}),e.YNc(1,hr,2,0,"svg",1),e.Hsn(2),e.qZA()),2&n&&(e.Q6J("disabled",l.disabled),e.xp6(1),e.Q6J("ngIf",!l.customIcon))},directives:[u.O5],styles:[".ngx-material-timepicker-toggle[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:4px;background-color:transparent;border-radius:50%;text-align:center;border:none;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:background-color .3s;cursor:pointer}.ngx-material-timepicker-toggle[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.07)}"]}),ve([(0,e.IIB)("for")],a.prototype,"timepicker",void 0),ve([(0,e.IIB)()],a.prototype,"disabled",null),ve([(0,e.aQ5)(Yt,{static:!0})],a.prototype,"customIcon",void 0),a})();var Mn;let Zn=Mn=class{constructor(_,n){this.elementRef=_,this.locale=n,this._format=12,this._value="",this.timepickerSubscriptions=[],this.onTouched=()=>{},this.onChange=()=>{}}set format(_){this._format=24===_?24:12,_&&this.previousFormat&&this.previousFormat!==this._format&&(this.value=this._value,this._timepicker.updateTime(this._value)),this.previousFormat=this._format}get format(){return this._format}set min(_){this._min="string"!=typeof _?_:oi.parseTime(_,{locale:this.locale,format:this.format})}get min(){return this._min}set max(_){this._max="string"!=typeof _?_:oi.parseTime(_,{locale:this.locale,format:this.format})}get max(){return this._max}set timepicker(_){this.registerTimepicker(_)}set value(_){if(!_)return this._value="",void this.updateInputValue();const n=oi.formatTime(_,{locale:this.locale,format:this.format});if(oi.isTimeAvailable(n,this._min,this._max,"minutes",this._timepicker.minutesGap,this._format))return this._value=n,void this.updateInputValue();console.warn("Selected time doesn't match min or max value")}get value(){return this._value?oi.toLocaleTimeString(this._value,{format:this.format,locale:this.locale}):""}get element(){return this.elementRef&&this.elementRef.nativeElement}set defaultTime(_){this._timepicker.defaultTime=oi.formatTime(_,{locale:this.locale,format:this.format})}updateValue(_){this.value=_,this.onChange(_)}ngOnChanges(_){_.value&&_.value.currentValue&&(this.defaultTime=_.value.currentValue)}onClick(_){this.disableClick||(this._timepicker.open(),_.stopPropagation())}writeValue(_){this.value=_,_&&(this.defaultTime=_)}registerOnChange(_){this.onChange=_}registerOnTouched(_){this.onTouched=_}setDisabledState(_){this.disabled=_}ngOnDestroy(){this.timepickerSubscriptions.forEach(_=>_.unsubscribe())}registerTimepicker(_){if(!_)throw new Error("NgxMaterialTimepickerComponent is not defined. Please make sure you passed the timepicker to ngxTimepicker directive");this._timepicker=_,this._timepicker.registerInput(this),this.timepickerSubscriptions.push(this._timepicker.timeSet.subscribe(n=>{this.value=n,this.onChange(this.value),this.onTouched(),this.defaultTime=this._value}))}updateInputValue(){this.elementRef.nativeElement.value=this.value}};Zn.\u0275fac=function(_){return new(_||Zn)(e.Y36(e.SBq),e.Y36(dr))},Zn.\u0275dir=e.lG2({type:Zn,selectors:[["","ngxTimepicker",""]],hostVars:1,hostBindings:function(_,n){1&_&&e.NdJ("change",function(w){return n.updateValue(w.target.value)})("blur",function(){return n.onTouched()})("click",function(w){return n.onClick(w)}),2&_&&e.Ikx("disabled",n.disabled)},inputs:{format:"format",value:"value",min:"min",max:"max",timepicker:["ngxTimepicker","timepicker"],disabled:"disabled",disableClick:"disableClick"},features:[e._Bn([{provide:c.JU,useExisting:Mn,multi:!0}]),e.TTD]}),Zn.ctorParameters=()=>[{type:e.SBq},{type:String,decorators:[{type:e.tBr,args:[dr]}]}],ve([(0,e.IIB)()],Zn.prototype,"format",null),ve([(0,e.IIB)()],Zn.prototype,"min",null),ve([(0,e.IIB)()],Zn.prototype,"max",null),ve([(0,e.IIB)("ngxTimepicker")],Zn.prototype,"timepicker",null),ve([(0,e.IIB)()],Zn.prototype,"value",null),ve([(0,e.IIB)()],Zn.prototype,"disabled",void 0),ve([(0,e.IIB)()],Zn.prototype,"disableClick",void 0),ve([(0,e.L6J)("click",["$event"])],Zn.prototype,"onClick",null),Zn=Mn=ve([Re(1,(0,e.tBr)(dr))],Zn);let ir=(()=>{let a=class{constructor(n){this.element=n.nativeElement}ngAfterViewInit(){this.theme&&this.setTheme(this.theme)}setTheme(n){for(const l in n)if(n.hasOwnProperty(l)){if("string"==typeof n[l]){for(const w in n)n.hasOwnProperty(w)&&this.element.style.setProperty(`--${Hi(w)}`,n[w]);return}this.setTheme(n[l])}}};return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.SBq))},a.\u0275dir=e.lG2({type:a,selectors:[["","ngxMaterialTimepickerTheme",""]],inputs:{theme:["ngxMaterialTimepickerTheme","theme"]}}),ve([(0,e.IIB)("ngxMaterialTimepickerTheme")],a.prototype,"theme",void 0),a})();function Hi(a){return a.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}class ui{static getHours(_){return Array(_).fill(1).map((n,l)=>{const E=n+l;return{time:24===E?0:E,angle:30*E}})}static disableHours(_,n){return n.min||n.max?_.map(l=>{const w=24===n.format?l.time:oi.formatHour(l.time,n.format,n.period),E=Ye.ou.fromObject({hour:w}).toFormat(gi.TWELVE);return Object.assign({},l,{disabled:!oi.isTimeAvailable(E,n.min,n.max,"hours")})}):_}static getMinutes(_=1){const w=[];for(let E=0;E<60;E++){const Ae=6*E;E%_==0&&w.push({time:E,angle:0!==Ae?Ae:360})}return w}static disableMinutes(_,n,l){if(l.min||l.max){const w=oi.formatHour(n,l.format,l.period);return _.map(E=>{const Ae=Ye.ou.fromObject({hour:w,minute:E.time}).toFormat(gi.TWELVE);return Object.assign({},E,{disabled:!oi.isTimeAvailable(Ae,l.min,l.max,"minutes")})})}return _}}let ji=(()=>{class a{constructor(n){this.hourChange=new e.vpe,this.hourSelected=new e.vpe,this.hoursList=[],this.hoursList=ui.getHours(n)}onTimeSelected(n){this.hourSelected.next(n)}}return a.\u0275fac=function(n){e.$Z()},a.\u0275dir=e.lG2({type:a,inputs:{selectedHour:"selectedHour",minTime:"minTime",maxTime:"maxTime",format:"format"},outputs:{hourChange:"hourChange",hourSelected:"hourSelected"}}),ve([(0,e.IIB)()],a.prototype,"selectedHour",void 0),ve([(0,e.IIB)()],a.prototype,"minTime",void 0),ve([(0,e.IIB)()],a.prototype,"maxTime",void 0),ve([(0,e.IIB)()],a.prototype,"format",void 0),ve([(0,e.r_U)()],a.prototype,"hourChange",void 0),ve([(0,e.r_U)()],a.prototype,"hourSelected",void 0),a})(),Sr=(()=>{let a=class extends ji{constructor(){super(24)}ngAfterContentInit(){this.hoursList=ui.disableHours(this.hoursList,{min:this.minTime,max:this.maxTime,format:this.format})}};return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-material-timepicker-24-hours-face"]],features:[e.qOj],decls:1,vars:3,consts:[[3,"selectedTime","faceTime","format","timeChange","timeSelected"]],template:function(n,l){1&n&&(e.TgZ(0,"ngx-material-timepicker-face",0),e.NdJ("timeChange",function(E){return l.hourChange.next(E)})("timeSelected",function(E){return l.onTimeSelected(E)}),e.qZA()),2&n&&e.Q6J("selectedTime",l.selectedHour)("faceTime",l.hoursList)("format",l.format)},directives:function(){return[me]},encapsulation:2,changeDetection:0}),a})(),Xi=(()=>{let a=class extends ji{constructor(){super(12)}ngOnChanges(n){n.period&&n.period.currentValue&&(this.hoursList=ui.disableHours(this.hoursList,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period}))}};return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-material-timepicker-12-hours-face"]],inputs:{period:"period"},features:[e.qOj,e.TTD],decls:1,vars:2,consts:[[3,"selectedTime","faceTime","timeChange","timeSelected"]],template:function(n,l){1&n&&(e.TgZ(0,"ngx-material-timepicker-face",0),e.NdJ("timeChange",function(E){return l.hourChange.next(E)})("timeSelected",function(E){return l.onTimeSelected(E)}),e.qZA()),2&n&&e.Q6J("selectedTime",l.selectedHour)("faceTime",l.hoursList)},directives:function(){return[me]},encapsulation:2,changeDetection:0}),ve([(0,e.IIB)()],a.prototype,"period",void 0),a})(),lr=(()=>{let a=class{constructor(){this.minutesList=[],this.timeUnit=en,this.minuteChange=new e.vpe}ngOnChanges(n){if(n.period&&n.period.currentValue){const l=ui.getMinutes(this.minutesGap);this.minutesList=ui.disableMinutes(l,this.selectedHour,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period})}}};return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-material-timepicker-minutes-face"]],inputs:{selectedMinute:"selectedMinute",selectedHour:"selectedHour",period:"period",minTime:"minTime",maxTime:"maxTime",format:"format",minutesGap:"minutesGap"},outputs:{minuteChange:"minuteChange"},features:[e.TTD],decls:1,vars:4,consts:[[3,"faceTime","selectedTime","minutesGap","unit","timeChange"]],template:function(n,l){1&n&&(e.TgZ(0,"ngx-material-timepicker-face",0),e.NdJ("timeChange",function(E){return l.minuteChange.next(E)}),e.qZA()),2&n&&e.Q6J("faceTime",l.minutesList)("selectedTime",l.selectedMinute)("minutesGap",l.minutesGap)("unit",l.timeUnit.MINUTE)},directives:function(){return[me]},encapsulation:2}),ve([(0,e.IIB)()],a.prototype,"selectedMinute",void 0),ve([(0,e.IIB)()],a.prototype,"selectedHour",void 0),ve([(0,e.IIB)()],a.prototype,"period",void 0),ve([(0,e.IIB)()],a.prototype,"minTime",void 0),ve([(0,e.IIB)()],a.prototype,"maxTime",void 0),ve([(0,e.IIB)()],a.prototype,"format",void 0),ve([(0,e.IIB)()],a.prototype,"minutesGap",void 0),ve([(0,e.r_U)()],a.prototype,"minuteChange",void 0),a})();const ke_small_height="75px",ke_small_top="calc(50% - 75px)",ke_large_height="103px",ke_large_top="calc(50% - 103px)";let me=(()=>{let a=class{constructor(){this.timeUnit=en,this.innerClockFaceSize=85,this.timeChange=new e.vpe,this.timeSelected=new e.vpe}ngAfterViewInit(){this.setClockHandPosition(),this.addTouchEvents()}ngOnChanges(n){const l=n.faceTime,w=n.selectedTime;l&&l.currentValue&&w&&w.currentValue&&(this.selectedTime=this.faceTime.find(E=>E.time===this.selectedTime.time)),w&&w.currentValue&&this.setClockHandPosition(),l&&l.currentValue&&setTimeout(()=>this.selectAvailableTime())}trackByTime(n,l){return l.time}onMousedown(n){n.preventDefault(),this.isStarted=!0}selectTime(n){if(!this.isStarted&&n instanceof MouseEvent&&"click"!==n.type)return;const l=this.clockFace.nativeElement.getBoundingClientRect(),w=l.left+l.width/2,E=l.top+l.height/2,Ae=180*Math.atan(Math.abs(n.clientX-w)/Math.abs(n.clientY-E))/Math.PI,ft=function lt(a,_,n,l,w){return l>_&&n>=a?180-w:l>_&&nyi.angle===jn);ei&&!ei.disabled&&(this.timeChange.next(ei),this.isStarted||this.timeSelected.next(ei.time))}onMouseup(n){n.preventDefault(),this.isStarted=!1}ngOnDestroy(){this.removeTouchEvents()}addTouchEvents(){this.touchStartHandler=this.onMousedown.bind(this),this.touchEndHandler=this.onMouseup.bind(this),this.clockFace.nativeElement.addEventListener("touchstart",this.touchStartHandler),this.clockFace.nativeElement.addEventListener("touchend",this.touchEndHandler)}removeTouchEvents(){this.clockFace.nativeElement.removeEventListener("touchstart",this.touchStartHandler),this.clockFace.nativeElement.removeEventListener("touchend",this.touchEndHandler)}setClockHandPosition(){24===this.format&&(this.selectedTime.time>12||0===this.selectedTime.time?this.decreaseClockHand():this.increaseClockHand()),this.clockHand.nativeElement.style.transform=`rotate(${this.selectedTime.angle}deg)`}selectAvailableTime(){const n=this.faceTime.find(l=>this.selectedTime.time===l.time);if(this.isClockFaceDisabled=this.faceTime.every(l=>l.disabled),n&&n.disabled&&!this.isClockFaceDisabled){const l=this.faceTime.find(w=>!w.disabled);this.timeChange.next(l)}}isInnerClockFace(n,l,w,E){return Math.sqrt(Math.pow(w-n,2)+Math.pow(E-l,2)) span[_ngcontent-%COMP%]{font-size:16px;color:#6c6c6c}@supports (color:var(--clock-face-time-inactive-color)){.clock-face__number--outer[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:var(--clock-face-time-inactive-color)}}.clock-face__number--inner[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:14px;color:#929292}@supports (color:var(--clock-face-inner-time-inactive-color)){.clock-face__number--inner[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:var(--clock-face-inner-time-inactive-color)}}.clock-face__number[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:30px;height:30px;display:flex;justify-content:center;align-items:center;margin:auto;border-radius:50%;font-weight:500;font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.clock-face__number[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-family:var(--primary-font-family)}}.clock-face__number[_ngcontent-%COMP%] > span.active[_ngcontent-%COMP%]{background-color:#00bfff;color:#fff}@supports (background-color:var(--clock-hand-color)){.clock-face__number[_ngcontent-%COMP%] > span.active[_ngcontent-%COMP%]{background-color:var(--clock-hand-color);color:var(--clock-face-time-active-color)}}.clock-face__number[_ngcontent-%COMP%] > span.disabled[_ngcontent-%COMP%]{color:#c5c5c5}@supports (color:var(--clock-face-time-disabled-color)){.clock-face__number[_ngcontent-%COMP%] > span.disabled[_ngcontent-%COMP%]{color:var(--clock-face-time-disabled-color)}}.clock-face__clock-hand[_ngcontent-%COMP%]{height:103px;width:2px;transform-origin:0 100%;position:absolute;top:calc(50% - 103px);z-index:1;background-color:#00bfff}@supports (background-color:var(--clock-hand-color)){.clock-face__clock-hand[_ngcontent-%COMP%]{background-color:var(--clock-hand-color)}}.clock-face__clock-hand[_ngcontent-%COMP%]:after{content:"";width:7px;height:7px;border-radius:50%;background-color:inherit;position:absolute;bottom:-3px;left:-3.5px}.clock-face__clock-hand_minute[_ngcontent-%COMP%]:before{content:"";width:7px;height:7px;background-color:#fff;border-radius:50%;position:absolute;top:-8px;left:calc(50% - 8px);box-sizing:content-box;border:4px solid #00bfff}@supports (border-color:var(--clock-hand-color)){.clock-face__clock-hand_minute[_ngcontent-%COMP%]:before{border-color:var(--clock-hand-color)}}@media (max-device-width:1023px) and (orientation:landscape){.clock-face[_ngcontent-%COMP%]{width:225px;height:225px;padding:5px}.clock-face__number--outer[_ngcontent-%COMP%]{height:calc(225px / 2 - 5px)}.clock-face__clock-hand_minute[_ngcontent-%COMP%]:before{top:0}}'],changeDetection:0}),ve([(0,e.IIB)()],a.prototype,"faceTime",void 0),ve([(0,e.IIB)()],a.prototype,"selectedTime",void 0),ve([(0,e.IIB)()],a.prototype,"unit",void 0),ve([(0,e.IIB)()],a.prototype,"format",void 0),ve([(0,e.IIB)()],a.prototype,"minutesGap",void 0),ve([(0,e.r_U)()],a.prototype,"timeChange",void 0),ve([(0,e.r_U)()],a.prototype,"timeSelected",void 0),ve([(0,e.i9L)("clockFace",{static:!0})],a.prototype,"clockFace",void 0),ve([(0,e.i9L)("clockHand",{static:!0})],a.prototype,"clockHand",void 0),ve([(0,e.L6J)("mousedown",["$event"])],a.prototype,"onMousedown",null),ve([(0,e.L6J)("click",["$event"]),(0,e.L6J)("touchmove",["$event.changedTouches[0]"]),(0,e.L6J)("touchend",["$event.changedTouches[0]"]),(0,e.L6J)("mousemove",["$event"])],a.prototype,"selectTime",null),ve([(0,e.L6J)("mouseup",["$event"])],a.prototype,"onMouseup",null),a})(),fn=(()=>{let a=class{};return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-material-timepicker-button"]],ngContentSelectors:kr,decls:3,vars:0,consts:[["type","button",1,"timepicker-button"]],template:function(n,l){1&n&&(e.F$t(),e.TgZ(0,"button",0)(1,"span"),e.Hsn(2),e.qZA()())},styles:[".timepicker-button[_ngcontent-%COMP%]{display:inline-block;height:36px;min-width:88px;line-height:36px;border:12px;border-radius:2px;background-color:transparent;text-align:center;transition:450ms cubic-bezier(.23,1,.32,1);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;cursor:pointer;outline:0;color:#00bfff}@supports (color:var(--button-color)){.timepicker-button[_ngcontent-%COMP%]{color:var(--button-color)}}.timepicker-button[_ngcontent-%COMP%]:focus, .timepicker-button[_ngcontent-%COMP%]:hover{background-color:rgba(153,153,153,.2)}.timepicker-button[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:14px;text-transform:uppercase;font-weight:600;padding-left:16px;padding-right:16px;font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-button[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-family:var(--primary-font-family)}}"]}),a})(),ni=(()=>{let a=class{constructor(n){this.locale=n,this.timeUnit=en,this.meridiems=Ye.kI.meridiems({locale:this.locale}),this.periodChanged=new e.vpe,this.timeUnitChanged=new e.vpe,this.hourChanged=new e.vpe,this.minuteChanged=new e.vpe}ngOnChanges(n){if(n.period&&n.period.currentValue||n.format&&n.format.currentValue){const l=ui.getHours(this.format);this.hours=ui.disableHours(l,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period})}if(n.period&&n.period.currentValue||n.hour&&n.hour.currentValue){const l=ui.getMinutes(this.minutesGap);this.minutes=ui.disableMinutes(l,+this.hour,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period})}}changeTimeUnit(n){this.timeUnitChanged.next(n)}changePeriod(n){this.periodChanged.next(n)}changeHour(n){this.hourChanged.next(n)}changeMinute(n){this.minuteChanged.next(n)}showHint(){this.isHintVisible=!0}hideHint(){this.isHintVisible=!1}};return a.\u0275fac=function(n){return new(n||a)(e.Y36(dr))},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-material-timepicker-dial"]],inputs:{editableHintTmpl:"editableHintTmpl",hour:"hour",minute:"minute",format:"format",period:"period",activeTimeUnit:"activeTimeUnit",minTime:"minTime",maxTime:"maxTime",isEditable:"isEditable",minutesGap:"minutesGap",hoursOnly:"hoursOnly"},outputs:{periodChanged:"periodChanged",timeUnitChanged:"timeUnitChanged",hourChanged:"hourChanged",minuteChanged:"minuteChanged"},features:[e.TTD],decls:9,vars:25,consts:[[1,"timepicker-dial"],[1,"timepicker-dial__container"],[1,"timepicker-dial__time"],[3,"timeList","time","timeUnit","isActive","isEditable","timeUnitChanged","timeChanged","focused","unfocused"],[3,"timeList","time","timeUnit","isActive","isEditable","minutesGap","disabled","timeUnitChanged","timeChanged","focused","unfocused"],[1,"timepicker-dial__period",3,"ngClass","selectedPeriod","activeTimeUnit","maxTime","minTime","format","hours","minutes","selectedHour","meridiems","periodChanged"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[4,"ngTemplateOutlet"],["editableHintDefault",""],[1,"timepicker-dial__hint"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"ngx-material-timepicker-dial-control",3),e.NdJ("timeUnitChanged",function(E){return l.changeTimeUnit(E)})("timeChanged",function(E){return l.changeHour(E)})("focused",function(){return l.showHint()})("unfocused",function(){return l.hideHint()}),e.qZA(),e.TgZ(4,"span"),e._uU(5,":"),e.qZA(),e.TgZ(6,"ngx-material-timepicker-dial-control",4),e.NdJ("timeUnitChanged",function(E){return l.changeTimeUnit(E)})("timeChanged",function(E){return l.changeMinute(E)})("focused",function(){return l.showHint()})("unfocused",function(){return l.hideHint()}),e.qZA()(),e.TgZ(7,"ngx-material-timepicker-period",5),e.NdJ("periodChanged",function(E){return l.changePeriod(E)}),e.qZA()(),e.YNc(8,Qr,4,4,"div",6),e.qZA()),2&n&&(e.xp6(3),e.Q6J("timeList",l.hours)("time",l.hour)("timeUnit",l.timeUnit.HOUR)("isActive",l.activeTimeUnit===l.timeUnit.HOUR)("isEditable",l.isEditable),e.xp6(3),e.Q6J("timeList",l.minutes)("time",l.minute)("timeUnit",l.timeUnit.MINUTE)("isActive",l.activeTimeUnit===l.timeUnit.MINUTE)("isEditable",l.isEditable)("minutesGap",l.minutesGap)("disabled",l.hoursOnly),e.xp6(1),e.Q6J("ngClass",e.VKq(23,xo,24===l.format))("selectedPeriod",l.period)("activeTimeUnit",l.activeTimeUnit)("maxTime",l.maxTime)("minTime",l.minTime)("format",l.format)("hours",l.hours)("minutes",l.minutes)("selectedHour",l.hour)("meridiems",l.meridiems),e.xp6(1),e.Q6J("ngIf",l.isEditable||l.editableHintTmpl))},directives:function(){return[Cr,Po,u.mk,u.O5,u.tP]},styles:[".timepicker-dial[_ngcontent-%COMP%]{text-align:right}.timepicker-dial__container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;-webkit-tap-highlight-color:transparent}.timepicker-dial__time[_ngcontent-%COMP%]{display:flex;align-items:baseline;line-height:normal;font-size:50px;color:rgba(255,255,255,.5);font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-dial__time[_ngcontent-%COMP%]{font-family:var(--primary-font-family);color:var(--dial-inactive-color)}}.timepicker-dial__period[_ngcontent-%COMP%]{display:block;margin-left:10px}.timepicker-dial__hint-container--hidden[_ngcontent-%COMP%], .timepicker-dial__period--hidden[_ngcontent-%COMP%]{visibility:hidden}.timepicker-dial__hint[_ngcontent-%COMP%]{display:inline-block;font-size:10px;color:#fff}@supports (color:var(--dial-active-color)){.timepicker-dial__hint[_ngcontent-%COMP%]{color:var(--dial-active-color)}}.timepicker-dial__hint[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px}@media (max-device-width:1023px) and (orientation:landscape){.timepicker-dial__container[_ngcontent-%COMP%]{flex-direction:column}.timepicker-dial__period[_ngcontent-%COMP%]{margin-left:0}}"],changeDetection:0}),ve([(0,e.IIB)()],a.prototype,"editableHintTmpl",void 0),ve([(0,e.IIB)()],a.prototype,"hour",void 0),ve([(0,e.IIB)()],a.prototype,"minute",void 0),ve([(0,e.IIB)()],a.prototype,"format",void 0),ve([(0,e.IIB)()],a.prototype,"period",void 0),ve([(0,e.IIB)()],a.prototype,"activeTimeUnit",void 0),ve([(0,e.IIB)()],a.prototype,"minTime",void 0),ve([(0,e.IIB)()],a.prototype,"maxTime",void 0),ve([(0,e.IIB)()],a.prototype,"isEditable",void 0),ve([(0,e.IIB)()],a.prototype,"minutesGap",void 0),ve([(0,e.IIB)()],a.prototype,"hoursOnly",void 0),ve([(0,e.r_U)()],a.prototype,"periodChanged",void 0),ve([(0,e.r_U)()],a.prototype,"timeUnitChanged",void 0),ve([(0,e.r_U)()],a.prototype,"hourChanged",void 0),ve([(0,e.r_U)()],a.prototype,"minuteChanged",void 0),a=ve([Re(0,(0,e.tBr)(dr))],a),a})(),cr=(()=>{let a=class{constructor(n,l){this.locale=n,this.numberingSystem=l}transform(n,l=en.HOUR){return null==n||""===n?"":isNaN(+n)?l===en.MINUTE?this.parseTime(n,"m","minute"):this.parseTime(n,"H","hour"):n}parseTime(n,l,w){const E=Ye.ou.fromFormat(String(n),l,{numberingSystem:this.numberingSystem,locale:this.locale})[w];if(!isNaN(E))return E;throw new Error(`Cannot parse time - ${n}`)}};return a.\u0275fac=function(n){return new(n||a)(e.Y36(dr,16),e.Y36($i,16))},a.\u0275pipe=e.Yjl({name:"timeParser",type:a,pure:!0}),a.\u0275prov=e.Yz7({token:a,factory:function(_){return a.\u0275fac(_)}}),a=ve([Re(0,(0,e.tBr)(dr)),Re(1,(0,e.tBr)($i))],a),a})(),Cr=(()=>{let a=class{constructor(n){this.timeParserPipe=n,this.timeUnitChanged=new e.vpe,this.timeChanged=new e.vpe,this.focused=new e.vpe,this.unfocused=new e.vpe}get selectedTime(){if(this.time)return this.timeList.find(n=>n.time===+this.time)}saveTimeAndChangeTimeUnit(n,l){n.preventDefault(),this.previousTime=this.time,this.timeUnitChanged.next(l),this.focused.next()}updateTime(){const n=this.selectedTime;n&&(this.timeChanged.next(n),this.previousTime=n.time)}changeTimeByKeyboard(n){const l=String.fromCharCode(n.keyCode);(function Eo(a,_,n){if(/\d/.test(_))return Zr(a+_,n)})(this.time,l,this.timeList)&&n.preventDefault()}onKeydown(n){pr(n)?this.changeTimeByArrow(n.keyCode):n.preventDefault()}onModelChange(n){this.time=this.timeParserPipe.transform(n,this.timeUnit).toString()}changeTimeByArrow(n){let E;38===n?E=String(+this.time+(this.minutesGap||1)):40===n&&(E=String(+this.time-(this.minutesGap||1))),Zr(E,this.timeList)||(this.time=E,this.updateTime())}};return a.\u0275fac=function(n){return new(n||a)(e.Y36(cr))},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-material-timepicker-dial-control"]],inputs:{time:"time",timeList:"timeList",timeUnit:"timeUnit",isActive:"isActive",isEditable:"isEditable",minutesGap:"minutesGap",disabled:"disabled"},outputs:{timeUnitChanged:"timeUnitChanged",timeChanged:"timeChanged",focused:"focused",unfocused:"unfocused"},features:[e._Bn([cr])],decls:3,vars:2,consts:[["class","timepicker-dial__control timepicker-dial__item","readonly","",3,"ngClass","ngModel","disabled","timepickerAutofocus","ngModelChange","input","focus",4,"ngIf","ngIfElse"],["editableTemplate",""],["readonly","",1,"timepicker-dial__control","timepicker-dial__item",3,"ngClass","ngModel","disabled","timepickerAutofocus","ngModelChange","input","focus"],[1,"timepicker-dial__control","timepicker-dial__item","timepicker-dial__control_editable",3,"ngClass","ngModel","disabled","timepickerAutofocus","ngModelChange","input","focus","keydown","keypress"]],template:function(n,l){if(1&n&&(e.YNc(0,nr,2,9,"input",0),e.YNc(1,fo,3,13,"ng-template",null,1,e.W1O)),2&n){const w=e.MAs(2);e.Q6J("ngIf",!l.isEditable)("ngIfElse",w)}},directives:function(){return[u.O5,c.Fj,u.mk,c.JJ,c.On,fr]},pipes:function(){return[Jo,cr]},styles:[".timepicker-dial__item[_ngcontent-%COMP%]{cursor:pointer;color:rgba(255,255,255,.5);font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-dial__item[_ngcontent-%COMP%]{font-family:var(--primary-font-family);color:var(--dial-inactive-color)}}.timepicker-dial__item_active[_ngcontent-%COMP%]{color:#fff}@supports (color:var(--dial-active-color)){.timepicker-dial__item_active[_ngcontent-%COMP%]{color:var(--dial-active-color)}}.timepicker-dial__control[_ngcontent-%COMP%]{border:none;background-color:transparent;font-size:50px;width:60px;padding:0;border-radius:3px;text-align:right}.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{color:#00bfff;background-color:#fff;outline:#00bfff}@supports (color:var(--dial-editable-active-color)){.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{color:var(--dial-editable-active-color)}}@supports (background-color:var(--dial-editable-background-color)){.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{background-color:var(--dial-editable-background-color)}}@supports (outline:var(--dial-editable-active-color)){.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{outline:var(--dial-editable-active-color)}}.timepicker-dial__control[_ngcontent-%COMP%]:disabled{cursor:default}.timepicker-dial__control[_ngcontent-%COMP%]:focus-visible{outline:0}"]}),ve([(0,e.IIB)()],a.prototype,"timeList",void 0),ve([(0,e.IIB)()],a.prototype,"timeUnit",void 0),ve([(0,e.IIB)()],a.prototype,"time",void 0),ve([(0,e.IIB)()],a.prototype,"isActive",void 0),ve([(0,e.IIB)()],a.prototype,"isEditable",void 0),ve([(0,e.IIB)()],a.prototype,"minutesGap",void 0),ve([(0,e.IIB)()],a.prototype,"disabled",void 0),ve([(0,e.r_U)()],a.prototype,"timeUnitChanged",void 0),ve([(0,e.r_U)()],a.prototype,"timeChanged",void 0),ve([(0,e.r_U)()],a.prototype,"focused",void 0),ve([(0,e.r_U)()],a.prototype,"unfocused",void 0),a})();function Zr(a,_){const n=_.find(l=>l.time===+a);return!n||n&&n.disabled}let Po=(()=>{let a=class{constructor(){this.timePeriod=xn,this.isPeriodAvailable=!0,this.periodChanged=new e.vpe}changePeriod(n){this.isPeriodAvailable=this.isSwitchPeriodAvailable(n),this.isPeriodAvailable&&this.periodChanged.next(n)}animationDone(){this.isPeriodAvailable=!0}isSwitchPeriodAvailable(n){return!this.getDisabledTimeByPeriod(n).every(w=>w.disabled)}getDisabledTimeByPeriod(n){switch(this.activeTimeUnit){case en.HOUR:return ui.disableHours(this.hours,{min:this.minTime,max:this.maxTime,format:this.format,period:n});case en.MINUTE:return ui.disableMinutes(this.minutes,+this.selectedHour,{min:this.minTime,max:this.maxTime,format:this.format,period:n});default:throw new Error("no such TimeUnit")}}};return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-material-timepicker-period"]],inputs:{selectedPeriod:"selectedPeriod",format:"format",activeTimeUnit:"activeTimeUnit",hours:"hours",minutes:"minutes",minTime:"minTime",maxTime:"maxTime",selectedHour:"selectedHour",meridiems:"meridiems"},outputs:{periodChanged:"periodChanged"},decls:6,vars:9,consts:[[1,"timepicker-period"],["type","button",1,"timepicker-dial__item","timepicker-period__btn",3,"ngClass","click"],["class","timepicker-period__warning",4,"ngIf"],[1,"timepicker-period__warning"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"button",1),e.NdJ("click",function(){return l.changePeriod(l.timePeriod.AM)}),e._uU(2),e.qZA(),e.TgZ(3,"button",1),e.NdJ("click",function(){return l.changePeriod(l.timePeriod.PM)}),e._uU(4),e.qZA(),e.YNc(5,vr,3,1,"div",2),e.qZA()),2&n&&(e.xp6(1),e.Q6J("ngClass",e.VKq(5,uo,l.selectedPeriod===l.timePeriod.AM)),e.xp6(1),e.Oqu(l.meridiems[0]),e.xp6(1),e.Q6J("ngClass",e.VKq(7,uo,l.selectedPeriod===l.timePeriod.PM)),e.xp6(1),e.Oqu(l.meridiems[1]),e.xp6(1),e.Q6J("ngIf",!l.isPeriodAvailable))},directives:[u.mk,u.O5],styles:[".timepicker-dial__item[_ngcontent-%COMP%]{cursor:pointer;color:rgba(255,255,255,.5);font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-dial__item[_ngcontent-%COMP%]{font-family:var(--primary-font-family);color:var(--dial-inactive-color)}}.timepicker-dial__item_active[_ngcontent-%COMP%]{color:#fff}@supports (color:var(--dial-active-color)){.timepicker-dial__item_active[_ngcontent-%COMP%]{color:var(--dial-active-color)}}.timepicker-period[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative}.timepicker-period__btn[_ngcontent-%COMP%]{padding:1px 3px;border:0;background-color:transparent;font-size:18px;font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;border-radius:3px;transition:background-color .5s;font-family:Roboto,sans-serif}.timepicker-period__btn[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.07)}.timepicker-period__warning[_ngcontent-%COMP%]{padding:5px 10px;border-radius:3px;background-color:rgba(0,0,0,.55);color:#fff;position:absolute;width:200px;left:-20px;top:40px}.timepicker-period__warning[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;font-size:12px;font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-period__btn[_ngcontent-%COMP%], .timepicker-period__warning[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-family:var(--primary-font-family)}}"],data:{animation:[(0,Jt.X$)("scaleInOut",[(0,Jt.eR)(":enter",[(0,Jt.oB)({transform:"scale(0)"}),(0,Jt.jt)(".2s",(0,Jt.oB)({transform:"scale(1)"})),(0,Jt.vP)([(0,Jt.jt)("3s",(0,Jt.oB)({opacity:1})),(0,Jt.jt)(".3s",(0,Jt.oB)({opacity:0}))])])])]}}),ve([(0,e.IIB)()],a.prototype,"selectedPeriod",void 0),ve([(0,e.IIB)()],a.prototype,"format",void 0),ve([(0,e.IIB)()],a.prototype,"activeTimeUnit",void 0),ve([(0,e.IIB)()],a.prototype,"hours",void 0),ve([(0,e.IIB)()],a.prototype,"minutes",void 0),ve([(0,e.IIB)()],a.prototype,"minTime",void 0),ve([(0,e.IIB)()],a.prototype,"maxTime",void 0),ve([(0,e.IIB)()],a.prototype,"selectedHour",void 0),ve([(0,e.IIB)()],a.prototype,"meridiems",void 0),ve([(0,e.r_U)()],a.prototype,"periodChanged",void 0),a})(),Ni=(()=>{let a=class{constructor(n){this.eventService=n}onClick(n){this.preventClick||this.eventService.dispatchEvent(n),n.preventDefault()}};return a.\u0275fac=function(n){return new(n||a)(e.Y36(Oe))},a.\u0275dir=e.lG2({type:a,selectors:[["","overlay",""]],hostBindings:function(n,l){1&n&&e.NdJ("click",function(E){return l.onClick(E)})},inputs:{preventClick:["overlay","preventClick"]}}),ve([(0,e.IIB)("overlay")],a.prototype,"preventClick",void 0),ve([(0,e.L6J)("click",["$event"])],a.prototype,"onClick",null),a})(),br=(()=>{let a=class{transform(n,l=5){return n&&(n%l==0?n:"")}};return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"minutesFormatter",type:a,pure:!0}),a})(),fr=(()=>{let a=class{constructor(n,l){this.element=n,this.document=l,this.activeElement=this.document.activeElement}ngOnChanges(){this.isFocusActive&&setTimeout(()=>this.element.nativeElement.focus({preventScroll:!0}))}ngOnDestroy(){setTimeout(()=>this.activeElement.focus({preventScroll:!0}))}};return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.SBq),e.Y36(u.K0,8))},a.\u0275dir=e.lG2({type:a,selectors:[["","timepickerAutofocus",""]],inputs:{isFocusActive:["timepickerAutofocus","isFocusActive"]},features:[e.TTD]}),ve([(0,e.IIB)("timepickerAutofocus")],a.prototype,"isFocusActive",void 0),a=ve([Re(1,(0,e.FiY)()),Re(1,(0,e.tBr)(u.K0))],a),a})();var No;let ur=No=class{constructor(_,n){this.timepickerService=_,this.locale=n,this.minHour=1,this.maxHour=12,this.timeUnit=en,this.buttonAlign="right",this.timeChanged=new e.vpe,this._format=12,this.unsubscribe$=new A.x,this.isFirstTimeChange=!0,this.onChange=()=>{}}set format(_){this._format=24===_?24:12,this.minHour=12===this._format?1:0,this.maxHour=12===this._format?12:23,this.hoursList=ui.getHours(this._format),_&&this.previousFormat&&this.previousFormat!==this._format&&this.updateTime(this.timepickerTime),this.previousFormat=this._format}get format(){return this._format}set min(_){this._min="string"!=typeof _?_:oi.parseTime(_,{locale:this.locale,format:this.format})}get min(){return this._min}set max(_){this._max="string"!=typeof _?_:oi.parseTime(_,{locale:this.locale,format:this.format})}get max(){return this._max}set defaultTime(_){this._defaultTime=_,this.isDefaultTime=!!_}get defaultTime(){return this._defaultTime}set minutesGap(_){null!=_&&(_=Math.floor(_),this._minutesGap=_<=59?_:1)}get minutesGap(){return this._minutesGap}ngOnInit(){this.initTime(this.defaultTime),this.hoursList=ui.getHours(this._format),this.minutesList=ui.getMinutes(),this.isTimeRangeSet=!(!this.min&&!this.max),this.hour$=this.timepickerService.selectedHour.pipe((0,Z.b)(_=>this.selectedHour=_.time),(0,Tt.U)(this.changeDefaultTimeValue.bind(this)),(0,Z.b)(()=>this.isTimeRangeSet&&this.updateAvailableMinutes())),this.minute$=this.timepickerService.selectedMinute.pipe((0,Tt.U)(this.changeDefaultTimeValue.bind(this)),(0,Z.b)(()=>this.isFirstTimeChange=!1)),12===this.format?this.timepickerService.selectedPeriod.pipe((0,be.x)(),(0,Z.b)(_=>this.period=_),(0,Z.b)(_=>this.isChangePeriodDisabled=this.isPeriodDisabled(_)),(0,H.R)(this.unsubscribe$)).subscribe(()=>this.isTimeRangeSet&&this.updateAvailableTime()):this.isTimeRangeSet&&this.updateAvailableTime()}writeValue(_){_?this.initTime(_):this.resetTime()}registerOnTouched(_){}registerOnChange(_){this.onChange=_}setDisabledState(_){this.disabled=_}changeHour(_){this.timepickerService.hour=this.hoursList.find(n=>n.time===_),this.changeTime()}changeMinute(_){this.timepickerService.minute=this.minutesList.find(n=>n.time===_),this.changeTime()}changePeriod(_){this.timepickerService.period=_,this.changeTime()}onTimeSet(_){this.updateTime(_),this.emitLocalTimeChange(_)}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}changeTime(){const _=this.timepickerService.getFullTime(this.format);this.timepickerTime=_,this.emitLocalTimeChange(_)}resetTime(){this.timepickerService.hour={angle:0,time:null},this.timepickerService.minute={angle:0,time:null}}emitLocalTimeChange(_){const n=oi.toLocaleTimeString(_,{format:this.format,locale:this.locale});this.onChange(n),this.timeChanged.emit(n)}changeDefaultTimeValue(_){return!this.isDefaultTime&&this.isFirstTimeChange?Object.assign({},_,{time:null}):_}updateAvailableHours(){this.hoursList=ui.disableHours(this.hoursList,{min:this.min,max:this.max,format:this.format,period:this.period})}updateAvailableMinutes(){this.minutesList=ui.disableMinutes(this.minutesList,this.selectedHour,{min:this.min,max:this.max,format:this.format,period:this.period})}updateAvailableTime(){this.updateAvailableHours(),this.selectedHour&&this.updateAvailableMinutes()}updateTime(_){if(_){const n=oi.formatTime(_,{locale:this.locale,format:this.format});this.timepickerService.setDefaultTimeIfAvailable(n,this.min,this.max,this.format),this.timepickerTime=n}}initTime(_){if(!oi.isTimeAvailable(_,this.min,this.max,"minutes",null,this.format)){if(this.min)return void this.updateTime(oi.fromDateTimeToString(this.min,this.format));if(this.max)return void this.updateTime(oi.fromDateTimeToString(this.max,this.format))}this.updateTime(_)}isPeriodDisabled(_){return ui.disableHours(ui.getHours(12),{min:this.min,max:this.max,format:12,period:_===xn.AM?xn.PM:xn.AM}).every(n=>n.disabled)}};ur.\u0275fac=function(_){return new(_||ur)(e.Y36(or),e.Y36(dr))},ur.\u0275cmp=e.Xpm({type:ur,selectors:[["ngx-timepicker-field"]],inputs:{buttonAlign:"buttonAlign",format:"format",min:"min",max:"max",defaultTime:"defaultTime",minutesGap:"minutesGap",disabled:"disabled",toggleIcon:"toggleIcon",clockTheme:"clockTheme",controlOnly:"controlOnly",cancelBtnTmpl:"cancelBtnTmpl",confirmBtnTmpl:"confirmBtnTmpl"},outputs:{timeChanged:"timeChanged"},features:[e._Bn([or,{provide:c.JU,useExisting:No,multi:!0}])],decls:13,vars:34,consts:[[1,"ngx-timepicker",3,"ngClass"],[1,"ngx-timepicker__control--first",3,"placeholder","time","min","max","timeUnit","disabled","timeList","preventTyping","timeChanged"],[1,"ngx-timepicker__time-colon","ngx-timepicker__control--second"],[1,"ngx-timepicker__control--third",3,"placeholder","time","min","max","timeUnit","disabled","timeList","preventTyping","minutesGap","timeChanged"],["class","ngx-timepicker__control--forth",3,"selectedPeriod","disabled","periodSelected",4,"ngIf"],["class","ngx-timepicker__toggle",3,"ngClass","for","disabled",4,"ngIf"],[3,"min","max","theme","defaultTime","format","cancelBtnTmpl","confirmBtnTmpl","minutesGap","timeSet"],["timepicker",""],["defaultIcon",""],[1,"ngx-timepicker__control--forth",3,"selectedPeriod","disabled","periodSelected"],[1,"ngx-timepicker__toggle",3,"ngClass","for","disabled"],["ngxMaterialTimepickerToggleIcon",""],[4,"ngTemplateOutlet"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24px","height","24px"],["d","M 12 2 C 6.4889971 2 2 6.4889971 2 12 C 2 17.511003 6.4889971 22 12 22 C 17.511003 22 22 17.511003 22 12 C 22 6.4889971 17.511003 2 12 2 z M 12 4 C 16.430123 4 20 7.5698774 20 12 C 20 16.430123 16.430123 20 12 20 C 7.5698774 20 4 16.430123 4 12 C 4 7.5698774 7.5698774 4 12 4 z M 11 6 L 11 12.414062 L 15.292969 16.707031 L 16.707031 15.292969 L 13 11.585938 L 13 6 L 11 6 z"]],template:function(_,n){if(1&_&&(e.TgZ(0,"div",0)(1,"ngx-timepicker-time-control",1),e.NdJ("timeChanged",function(w){return n.changeHour(w)}),e.ALo(2,"async"),e.qZA(),e.TgZ(3,"span",2),e._uU(4,":"),e.qZA(),e.TgZ(5,"ngx-timepicker-time-control",3),e.NdJ("timeChanged",function(w){return n.changeMinute(w)}),e.ALo(6,"async"),e.qZA(),e.YNc(7,wo,1,2,"ngx-timepicker-period-selector",4),e.YNc(8,ko,3,6,"ngx-material-timepicker-toggle",5),e.qZA(),e.TgZ(9,"ngx-material-timepicker",6,7),e.NdJ("timeSet",function(w){return n.onTimeSet(w)}),e.qZA(),e.YNc(11,go,2,0,"ng-template",null,8,e.W1O)),2&_){let l,w;e.Q6J("ngClass",e.VKq(32,Yr,n.disabled)),e.xp6(1),e.Q6J("placeholder","HH")("time",null==(l=e.lcZ(2,28,n.hour$))?null:l.time)("min",n.minHour)("max",n.maxHour)("timeUnit",n.timeUnit.HOUR)("disabled",n.disabled)("timeList",n.hoursList)("preventTyping",n.isTimeRangeSet),e.xp6(4),e.Q6J("placeholder","MM")("time",null==(w=e.lcZ(6,30,n.minute$))?null:w.time)("min",0)("max",59)("timeUnit",n.timeUnit.MINUTE)("disabled",n.disabled)("timeList",n.minutesList)("preventTyping",n.isTimeRangeSet)("minutesGap",n.minutesGap),e.xp6(2),e.Q6J("ngIf",24!==n.format),e.xp6(1),e.Q6J("ngIf",!n.controlOnly),e.xp6(1),e.Q6J("min",n.min)("max",n.max)("theme",n.clockTheme)("defaultTime",n.timepickerTime)("format",n.format)("cancelBtnTmpl",n.cancelBtnTmpl)("confirmBtnTmpl",n.confirmBtnTmpl)("minutesGap",n.minutesGap)}},directives:function(){return[u.mk,ro,u.O5,sr,hn,Yt,u.tP,at]},pipes:function(){return[u.Ov]},styles:[".ngx-timepicker[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;border-bottom:1px solid rgba(0,0,0,.12)}.ngx-timepicker--disabled[_ngcontent-%COMP%]{background:rgba(0,0,0,.07);pointer-events:none}.ngx-timepicker__time-colon[_ngcontent-%COMP%]{margin-left:10px}.ngx-timepicker__control--first[_ngcontent-%COMP%]{order:1}.ngx-timepicker__control--second[_ngcontent-%COMP%]{order:2}.ngx-timepicker__control--third[_ngcontent-%COMP%]{order:3}.ngx-timepicker__control--forth[_ngcontent-%COMP%], .ngx-timepicker__toggle[_ngcontent-%COMP%]{order:4}.ngx-timepicker__toggle--left[_ngcontent-%COMP%]{order:0}"],changeDetection:0}),ur.ctorParameters=()=>[{type:or},{type:String,decorators:[{type:e.tBr,args:[dr]}]}],ve([(0,e.IIB)()],ur.prototype,"disabled",void 0),ve([(0,e.IIB)()],ur.prototype,"toggleIcon",void 0),ve([(0,e.IIB)()],ur.prototype,"buttonAlign",void 0),ve([(0,e.IIB)()],ur.prototype,"clockTheme",void 0),ve([(0,e.IIB)()],ur.prototype,"controlOnly",void 0),ve([(0,e.IIB)()],ur.prototype,"cancelBtnTmpl",void 0),ve([(0,e.IIB)()],ur.prototype,"confirmBtnTmpl",void 0),ve([(0,e.IIB)()],ur.prototype,"format",null),ve([(0,e.IIB)()],ur.prototype,"min",null),ve([(0,e.IIB)()],ur.prototype,"max",null),ve([(0,e.IIB)()],ur.prototype,"defaultTime",null),ve([(0,e.IIB)()],ur.prototype,"minutesGap",null),ve([(0,e.r_U)()],ur.prototype,"timeChanged",void 0),ur=No=ve([Re(1,(0,e.tBr)(dr))],ur);let ro=(()=>{let a=class{constructor(n){this.timeParser=n,this.timeChanged=new e.vpe}ngOnChanges(n){n.timeList&&null!=this.time&&this.isSelectedTimeDisabled(this.time)&&this.setAvailableTime()}changeTime(n){n.stopPropagation();const l=String.fromCharCode(n.keyCode),w=function Bo(a,_){if(/\d/.test(_))return+(a+_)}(String(this.time),l);this.changeTimeIfValid(w)}onKeydown(n){switch(n.stopPropagation(),pr(n)||n.preventDefault(),n.key){case"ArrowUp":this.increase();break;case"ArrowDown":this.decrease()}this.preventTyping&&"Tab"!==n.key&&n.preventDefault()}increase(){if(!this.disabled){let n=+this.time+(this.minutesGap||1);n>this.max&&(n=this.min),this.isSelectedTimeDisabled(n)&&(n=this.getAvailableTime(n,this.getNextAvailableTime.bind(this))),n!==this.time&&this.timeChanged.emit(n)}}decrease(){if(!this.disabled){let n=+this.time-(this.minutesGap||1);nthis.max){const l=String(n);this.time=+l[l.length-1]}this.timel.time===n).disabled}getNextAvailableTime(n){const l=this.timeList,w=l.length;for(let E=n+1;E=0;l--){const w=this.timeList[l];if(!w.disabled)return w.time}}getAvailableTime(n,l){const E=l(this.timeList.findIndex(Ae=>Ae.time===n));return null!=E?E:this.time}setAvailableTime(){const n=this.timeList.find(l=>!l.disabled);null!=n&&(this.time=n.time,this.timeChanged.emit(this.time))}};return a.\u0275fac=function(n){return new(n||a)(e.Y36(cr))},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-timepicker-time-control"]],inputs:{time:"time",min:"min",max:"max",placeholder:"placeholder",timeUnit:"timeUnit",disabled:"disabled",timeList:"timeList",preventTyping:"preventTyping",minutesGap:"minutesGap"},outputs:{timeChanged:"timeChanged"},features:[e._Bn([cr]),e.TTD],decls:9,vars:13,consts:[[1,"ngx-timepicker-control",3,"ngClass"],["maxlength","2",1,"ngx-timepicker-control__input",3,"ngModel","placeholder","disabled","ngModelChange","keydown","keypress","focus","blur"],[1,"ngx-timepicker-control__arrows"],["role","button",1,"ngx-timepicker-control__arrow",3,"click"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"input",1),e.NdJ("ngModelChange",function(E){return l.onModelChange(E)})("keydown",function(E){return l.onKeydown(E)})("keypress",function(E){return l.changeTime(E)})("focus",function(){return l.onFocus()})("blur",function(){return l.onBlur()}),e.ALo(2,"timeLocalizer"),e.ALo(3,"timeParser"),e.qZA(),e.TgZ(4,"div",2)(5,"span",3),e.NdJ("click",function(){return l.increase()}),e._uU(6," \u25b2 "),e.qZA(),e.TgZ(7,"span",3),e.NdJ("click",function(){return l.decrease()}),e._uU(8," \u25bc "),e.qZA()()()),2&n&&(e.Q6J("ngClass",e.VKq(11,Xr,l.isFocused)),e.xp6(1),e.Q6J("ngModel",e.Dn7(2,4,e.xi3(3,8,l.time,l.timeUnit),l.timeUnit,!0))("placeholder",l.placeholder)("disabled",l.disabled))},directives:function(){return[u.mk,c.Fj,c.nD,c.JJ,c.On]},pipes:function(){return[Jo,cr]},styles:['.ngx-timepicker-control[_ngcontent-%COMP%]{position:relative;display:flex;width:60px;height:30px;padding:0 5px;box-sizing:border-box}.ngx-timepicker-control--active[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-2px;left:0;width:100%;height:1px;background-color:#00bfff}.ngx-timepicker-control__input[_ngcontent-%COMP%]{width:100%;height:100%;padding:0 5px 0 0;border:0;font-size:1rem;color:inherit;outline:0;text-align:center}.ngx-timepicker-control__input[_ngcontent-%COMP%]:disabled{background-color:transparent}.ngx-timepicker-control__arrows[_ngcontent-%COMP%]{position:absolute;right:2px;top:0;display:flex;flex-direction:column}.ngx-timepicker-control__arrow[_ngcontent-%COMP%]{font-size:11px;color:rgba(0,0,0,.4);cursor:pointer;transition:color .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ngx-timepicker-control__arrow[_ngcontent-%COMP%]:hover{color:rgba(0,0,0,.9)}'],changeDetection:0}),ve([(0,e.IIB)()],a.prototype,"time",void 0),ve([(0,e.IIB)()],a.prototype,"min",void 0),ve([(0,e.IIB)()],a.prototype,"max",void 0),ve([(0,e.IIB)()],a.prototype,"placeholder",void 0),ve([(0,e.IIB)()],a.prototype,"timeUnit",void 0),ve([(0,e.IIB)()],a.prototype,"disabled",void 0),ve([(0,e.IIB)()],a.prototype,"timeList",void 0),ve([(0,e.IIB)()],a.prototype,"preventTyping",void 0),ve([(0,e.IIB)()],a.prototype,"minutesGap",void 0),ve([(0,e.r_U)()],a.prototype,"timeChanged",void 0),a})(),sr=(()=>{let a=class{constructor(n){this.locale=n,this.periodSelected=new e.vpe,this.period=xn,this.meridiems=Ye.kI.meridiems({locale:this.locale})}set selectedPeriod(n){n&&(this.localizedPeriod=this.meridiems[[xn.AM,xn.PM].indexOf(n)])}open(){this.disabled||(this.isOpened=!0)}select(n){this.periodSelected.next(n),this.isOpened=!1}backdropClick(){this.isOpened=!1}};return a.\u0275fac=function(n){return new(n||a)(e.Y36(dr))},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-timepicker-period-selector"]],inputs:{selectedPeriod:"selectedPeriod",isOpened:"isOpened",disabled:"disabled"},outputs:{periodSelected:"periodSelected"},decls:9,vars:6,consts:[[1,"period"],[1,"period-control"],["type","button",1,"period-control__button","period__btn--default",3,"ngClass","click"],[1,"period-control__arrow"],["class","period-selector",3,"timepickerAutofocus",4,"ngIf"],["class","overlay",3,"click",4,"ngIf"],[1,"period-selector",3,"timepickerAutofocus"],["type","button",1,"period-selector__button","period__btn--default",3,"ngClass","click"],[1,"overlay",3,"click"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return l.open()}),e.TgZ(3,"span"),e._uU(4),e.qZA(),e.TgZ(5,"span",3),e._uU(6,"\u25bc"),e.qZA()()(),e.YNc(7,Mo,7,10,"ul",4),e.qZA(),e.YNc(8,_o,1,0,"div",5)),2&n&&(e.xp6(2),e.Q6J("ngClass",e.VKq(4,Gr,l.disabled)),e.xp6(2),e.Oqu(l.localizedPeriod),e.xp6(3),e.Q6J("ngIf",l.isOpened),e.xp6(1),e.Q6J("ngIf",l.isOpened))},directives:[u.mk,u.O5,fr],styles:['.period[_ngcontent-%COMP%]{position:relative}.period__btn--default[_ngcontent-%COMP%]{padding:0;border:none;background-color:transparent;cursor:pointer;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;outline:0}.period-control[_ngcontent-%COMP%]{position:relative}.period-control__button[_ngcontent-%COMP%]{position:relative;width:60px;font-size:1rem;color:inherit;text-align:center}.period-control__button[_ngcontent-%COMP%]:not(.period-control__button--disabled):focus:after{content:"";position:absolute;bottom:-8px;left:0;width:100%;height:1px;background-color:#00bfff}.period-control__arrow[_ngcontent-%COMP%]{margin-left:10px;font-size:12px;color:rgba(0,0,0,.4)}.period-selector[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 50px);right:calc(-50% + -50px);max-width:135px;width:150px;padding:6px 0;margin:0;list-style:none;background-color:#f5f5f5;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);z-index:201}.period-selector__button[_ngcontent-%COMP%]{width:100%;height:48px;padding:0 16px;line-height:48px}.period-selector__button--active[_ngcontent-%COMP%]{color:#00bfff}.period-selector__button[_ngcontent-%COMP%]:focus{background-color:#eee}.overlay[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;top:0;left:0;background-color:transparent;z-index:200}'],data:{animation:[(0,Jt.X$)("scaleInOut",[(0,Jt.eR)(":enter",[(0,Jt.oB)({transform:"scale(0)",opacity:0}),(0,Jt.jt)(200,(0,Jt.oB)({transform:"scale(1)",opacity:1}))]),(0,Jt.eR)(":leave",[(0,Jt.jt)(200,(0,Jt.oB)({transform:"scale(0)",opacity:0}))])])]},changeDetection:0}),ve([(0,e.IIB)()],a.prototype,"isOpened",void 0),ve([(0,e.IIB)()],a.prototype,"disabled",void 0),ve([(0,e.IIB)()],a.prototype,"selectedPeriod",null),ve([(0,e.r_U)()],a.prototype,"periodSelected",void 0),a=ve([Re(0,(0,e.tBr)(dr))],a),a})(),Jo=(()=>{let a=class{constructor(n){this.locale=n}transform(n,l,w=!1){if(null==n||""===n)return"";switch(l){case en.HOUR:return this.formatTime("hour",n,0===n||w?"HH":"H");case en.MINUTE:return this.formatTime("minute",n,"mm");default:throw new Error(`There is no Time Unit with type ${l}`)}}formatTime(n,l,w){try{return Ye.ou.fromObject({[n]:+l}).setLocale(this.locale).toFormat(w)}catch(E){throw new Error(`Cannot format provided time - ${l} to locale - ${this.locale}`)}}};return a.\u0275fac=function(n){return new(n||a)(e.Y36(dr,16))},a.\u0275pipe=e.Yjl({name:"timeLocalizer",type:a,pure:!0}),a=ve([Re(0,(0,e.tBr)(dr))],a),a})(),Vo=(()=>{let a=class{transform(n,l,w){return null!=n&&!w&&n===l}};return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"activeHour",type:a,pure:!0}),a})(),Ko=(()=>{let a=class{transform(n,l,w,E){return null!=n&&!E&&l===n&&n%(w||5)==0}};return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"activeMinute",type:a,pure:!0}),a})(),Qo=(()=>{let a=class{};return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["ngx-material-timepicker-content"]],inputs:{appendToInput:"appendToInput",inputElement:"inputElement"},ngContentSelectors:kr,decls:5,vars:2,consts:[[3,"ngxAppendToInput",4,"ngIf","ngIfElse"],["timepickerModal",""],["timepickerOutlet",""],[3,"ngxAppendToInput"],[4,"ngTemplateOutlet"]],template:function(n,l){if(1&n&&(e.F$t(),e.YNc(0,to,2,2,"div",0),e.YNc(1,mt,1,1,"ng-template",null,1,e.W1O),e.YNc(3,wt,1,0,"ng-template",null,2,e.W1O)),2&n){const w=e.MAs(2);e.Q6J("ngIf",l.appendToInput)("ngIfElse",w)}},directives:function(){return[u.O5,Vr,u.tP]},encapsulation:2}),ve([(0,e.IIB)()],a.prototype,"appendToInput",void 0),ve([(0,e.IIB)()],a.prototype,"inputElement",void 0),a})(),Vr=(()=>{let a=class{constructor(n,l){this.renderer=l,this.element=n.nativeElement}get inputCords(){return this.inputElement.getBoundingClientRect()}get direction(){const n=this.element.offsetHeight,{bottom:l,top:w}=this._inputCords,E=(window&&window.innerHeight)-ln?"top":E&&wJSON.parse(a.data),serializer:a=>JSON.stringify(a)};class hi extends A.u{constructor(_,n){if(super(),this._socket=null,_ instanceof Sn.y)this.destination=n,this.source=_;else{const l=this._config=Object.assign({},Dn);if(this._output=new A.x,"string"==typeof _)l.url=_;else for(const w in _)_.hasOwnProperty(w)&&(l[w]=_[w]);if(!l.WebSocketCtor&&WebSocket)l.WebSocketCtor=WebSocket;else if(!l.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new k.t}}lift(_){const n=new hi(this._config,this.destination);return n.operator=_,n.source=this,n}_resetState(){this._socket=null,this.source||(this.destination=new k.t),this._output=new A.x}multiplex(_,n,l){const w=this;return new Sn.y(E=>{try{w.next(_())}catch(ft){E.error(ft)}const Ae=w.subscribe(ft=>{try{l(ft)&&E.next(ft)}catch(jt){E.error(jt)}},ft=>E.error(ft),()=>E.complete());return()=>{try{w.next(n())}catch(ft){E.error(ft)}Ae.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:_,protocol:n,url:l,binaryType:w}=this._config,E=this._output;let Ae=null;try{Ae=n?new _(l,n):new _(l),this._socket=Ae,w&&(this._socket.binaryType=w)}catch(jt){return void E.error(jt)}const ft=new rn.w0(()=>{this._socket=null,Ae&&1===Ae.readyState&&Ae.close()});Ae.onopen=jt=>{const{_socket:zt}=this;if(!zt)return Ae.close(),void this._resetState();const{openObserver:yn}=this._config;yn&&yn.next(jt);const jn=this.destination;this.destination=Ut.Lv.create(ei=>{if(1===Ae.readyState)try{const{serializer:yi}=this._config;Ae.send(yi(ei))}catch(yi){this.destination.error(yi)}},ei=>{const{closingObserver:yi}=this._config;yi&&yi.next(void 0),ei&&ei.code?Ae.close(ei.code,ei.reason):E.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:ei}=this._config;ei&&ei.next(void 0),Ae.close(),this._resetState()}),jn&&jn instanceof k.t&&ft.add(jn.subscribe(this.destination))},Ae.onerror=jt=>{this._resetState(),E.error(jt)},Ae.onclose=jt=>{this._resetState();const{closeObserver:zt}=this._config;zt&&zt.next(jt),jt.wasClean?E.complete():E.error(jt)},Ae.onmessage=jt=>{try{const{deserializer:zt}=this._config;E.next(zt(jt))}catch(zt){E.error(zt)}}}_subscribe(_){const{source:n}=this;return n?n.subscribe(_):(this._socket||this._connectSocket(),this._output.subscribe(_),_.add(()=>{const{_socket:l}=this;0===this._output.observers.length&&(l&&(1===l.readyState||0===l.readyState)&&l.close(),this._resetState())}),_)}unsubscribe(){const{_socket:_}=this;_&&(1===_.readyState||0===_.readyState)&&_.close(),this._resetState(),super.unsubscribe()}}function Ui(a,_){if(1&a&&e._UZ(0,"i",2),2&a){const n=e.oxw();e.Gre("fa fa-",n.icon,""),e.Q6J("ngClass","background-"+n.colorClass)}}function _i(a,_){if(1&a&&e._UZ(0,"i"),2&a){const n=e.oxw();e.Gre("icon fa fa-",n.icon,"")}}const Ii=function(a,_){return[a,_]},Fr=["container"],ho=["textBoxComponent"];function So(a,_){if(1&a&&(e.TgZ(0,"div",4),e._UZ(1,"i",5),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",n.iconClass)}}function lo(a,_){1&a&&(e.TgZ(0,"div",6),e._uU(1,"This field is required"),e.qZA())}const Wo=function(a,_){return{"center-text":a,invalid:_}};function ci(a,_){if(1&a&&e._UZ(0,"i"),2&a){const n=e.oxw();e.Tol(n.iconClass),e.uIk("data-id",n.buttonIdValue()+"-icon")}}function vi(a,_){if(1&a&&(e.TgZ(0,"span",3),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.uIk("data-id",n.buttonIdValue()+"-badge"),e.xp6(1),e.Oqu(n.badge)}}const bi=function(a){return{maxWidth:a}};function Vi(a,_){if(1&a&&(e.TgZ(0,"div",1),e.Hsn(1),e.qZA()),2&a){const n=e.oxw();e.Udp("z-index",n.zIndex),e.uIk("data-page-object-name",n.pageObjectName)}}const pe=["*"],ie=["modal"];function Ue(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",6),e.NdJ("click",function(){return e.CHM(n),e.oxw().resolve(!1)}),e._UZ(1,"i",7),e.qZA()}if(2&a){const n=e.oxw();e.uIk("data-id",n.dialogName+"-header-close")}}const st=[[["div",8,"body"]],[["div",8,"footer"]]],yt=["div.body","div.footer"],wi=["multiLineTextBox"];function Mi(a,_){if(1&a&&(e.TgZ(0,"div",3),e._uU(1,"This field is required."),e.qZA()),2&a){const n=e.oxw();e.uIk("data-id","error-"+n.textInputDataId)}}function co(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){const E=e.CHM(n).$implicit;return e.oxw().selectAction(E.key)}),e._UZ(1,"i"),e.TgZ(2,"span",3),e._uU(3),e.qZA()()}if(2&a){const n=_.$implicit,l=e.oxw();e.ekj("action-list-item-without-box",l.showWithoutBox())("action-list-margin",!l.negativeMargins)("action-list-padded",l.negativeMargins),e.uIk("id","action-"+n.key),e.xp6(1),e.Tol("icon-width fa fa-"+n.icon),e.xp6(1),e.uIk("data-id","action-item-text-"+n.item),e.xp6(1),e.Oqu(n.item)}}const qr=["popoverBody"],Xo=[[["","popoverHeader",""]],[["","popoverMessage",""]]],so=["[popoverHeader]","[popoverMessage]"],is=["popOverIcon"],Ks=["popOverComponent"];function zo(a,_){if(1&a&&(e.TgZ(0,"p",9),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.hij(" ",n.popoverHeader," ")}}const Ms=[[["","content",""]]],Br=["[content]"];function re(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"pa-thin-action-button",7),e.NdJ("click",function(){return e.CHM(n),e.oxw().closeClick.next()}),e.qZA()}}const C=["thumbnail"],T=["videoPlayer"];function D(a,_){if(1&a&&(e._UZ(0,"img",24),e.ALo(1,"async")),2&a){const n=e.oxw(2);e.Q6J("src",e.lcZ(1,1,n.selectedImage).imageUrl,e.LSH)}}function M(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"video",25,26),e.NdJ("click",function(w){return e.CHM(n),e.oxw(2).toggleVideo(w)})("error",function(){return e.CHM(n),e.oxw(2).videoError()}),e.ALo(2,"async"),e.qZA()}if(2&a){const n=e.oxw(2);e.Q6J("src",e.lcZ(2,1,n.selectedImage).imageUrl,e.LSH)}}function P(a,_){if(1&a&&(e.TgZ(0,"div",21),e.YNc(1,D,2,3,"img",22),e.ALo(2,"async"),e.YNc(3,M,3,3,"video",23),e.ALo(4,"async"),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",!e.lcZ(2,2,n.selectedImage).isVideo),e.xp6(2),e.Q6J("ngIf",e.lcZ(4,4,n.selectedImage).isVideo)}}function J(a,_){1&a&&e._UZ(0,"pa-video-incompatible",27),2&a&&e.Q6J("hideCloseButton",!0)}function Ee(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div")(1,"div",28),e.NdJ("click",function(){return e.CHM(n),e.oxw().previous()}),e._UZ(2,"i",29),e.qZA()()}if(2&a){const n=e.oxw();e.xp6(1),e.uIk("data-id","thumbnail-left-"+n.id)}}function ze(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"img",32),e.NdJ("click",function(){e.CHM(n);const w=e.oxw().index;return e.oxw().setImageIndex(w)}),e.qZA()}if(2&a){const n=e.oxw(),l=n.$implicit,w=n.index,E=e.oxw();e.Q6J("src",l.thumbnailUrl,e.LSH)("ngClass",E.selectedIndex===w?"active":""),e.uIk("data-id","thumbnail-"+w+"-"+E.id)}}function At(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",33),e.NdJ("click",function(){e.CHM(n);const w=e.oxw().index;return e.oxw().setImageIndex(w)}),e._UZ(1,"img",34),e.qZA()}if(2&a){const n=e.oxw().index,l=e.oxw();e.Q6J("ngClass",l.selectedIndex===n?"active":"")}}function cn(a,_){if(1&a&&(e.ynx(0),e.YNc(1,ze,1,3,"img",30),e.YNc(2,At,2,1,"div",31),e.BQk()),2&a){const n=_.$implicit;e.xp6(1),e.Q6J("ngIf",n.thumbnailUrl&&!n.isVideo),e.xp6(1),e.Q6J("ngIf",n.isVideo)}}function vn(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div")(1,"div",35),e.NdJ("click",function(){return e.CHM(n),e.oxw().next()}),e._UZ(2,"i",36),e.qZA()()}if(2&a){const n=e.oxw();e.xp6(1),e.uIk("data-id","thumbnail-right-"+n.id)}}function An(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",6)(1,"div",7)(2,"i",8),e.NdJ("click",function(){return e.CHM(n),e.oxw(),e.MAs(1).resolve(null)}),e.qZA()(),e.TgZ(3,"div",9)(4,"video",10,11),e.NdJ("error",function(){return e.CHM(n),e.oxw().mediaError()})("click",function(w){return e.CHM(n),e.oxw().toggleVideo(w)}),e.qZA()()()}if(2&a){const n=e.oxw();e.xp6(4),e.Q6J("src",n.videoUrl,e.LSH)}}function Rn(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"pa-video-incompatible",12),e.NdJ("closeClick",function(){return e.CHM(n),e.oxw(),e.MAs(1).resolve(null)}),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("unsupportedMediaMessage",n.unsupportedMediaMessage)}}function ai(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"input",8),e.NdJ("dateChange",function(w){return e.CHM(n),e.oxw().onDateChange(w.value)}),e.qZA()}if(2&a){const n=e.oxw(),l=e.MAs(7);e.Q6J("matDatepicker",l)("value",n.date)("max",n.maxDate)("min",n.minDate)}}function Wi(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"input",9),e.NdJ("dateChange",function(w){return e.CHM(n),e.oxw().onDateChange(w.value)}),e.qZA()}if(2&a){const n=e.oxw(),l=e.MAs(7);e.Q6J("matDatepicker",l)("value",n.date)("max",n.maxDate)}}function gr(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"input",10),e.NdJ("dateChange",function(w){return e.CHM(n),e.oxw().onDateChange(w.value)}),e.qZA()}if(2&a){const n=e.oxw(),l=e.MAs(7);e.Q6J("matDatepicker",l)("value",n.date)}}function tr(a,_){1&a&&(e.TgZ(0,"span"),e._uU(1,"Select date range"),e.qZA())}function Si(a,_){if(1&a&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"dateOrdinal"),e.ALo(3,"date"),e.ALo(4,"date"),e.ALo(5,"dateOrdinal"),e.ALo(6,"date"),e.ALo(7,"date"),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.HOy(" ",e.lcZ(2,4,+e.xi3(3,6,n.fromDate,"d"))," ",e.xi3(4,9,n.fromDate,"MMM y")," - ",e.lcZ(5,12,+e.xi3(6,14,n.toDate,"d"))," ",e.xi3(7,17,n.toDate,"MMM y")," ")}}function Fo(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",2),e.NdJ("click",function(){return e.CHM(n),e.oxw().showChangeDialog()}),e.TgZ(1,"div",3),e.YNc(2,tr,2,0,"span",4),e.YNc(3,Si,8,20,"span",4),e.qZA(),e.TgZ(4,"span",5),e._UZ(5,"i",6),e.qZA()()}if(2&a){const n=e.oxw();e.xp6(2),e.Q6J("ngIf",!n.fromDate||!n.toDate),e.xp6(1),e.Q6J("ngIf",n.fromDate&&n.toDate)}}function fa(a,_){1&a&&(e.TgZ(0,"div",20),e._uU(1,"The start date must be before the end date."),e.qZA())}function Qs(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"pa-large-header-modal",7,8)(2,"div",9)(3,"div",10),e.YNc(4,fa,2,0,"div",11),e.TgZ(5,"div",12)(6,"span",13),e._uU(7,"Start date"),e.qZA(),e.TgZ(8,"pa-calendar-control",14),e.NdJ("onStartDateChange",function(w){return e.CHM(n),e.oxw().newFromDate(w)}),e.qZA()(),e.TgZ(9,"div",12)(10,"span",15),e._uU(11,"End date"),e.qZA(),e.TgZ(12,"pa-calendar-control",16),e.NdJ("onStartDateChange",function(w){return e.CHM(n),e.oxw().newToDate(w)}),e.qZA()()()(),e.TgZ(13,"div",17)(14,"pa-text-button-updated",18),e.NdJ("click",function(){return e.CHM(n),e.MAs(1).resolve(!1)}),e.qZA(),e.TgZ(15,"pa-primary-button",19),e.NdJ("click",function(){return e.CHM(n),e.MAs(1).resolve(!0)}),e.qZA()()()}if(2&a){const n=e.oxw();e.Q6J("dialogName",n.getDialogName()),e.xp6(4),e.Q6J("ngIf",n.isDateInvalid()),e.xp6(4),e.Q6J("date",null==n.newDateValues?null:n.newDateValues.from),e.xp6(4),e.Q6J("date",null==n.newDateValues?null:n.newDateValues.to),e.xp6(3),e.Q6J("disabled",!n.canBeSaved())}}function rs(a,_){if(1&a&&(e.TgZ(0,"mat-option",5),e.ALo(1,"dataIdFormatter"),e._uU(2),e.qZA()),2&a){const n=_.$implicit,l=e.oxw();e.Q6J("value",n)("disabled",l.isSelectionDisabled()),e.uIk("data-id",e.lcZ(1,4,"dropdown-option-"+n.value.toString())),e.xp6(2),e.hij(" ",n.value," ")}}const ll=[[["div",8,"message"]],[["",8,"multi-button-content"]]],ja=["div.message",".multi-button-content"];function ga(a,_){if(1&a&&(e.TgZ(0,"div",1)(1,"div",2),e._UZ(2,"mat-progress-spinner",3),e.qZA()()),2&a){const n=e.oxw();e.ekj("loading-overlay",!n.hideBackdrop)("relative-layout",n.hideBackdrop),e.xp6(1),e.ekj("view-height-position",n.isPositionedUsingViewHeight),e.xp6(1),e.uIk("data-id","spinner-"+n.name)}}function Ns(a,_){if(1&a&&e._UZ(0,"pa-loading-spinner",10),2&a){const n=e.oxw();e.Q6J("name",n.loadingSpinnerTitle)}}function Ss(a,_){if(1&a&&(e.TgZ(0,"span",11),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Oqu(n.titleText)}}function Bs(a,_){if(1&a&&(e.TgZ(0,"span",12)(1,"span",11),e._uU(2),e.qZA(),e.TgZ(3,"span",13)(4,"span",14),e._uU(5),e.qZA(),e.Hsn(6,2),e.qZA()()),2&a){const n=e.oxw();e.xp6(2),e.Oqu(n.titleText),e.xp6(2),e.uIk("data-id",n.titleText.split(" ").join("-")+"-modal-subtitle"),e.xp6(1),e.Oqu(n.subtitleText)}}function cl(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"span",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().resolve()}),e.qZA()}if(2&a){const n=e.oxw();e.uIk("data-id",n.titleText.split(" ").join("-")+"-modal-close")}}const Xs=[[["","content",""]],[["","footer",""]],[["","subtitleAction",""]]],us=["[content]","[footer]","[subtitleAction]"];function xs(a,_){if(1&a&&(e.TgZ(0,"span",5),e._UZ(1,"i",6),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",e.WLB(2,Ii,"fa-"+n.iconClass,"icon-color-"+n.iconColor)),e.uIk("data-id",n.idData+"-"+n.iconClass)}}function ea(a,_){if(1&a&&(e.TgZ(0,"div",7)(1,"p"),e._uU(2),e.qZA()()),2&a){const n=e.oxw();e.xp6(2),e.Oqu(n.count)}}const zr=function(a){return[a,"cross"]};function Ha(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"span",8),e.NdJ("click",function(){e.CHM(n);const w=e.oxw();return w.onDelete.emit(w.id)}),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("ngClass",e.VKq(2,zr,"text-color-"+n.textColor)),e.uIk("data-id","pill-"+n.text+"-delete-button")}}function dl(a,_){if(1&a&&e._UZ(0,"i"),2&a){const n=e.oxw();e.Gre("fa fa-",n.icon,"")}}const Us=["radioButton"];function ta(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"input",7,8),e.NdJ("ngModelChange",function(w){return e.CHM(n),e.oxw().checked=w}),e.qZA()}if(2&a){const n=e.oxw();e.s9C("name",n.radioGroupName),e.Q6J("ngModel",n.checked)("value",n.value)}}function Ya(a,_){if(1&a&&e._UZ(0,"input",9,8),2&a){const n=e.oxw();e.s9C("name",n.value),e.Q6J("checked",n.checked)("value",n.value)}}function ul(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",5),e.NdJ("click",function(){return e.CHM(n),e.oxw().onChange()}),e._uU(1),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("ngClass","label-"+n.labelColor),e.xp6(1),e.hij(" ",n.label," ")}}function Ga(a,_){if(1&a&&(e.TgZ(0,"div",11),e._uU(1),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.title," ")}}function Ds(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div")(1,"div",12)(2,"pa-checkbox",13),e.NdJ("valueChange",function(w){return e.CHM(n),e.oxw(2).toggleDoNotShow(w)}),e.qZA()()()}}function hl(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"div",2)(3,"div",3),e._UZ(4,"i",4),e.qZA(),e.TgZ(5,"div",5),e.YNc(6,Ga,2,1,"div",6),e.TgZ(7,"div",7),e._uU(8),e.qZA(),e.YNc(9,Ds,3,0,"div",8),e.qZA(),e.TgZ(10,"div",9),e.NdJ("click",function(w){return e.CHM(n),e.oxw().closeOverlay(w)}),e._UZ(11,"i",10),e.qZA()()()()}if(2&a){const n=e.oxw();e.Q6J("ngClass",n.getBannerPosition()),e.xp6(1),e.ekj("show",n.showOverlay)("banner",!0),e.Q6J("ngClass",n.getBackgroundColor()),e.xp6(1),e.Q6J("ngClass",n.getContentLayout()),e.xp6(2),e.Q6J("ngClass","fa-"+n.iconClass),e.xp6(2),e.Q6J("ngIf",n.title),e.xp6(1),e.Q6J("ngClass",n.getTextLayout()),e.xp6(1),e.hij(" ",n.message," "),e.xp6(1),e.Q6J("ngIf",n.enableDontShow)}}function ao(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",2)(1,"span",3),e._uU(2),e.qZA(),e.TgZ(3,"button",4),e.NdJ("click",function(){const E=e.CHM(n).$implicit;return e.oxw().dismiss(E.id)}),e._uU(4," \xd7 "),e.qZA()()}if(2&a){const n=_.$implicit,l=e.oxw();e.Q6J("ngClass",l.getKindClass(n)),e.uIk("data-toast-id",n.id),e.xp6(2),e.Oqu(n.text),e.xp6(1),e.uIk("data-dismiss-toast-id",n.id)}}function js(a,_){if(1&a){const n=e.EpF();e.ynx(0),e.TgZ(1,"img",3),e.NdJ("error",function(){return e.CHM(n),e.oxw().loadImageUrl()}),e.qZA(),e.BQk()}if(2&a){const n=e.oxw();e.xp6(1),e.Q6J("src",n.thumbnailUrl,e.LSH)("alt",n.title)("title",n.title)}}function ks(a,_){if(1&a){const n=e.EpF();e.ynx(0),e.TgZ(1,"img",3),e.NdJ("error",function(){return e.CHM(n),e.oxw().loadDefaultImage()}),e.qZA(),e.BQk()}if(2&a){const n=e.oxw();e.xp6(1),e.Q6J("src",n.imageUrl,e.LSH)("alt",n.title)("title",n.title)}}function pl(a,_){1&a&&(e.ynx(0),e.TgZ(1,"span",4),e._UZ(2,"i",5),e.qZA(),e.BQk())}function _a(a,_){1&a&&e._UZ(0,"pa-default-video-thumbnail")}function Uo(a,_){if(1&a&&(e.TgZ(0,"div",6)(1,"a",7),e._UZ(2,"i",8),e.qZA()()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("href",n.imageUrl,e.LSH)}}const Zo=["content"],va=["invisiblePadding"];function Yo(a,_){1&a&&e._UZ(0,"div",2,3)}const hs=["viewContainerRef"],ya=["scroll"],Va=["tableHeader"];function Wa(a,_){if(1&a&&e._UZ(0,"pa-circle-icon",16),2&a){const n=e.oxw().$implicit;e.Gre("icon-",n.iconColor,""),e.s9C("iconClass",n.icon),e.Q6J("iconSize",n.iconSize),e.uIk("data-id","icon-"+n.key)}}function qn(a,_){if(1&a&&(e.TgZ(0,"div",17),e._UZ(1,"i",18),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("ngClass","fa fa-"+n.icon)}}function Qc(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",19)(1,"pa-checkbox",20),e.NdJ("valueChange",function(){return e.CHM(n),e.oxw(2).toggleAllChecks()}),e.qZA()()}if(2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("checked",n.selectionManager.isSelectAllChecked())("dataIdOverride","select-all-checkbox")}}function Ca(a,_){if(1&a&&(e.TgZ(0,"div",21)(1,"pa-icon-popover-button",22),e._UZ(2,"pa-dynamic-content",23),e.qZA()()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("width",n.infoPopup.widthToRender)("isHeaderRequired",!1)("bottomPosition",!0)("popoverHeader","TEST2")("popoverRequired",!0),e.xp6(1),e.Q6J("componentToRender",n.infoPopup.componentToRenderInPopup)}}const Co=function(a){return[a]};function _r(a,_){if(1&a&&(e.TgZ(0,"div",24),e._UZ(1,"i",25),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngClass",e.VKq(1,Co,n.sortAsc?"fa-angle-up":"fa-angle-down"))}}function As(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"th",10),e.NdJ("click",function(){const w=e.CHM(n),E=w.index,Ae=w.$implicit;return e.oxw().sortOrder(E,Ae.key)}),e.TgZ(1,"div"),e.YNc(2,Wa,1,6,"pa-circle-icon",11),e.YNc(3,qn,2,1,"div",12),e.YNc(4,Qc,2,2,"div",13),e._uU(5),e.ALo(6,"uppercase"),e.YNc(7,Ca,3,6,"div",14),e.YNc(8,_r,2,3,"div",15),e.qZA()()}if(2&a){const n=_.$implicit,l=_.index,w=e.oxw();e.Gre("priority-",n.displayPriority,""),e.ekj("selected-header",w.isSortedIndex(l))("header-narrow",w.isNarrowColumn(n.columnWidth))("header-wide",w.isWideColumn(n.columnWidth))("header-medium",w.isMediumColumn(n.columnWidth))("sortable",n.isSortable)("create-heading",w.isCreateHeader(n.headerRenderType)),e.Q6J("id",n.isSortable?"sort-"+n.key:"data-"+n.key),e.uIk("data-id",n.isSortable?"sort-"+n.key:"data-"+n.key),e.xp6(1),e.ekj("icon-header",w.isIconHeader(n.headerRenderType)),e.xp6(1),e.Q6J("ngIf",w.isCircleIconHeader(n.headerRenderType)),e.xp6(1),e.Q6J("ngIf",w.isIconHeader(n.headerRenderType)),e.xp6(1),e.Q6J("ngIf",w.isCheckBoxHeader(n.headerRenderType)),e.xp6(1),e.hij(" ",e.lcZ(6,25,n.title)," "),e.xp6(2),e.Q6J("ngIf",n.infoPopup),e.xp6(1),e.Q6J("ngIf",w.shouldShowCaret(l))}}function za(a,_){if(1&a&&(e.TgZ(0,"tr")(1,"td"),e._UZ(2,"pa-no-children-found"),e.qZA()()),2&a){const n=e.oxw();e.xp6(1),e.uIk("colspan",n.childrenListViewColumnsLength())}}function Hs(a,_){if(1&a&&e._UZ(0,"img",47),2&a){const n=e.oxw(2),l=n.$implicit,w=n.index,E=e.oxw(2).$implicit,Ae=e.oxw();e.s9C("src",l,e.LSH),e.uIk("data-id","data-row-"+E.dataIndex+"-"+Ae.listViewColumns[w].key+"-image")}}const Xl=function(a){return{"fa fa-user-circle":a}};function ec(a,_){if(1&a&&(e.TgZ(0,"div",18),e.YNc(1,Hs,1,2,"img",46),e.qZA()),2&a){const n=e.oxw().$implicit,l=e.oxw(3);e.Q6J("ngClass",e.VKq(2,Xl,!l.imageUrlIsSpecified(n))),e.xp6(1),e.Q6J("ngIf",l.imageUrlIsSpecified(n))}}function tc(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",48),e.NdJ("click",function(){e.CHM(n);const w=e.oxw().index,E=e.oxw(2).$implicit;return e.oxw().showCellDetails(E,w)}),e._UZ(1,"pa-count-circle",49),e.qZA()}if(2&a){const n=e.oxw(),l=n.index,w=n.$implicit,E=e.oxw(2).index,Ae=e.oxw();e.xp6(1),e.Q6J("isSelected",Ae.isCellToShow(E,l))("count",w),e.uIk("data-id","data-row-"+E+"-"+Ae.listViewColumns[l].key)}}function nc(a,_){if(1&a&&(e.TgZ(0,"div",50),e._UZ(1,"pa-count-circle",51),e.qZA()),2&a){const n=e.oxw(),l=n.$implicit,w=n.index,E=e.oxw(2).index,Ae=e.oxw();e.xp6(1),e.Q6J("count",l),e.uIk("data-id","data-row-"+E+"-"+Ae.listViewColumns[w].key)}}function ic(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"pa-create-plus",55),e.NdJ("createItem",function(){e.CHM(n);const w=e.oxw(4).$implicit;return e.oxw().create(w)}),e.qZA()}if(2&a){const n=e.oxw(2).index,l=e.oxw(2).$implicit,w=e.oxw();e.Q6J("rowNumber",l.dataIndex),e.uIk("data-id","data-row-"+l.dataIndex+"-"+w.listViewColumns[n].key)}}function ps(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"i",56),e.NdJ("click",function(){return e.CHM(n),e.oxw(5).collapseExpandedRow()}),e.qZA()}if(2&a){const n=e.oxw(2).index,l=e.oxw(2).index,w=e.oxw();e.uIk("data-id","data-row-"+l+"-"+w.listViewColumns[n].key)}}function Tl(a,_){if(1&a&&(e.TgZ(0,"div",52),e.YNc(1,ic,1,2,"pa-create-plus",53),e.YNc(2,ps,1,1,"i",54),e.qZA()),2&a){const n=e.oxw(3),l=n.$implicit,w=n.index,E=e.oxw();e.xp6(1),e.Q6J("ngIf",E.isNotRowToShow(l.dataIndex)),e.xp6(1),e.Q6J("ngIf",E.isRowToShow(w))}}function Za(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",19)(1,"pa-checkbox",57),e.NdJ("valueChange",function(w){e.CHM(n);const E=e.oxw(3).$implicit;return e.oxw().checkRow(E,w)}),e.qZA()()}if(2&a){const n=e.oxw().index,l=e.oxw(2),w=l.$implicit,E=l.index,Ae=e.oxw();e.xp6(1),e.Q6J("checked",Ae.isRecordChecked(w))("componentIndex",E),e.uIk("data-id","data-row-"+E+"-"+Ae.listViewColumns[n].key)}}function Xc(a,_){if(1&a&&(e.TgZ(0,"div",58),e._uU(1),e.qZA()),2&a){const n=e.oxw(),l=n.index,w=n.$implicit,E=e.oxw(2).$implicit,Ae=e.oxw();e.ekj("text-selectable",Ae.listViewColumns[l].columnIsTextSelectable),e.uIk("data-id","data-row-"+E.dataIndex+"-"+Ae.listViewColumns[l].key+"-"+l),e.xp6(1),e.Oqu(w)}}function os(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",59),e.NdJ("click",function(){e.CHM(n);const w=e.oxw().index,E=e.oxw(2).$implicit,Ae=e.oxw();return Ae.cellClickHandler(Ae.listViewColumns[w],E)}),e._UZ(1,"i",18),e.qZA()}if(2&a){const n=e.oxw(),l=n.index,w=n.$implicit,E=e.oxw(2).index,Ae=e.oxw();e.ekj("end-row-icon",Ae.isIconOnEndOfRow(l)),e.uIk("data-id","clickable-"+E+"-"+Ae.listViewColumns[l].key),e.xp6(1),e.Q6J("ngClass","fa fa-"+w)}}function Ys(a,_){if(1&a&&(e.TgZ(0,"div",17),e._UZ(1,"i",18),e.qZA()),2&a){const n=e.oxw(),l=n.index,w=n.$implicit,E=e.oxw(2).index,Ae=e.oxw();e.ekj("end-row-icon",Ae.isIconOnEndOfRow(l)),e.uIk("data-id","plain-icon-"+E+"-"+Ae.listViewColumns[l].key),e.xp6(1),e.Q6J("ngClass","fa fa-"+w)}}function Gs(a,_){if(1&a&&(e.TgZ(0,"div",60),e._uU(1),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.Oqu(n?"Yes":"No")}}function ba(a,_){if(1&a&&(e.TgZ(0,"div",61),e._uU(1),e.ALo(2,"date"),e.qZA()),2&a){const n=e.oxw(),l=n.index,w=n.$implicit,E=e.oxw(2).$implicit,Ae=e.oxw();e.ekj("text-selectable",Ae.listViewColumns[l].columnIsTextSelectable),e.uIk("data-id","data-row-"+E.dataIndex+"-"+Ae.listViewColumns[l].key),e.xp6(1),e.Oqu(e.xi3(2,4,w,"dd MMM, yyyy"))}}function na(a,_){if(1&a&&(e.TgZ(0,"div",61),e._uU(1),e.ALo(2,"currency"),e.qZA()),2&a){const n=e.oxw(),l=n.index,w=n.$implicit,E=e.oxw(3);e.ekj("text-selectable",E.listViewColumns[l].columnIsTextSelectable),e.xp6(1),e.Oqu(e.xi3(2,3,w,"GBP"))}}function $a(a,_){if(1&a&&(e.TgZ(0,"div",62)(1,"a",63),e._uU(2,"Open"),e.qZA()()),2&a){const n=e.oxw(),l=n.index,w=n.$implicit,E=e.oxw(2).$implicit,Ae=e.oxw();e.ekj("text-selectable",Ae.listViewColumns[l].columnIsTextSelectable),e.uIk("data-id","data-row-"+E.dataIndex+"-"+Ae.listViewColumns[l].key),e.xp6(1),e.s9C("href",w,e.LSH)}}function wa(a,_){if(1&a&&e._UZ(0,"i"),2&a){const n=e.oxw(2).$implicit;e.Gre("fa fa-",null==n?null:n.icon,"")}}function es(a,_){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,wa,1,3,"i",41),e._uU(2),e.qZA()),2&a){const n=e.oxw(),l=n.$implicit,w=n.index,E=e.oxw(2).$implicit,Ae=e.oxw();e.Gre("pill pill-",null==l?null:l.color,""),e.uIk("data-id","data-row-"+E.dataIndex+"-"+Ae.listViewColumns[w].key),e.xp6(1),e.Q6J("ngIf",null==l?null:l.icon),e.xp6(1),e.Oqu(null==l?null:l.text)}}function Es(a,_){if(1&a&&e._UZ(0,"i"),2&a){const n=e.oxw().$implicit;e.Gre("fa fa-",null==n?null:n.icon,"")}}function Ta(a,_){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,Es,1,3,"i",41),e._uU(2),e.qZA()),2&a){const n=_.$implicit,l=e.oxw(4).$implicit;let w;e.Gre("pill pill-",null==n?null:n.color,""),e.uIk("data-id","pill-"+(null!==(w=null==l.originalRecord?null:l.originalRecord.id)&&void 0!==w?w:l.dataIndex)+"-"+(null==n?null:n.key)),e.xp6(1),e.Q6J("ngIf",null==n?null:n.icon),e.xp6(1),e.Oqu(null==n?null:n.text)}}function qa(a,_){if(1&a&&(e.TgZ(0,"div",64),e.YNc(1,Ta,3,6,"div",65),e.qZA()),2&a){const n=e.oxw(),l=n.index,w=n.$implicit,E=e.oxw(2).$implicit,Ae=e.oxw();e.uIk("data-id","data-row-"+E.dataIndex+"-"+Ae.listViewColumns[l].key),e.xp6(1),e.Q6J("ngForOf",w)("ngForTrackBy",Ae.trackByPill)}}function po(a,_){if(1&a&&(e.TgZ(0,"div",66),e._UZ(1,"i",18),e.qZA()),2&a){const n=e.oxw().index,l=e.oxw(2).index,w=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(2,Co,w.isRowToShow(l)?"fa fa-caret-up":"fa fa-caret-down")),e.uIk("data-id","data-row-"+l+"-"+w.listViewColumns[n].key)}}function Ma(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",67),e.NdJ("click",function(){e.CHM(n);const w=e.oxw(3).index;return e.oxw().updateClicked(w)}),e._UZ(1,"i",68),e.qZA()}}function Sa(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",69),e.NdJ("click",function(){e.CHM(n);const w=e.oxw(3).index;return e.oxw().deleteClicked(w)}),e._UZ(1,"i",70),e.qZA()}}const ia=function(a){return{"medium-width-data":a}},Ps=function(a){return{"centred-data":a}};function Ja(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"td",30),e.NdJ("click",function(){const E=e.CHM(n).index,Ae=e.oxw(2).$implicit,ft=e.oxw();return ft.rowSelectableColumn(ft.listViewColumns[E],Ae)}),e.TgZ(1,"div",18),e.YNc(2,ec,2,4,"div",31),e.YNc(3,tc,2,3,"div",32),e.YNc(4,nc,2,2,"div",33),e.YNc(5,Tl,3,2,"div",34),e.YNc(6,Za,2,3,"div",13),e.YNc(7,Xc,2,4,"div",35),e.YNc(8,os,2,4,"div",36),e.YNc(9,Ys,2,4,"div",37),e.YNc(10,Gs,2,1,"div",38),e.YNc(11,ba,3,7,"div",39),e.YNc(12,na,3,6,"div",39),e.YNc(13,$a,3,4,"div",40),e.YNc(14,es,3,6,"div",41),e.YNc(15,qa,2,3,"div",42),e.YNc(16,po,2,4,"div",43),e.YNc(17,Ma,2,0,"div",44),e.YNc(18,Sa,2,0,"div",45),e.qZA()()}if(2&a){const n=_.$implicit,l=_.index,w=e.oxw(2).index,E=e.oxw();e.Gre("priority-",E.listViewColumns[l].displayPriority,""),e.ekj("clickableColumn",E.listViewColumns[l].canColumnSelectRow&&E.canSelectCheckbox(E.listViewColumns[l],E.rows[w])),e.Q6J("ngClass",e.VKq(25,ia,E.isMediumColumn(E.listViewColumns[l].columnWidth))),e.uIk("data-id",E.listViewColumns[l].key+"-cell"),e.xp6(1),e.Q6J("ngClass",e.VKq(27,Ps,E.isNarrowColumn(E.listViewColumns[l].columnWidth)||E.isCircleCount(E.listViewColumns[l].dataColumnRenderType)||E.isCreate(E.listViewColumns[l].dataColumnRenderType))),e.xp6(1),e.Q6J("ngIf",E.isImage(E.listViewColumns[l].dataColumnRenderType)),e.xp6(1),e.Q6J("ngIf",E.isIconColumnWithData(E.listViewColumns[l].dataColumnRenderType,n)),e.xp6(1),e.Q6J("ngIf",E.isIconColumnWithNoData(E.listViewColumns[l].dataColumnRenderType,n)),e.xp6(1),e.Q6J("ngIf",E.isCreate(E.listViewColumns[l].dataColumnRenderType)),e.xp6(1),e.Q6J("ngIf",E.isCheckBox(E.listViewColumns[l].dataColumnRenderType)&&E.canSelectCheckbox(E.listViewColumns[l],E.rows[w])),e.xp6(1),e.Q6J("ngIf",E.isText(E.listViewColumns[l].dataColumnRenderType)),e.xp6(1),e.Q6J("ngIf",E.isClickableIconWithData(E.listViewColumns[l].dataColumnRenderType,n)),e.xp6(1),e.Q6J("ngIf",E.isPlainIconWithData(E.listViewColumns[l].dataColumnRenderType,n)),e.xp6(1),e.Q6J("ngIf",E.isBool(E.listViewColumns[l].dataColumnRenderType)),e.xp6(1),e.Q6J("ngIf",E.isDate(E.listViewColumns[l].dataColumnRenderType)),e.xp6(1),e.Q6J("ngIf",E.isMoney(E.listViewColumns[l].dataColumnRenderType)),e.xp6(1),e.Q6J("ngIf",E.isHyperlink(E.listViewColumns[l].dataColumnRenderType)),e.xp6(1),e.Q6J("ngIf",E.isPill(E.listViewColumns[l].dataColumnRenderType)&&n),e.xp6(1),e.Q6J("ngIf",E.isMultiplePills(E.listViewColumns[l].dataColumnRenderType)&&(null==n?null:n.length)),e.xp6(1),e.Q6J("ngIf",E.isCaret(E.listViewColumns[l].dataColumnRenderType)),e.xp6(1),e.Q6J("ngIf",E.isUpdate(E.listViewColumns[l].dataColumnRenderType)),e.xp6(1),e.Q6J("ngIf",E.isDelete(E.listViewColumns[l].dataColumnRenderType))}}function Ka(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"tr",28),e.NdJ("click",function(){e.CHM(n);const w=e.oxw().$implicit;return e.oxw().showRowDetails(w)}),e.YNc(1,Ja,19,29,"td",29),e.qZA()}if(2&a){const n=e.oxw(),l=n.$implicit,w=n.index,E=e.oxw();e.ekj("activeRow",E.isActiveRow(l.dataIndex))("odd",E.isOddRow(w))("clickable",E.hasClickableRows),e.Q6J("id","data-row-"+l.dataIndex),e.uIk("data-rendered-row-index",w)("data-id",E.rowDataIdPrefix?E.rowDataIdPrefix+"-"+(null==l.originalRecord?null:l.originalRecord.id):"data-row-"+l.dataIndex)("is-active",E.isActiveRow(l.dataIndex)),e.xp6(1),e.Q6J("ngForOf",l.data)}}function Qa(a,_){if(1&a&&(e.TgZ(0,"tr")(1,"td",71),e._UZ(2,"pa-page-divider",72),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(1),e.uIk("colspan",n.listViewColumns.length),e.xp6(1),e.Q6J("text",n.dividerText)}}function $o(a,_){if(1&a&&(e.TgZ(0,"tr",73)(1,"td"),e.Hsn(2),e.qZA()()),2&a){const n=e.oxw(2);e.ekj("activeRowArea",n.highlightSelectedRow),e.Q6J("ngClass",n.showExpandedArea?"":"hide-expanded-area"),e.xp6(1),e.uIk("colspan",n.listViewColumns.length)}}function Os(a,_){if(1&a&&(e.ynx(0),e.YNc(1,Ka,2,11,"tr",26),e.YNc(2,Qa,3,2,"tr",7),e.YNc(3,$o,3,4,"tr",27),e.BQk()),2&a){const n=_.$implicit;e.xp6(1),e.Q6J("ngIf",n.isDataRow),e.xp6(1),e.Q6J("ngIf",n.isDivider),e.xp6(1),e.Q6J("ngIf",n.isExpandableArea)}}function ra(a,_){if(1&a&&(e.TgZ(0,"div")(1,"div",74),e._uU(2),e.qZA()()),2&a){const n=e.oxw();e.xp6(2),e.hij(" ",n.displayNoItemsMessage," ")}}function ms(a,_){if(1&a&&(e.TgZ(0,"h3",10),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.uIk("data-id",n.dataIdPrefix+"-title"),e.xp6(1),e.Oqu(n.title)}}function Xa(a,_){if(1&a&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&a){const n=e.oxw(2);e.uIk("data-id",n.dataIdPrefix+"-progress-detail"),e.xp6(1),e.Oqu(n.progressDetail)}}function xa(a,_){if(1&a&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&a){const n=e.oxw(3);e.xp6(1),e.Oqu(n.noteLead)}}function oa(a,_){if(1&a&&(e.TgZ(0,"div",18),e.YNc(1,xa,2,1,"strong",3),e._uU(2),e.qZA()),2&a){const n=e.oxw(2);e.uIk("data-id",n.dataIdPrefix+"-note"),e.xp6(1),e.Q6J("ngIf",n.noteLead),e.xp6(1),e.hij(" ",n.noteText," ")}}function Vs(a,_){if(1&a&&(e.ynx(0),e.TgZ(1,"div",11)(2,"span",12),e._uU(3),e.qZA(),e.YNc(4,Xa,2,2,"span",13),e.qZA(),e.TgZ(5,"div",14),e._UZ(6,"div",15),e.qZA(),e.YNc(7,oa,3,3,"div",16),e.BQk()),2&a){const n=e.oxw();e.xp6(2),e.uIk("data-id",n.dataIdPrefix+"-progress-text"),e.xp6(1),e.Oqu(n.progressText),e.xp6(1),e.Q6J("ngIf",n.progressDetail),e.xp6(1),e.uIk("aria-valuemax",n.total)("aria-valuenow",n.finishedCount)("aria-label",n.progressLabel),e.xp6(1),e.Udp("width",n.progressPercent,"%"),e.uIk("data-id",n.dataIdPrefix+"-progress-bar"),e.xp6(1),e.Q6J("ngIf",n.noteText)}}function Da(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"pa-primary-button",19),e.NdJ("click",function(){return e.CHM(n),e.oxw().onStopRun()}),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("buttonId",n.dataIdPrefix+"-stop")("buttonText",n.stopRequested?n.stoppingButtonText:n.stopButtonText)("disabled",n.stopRequested),e.uIk("data-id",n.dataIdPrefix+"-stop-button")}}const ts=[[["","runSummary",""]],[["","runFooterNote",""]],[["","runFooter",""]]],fs=["[runSummary]","[runFooterNote]","[runFooter]"];function gs(a,_){if(1&a&&(e.TgZ(0,"div",6),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Oqu(n.message)}}function fl(a,_){if(1&a&&e._UZ(0,"pa-image-circle",4),2&a){const n=e.oxw();e.Q6J("imageUrl",n.childPhotoUrl)}}function ka(a,_){if(1&a&&e._UZ(0,"i",5),2&a){const n=e.oxw();e.ekj("is-for-printing",n.isForPrinting)}}function sa(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",6),e.NdJ("mousedown",function(){return e.CHM(n),e.oxw().deleteChild()}),e._UZ(1,"i",7),e.qZA()}}const Is=function(a){return{width:a}},Fs=["fileUploader"];function ar(a,_){if(1&a&&e._UZ(0,"pa-file-thumbnail",11),2&a){const n=e.oxw();e.Q6J("thumbnailUrl",n.displayFileItem.thumbnailUrl)("imageUrl",n.displayFileItem.url)}}function x(a,_){if(1&a&&(e.TgZ(0,"span",12),e._UZ(1,"i",13),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",n.getFileIcon(n.fileItem))}}function U(a,_){1&a&&(e.TgZ(0,"div",5)(1,"span"),e._uU(2,"Show in Parent Portal"),e.qZA()())}function ye(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"pa-toggle-switch",16),e.NdJ("switchState",function(){e.CHM(n);const w=e.oxw(2);return w.setParentPortal(w.fileItem)}),e.qZA()}if(2&a){const n=e.oxw(2);e.Q6J("setState",n.displayFileItem.showInParentPortal),e.uIk("id","uploaded-file-parent-portal-"+n.id)}}function Fe(a,_){if(1&a&&(e.ynx(0),e.YNc(1,U,3,0,"div",14),e.YNc(2,ye,1,2,"pa-toggle-switch",15),e.BQk()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",!n.fileItem.isUploadInProgress),e.xp6(1),e.Q6J("ngIf",!n.displayFileItem.isUploadInProgress)}}function ht(a,_){if(1&a&&e._UZ(0,"pa-progress-bar",17),2&a){const n=e.oxw();e.Q6J("fileUploadedPercentage",n.fileItem.fileUploadedPercentage)("fileTotalSize",n.fileItem.fileSize)}}function qt(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"span",18),e.NdJ("click",function(){e.CHM(n);const w=e.oxw();return w.downloadFile(w.fileItem)}),e._UZ(1,"i",19),e.qZA()}if(2&a){const n=e.oxw();e.uIk("data-id","download-file-"+n.fileItem.fileId)}}function t(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"span",18),e.NdJ("click",function(){e.CHM(n);const w=e.oxw();return w.editClicked(w.fileItem)}),e._UZ(1,"i",20),e.qZA()}if(2&a){const n=e.oxw();e.uIk("data-id","uploaded-file-edit-"+n.fileItem.fileId)}}function ge(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"span",18),e.NdJ("click",function(){e.CHM(n);const w=e.oxw();return w.deleteClicked(w.fileItem)}),e._UZ(1,"i",21),e.qZA()}if(2&a){const n=e.oxw();e.uIk("data-id","uploaded-file-delete-"+n.fileItem.fileId)}}function h(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"pa-secondary-full-width-button",16),e.NdJ("click",function(){return e.CHM(n),e.oxw().observationTileAddClicked()}),e.qZA()}2&a&&e.Q6J("transparentBackground",!0)}function y(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"pa-observation-media-tile",17),e.NdJ("onEditClicked",function(w){return e.CHM(n),e.oxw().observationTileEditClicked(w)})("onDeleteClicked",function(w){return e.CHM(n),e.oxw().observationTileDeleteClicked(w)})("onDownloadClicked",function(w){return e.CHM(n),e.oxw().observationTileDownloadClicked(w)})("onParentPortalClicked",function(w){return e.CHM(n),e.oxw().observationTileParentPortalClicked(w)})("onThumbnailClicked",function(w){return e.CHM(n),e.oxw().thumbnailClicked(w)}),e.qZA()}if(2&a){const n=_.$implicit,l=e.oxw();e.Q6J("fileItem",n)("isPhotoVideoOnly",l.onlyAllowVisualMediaFiles)("disableEdit",l.disableEdit)("disableParentPortalToggle",l.disableParentPortalToggle)}}function f(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"pa-observation-upload-tile",18),e.NdJ("onAddClicked",function(){return e.CHM(n),e.oxw().observationTileAddClicked()}),e.qZA()}if(2&a){const n=e.oxw();e.Q6J("id",n.id)("isPhotoVideoOnly",n.onlyAllowVisualMediaFiles)("sizeMode",n.getSizeAttribute())}}function Wt(a,_){if(1&a&&(e.TgZ(0,"span",null,19),e._uU(2," Could not complete your request because the file format is not valid. Please ensure your file is not any of the following formats: "),e.TgZ(3,"span"),e._uU(4),e.qZA()()),2&a){const n=e.oxw();e.xp6(4),e.hij(" ",n.blacklistTypesToString()," ")}}function dn(a,_){if(1&a&&(e.TgZ(0,"span",null,19),e._uU(2," The file type of your photo/video is not valid. Please ensure your photo/video file uses one of the following formats: "),e.TgZ(3,"span"),e._uU(4),e.qZA()()),2&a){const n=e.oxw();e.xp6(4),e.Oqu(n.mediaTypesToString())}}const Ht=function(a){return{"remove-indent":a}};function vs(a,_){if(1&a&&(e.TgZ(0,"span",2),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Oqu(n.subHeadingNote)}}function ss(a,_){if(1&a&&(e.ynx(0),e._uU(1),e.BQk()),2&a){const n=e.oxw();e.xp6(1),e.Oqu(n.labelAndValue.valueText)}}function ys(a,_){if(1&a&&e._UZ(0,"pa-small-pill",5),2&a){const n=_.$implicit;e.Tol(n.className),e.Q6J("textColor",n.textColor)("text",n.text)("iconClass",n.iconClass)("iconColor",n.iconColor)}}function Cs(a,_){if(1&a&&(e.ynx(0),e.YNc(1,ys,1,6,"pa-small-pill",4),e.BQk()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.labelAndValue.valuePillList)}}function bn(a,_){1&a&&(e.TgZ(0,"span",6),e._uU(1," (empty) "),e.qZA())}function zi(a,_){if(1&a&&(e.TgZ(0,"div",2),e._UZ(1,"pa-label-and-value",3),e.qZA()),2&a){const n=_.$implicit,l=e.oxw();e.xp6(1),e.Q6J("dataIdPrefix",l.groupDataIdKey)("labelAndValue",n)}}function ki(a,_){if(1&a&&(e.TgZ(0,"h4"),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.uIk("data-id","title-"+n.dataId),e.xp6(1),e.Oqu(n.header)}}function rc(a,_){if(1&a&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.uIk("data-id","sub-text-"+n.dataId),e.xp6(1),e.Oqu(n.subText)}}function Kn(a,_){if(1&a&&(e.TgZ(0,"a",7),e._uU(1),e.qZA()),2&a){const n=e.oxw(),l=n.last,w=n.$implicit,E=e.oxw();e.ekj("current",l),e.Q6J("routerLink",e.VKq(6,Co,w.url))("queryParams",w.params),e.uIk("data-id",E.getItemDataId(w.label)),e.xp6(1),e.Oqu(w.label)}}function eu(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"a",8),e.NdJ("click",function(){return e.CHM(n),e.oxw().$implicit.onClick()}),e._uU(1),e.qZA()}if(2&a){const n=e.oxw(),l=n.last,w=n.$implicit,E=e.oxw();e.ekj("current",l),e.uIk("data-id",E.getItemDataId(w.label)),e.xp6(1),e.Oqu(w.label)}}function tu(a,_){1&a&&(e.TgZ(0,"span",9),e._UZ(1,"i",10),e.qZA())}function ed(a,_){if(1&a&&(e.TgZ(0,"span"),e.YNc(1,Kn,2,8,"a",4),e.YNc(2,eu,2,4,"a",5),e.YNc(3,tu,2,0,"span",6),e.qZA()),2&a){const n=_.$implicit,l=_.last;e.xp6(1),e.Q6J("ngIf",!n.onClick),e.xp6(1),e.Q6J("ngIf",n.onClick),e.xp6(1),e.Q6J("ngIf",!l)}}function td(a,_){if(1&a&&e._UZ(0,"i",16),2&a){const n=e.oxw().$implicit;e.Q6J("className","fa fa-"+n.icon)}}function nu(a,_){1&a&&(e.TgZ(0,"span",17),e._UZ(1,"i",18),e.qZA())}function $f(a,_){if(1&a&&(e.TgZ(0,"div",19),e._UZ(1,"pa-label-and-value",20),e.qZA()),2&a){const n=_.$implicit;e.xp6(1),e.Q6J("labelAndValue",n)}}function Ml(a,_){1&a&&e._UZ(0,"pa-action-button",7),2&a&&e.Q6J("buttonText",_.$implicit.buttonText)}function nd(a,_){if(1&a&&(e.TgZ(0,"div",21),e.YNc(1,Ml,1,1,"pa-action-button",22),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("ngForOf",n.actions)}}function iu(a,_){if(1&a&&(e.TgZ(0,"div",9)(1,"div",10)(2,"h2"),e.YNc(3,td,1,1,"i",11),e._uU(4),e.qZA(),e.YNc(5,nu,2,0,"span",12),e.qZA(),e.TgZ(6,"div",13),e.YNc(7,$f,2,1,"div",14),e.YNc(8,nd,2,1,"div",15),e.qZA()()),2&a){const n=_.$implicit;e.xp6(3),e.Q6J("ngIf",n.icon),e.xp6(1),e.hij(" ",n.heading," "),e.xp6(1),e.Q6J("ngIf",n.hasEdit),e.xp6(2),e.Q6J("ngForOf",n.keyValues),e.xp6(1),e.Q6J("ngIf",n.actions.length)}}function ep(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",23),e.NdJ("click",function(){return e.CHM(n),e.oxw().deleteClicked.emit()}),e._UZ(1,"i",24),e.qZA()}}function id(a,_){if(1&a&&e._UZ(0,"i"),2&a){const n=e.oxw();e.Gre("fa fa-",n.icon,"")}}function tp(a,_){if(1&a&&(e.TgZ(0,"div",9),e._UZ(1,"pa-medium-circle-icon",10),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("iconClass",n.iconName)}}function np(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"a",11),e.NdJ("click",function(){return e.CHM(n).$implicit.onClick()}),e.ALo(1,"dataIdSafePipe"),e._uU(2),e.qZA()}if(2&a){const n=_.$implicit;e.Q6J("active",n.isActive),e.uIk("data-id",e.lcZ(1,3,"top-tab-"+n.tabText)),e.xp6(2),e.hij(" ",n.tabText," ")}}function ip(a,_){if(1&a&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.Oqu(n.badgeText)}}function rp(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",12)(1,"i",13),e.NdJ("click",function(){return e.CHM(n).$implicit.onClick()}),e.qZA(),e.YNc(2,ip,2,1,"span",14),e.qZA()}if(2&a){const n=_.$implicit;e.xp6(1),e.ekj("icon-active",n.isActive),e.Q6J("ngClass","fa-"+n.icon),e.uIk("data-id",n.icon+"-button"),e.xp6(1),e.Q6J("ngIf",null!==n.badgeText)}}function op(a,_){if(1&a&&e._UZ(0,"pa-image-circle",2),2&a){const n=e.oxw();e.Q6J("imageUrl",n.photoUrl)}}function sp(a,_){1&a&&e._UZ(0,"i",3)}const rd=function(a){return{highlighted:a}};function cp(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"pa-text-button-updated",6),e.NdJ("click",function(){return e.CHM(n),e.oxw(2).dismiss()}),e.qZA()}}function dp(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"p")(1,"pa-text-button-updated",7),e.NdJ("click",function(){return e.CHM(n),e.oxw(2).learnMore()}),e.qZA()()}}function ou(a,_){if(1&a&&(e.TgZ(0,"div",1)(1,"div",2)(2,"h2"),e._UZ(3,"i",3),e._uU(4),e.qZA(),e.YNc(5,cp,1,0,"pa-text-button-updated",4),e.qZA(),e.TgZ(6,"p"),e.Hsn(7),e.qZA(),e.YNc(8,dp,2,0,"p",5),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.ekj("info-panel-header-with-dismiss",n.showDismiss),e.xp6(3),e.hij(" ",n.title,""),e.xp6(1),e.Q6J("ngIf",n.showDismiss),e.xp6(3),e.Q6J("ngIf",n.showLearnMore)}}const su=["matSelect"];function gl(a,_){if(1&a&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.hij(" ",n.selectedItem.value," ")}}function au(a,_){if(1&a&&(e.TgZ(0,"mat-option",5),e._uU(1),e.qZA()),2&a){const n=_.$implicit;e.Q6J("value",n),e.xp6(1),e.hij(" ",n.value," ")}}function lu(a,_){if(1&a&&e._UZ(0,"img",4),2&a){const n=e.oxw();e.Q6J("src",n.photoUrl,e.LSH)("alt",n.initials)}}function up(a,_){if(1&a&&(e.TgZ(0,"div",5),e._UZ(1,"i",6),e.qZA()),2&a){const n=e.oxw();e.Q6J("ngClass",n.colorClass),e.xp6(1),e.Q6J("ngClass",n.iconClass)}}function oc(a,_){if(1&a&&(e.TgZ(0,"div",7),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.Q6J("ngClass",n.colorClass),e.xp6(1),e.hij(" ",n.initials," ")}}const cu=["pickerContainer"];function du(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"span",6),e.NdJ("click",function(){const E=e.CHM(n).$implicit;return e.oxw(2).selectEmoji(E)}),e._uU(1),e.qZA()}if(2&a){const n=_.$implicit;e.uIk("data-id","emoji-"+n),e.xp6(1),e.hij(" ",n," ")}}function od(a,_){if(1&a&&(e.TgZ(0,"div",2,3)(2,"div",4),e.YNc(3,du,2,2,"span",5),e.qZA()()),2&a){const n=e.oxw();e.xp6(3),e.Q6J("ngForOf",n.simpleEmojis)("ngForTrackBy",n.trackByEmoji)}}function uu(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",15),e.NdJ("click",function(){const E=e.CHM(n).$implicit;return e.oxw(2).switchCategory(E.key)}),e.TgZ(1,"span",16),e._uU(2),e.qZA()()}if(2&a){const n=_.$implicit,l=e.oxw(2);e.ekj("active",n.key===l.activeCategory),e.Q6J("title",n.label),e.uIk("aria-label",n.label),e.xp6(2),e.Oqu(n.icon)}}function sc(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",17),e.NdJ("click",function(){const E=e.CHM(n).$implicit;return e.oxw(2).selectEmoji(E)}),e._uU(1),e.qZA()}if(2&a){const n=_.$implicit;e.Q6J("title",n),e.xp6(1),e.hij(" ",n," ")}}function ac(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",7,3)(2,"div",8)(3,"span",9),e._uU(4,"Choose an emoji"),e.qZA(),e.TgZ(5,"button",10),e.NdJ("click",function(){return e.CHM(n),e.oxw().handleClose()}),e.TgZ(6,"span",11),e._uU(7,"close"),e.qZA()()(),e.TgZ(8,"div",12),e.YNc(9,uu,3,5,"button",13),e.qZA(),e.TgZ(10,"div",4),e.YNc(11,sc,2,2,"button",14),e.qZA()()}if(2&a){const n=e.oxw();e.xp6(9),e.Q6J("ngForOf",n.categories)("ngForTrackBy",n.trackByCategory),e.xp6(2),e.Q6J("ngForOf",n.displayedEmojis)("ngForTrackBy",n.trackByEmoji)}}function hu(a,_){if(1&a&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.hij("\xa0\u2014 ",n.relationship,"")}}function sd(a,_){if(1&a&&(e.TgZ(0,"li",14)(1,"span",15),e._uU(2),e.qZA(),e.YNc(3,hu,2,1,"span",16),e.qZA()),2&a){const n=_.$implicit;e.xp6(2),e.AsE("",n.knownName||n.firstName," ",n.lastName,""),e.xp6(1),e.Q6J("ngIf",n.relationship)}}function ad(a,_){if(1&a&&(e.TgZ(0,"ul",12),e.YNc(1,sd,4,3,"li",13),e.qZA()),2&a){const n=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",n.senderChildren)}}function ld(a,_){if(1&a&&(e.TgZ(0,"div",6)(1,"div",7),e._UZ(2,"pa-chat-avatar",8),e.qZA(),e.TgZ(3,"div",9)(4,"h3",10),e._uU(5),e.qZA(),e.YNc(6,ad,2,1,"ul",11),e.qZA()()),2&a){const n=e.oxw(2);e.xp6(1),e.uIk("data-icon-name",(null==n.conversation?null:n.conversation.avatarIcon)||null),e.xp6(1),e.Q6J("photoUrl",null==n.conversation?null:n.conversation.participantPhotoUrl)("initials",n.selectedMessage.senderInitials)("icon",null==n.conversation?null:n.conversation.avatarIcon)("colorClass",n.avatarColor),e.xp6(3),e.Oqu(n.selectedMessage.senderName),e.xp6(1),e.Q6J("ngIf",n.senderChildren.length)}}function Ol(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"button",3),e.NdJ("click",function(){return e.CHM(n),e.oxw().onClose()}),e._UZ(3,"i",4),e.qZA()(),e.YNc(4,ld,7,7,"div",5),e.qZA()}if(2&a){const n=e.oxw();e.xp6(4),e.Q6J("ngIf",n.selectedMessage)}}const mp=["messagesContainer"];function pu(a,_){1&a&&(e.TgZ(0,"div",5),e._UZ(1,"i",6),e.TgZ(2,"span"),e._uU(3,"Loading older messages..."),e.qZA()())}function fp(a,_){if(1&a&&(e.TgZ(0,"div",27)(1,"span",28),e._uU(2),e.qZA()()),2&a){const n=e.oxw(),l=n.$implicit,w=n.index,E=e.oxw(2);e.xp6(2),e.Oqu(E.getMessageGroupDate(l,w))}}function gp(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",29),e.NdJ("click",function(){e.CHM(n);const w=e.oxw().$implicit;return e.oxw(2).onAvatarClick(w)}),e._UZ(1,"pa-chat-avatar",30),e.qZA()}if(2&a){const n=e.oxw().$implicit,l=e.oxw(2);e.uIk("data-id","avatar-"+n.id),e.xp6(1),e.Q6J("photoUrl",null==l.conversation?null:l.conversation.participantPhotoUrl)("initials",n.senderInitials)("colorClass",l.getAvatarColor())}}function mu(a,_){1&a&&e._UZ(0,"div",31)}function cd(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",39),e.NdJ("click",function(){e.CHM(n);const w=e.oxw(3).$implicit;return e.oxw(2).onEditClick(w)}),e._UZ(1,"i",40),e._uU(2,"Edit "),e.qZA()}}function lc(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",41),e.NdJ("click",function(){e.CHM(n);const w=e.oxw(3).$implicit;return e.oxw(2).onDeleteClick(w)}),e._UZ(1,"i",42),e._uU(2,"Delete "),e.qZA()}}function dd(a,_){if(1&a&&(e.TgZ(0,"div",36),e.YNc(1,cd,3,0,"button",37),e.YNc(2,lc,3,0,"button",38),e.qZA()),2&a){const n=e.oxw(4);e.Udp("top",n.dropdownPosition.top,"px")("bottom",n.dropdownPosition.bottom,"px")("left",n.dropdownPosition.left,"px"),e.xp6(1),e.Q6J("ngIf",n.canEditMessages),e.xp6(1),e.Q6J("ngIf",n.canDeleteMessages)}}function _l(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",32)(1,"button",33),e.NdJ("click",function(w){e.CHM(n);const E=e.oxw().$implicit;return e.oxw(2).onKebabClick(w,E)}),e._UZ(2,"i",34),e.qZA(),e.YNc(3,dd,3,8,"div",35),e.qZA()}if(2&a){const n=e.oxw().$implicit,l=e.oxw(2);e.xp6(3),e.Q6J("ngIf",l.activeKebabMessageId===n.id)}}function _p(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",49),e.NdJ("click",function(){const E=e.CHM(n).$implicit,Ae=e.oxw(3).$implicit;return e.oxw(2).onReactionEmojiSelect(Ae,E)}),e._uU(1),e.qZA()}if(2&a){const n=_.$implicit;e.uIk("data-id","reaction-picker-emoji-"+n)("aria-label","React with "+n),e.xp6(1),e.hij(" ",n," ")}}function vp(a,_){if(1&a&&(e.TgZ(0,"div",47),e.YNc(1,_p,2,3,"button",48),e.qZA()),2&a){const n=e.oxw(4);e.Udp("top",n.reactionPickerPosition.top,"px")("bottom",n.reactionPickerPosition.bottom,"px")("left",n.reactionPickerPosition.left,"px"),e.xp6(1),e.Q6J("ngForOf",n.reactionEmojis)("ngForTrackBy",n.trackByEmoji)}}function qf(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",43)(1,"button",44),e.NdJ("click",function(w){e.CHM(n);const E=e.oxw().$implicit;return e.oxw(2).onReactionPickerClick(w,E)}),e._UZ(2,"i",45),e.qZA(),e.YNc(3,vp,2,8,"div",46),e.qZA()}if(2&a){const n=e.oxw().$implicit,l=e.oxw(2);e.xp6(3),e.Q6J("ngIf",l.activeReactionPickerMessageId===n.id)}}function yp(a,_){1&a&&(e.TgZ(0,"div",50)(1,"em"),e._uU(2,"This message was deleted"),e.qZA()())}function cc(a,_){if(1&a&&(e.TgZ(0,"div",51),e._uU(1),e.qZA()),2&a){const n=e.oxw().$implicit;e.xp6(1),e.Oqu(n.content)}}function ud(a,_){1&a&&(e.TgZ(0,"div",56),e._UZ(1,"mat-progress-spinner",57),e.TgZ(2,"span"),e._uU(3,"Sending..."),e.qZA()()),2&a&&(e.xp6(1),e.Q6J("diameter",15))}function fu(a,_){1&a&&(e.ynx(0),e._uU(1,"\u2713"),e.BQk())}function gu(a,_){1&a&&(e.ynx(0),e._uU(1,"\u2713\u2713"),e.BQk())}function _u(a,_){if(1&a&&(e.TgZ(0,"span",58),e.YNc(1,fu,2,0,"ng-container",59),e.YNc(2,gu,2,0,"ng-container",59),e.qZA()),2&a){const n=_.ngIf;e.Q6J("ngClass","status-"+n)("title","read"===n?"Read":"delivered"===n?"Delivered":"Sent"),e.uIk("data-status",n)("aria-label","read"===n?"Read":"delivered"===n?"Delivered":"Sent"),e.xp6(1),e.Q6J("ngIf","sent"===n),e.xp6(1),e.Q6J("ngIf","sent"!==n)}}function vl(a,_){if(1&a&&(e.TgZ(0,"div",52)(1,"span",53),e._uU(2),e.qZA(),e.YNc(3,ud,4,1,"div",54),e.YNc(4,_u,3,6,"span",55),e.qZA()),2&a){const n=e.oxw().$implicit,l=e.oxw(2);e.xp6(2),e.Oqu(l.getMessageTime(n.timestamp)),e.xp6(1),e.Q6J("ngIf",n.isPending),e.xp6(1),e.Q6J("ngIf",l.getMessageDeliveryStatus(n))}}function Cp(a,_){1&a&&(e.TgZ(0,"div",60)(1,"div",61),e._uU(2,"Failed to send"),e.qZA()())}const vu=function(a){return{"reaction-chip-mine":a}},hd=function(){return[]};function bp(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",64),e.NdJ("click",function(){const E=e.CHM(n).$implicit,Ae=e.oxw(2).$implicit;return e.oxw(2).onReactionChipClick(Ae,E.emoji)}),e.TgZ(1,"span",65),e._uU(2),e.qZA(),e.TgZ(3,"span",66),e._uU(4),e.qZA()()}if(2&a){const n=_.$implicit;e.Q6J("ngClass",e.VKq(6,vu,n.reactedByMe))("title",(n.userNames||e.DdM(8,hd)).join(", ")),e.uIk("data-id","reaction-chip-"+n.emoji)("data-reacted-by-me",n.reactedByMe?"true":"false"),e.xp6(2),e.Oqu(n.emoji),e.xp6(2),e.Oqu(n.count)}}function wp(a,_){if(1&a&&(e.TgZ(0,"div",62),e.YNc(1,bp,5,9,"button",63),e.qZA()),2&a){const n=e.oxw().$implicit,l=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",n.reactions)("ngForTrackBy",l.trackByReaction)}}function Aa(a,_){1&a&&(e.TgZ(0,"div",67)(1,"em"),e._uU(2,"Edited"),e.qZA()())}function Sl(a,_){1&a&&(e.TgZ(0,"div",68),e._uU(1," Delivered "),e.qZA())}function yu(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",69)(1,"button",70),e.NdJ("click",function(){e.CHM(n);const w=e.oxw().$implicit;return e.oxw(2).onRetryMessage(w)}),e._uU(2,"Retry"),e.qZA()()}}const Tp=function(a,_){return{"message-from-current-user":a,"last-in-group":_}},Mp=function(a,_,n,l){return{"bubble-from-current-user":a,"bubble-pending":_,"bubble-failed":n,"bubble-deleted":l}};function Sp(a,_){if(1&a){const n=e.EpF();e.ynx(0),e.YNc(1,fp,3,1,"div",10),e.TgZ(2,"div",11),e.YNc(3,gp,2,4,"div",12),e.YNc(4,mu,1,0,"div",13),e.TgZ(5,"div",14),e.YNc(6,_l,4,1,"div",15),e.YNc(7,qf,4,1,"div",16),e.TgZ(8,"div",17)(9,"div",18),e.NdJ("pointerdown",function(w){const Ae=e.CHM(n).$implicit;return e.oxw(2).onMessagePointerDown(w,Ae)})("pointermove",function(w){return e.CHM(n),e.oxw(2).onMessagePointerMove(w)})("pointerup",function(){return e.CHM(n),e.oxw(2).onMessagePointerFinished()})("pointercancel",function(){return e.CHM(n),e.oxw(2).onMessagePointerFinished()})("contextmenu",function(w){const Ae=e.CHM(n).$implicit;return e.oxw(2).onMessageContextMenu(w,Ae)}),e.YNc(10,yp,3,0,"div",19),e.YNc(11,cc,2,1,"div",20),e.YNc(12,vl,5,3,"div",21),e.YNc(13,Cp,3,0,"div",22),e.qZA(),e.YNc(14,wp,2,2,"div",23),e.YNc(15,Aa,3,0,"div",24),e.YNc(16,Sl,2,0,"div",25),e.YNc(17,yu,3,0,"div",26),e.qZA()()(),e.BQk()}if(2&a){const n=_.$implicit,l=_.index,w=e.oxw(2);e.xp6(1),e.Q6J("ngIf",w.getMessageGroupDate(n,l)),e.xp6(1),e.Q6J("ngClass",e.WLB(16,Tp,n.isFromCurrentUser,w.isLastMessageInGroup(n,l))),e.uIk("data-id","message-"+n.id),e.xp6(1),e.Q6J("ngIf",w.shouldShowAvatar(n,l)),e.xp6(1),e.Q6J("ngIf",w.shouldShowAvatarSpacer(n,l)),e.xp6(2),e.Q6J("ngIf",(w.canEditMessages||w.canDeleteMessages)&&n.isFromCurrentUser&&!n.isDeleted&&!n.isPending),e.xp6(1),e.Q6J("ngIf",w.canReactTo(n)),e.xp6(2),e.Q6J("ngClass",e.l5B(19,Mp,n.isFromCurrentUser,n.isPending,n.isFailed,n.isDeleted)),e.xp6(1),e.Q6J("ngIf",n.isDeleted),e.xp6(1),e.Q6J("ngIf",!n.isDeleted),e.xp6(1),e.Q6J("ngIf",!n.isDeleted),e.xp6(1),e.Q6J("ngIf",n.isFailed),e.xp6(1),e.Q6J("ngIf",w.enableReactions&&!n.isDeleted&&n.reactions&&n.reactions.length>0),e.xp6(1),e.Q6J("ngIf",n.isEdited&&!n.isDeleted),e.xp6(1),e.Q6J("ngIf",w.shouldShowDeliveredText(n,l)),e.xp6(1),e.Q6J("ngIf",n.isFailed)}}function xp(a,_){1&a&&(e.TgZ(0,"div",71),e._UZ(1,"i",6),e.TgZ(2,"span"),e._uU(3,"Loading latest messages..."),e.qZA()())}function Dp(a,_){if(1&a&&(e.TgZ(0,"div",7),e.YNc(1,Sp,18,24,"ng-container",8),e.YNc(2,xp,4,0,"div",9),e.qZA()),2&a){const n=e.oxw();e.uIk("data-id","messages-list"),e.xp6(1),e.Q6J("ngForOf",n.messages)("ngForTrackBy",n.trackByMessageId),e.xp6(1),e.Q6J("ngIf",n.isLoading)}}function Cu(a,_){1&a&&(e.TgZ(0,"div",72)(1,"div",73),e._UZ(2,"i",6),e.qZA(),e.TgZ(3,"p"),e._uU(4,"Loading conversation..."),e.qZA()())}function kp(a,_){1&a&&(e.TgZ(0,"div",4),e._UZ(1,"i",5),e.qZA())}function Ap(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",18),e.NdJ("click",function(w){const Ae=e.CHM(n).$implicit;return e.oxw(3).onReactionEmojiSelect(w,Ae)}),e._uU(1),e.qZA()}if(2&a){const n=_.$implicit;e.uIk("data-id","announcement-reaction-picker-emoji-"+n)("aria-label","React with "+n),e.xp6(1),e.hij(" ",n," ")}}function Ep(a,_){if(1&a&&(e.TgZ(0,"div",16),e.NdJ("click",function(l){return l.stopPropagation()}),e.YNc(1,Ap,2,3,"button",17),e.qZA()),2&a){const n=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",n.reactionEmojis)("ngForTrackBy",n.trackByEmoji)}}function Pp(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",12)(1,"button",13),e.NdJ("click",function(w){return e.CHM(n),e.oxw().onReactionPickerClick(w)}),e._UZ(2,"i",14),e.qZA(),e.YNc(3,Ep,2,2,"div",15),e.qZA()}if(2&a){const n=e.oxw();e.xp6(3),e.Q6J("ngIf",n.showReactionPicker)}}function Jf(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",19),e.NdJ("click",function(w){e.CHM(n);const E=e.oxw();return w.stopPropagation(),E.editMessage.emit()}),e.TgZ(1,"span",20),e._uU(2,"edit"),e.qZA()()}}function Op(a,_){1&a&&(e.TgZ(0,"p",21)(1,"em"),e._uU(2,"This message was deleted"),e.qZA()())}function Il(a,_){if(1&a&&(e.TgZ(0,"p",22),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Oqu(n.body)}}function bu(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",25),e.NdJ("click",function(w){const Ae=e.CHM(n).$implicit;return e.oxw(2).onReactionChipClick(w,Ae.emoji)}),e.TgZ(1,"span",26),e._uU(2),e.qZA(),e.TgZ(3,"span",27),e._uU(4),e.qZA()()}if(2&a){const n=_.$implicit;e.Q6J("ngClass",e.VKq(6,vu,n.reactedByMe))("title",(n.userNames||e.DdM(8,hd)).join(", ")),e.uIk("data-id","announcement-reaction-chip-"+n.emoji)("data-reacted-by-me",n.reactedByMe?"true":"false"),e.xp6(2),e.Oqu(n.emoji),e.xp6(2),e.Oqu(n.count)}}function aa(a,_){if(1&a&&(e.TgZ(0,"div",23),e.YNc(1,bu,5,9,"button",24),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.reactions)("ngForTrackBy",n.trackByReaction)}}function Fl(a,_){1&a&&(e.TgZ(0,"span",28),e._uU(1,"Edited"),e.qZA())}function wu(a,_){if(1&a&&(e.TgZ(0,"div",29),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Oqu(n.timeText)}}const Tu=["messageTextarea"],Mu=["scrollContainer"];function Kf(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",27),e.NdJ("click",function(){return e.CHM(n),e.oxw(2).onBackClick()}),e._UZ(1,"i",28),e.TgZ(2,"span"),e._uU(3,"Back"),e.qZA()()}}function Qf(a,_){if(1&a&&(e.ynx(0),e._UZ(1,"pa-announcement-header",32),e.BQk()),2&a){const n=e.oxw(3);e.xp6(1),e.Q6J("showIcon",!1)("title",n.getAnnouncementTitle())("subtitle",n.announcementSubtitle)}}function Xf(a,_){if(1&a&&(e.TgZ(0,"h2",33),e._uU(1),e.qZA()),2&a){const n=e.oxw(3);e.xp6(1),e.Oqu(n.isNewConversation()?n.conversation.nurseryName:n.conversation.participantName)}}function pd(a,_){if(1&a&&(e.TgZ(0,"div",29),e.YNc(1,Qf,2,3,"ng-container",30),e.YNc(2,Xf,2,1,"ng-template",null,31,e.W1O),e.qZA()),2&a){const n=e.MAs(3),l=e.oxw(2);e.xp6(1),e.Q6J("ngIf",l.isAnnouncementConversation())("ngIfElse",n)}}function md(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){return e.CHM(n),e.oxw(2).onDeleteConversationRequest()}),e.TgZ(1,"span",14),e._uU(2,"delete"),e.qZA()()}if(2&a){const n=e.oxw(2);e.uIk("data-thread-id",n.conversationId)}}function fd(a,_){if(1&a&&(e.TgZ(0,"div",21)(1,"div",22),e.YNc(2,Kf,4,0,"button",23),e.qZA(),e.YNc(3,pd,4,2,"div",24),e.TgZ(4,"div",25),e.YNc(5,md,3,1,"button",26),e.qZA()()),2&a){const n=e.oxw();e.xp6(2),e.Q6J("ngIf",n.showBackButton),e.xp6(1),e.Q6J("ngIf",n.conversation),e.xp6(2),e.Q6J("ngIf",n.canShowDeleteConversation())}}function eg(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"pa-announcement-message-card",37),e.NdJ("reactionToggle",function(w){const Ae=e.CHM(n).$implicit;return e.oxw(2).onAnnouncementReactionToggle(Ae,w)}),e.qZA()}if(2&a){const n=_.$implicit,l=_.index,w=e.oxw(2);e.Q6J("title",w.getAnnouncementTitle())("body",n.content)("timeText",w.getMessageTime(n.timestamp))("isEdited",!!n.editedDate)("isDeleted",!!n.isDeleted)("enableReactions",w.enableReactions)("reactions",n.reactions||e.DdM(8,hd)),e.uIk("data-id","announcement-message-"+l)}}function tg(a,_){if(1&a&&(e.TgZ(0,"div",35),e.YNc(1,eg,1,9,"pa-announcement-message-card",36),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.getAnnouncementCardMessages())("ngForTrackBy",n.trackAnnouncementMessage)}}function Su(a,_){if(1&a&&e._UZ(0,"pa-announcement-info-strip",38),2&a){const n=e.oxw();e.Q6J("text",n.announcementReadOnlyInfoText)}}function Ip(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",39,40)(2,"pa-message-list",41),e.NdJ("scroll",function(w){return e.CHM(n),e.oxw().onScroll(w)})("avatarClick",function(w){return e.CHM(n),e.oxw().onAvatarClick(w)})("retryMessage",function(w){return e.CHM(n),e.oxw().onRetryMessage(w)})("editMessageRequest",function(w){return e.CHM(n),e.oxw().onEditMessageRequest(w)})("deleteMessageRequest",function(w){return e.CHM(n),e.oxw().onDeleteMessageRequest(w)})("reactionToggle",function(w){return e.CHM(n),e.oxw().onReactionToggle(w)}),e.qZA()()}if(2&a){const n=e.oxw(),l=e.MAs(6);e.Q6J("constrainedBy",n.showMessageInput?l:null),e.xp6(2),e.Q6J("messages",n.messages)("conversation",n.conversation)("isLoading",n.isLoading)("isLoadingOlder",n.isLoadingOlder)("hasMoreMessages",n.hasMoreMessages)("bubbleStyle",n.bubbleStyle)("customBubbleColors",n.customBubbleColors)("canEditMessages",n.canEditMessages)("canDeleteMessages",n.canDeleteMessages)("enableReactions",n.enableReactions)("statusDisplayMode",n.statusDisplayMode)}}function Fp(a,_){1&a&&(e.TgZ(0,"div",42),e._UZ(1,"mat-progress-spinner",43),e.TgZ(2,"span",44),e._uU(3,"Starting conversation..."),e.qZA()()),2&a&&(e.xp6(1),e.Q6J("diameter",40))}function Lp(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",45)(1,"div",46)(2,"div",47),e._UZ(3,"i",48),e.TgZ(4,"h3",49),e._uU(5,"Delete message"),e.qZA()(),e.TgZ(6,"div",50)(7,"p",51),e._uU(8,"Are you sure you want to delete this message? This cannot be undone."),e.qZA()(),e.TgZ(9,"div",52)(10,"pa-primary-text-button",53),e.NdJ("click",function(){return e.CHM(n),e.oxw().onDeleteCancel()}),e.qZA(),e.TgZ(11,"pa-primary-button",54),e.NdJ("click",function(){return e.CHM(n),e.oxw().onDeleteConfirm()}),e.qZA()()()()}2&a&&(e.xp6(11),e.Q6J("buttonId","delete-modal-confirm-button"))}function Rp(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",55)(1,"div",56)(2,"div",47),e._UZ(3,"i",48),e.TgZ(4,"h3",57),e._uU(5,"Delete chat"),e.qZA()(),e.TgZ(6,"div",50)(7,"p",58),e._uU(8,"This will remove the chat from your conversations."),e.qZA()(),e.TgZ(9,"div",52)(10,"pa-primary-text-button",59),e.NdJ("click",function(){return e.CHM(n),e.oxw().onDeleteConversationCancel()}),e.qZA(),e.TgZ(11,"pa-primary-button",54),e.NdJ("click",function(){return e.CHM(n),e.oxw().onDeleteConversationConfirm()}),e.qZA()()()()}2&a&&(e.xp6(11),e.Q6J("buttonId","delete-conversation-confirm-button"))}function xu(a,_){if(1&a){const n=e.EpF();e.TgZ(0,"div",60)(1,"div",61)(2,"div",62)(3,"h3",63),e._uU(4,"Edit message"),e.qZA(),e.TgZ(5,"button",64),e.NdJ("click",function(){return e.CHM(n),e.oxw().onEditCancel()}),e._UZ(6,"i",65),e.qZA()(),e.TgZ(7,"div",50)(8,"textarea",66),e._uU(9," "),e.qZA()(),e.TgZ(10,"div",52)(11,"pa-primary-text-button",67),e.NdJ("click",function(){return e.CHM(n),e.oxw().onEditCancel()}),e.qZA(),e.TgZ(12,"pa-primary-button",68),e.NdJ("click",function(){return e.CHM(n),e.oxw().onEditConfirm()}),e.qZA()()()()}if(2&a){const n=e.oxw();e.xp6(8),e.Q6J("formControl",n.editMessageControl),e.xp6(4),e.Q6J("buttonId","edit-modal-save-button")("disabled",!(null!=n.editMessageControl.value&&n.editMessageControl.value.trim()))}}let jp=(()=>{class a{constructor(){this.createItem=new e.vpe}create(){this.createItem.emit(this.rowNumber)}idName(){return this.rowNumber?"create-plus-clicked"+this.rowNumber:"create-plus-clicked"}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-create-plus"]],inputs:{id:"id",rowNumber:"rowNumber"},outputs:{createItem:"createItem"},decls:1,vars:1,consts:[[1,"fa","fa-plus",3,"click"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e.NdJ("click",function(){return l.create()}),e.qZA()),2&n&&e.uIk("data-id",l.idName())},styles:[".fa-plus[_ngcontent-%COMP%]{color:#a98ab6;font-size:20px}.fa-plus[_ngcontent-%COMP%]:before{vertical-align:middle}"]}),a})(),Hp=(()=>{class a{constructor(){this.borderClass="button-default",this.textColorClass="heather-two",this.icon=null,this.colorClass="white",this.isStatementGapReportBorder=!1,this.isDisabled=!1,this.buttonId="",this.id=o.h.UUID()}ngOnInit(){this.isStatementGapReportBorder&&(this.borderClass="button-statememt-gaps")}getButtonStyle(){return this.isDisabled?"disabled":"background-"+this.colorClass+" color-"+this.textColorClass}buttonIdValue(){return this.buttonId?this.buttonId:this.buttonText}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-thin-action-button"]],inputs:{textColorClass:"textColorClass",buttonText:"buttonText",icon:"icon",colorClass:"colorClass",isStatementGapReportBorder:"isStatementGapReportBorder",isDisabled:"isDisabled",buttonId:"buttonId"},decls:3,vars:5,consts:[[3,"disabled","ngClass"],[3,"class","ngClass",4,"ngIf"],[3,"ngClass"]],template:function(n,l){1&n&&(e.TgZ(0,"button",0),e.YNc(1,Ui,1,4,"i",1),e._uU(2),e.qZA()),2&n&&(e.Q6J("disabled",l.isDisabled)("ngClass",l.getButtonStyle()+" "+l.borderClass),e.uIk("data-id",l.buttonIdValue()),e.xp6(1),e.Q6J("ngIf",null!=l.icon),e.xp6(1),e.hij(" ",l.buttonText,"\n"))},directives:[u.mk,u.O5],styles:["button[_ngcontent-%COMP%]{font-size:14px;outline:none;border-radius:20px;min-height:40px;min-width:120px;padding-left:15px;padding-right:15px}.button-default[_ngcontent-%COMP%]{border-style:solid;border-color:#cbb9d3}.button-statememt-gaps[_ngcontent-%COMP%]{border:0px}button[_ngcontent-%COMP%]:hover{cursor:pointer;border-color:#7e6787}button[_ngcontent-%COMP%]:active{border-color:#320d42;background-color:#320d42;color:#fff}button[_ngcontent-%COMP%]:active i[_ngcontent-%COMP%]{background-color:#320d42}i[_ngcontent-%COMP%]{padding-right:10px;font-size:18px}.disabled[_ngcontent-%COMP%], .disabled[_ngcontent-%COMP%]:hover{background-color:#fff;border-color:#ede7f0;color:#cdbcd4;cursor:not-allowed}@media (max-width: 650px){i[_ngcontent-%COMP%]{padding-right:5px}button[_ngcontent-%COMP%]{padding-left:5px;padding-right:5px}}.background-white[_ngcontent-%COMP%]{background-color:#fff}.background-pale-grey-three[_ngcontent-%COMP%]{background-color:#ede7f0}.background-tomato[_ngcontent-%COMP%]{background-color:#e53935}.background-dusty-orange[_ngcontent-%COMP%]{background-color:#f59637}.background-medium-green[_ngcontent-%COMP%]{background-color:#39b54a}.color-white[_ngcontent-%COMP%]{color:#fff}.color-heather-two[_ngcontent-%COMP%]{color:#a98ab6}.color-grey-purple[_ngcontent-%COMP%]{color:#7e6787}"]}),a})(),uc=(()=>{class a{constructor(){this.buttonText="",this.icon=null,this.disabled=!1,this.colorClass="heather-two",this.sizeClass="normal",this.id=o.h.UUID()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-text-button-updated"]],inputs:{buttonText:"buttonText",icon:"icon",disabled:"disabled",colorClass:"colorClass",sizeClass:"sizeClass"},decls:3,vars:7,consts:[[3,"disabled","ngClass"],[3,"class",4,"ngIf"]],template:function(n,l){1&n&&(e.TgZ(0,"button",0),e.YNc(1,_i,1,3,"i",1),e._uU(2),e.qZA()),2&n&&(e.Gre("text-button ",l.sizeClass,""),e.Q6J("disabled",l.disabled)("ngClass","icon-"+l.colorClass),e.xp6(1),e.Q6J("ngIf",null!=l.icon),e.xp6(1),e.hij(" ",l.buttonText,"\n"))},directives:[u.mk,u.O5],styles:["button[_ngcontent-%COMP%]{background:none;border:none;outline:none;font-size:18px;cursor:pointer}button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{padding-right:4px;font-size:16px}button[_ngcontent-%COMP%] i.icon[_ngcontent-%COMP%]{font-size:19px}button.small[_ngcontent-%COMP%]{font-size:14px}button.small[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{padding-right:4px;font-size:14px}button.small[_ngcontent-%COMP%] i.icon[_ngcontent-%COMP%]{font-size:16px}button.bold[_ngcontent-%COMP%]{font-weight:700}button[_ngcontent-%COMP%]:disabled{color:#cdbcd4;cursor:not-allowed}.icon-heather-two[_ngcontent-%COMP%]{color:#a98ab6}.icon-white[_ngcontent-%COMP%]{color:#fff}.icon-barney[_ngcontent-%COMP%]{color:#ba25b2}"]}),a})(),el=(()=>{class a{constructor(){this.highlight=!1,this.isFromStatementGapsReport=!1}getClass(){return null!=this.borderColor&&this.highlight?[`${this.class}`,`border-${this.borderColor}`,this.isFromStatementGapsReport?"icon-background-extended":""]:[`${this.class}`,this.isFromStatementGapsReport?"icon-background-extended":""]}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-circle-icon"]],inputs:{iconClass:"iconClass",borderColor:"borderColor",iconSize:"iconSize",class:"class",highlight:"highlight",isFromStatementGapsReport:"isFromStatementGapsReport",iconDataId:"iconDataId"},decls:3,vars:7,consts:[[1,"content"],[1,"icon-background",3,"ngClass"],[1,"icon","fa",3,"ngClass"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"span",1),e._UZ(2,"i",2),e.qZA()()),2&n&&(e.xp6(1),e.Q6J("ngClass",l.getClass()),e.uIk("data-id","circle-icon-span-"+l.iconDataId),e.xp6(1),e.Q6J("ngClass",e.WLB(4,Ii,"icon-"+l.iconSize,"fa-"+l.iconClass)),e.uIk("data-id","circle-icon-image-"+l.iconDataId))},directives:[u.mk],styles:[".content[_ngcontent-%COMP%]{line-height:46px;text-align:center}.icon[_ngcontent-%COMP%]{font-size:20px}.icon-background[_ngcontent-%COMP%]{width:30px;height:30px;border-radius:17px;float:left;line-height:36px;border:solid 2px transparent;display:flex;justify-content:center;align-items:center}.icon-background-extended[_ngcontent-%COMP%]{margin-right:18px}.icon-regular[_ngcontent-%COMP%]{font-size:24px}.icon-small[_ngcontent-%COMP%]{font-size:20px}.icon-micro[_ngcontent-%COMP%]{font-size:15px}.icon-large[_ngcontent-%COMP%]{font-size:28px}.icon-peacock-blue[_ngcontent-%COMP%]{background-color:#0054a6;color:#fff}.icon-pale-rose[_ngcontent-%COMP%]{background-color:#f8bbd0;color:#fff}.icon-light-blue[_ngcontent-%COMP%]{background-color:#90caf9;color:#fff}.icon-pale-teal[_ngcontent-%COMP%]{background-color:#80cbc4;color:#fff}.icon-medium-green[_ngcontent-%COMP%]{background-color:#39b54a;color:#fff}.icon-medium-pink[_ngcontent-%COMP%]{background-color:#f06292;color:#fff}.icon-tomato[_ngcontent-%COMP%]{background-color:#e53935;color:#fff}.icon-macaroni-and-cheese[_ngcontent-%COMP%]{background-color:#f1af2c;color:#fff}.icon-tealish[_ngcontent-%COMP%]{background-color:#2fbbb7;color:#fff}.icon-faded-blue[_ngcontent-%COMP%]{background-color:#7986cb;color:#fff}.icon-heather-two[_ngcontent-%COMP%]{background-color:#a98ab6;color:#fff}.icon-white[_ngcontent-%COMP%]{background-color:#fff}.icon-carolina-blue[_ngcontent-%COMP%]{background-color:#82b1ff;color:#fff}.icon-lightish-blue-two[_ngcontent-%COMP%]{background-color:#3d5afe;color:#fff}.icon-dodger-blue-three[_ngcontent-%COMP%]{background-color:#448aff;color:#fff}.icon-azure-two[_ngcontent-%COMP%]{background-color:#29b6f6;color:#fff}.border-peacock-blue[_ngcontent-%COMP%]{border-color:#0054a6;border-radius:17px}.border-pale-rose[_ngcontent-%COMP%]{border-color:#f8bbd0;border-radius:17px}.border-light-blue[_ngcontent-%COMP%]{border-color:#90caf9;border-radius:17px}.border-pale-teal[_ngcontent-%COMP%]{border-color:#80cbc4;border-radius:17px}.border-medium-green[_ngcontent-%COMP%]{border-color:#39b54a;border-radius:17px}.border-medium-pink[_ngcontent-%COMP%]{border-color:#f06292;border-radius:17px}.border-tomato[_ngcontent-%COMP%]{border-color:#e53935;border-radius:17px}.border-macaroni-and-cheese[_ngcontent-%COMP%]{border-color:#f1af2c;border-radius:17px}.border-tealish[_ngcontent-%COMP%]{border-color:#2fbbb7;border-radius:17px}.border-faded-blue[_ngcontent-%COMP%]{border-color:#7986cb;border-radius:17px}.border-heather-two[_ngcontent-%COMP%]{border-color:#a98ab6;border-radius:17px}.border-border-white[_ngcontent-%COMP%]{border-color:#fff3;border-radius:17px}"]}),a})(),gd=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-no-children-found"]],decls:4,vars:0,consts:[[1,"no-children-found"],["src","assets/images/vector-smart-object.png"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e._UZ(1,"img",1),e.TgZ(2,"p"),e._uU(3,"Looks like there aren't any children to display for today"),e.qZA()())},styles:[".no-children-found[_ngcontent-%COMP%]{width:100%;height:180px;box-shadow:inset 0 0 #ede7f0;background-color:#fff;text-align:center}.no-children-found[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-top:30px}.no-children-found[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;font-weight:700;line-height:1.38;letter-spacing:.4px;text-align:center;color:#320d42;margin-top:17px}"]}),a})(),Ou=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-page-divider"]],inputs:{text:"text"},decls:3,vars:1,consts:[[1,"page-divider"],[1,"page-divider-text"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"div",1),e._uU(2),e.qZA()()),2&n&&(e.xp6(2),e.hij(" ",l.text," "))},styles:[".page-divider[_ngcontent-%COMP%]{height:42px;background-color:#ede7f0;border:solid 1px #ede7f0}.page-divider-text[_ngcontent-%COMP%]{height:9px;font-size:12px;font-weight:700;color:#a98ab6;margin:16px}"]}),a})(),Yp=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-count-circle"]],inputs:{count:"count",isSelected:"isSelected"},decls:3,vars:3,consts:[[1,"circle"]],template:function(n,l){1&n&&(e.TgZ(0,"div")(1,"div",0),e._uU(2),e.qZA()()),2&n&&(e.xp6(1),e.ekj("selected",l.isSelected),e.xp6(1),e.hij(" ",l.count," "))},styles:[".circle[_ngcontent-%COMP%]{background-color:#fff;border:2px solid #cbb9d3;width:36px;height:36px;border-radius:50%;line-height:36px;text-align:center;color:#7e6787;margin:auto}.circle.selected[_ngcontent-%COMP%]{background-color:#320d42;color:#fff;border:none}"]}),a})(),Gp=(()=>{class a{constructor(n){this.childCommands=n,this.childrenNurseryStore=[]}getChildren(){return(0,g.mG)(this,void 0,void 0,function*(){const n=this.getNurseryId();this.childrenResult=this.findChildrenNurseryCache(n),(void 0===this.childrenResult||this.requestMadeOverHalfHourAgo())&&(this.removeChildrenNurseryCache(n),this.childrenResult=this.childCommands.getChildren(null),this.timeOfLastRequest=new Date,this.childrenNurseryStore.push({nurseryId:n,childrenResult:this.childrenResult}));const l=yield this.childrenResult;return console.log(`Loaded ${l.children.length} children data`),l.children})}getNurseryId(){let n=window.localStorage.getItem("businessLegacyId");return n||(n="0"),n}removeChildrenNurseryCache(n){const l=this.childrenNurseryStore.findIndex(w=>w.nurseryId==n);l>-1&&(console.log("Removing from cache nursery : "+n+"."),this.childrenNurseryStore.splice(l,1))}findChildrenNurseryCache(n){const l=this.childrenNurseryStore.filter(w=>w.nurseryId==n);if(l&&0!=l.length)return console.log("Children data FOUND in cache for nursery : "+n+"."),l[0].childrenResult;console.log("Children data NOT found in cache for nursery : "+n+".")}invalidateChildrenResultCache(){this.childrenResult=void 0,this.childrenNurseryStore=[]}getChildrenFromIds(n){return(0,g.mG)(this,void 0,void 0,function*(){return(yield this.getChildren()).filter(w=>n.indexOf(w.childId)>-1)})}checkChildrenForUnassignedRoom(){return(0,g.mG)(this,void 0,void 0,function*(){return void 0!==this.childrenWithUnassignedRoomExist?this.childrenWithUnassignedRoomExist:(yield this.getChildren()).some(l=>null==l.rooms||0===l.rooms.length)})}checkChildrenForUnassignedKeyPerson(){return(0,g.mG)(this,void 0,void 0,function*(){return void 0!==this.childrenWithUnassignedKeyPersonExist?this.childrenWithUnassignedKeyPersonExist:(yield this.getChildren()).some(l=>null==l.keyWorker)})}getAllChildrenForFilter(){return(0,g.mG)(this,void 0,void 0,function*(){const n=yield this.getChildren(),l=[];return n.forEach(w=>{const E=a.mapResultToChildDetails(w);l.push(E)}),l})}getCurrentChildren(){return(0,g.mG)(this,void 0,void 0,function*(){const l=[],w=(yield this.getChildren()).filter(E=>E.statusId!==b.IN4.left);for(const E of w){const Ae=a.mapResultToChildDetails(E);l.push(Ae)}return l})}static mapResultToChildDetails(n){return{id:n.childId,firstName:n.firstName,lastName:n.lastName,dateOfBirth:new Date(n.dateOfBirth.toString()),gender:n.gender.toString(),seasonBorn:"",startDate:new Date(n.startDate.toString()),leaveDate:new Date(n.leaveDate.toString()),keyPersonId:null!==n.keyWorker?n.keyWorker.id:null,keyPersonFirstName:null!==n.keyWorker?n.keyWorker.firstName:null,keyPersonLastName:null!==n.keyWorker?n.keyWorker.lastName:null,roomId:n.rooms.length>0?n.rooms[0].id:null,roomName:n.rooms.length>0?n.rooms[0].name:null,fundingName:n.funding,cohorts:[...n.cohorts],photoUrl:n.photoUrl}}getChildAgeBands(n){const l=[];return n>=0&&n<=11&&l.push(b.Ibb.age_00_To_11),n>=8&&n<=20&&l.push(b.Ibb.age_08_To_20),n>=16&&n<=26&&l.push(b.Ibb.age_16_To_26),n>=22&&n<=36&&l.push(b.Ibb.age_22_To_36),n>=30&&n<=50&&l.push(b.Ibb.age_30_To_50),n>=40&&l.push(b.Ibb.age_40_To_60),l}getEyfs2021AgeBands(n){const l=[];return n>=0&&n<=36&&l.push(b.Ibb.birthToThreeYears),n>36&&n<=48&&l.push(b.Ibb.threeToFourYears),n>48&&l.push(b.Ibb.fourToFiveYears),l}clearChildrenOnLoginOrLogout(){this.childrenResult=void 0,this.childrenNurseryStore=[]}requestMadeOverHalfHourAgo(){return void 0===this.timeOfLastRequest||this.timeOfLastRequest.getTime()+18e5<(new Date).getTime()}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(b.Pyg))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})();class hc{constructor(_,n=null){this.loadMethod=_,this.subject=new k.t(1),this.loadingPromise=null,n&&(this.loadingPromise=n.then(l=>{this.subject.next(l)}))}refresh(){this.loadingPromise=null,console.log("Got request to refresh cache");const _=this.subject.observers.length;if(_>0)return console.log(`${_} observers still watching this stream, refreshing from server.`),void this.loadDataAndPumpToSubject();console.log("No observers watching - clearing promise to refresh on next request."),this.loadingPromise=null}getItems(){return this.subject.observers.length>10&&console.error("The number of subscribers to this cache is greater than 10. This may be a memory leak."),this.loadingPromise||this.loadDataAndPumpToSubject(),this.subject.asObservable()}loadDataAndPumpToSubject(){this.loadingPromise=this.loadMethod().then(_=>{console.log("Got result in cache pumping out"),this.subject.next(_)},_=>{throw console.log("Error loading data in cache.",_),this.loadingPromise=null,_})}}let Vp=(()=>{class a{constructor(n){this.roomCommands=n,this.roomCache=new hc(()=>(0,g.mG)(this,void 0,void 0,function*(){return yield this.roomCommands.getRooms()}))}getRooms(){return(0,g.mG)(this,void 0,void 0,function*(){return this.getRoomsObs(new A.x).pipe((0,I.q)(1)).toPromise()})}getRoomsObs(n){return this.roomCache.getItems().pipe((0,H.R)(n))}refreshRooms(){this.roomCache.refresh()}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(b.pjV))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})();const Wp="Parenta123",zp=["173","176","771","1980"],Zp=[{key:"admin",label:"Admin",description:"Every permission",emailSuffix:""},{key:"senior",label:"Senior",description:"Can approve and delete accidents",emailSuffix:"_senior"},{key:"staff",label:"Staff",description:"Cannot approve accidents",emailSuffix:"_staff"}];function Fu(a,_){return`itdevelopers+local${a}${_.emailSuffix}@parenta.com`}function Lu(a){return"localhost"===a||"127.0.0.1"===a||a.endsWith(".parenta-agents.co.uk")}let Ll=(()=>{class a{constructor(){this.registeredDialogs=new Map,this.serviceInstanceId=Math.round(1e4*Math.random())}registerDialog(n,l){if(this.registeredDialogs.get(n))throw new Error(`Modal with the same name ${n} already registered`);this.registeredDialogs.set(n,{name:n,dialog:l,resolve:null}),console.log(`Registered dialog ${n} on service instance ${this.serviceInstanceId}`)}deregisterDialog(n){this.registeredDialogs.delete(n)}showDialog(n){return(0,g.mG)(this,void 0,void 0,function*(){console.info(`Showing dialog ${n} on service instance ${this.serviceInstanceId}`);const l=this.getDialog(n),w=new Promise(Ae=>{l.resolve=Ae});return l.dialog.show(),yield w})}resolveDialog(n,l){console.info(`Resolving dialog ${n} with result on service instance ${this.serviceInstanceId}`,l);const w=this.getDialog(n);"function"==typeof w.resolve&&w.resolve(l)}getDialog(n){const l=this.registeredDialogs.get(n);if(!l)throw new Error(`Dialog named ${n} was not registered on service instance ${this.serviceInstanceId}.`);return l}isDialogShown(){for(const n of this.registeredDialogs.values())if(n.dialog.isShown)return!0;return!1}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})();class la{format(_){const n="\xa30.00";if(!_||_.match(/[a-z]/i)||this.hasMultipleDecimalPoints(_)||((_=_.replace(" ","")).match(/[/*\-+]/g)||[]).length>1)return n;let w=1,E=0;if(_.includes("/")){const jn=this.safeNumberSplit(_,"/");w=parseFloat(jn[1]),_=jn[0]}if(_.includes("*")){const jn=this.safeNumberSplit(_,"*");w=1/parseFloat(jn[1]),_=jn[0]}if(_.includes("-")){const jn=this.safeNumberSplit(_,"-");""!==jn[0].trim()&&(E=-parseFloat(jn[1]),_=jn[0])}if(_.includes("+")){const jn=this.safeNumberSplit(_,"+");""!==jn[0].trim()&&(E=parseFloat(jn[1]),_=jn[0])}(0===w||isNaN(w))&&(w=1);const Ae=_.replace(/[\xa3$,]/g,"").trim();let ft=parseFloat(Ae);if(ft===1/0&&(ft=0),isNaN(ft))return n;const yn=Math.abs(ft/w)+E;return yn<0?n:"\xa3"+Math.abs(yn).toFixed(2)}safeNumberSplit(_,n){return _.split(n).map(l=>l.replace("\xa3",""))}hasMultipleDecimalPoints(_){return _.split(/[+\-*/]/).some(l=>(l.match(/\./g)||[]).length>1)}}let lg=(()=>{class a{constructor(){this.placeholder="",this.invalidInput=!1,this.disableBrowserAutofill=!0,this.passwordField=!1,this.textBoxValue="",this.showMessage=!0,this.autocomplete="",this.isNumeric=!1,this.isCurrency=!1,this.textChanged=new e.vpe,this.onTouchedCallback=()=>{},this.onChangeCallback=()=>{}}ngOnInit(){this.inputId=`${this.id}_${o.h.UUID()}`,this.lastPlaceHolder=this.placeholder}handleTextChanged(){this.onChangeCallback(this.textBoxValue),this.isCurrency||this.textChanged.next(this.textBoxValue)}get value(){return this.textBoxValue}writeValue(n){null==n&&(n=""),n!==this.textBoxValue&&(this.textBoxValue=n,this.onChangeCallback(n),this.textChanged.next(n),console.log("Emitting new value from text box: ",n))}ngOnChanges(n){n.textBoxValue&&(console.log("Got new value from input in textbox",n.textBoxValue),this.reformatValueIfRequired())}registerOnChange(n){this.onChangeCallback=n}registerOnTouched(n){this.onTouchedCallback=n}getTextBoxWidth(){return this.iconClass?"86":null}getTextBoxPosition(){return this.iconClass?"right":"none"}getTextBoxBorderRadius(){return this.iconClass?"0":null}getInputId(){return this.disableBrowserAutofill?`${this.id}_${o.h.UUID()}`:this.id}getInputType(){return this.passwordField?"password":"text"}focus(){this.textBoxComponent.nativeElement.focus()}shouldShowMessage(){return this.invalidInput&&this.showMessage}getAutocompleteSetting(){return this.autocomplete?this.autocomplete:this.disableBrowserAutofill?"off":"on"}blurBox(){this.placeholder=this.lastPlaceHolder,this.reformatValueIfRequired()}reformatValueIfRequired(){if(this.isCurrency){const n=(new la).format(this.textBoxValue);this.textBoxValue=n,this.textChanged.next(this.textBoxValue)}}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-text-box"]],viewQuery:function(n,l){if(1&n&&e.Gf(ho,5),2&n){let w;e.iGM(w=e.CRH())&&(l.textBoxComponent=w.first)}},inputs:{id:"id",placeholder:"placeholder",iconClass:"iconClass",centerText:"centerText",maxCharacters:"maxCharacters",invalidInput:"invalidInput",disableBrowserAutofill:"disableBrowserAutofill",passwordField:"passwordField",isDisabled:"isDisabled",textBoxValue:"textBoxValue",showMessage:"showMessage",autocomplete:"autocomplete",isNumeric:"isNumeric",isCurrency:"isCurrency"},outputs:{textChanged:"textChanged"},features:[e._Bn([{provide:c.JU,multi:!0,useExisting:(0,e.Gpc)(()=>a)}]),e.TTD],decls:4,vars:27,consts:[["class","icon-block",4,"ngIf"],["title","",1,"text-box",3,"type","autocomplete","maxlength","ngModel","placeholder","pattern","ngClass","ngModelChange","focus","blur","keydown.enter"],["textBoxComponent",""],["class","error-field",4,"ngIf"],[1,"icon-block"],["aria-hidden","true",1,"fa",3,"ngClass"],[1,"error-field"]],template:function(n,l){1&n&&(e.YNc(0,So,2,1,"div",0),e.TgZ(1,"input",1,2),e.NdJ("ngModelChange",function(E){return l.textBoxValue=E})("ngModelChange",function(){return l.handleTextChanged()})("focus",function(){return l.placeholder=""})("blur",function(){return l.blurBox()})("keydown.enter",function(){return l.reformatValueIfRequired()}),e.qZA(),e.YNc(3,lo,2,0,"div",3)),2&n&&(e.Q6J("ngIf",l.iconClass),e.xp6(1),e.Udp("width",l.getTextBoxWidth(),"%")("float",l.getTextBoxPosition())("border-bottom-left-radius",l.getTextBoxBorderRadius())("border-top-left-radius",l.getTextBoxBorderRadius()),e.ekj("text-box-Disable",l.isDisabled),e.Q6J("type",l.getInputType())("autocomplete",l.getAutocompleteSetting())("maxlength",l.maxCharacters)("ngModel",l.textBoxValue)("placeholder",l.placeholder)("pattern",l.isNumeric?"[0-9]*":"")("ngClass",e.WLB(24,Wo,l.centerText,l.invalidInput)),e.uIk("id",l.inputId)("data-id",l.id)("data-lpignore",l.disableBrowserAutofill?"true":"false")("readonly",l.isDisabled)("inputmode",l.isNumeric?"numeric":""),e.xp6(2),e.Q6J("ngIf",l.shouldShowMessage()))},directives:[u.O5,u.mk,c.Fj,c.nD,c.JJ,c.On,c.c5],styles:[".text-box[_ngcontent-%COMP%]{height:40px;border-radius:3px;background-color:#fff;box-shadow:inset 0 1px 4px #dcd0e299;font-size:14px;padding-left:13px;color:#7e6787;width:100%;box-sizing:border-box}.text-box-Disable[_ngcontent-%COMP%]{background-color:#eee}.text-box[_ngcontent-%COMP%]:focus{border:solid 2px #ba25b2;outline:none}.icon-block[_ngcontent-%COMP%], .text-box[_ngcontent-%COMP%]{display:inline-block;border:solid 2px #dcd0e2}.icon-block[_ngcontent-%COMP%]{width:40px;overflow:hidden;border-right:none;border-bottom-left-radius:3px;border-top-left-radius:3px;text-align:center;line-height:36px;background-color:#fff}.fa[_ngcontent-%COMP%]{color:#dcd0e2;height:16px}.center-text[_ngcontent-%COMP%]{text-align:center;padding-left:0}input[_ngcontent-%COMP%]:focus::-webkit-input-placeholder{color:transparent}input[_ngcontent-%COMP%]:focus:-moz-placeholder{color:transparent}input[_ngcontent-%COMP%]:focus::-moz-placeholder{color:transparent}input[_ngcontent-%COMP%]:focus:-ms-input-placeholder{color:transparent}.invalid[_ngcontent-%COMP%]{border:solid 2px #f44336;outline:none}.error-field[_ngcontent-%COMP%]{color:#fff;font-size:14px;background-color:#f44336;line-height:40px;padding-left:10px;width:auto;border-bottom-left-radius:3px;border-bottom-right-radius:3px}"]}),a})(),xl=(()=>{class a{transform(n){return n?(n=n.replace(/[^0-9a-zA-Z -]/g,"").replace(/ {2}/g," ").replace(/\(/g,"").replace(/\)/g,"").replace(/\[/g,"").replace(/\]/g,"").replace(/\*/g,"").replace(/"/g,"").replace(/'/g,"").replace(/,/g,"").replace(/:/g,"").replace(/;/g,"").replace(/&/g,"").replace(/ /g,"-")).toString():""}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"dataIdFormatter",type:a,pure:!0}),a})(),Ea=(()=>{class a{constructor(n){this.dataIdFormatterPipe=n,this.disabled=!1,this.fillContainer=!1,this.icon=null,this.isTransparentButton=!1,this.buttonId="",this.badge=null,this.id=o.h.UUID()}get hasBadge(){return null!=this.badge&&""!==this.badge}get iconClass(){return this.icon?"fa fa-"+this.icon.replace(/^fa-/,"")+" icon-margin":""}buttonIdValue(){return this.dataIdFormatterPipe.transform(this.buttonId?this.buttonId:this.buttonText)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(xl))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-primary-button"]],inputs:{buttonText:"buttonText",disabled:"disabled",fillContainer:"fillContainer",icon:"icon",isTransparentButton:"isTransparentButton",buttonId:"buttonId",badge:"badge"},decls:5,vars:13,consts:[[3,"disabled","ngClass"],[3,"class",4,"ngIf"],["class","badge",4,"ngIf"],[1,"badge"]],template:function(n,l){1&n&&(e.TgZ(0,"button",0),e.YNc(1,ci,1,3,"i",1),e.TgZ(2,"span"),e._uU(3),e.qZA(),e.YNc(4,vi,2,2,"span",2),e.qZA()),2&n&&(e.ekj("transparent-button",l.isTransparentButton)("pointer",!l.disabled),e.Q6J("disabled",l.disabled)("ngClass",e.VKq(11,bi,l.fillContainer)),e.uIk("data-id",l.buttonIdValue()),e.xp6(1),e.Q6J("ngIf",l.icon),e.xp6(1),e.uIk("data-id",l.buttonIdValue()+"-label"),e.xp6(1),e.Oqu(l.buttonText),e.xp6(1),e.Q6J("ngIf",l.hasBadge))},directives:[u.mk,u.O5],styles:["button[_ngcontent-%COMP%]{font-size:18px;white-space:nowrap;background-color:#ba25b2;outline:none;border-radius:23px;border-style:solid;border-color:#ba25b2;color:#fff;padding-left:15px;padding-right:15px;min-width:120px;line-height:40px}button.maxWidth[_ngcontent-%COMP%]{min-width:100%}button[_ngcontent-%COMP%]:hover{background-color:#d42acb;box-shadow:0 4px 9.5px .5px #320d4233}button[_ngcontent-%COMP%]:disabled{background-color:#d6c8dc;border-color:#d6c8dc;box-shadow:initial;cursor:not-allowed}button[_ngcontent-%COMP%]:active{background-color:#a1209a;border-color:#a1209a;box-shadow:0 4px 9.5px .5px #320d4233}.icon-margin[_ngcontent-%COMP%]{margin-right:15px}.transparent-button[_ngcontent-%COMP%]{background-color:#fff;border:0;color:#a98ab6}.pointer[_ngcontent-%COMP%]{cursor:pointer}.badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:0 6px;min-width:24px;min-height:24px;aspect-ratio:1;border-radius:50%;box-sizing:border-box;background-color:#ffffff47;color:#fff;font-size:13px;font-weight:700;line-height:1;vertical-align:middle}button[_ngcontent-%COMP%]:disabled .badge[_ngcontent-%COMP%]{background-color:#ffffff73;color:#d6c8dc}.transparent-button[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{background-color:#00000014;color:#a98ab6}"]}),a})(),Ru=(()=>{class a{constructor(){this.scrollDisabledState=new z.X(!1)}disableScroll(){document.body.classList.add("disable-scroll"),this.scrollDisabledState.next(!0)}enableScroll(){document.body.classList.remove("disable-scroll"),this.scrollDisabledState.next(!1)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),Nl=(()=>{class a{constructor(n,l){this.modalService=n,this.scrollService=l,this.disableScrolling=!0,this.pageObjectName="",this.zIndex=998,this.modalClosed=new e.vpe,this.modalShown=new e.vpe}ngOnDestroy(){this.isShown&&this.disableScrolling&&!this.originalScrollState&&this.scrollService.enableScroll(),this.isShown=!1,this.modalService.deregisterDialog(this.dialogName)}ngOnChanges(n){if(this.dialogName){if(n.name&&this.isRegistered)throw new Error("Dialog name cannot be changed after registration.");this.modalService.registerDialog(this.dialogName,this)}}resolve(n){this.disableScrolling&&!this.originalScrollState&&this.scrollService.enableScroll(),this.modalClosed.emit(!0),this.modalService.resolveDialog(this.dialogName,n),this.isShown=!1}show(){this.disableScrolling&&(this.originalScrollState=this.scrollService.scrollDisabledState.value,this.scrollService.disableScroll()),this.isShown=!0,this.modalShown.emit(this.isShown)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(Ll),e.Y36(Ru))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-modal"]],inputs:{dialogName:"dialogName",class:"class",disableScrolling:"disableScrolling",pageObjectName:"pageObjectName",zIndex:"zIndex"},outputs:{modalClosed:"modalClosed",modalShown:"modalShown"},features:[e.TTD],ngContentSelectors:pe,decls:1,vars:1,consts:[["class","modal-outer",3,"z-index",4,"ngIf"],[1,"modal-outer"]],template:function(n,l){1&n&&(e.F$t(),e.YNc(0,Vi,2,3,"div",0)),2&n&&e.Q6J("ngIf",l.isShown)},directives:[u.O5],styles:[".modal-overlay[_ngcontent-%COMP%]{display:none}.modal-outer[_ngcontent-%COMP%]{display:flex;top:0;left:0;position:fixed;height:100%;width:100%;background-color:#320d42b3;z-index:998;cursor:default;max-height:100%;align-items:center;justify-content:center}.modal[_ngcontent-%COMP%]{min-height:100px;margin:auto;border-radius:10px;background-color:#fff;z-index:999;display:inline-block;min-width:499px;max-height:100%;max-width:825px}@media (max-width: 1690px){.modal[_ngcontent-%COMP%]{max-height:98%;max-width:896px}}@media (max-width: 500px){.modal[_ngcontent-%COMP%]{max-width:0;min-width:100%}.modal-outer[_ngcontent-%COMP%]{padding:10px}}"]}),a})(),pc=(()=>{class a{constructor(){this.isFixedWidth=!0,this.isHeightUnset=!1,this.disableBodyPadding=!1,this.showHeaderClose=!1,this.modalClosed=new e.vpe,this.modalShown=new e.vpe}resolve(n){this.modal.resolve(n)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-large-header-modal"]],viewQuery:function(n,l){if(1&n&&e.Gf(ie,5),2&n){let w;e.iGM(w=e.CRH())&&(l.modal=w.first)}},inputs:{dialogName:"dialogName",modalTitle:"modalTitle",buttonText:"buttonText",isFixedWidth:"isFixedWidth",icon:"icon",backgroundColor:"backgroundColor",disableScrolling:"disableScrolling",isHeightUnset:"isHeightUnset",pageObjectName:"pageObjectName",disableBodyPadding:"disableBodyPadding",customHeaderHeight:"customHeaderHeight",showHeaderClose:"showHeaderClose"},outputs:{modalClosed:"modalClosed",modalShown:"modalShown"},ngContentSelectors:yt,decls:11,vars:21,consts:[[3,"dialogName","disableScrolling","pageObjectName","modalShown","modalClosed"],["modal",""],[1,"modal"],[1,"header",3,"ngClass"],["id","title"],["type","button","class","header-close","aria-label","Close",3,"click",4,"ngIf"],["type","button","aria-label","Close",1,"header-close",3,"click"],[1,"fa","fa-times"]],template:function(n,l){1&n&&(e.F$t(st),e.TgZ(0,"pa-modal",0,1),e.NdJ("modalShown",function(){return l.modalShown.emit(!0)})("modalClosed",function(){return l.modalClosed.emit(!0)}),e.TgZ(2,"div",2)(3,"div",3),e._UZ(4,"i"),e.TgZ(5,"p",4)(6,"b"),e._uU(7),e.qZA()(),e.YNc(8,Ue,2,1,"button",5),e.qZA(),e.Hsn(9),e.Hsn(10,1),e.qZA()()),2&n&&(e.ekj("fixed-width",l.isFixedWidth),e.Q6J("dialogName",l.dialogName)("disableScrolling",l.disableScrolling)("pageObjectName",l.pageObjectName),e.xp6(2),e.ekj("min-height-unset",l.isHeightUnset),e.uIk("data-id",l.dialogName+"-modal"),e.xp6(1),e.Udp("height",l.customHeaderHeight),e.MGl("ngClass","background-",l.backgroundColor,""),e.xp6(1),e.Gre("fa fa-",l.icon,""),e.Udp("line-height",l.customHeaderHeight),e.xp6(1),e.Udp("line-height",l.customHeaderHeight),e.uIk("data-id",l.dialogName+"-title"),e.xp6(2),e.Oqu(l.modalTitle),e.xp6(1),e.Q6J("ngIf",l.showHeaderClose))},directives:[Nl,u.mk,u.O5],styles:[".modal-overlay[_ngcontent-%COMP%]{display:none}.modal-outer[_ngcontent-%COMP%]{display:flex;top:0;left:0;position:fixed;height:100%;width:100%;background-color:#320d42b3;z-index:998;cursor:default;max-height:100%;align-items:center;justify-content:center}.modal[_ngcontent-%COMP%]{min-height:100px;margin:auto;border-radius:10px;background-color:#fff;z-index:999;display:inline-block;min-width:499px;max-height:100%;max-width:825px}@media (max-width: 1690px){.modal[_ngcontent-%COMP%]{max-height:98%;max-width:896px}}@media (max-width: 500px){.modal[_ngcontent-%COMP%]{max-width:0;min-width:100%}.modal-outer[_ngcontent-%COMP%]{padding:10px}}.header[_ngcontent-%COMP%]{color:#fff;font-size:18px;height:130px;width:100%;line-height:100%;display:inline-flex;border-top-left-radius:10px;border-top-right-radius:10px}.modal[_ngcontent-%COMP%]{max-width:90%;display:flex;flex-direction:column}.fixed-width[_ngcontent-%COMP%]{width:499px}.body[_ngcontent-%COMP%]{overflow-y:auto;flex-grow:1}.header-close[_ngcontent-%COMP%]{margin-left:auto;align-self:center;margin-right:20px;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:6px;color:#fff;cursor:pointer}.header-close[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px;line-height:1;padding-left:0}.header-close[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.18)}.pa-button-primary[_ngcontent-%COMP%]{float:right}#title[_ngcontent-%COMP%]{line-height:130px;vertical-align:middle;margin:5px auto auto 20px}i[_ngcontent-%COMP%]{font-size:30px;line-height:130px;padding-left:30px;vertical-align:middle}@media (max-width: 500px){.modal[_ngcontent-%COMP%]{min-width:0}}.background-wisteria[_ngcontent-%COMP%]{background-color:#b282c6;color:#fff}.background-dodger-blue-two[_ngcontent-%COMP%]{background-color:#42a5f5;color:#fff}.background-green[_ngcontent-%COMP%]{background-color:#39b54a;color:#fff}.background-tomato[_ngcontent-%COMP%]{background-color:#e53935;color:#fff}.background-tangerine[_ngcontent-%COMP%]{background-color:#fb8c00;color:#fff}@media only screen and (max-height: 600px){.header[_ngcontent-%COMP%]{height:55px}#title[_ngcontent-%COMP%], i[_ngcontent-%COMP%]{line-height:55px}}"]}),a})(),mc=(()=>{class a{constructor(){this.buttonText="OK",this.buttonDisabled=!1,this.isHeightUnset=!1,this.isFixedWidth=!0,this.pageObjectName="",this.disableBodyPadding=!1,this.modalClosed=new e.vpe,this.modalShown=new e.vpe}resolve(n){this.modal.resolve(n)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-one-button-modal"]],viewQuery:function(n,l){if(1&n&&e.Gf(ie,5),2&n){let w;e.iGM(w=e.CRH())&&(l.modal=w.first)}},inputs:{dialogName:"dialogName",icon:"icon",backgroundColor:"backgroundColor",modalTitle:"modalTitle",buttonText:"buttonText",buttonDisabled:"buttonDisabled",isHeightUnset:"isHeightUnset",isFixedWidth:"isFixedWidth",pageObjectName:"pageObjectName",disableBodyPadding:"disableBodyPadding"},outputs:{modalClosed:"modalClosed",modalShown:"modalShown"},ngContentSelectors:pe,decls:7,vars:16,consts:[[3,"isHeightUnset","dialogName","icon","backgroundColor","modalTitle","isFixedWidth","pageObjectName","disableBodyPadding","modalShown","modalClosed"],["modal",""],[1,"body"],[1,"footer"],[3,"buttonText","disabled","click"]],template:function(n,l){if(1&n){const w=e.EpF();e.F$t(),e.TgZ(0,"pa-large-header-modal",0,1),e.NdJ("modalShown",function(){return l.modalShown.emit(!0)})("modalClosed",function(){return l.modalClosed.emit(!0)}),e.TgZ(2,"div",2),e.Hsn(3),e.qZA(),e.TgZ(4,"div",3)(5,"pa-primary-button",4),e.NdJ("click",function(){return e.CHM(w),e.MAs(1).resolve()}),e.ALo(6,"dataIdFormatter"),e.qZA()()()}2&n&&(e.Q6J("isHeightUnset",l.isHeightUnset)("dialogName",l.dialogName)("icon",l.icon)("backgroundColor",l.backgroundColor)("modalTitle",l.modalTitle)("isFixedWidth",l.isFixedWidth)("pageObjectName",l.pageObjectName)("disableBodyPadding",l.disableBodyPadding),e.uIk("data-id",l.dialogName+"-modal"),e.xp6(2),e.ekj("no-padding",l.disableBodyPadding),e.xp6(3),e.Q6J("buttonText",l.buttonText)("disabled",l.buttonDisabled),e.uIk("data-id",e.lcZ(6,14,l.dialogName+"-resolveButton")))},directives:[pc,Ea],pipes:[xl],styles:[".modal-overlay[_ngcontent-%COMP%]{display:none}.modal-outer[_ngcontent-%COMP%]{display:flex;top:0;left:0;position:fixed;height:100%;width:100%;background-color:#320d42b3;z-index:998;cursor:default;max-height:100%;align-items:center;justify-content:center}.modal[_ngcontent-%COMP%]{min-height:100px;margin:auto;border-radius:10px;background-color:#fff;z-index:999;display:inline-block;min-width:499px;max-height:100%;max-width:825px}@media (max-width: 1690px){.modal[_ngcontent-%COMP%]{max-height:98%;max-width:896px}}@media (max-width: 500px){.modal[_ngcontent-%COMP%]{max-width:0;min-width:100%}.modal-outer[_ngcontent-%COMP%]{padding:10px}}.modal[_ngcontent-%COMP%]{max-width:90%;width:499px}.body[_ngcontent-%COMP%]{padding-left:30px;padding-right:30px;overflow-y:auto}.body.no-padding[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.footer[_ngcontent-%COMP%]{float:right;margin:30px;text-align:right}.pa-button-primary[_ngcontent-%COMP%]{float:right}#message[_ngcontent-%COMP%]{font-size:16px;padding-top:20px}.background-wisteria[_ngcontent-%COMP%]{background-color:#b282c6;color:#fff}.background-dodger-blue-two[_ngcontent-%COMP%]{background-color:#42a5f5;color:#fff}.background-tomato[_ngcontent-%COMP%]{background-color:#e53935;color:#fff}"]}),a})(),qp=(()=>{class a{constructor(){this.textBoxValue="",this.placeHolder="",this.isValid=!0,this.autoExpand=!1,this.textInputDataId=null,this.maxCharacters=null,this.textBoxValueChange=new e.vpe}textChanged(){this.textBoxValueChange.emit(this.textBoxValue)}adjustTextArea(){!this.autoExpand||(this.multiLineTextBoxElement.nativeElement.style.height=`${this.multiLineTextBoxElement.nativeElement.scrollHeight}px`)}multiLineTextChange(n){this.textBoxValue=n}focus(){this.multiLineTextBoxElement.nativeElement.focus()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-multiline-textbox"]],viewQuery:function(n,l){if(1&n&&e.Gf(wi,5),2&n){let w;e.iGM(w=e.CRH())&&(l.multiLineTextBoxElement=w.first)}},inputs:{textBoxValue:"textBoxValue",placeHolder:"placeHolder",isValid:"isValid",autoExpand:"autoExpand",textInputDataId:"textInputDataId",maxCharacters:"maxCharacters"},outputs:{textBoxValueChange:"textBoxValueChange"},decls:3,vars:7,consts:[[1,"text-box",3,"ngModel","placeholder","ngModelChange","input"],["multiLineTextBox",""],["class","error-field",4,"ngIf"],[1,"error-field"]],template:function(n,l){1&n&&(e.TgZ(0,"textarea",0,1),e.NdJ("ngModelChange",function(E){return l.textBoxValue=E})("ngModelChange",function(){return l.textChanged()})("input",function(){return l.adjustTextArea()}),e.qZA(),e.YNc(2,Mi,2,1,"div",2)),2&n&&(e.ekj("has-error",!l.isValid),e.Q6J("ngModel",l.textBoxValue)("placeholder",l.placeHolder),e.uIk("data-id",l.textInputDataId)("maxlength",l.maxCharacters),e.xp6(2),e.Q6J("ngIf",!l.isValid))},directives:[c.Fj,c.JJ,c.On,c.nD,u.O5],styles:[".text-box[_ngcontent-%COMP%]{height:80px;min-height:80px;border-radius:3px;background-color:#fff;box-shadow:inset 0 4px 4px #dcd0e299;border:solid 2px #dcd0e2;font-size:14px;line-height:2;padding-left:13px;color:#7e6787;width:100%;box-sizing:border-box;resize:vertical}.text-box.has-error[_ngcontent-%COMP%]{border-color:#f44336;border-bottom-left-radius:0;border-bottom-right-radius:0}.text-box[_ngcontent-%COMP%]:focus{border:solid 2px #ba25b2;outline:none}.error-field[_ngcontent-%COMP%]{color:#fff;font-size:14px;background-color:#f44336;line-height:40px;padding-left:10px;width:calc(100% - 10px);border-bottom-left-radius:3px;border-bottom-right-radius:3px}[_ngcontent-%COMP%]::placeholder{color:#a98ab6}@media only screen and (min-width: 600px) and (max-width: 767px){.text-box[_ngcontent-%COMP%]{height:40px;line-height:2}}"]}),a})(),Jp=(()=>{class a{constructor(){this.showBox=!0,this.negativeMargins=!0,this.isActionListForNextSteps=!1,this.selectedAction=new e.vpe}selectAction(n){this.selectedAction.emit(n)}showClass(){return this.showBox?"action-list-container-box":this.negativeMargins&&this.isActionListForNextSteps?"action-list-for-next-steps-without-box":this.negativeMargins?"action-list-without-box":"action-list-container"}showWithoutBox(){return!this.showBox&&this.negativeMargins}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-action-list"]],inputs:{actionItems:"actionItems",showBox:"showBox",negativeMargins:"negativeMargins",isActionListForNextSteps:"isActionListForNextSteps"},outputs:{selectedAction:"selectedAction"},decls:2,vars:2,consts:[[1,"action-list-container",3,"ngClass"],["class","action-list-item",3,"action-list-item-without-box","action-list-margin","action-list-padded","click",4,"ngFor","ngForOf"],[1,"action-list-item",3,"click"],[1,"action-item-title"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e.YNc(1,co,4,11,"div",1),e.qZA()),2&n&&(e.Q6J("ngClass",l.showClass()),e.xp6(1),e.Q6J("ngForOf",l.actionItems))},directives:[u.mk,u.sg],styles:[".action-list-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:249px;border-radius:5px}.action-list-container-box[_ngcontent-%COMP%]{box-shadow:0 5px 9.5px .5px #320d4233;background-color:#fff}.action-list-without-box[_ngcontent-%COMP%]{margin-top:0;margin-bottom:-10px}.action-list-for-next-steps-without-box[_ngcontent-%COMP%]{margin-top:0;margin-bottom:-8px}.action-item-title[_ngcontent-%COMP%]{padding-left:10px;font-size:16px}.action-list-item[_ngcontent-%COMP%]{background-color:#fff;color:#a98ab6;line-height:2.56;text-align:left;cursor:pointer}.action-list-item.action-list-padded[_ngcontent-%COMP%]{padding-left:40px}.action-list-item.action-list-margin[_ngcontent-%COMP%]{margin-left:5px}.action-list-item.action-list-margin[_ngcontent-%COMP%]:first-child{border-top-right-radius:5px;border-top-left-radius:5px;padding-top:20px}.action-list-item.action-list-margin[_ngcontent-%COMP%]:last-child{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.action-list-item[_ngcontent-%COMP%]:hover{background-color:#ba25b2;color:#fff}.action-list-item-without-box[_ngcontent-%COMP%]{margin-left:-25px;margin-right:-25px;font-size:16px}.icon-width[_ngcontent-%COMP%]{width:16px;font-size:18px}"]}),a})(),zs=(()=>{class a{constructor(){this.isHeaderColorArrow=!1,this.addPadding=!0,this.id=o.h.UUID()}getStyle(n){return n.toString()+"px"}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-popover"]],viewQuery:function(n,l){if(1&n&&e.Gf(qr,5),2&n){let w;e.iGM(w=e.CRH())&&(l.popOverBodyReference=w.first)}},inputs:{position:"position",isHeaderRequired:"isHeaderRequired",width:"width",isHeaderColorArrow:"isHeaderColorArrow",topPosition:"topPosition",bottom:"bottom",left:"left",right:"right",addPadding:"addPadding",backgroundColor:"backgroundColor",messageColor:"messageColor"},ngContentSelectors:so,decls:7,vars:25,consts:[[1,"popover"],[1,"popover-body"],["popoverBody",""],[1,"popover-header"],[1,"popover-message",3,"ngClass"]],template:function(n,l){1&n&&(e.F$t(Xo),e.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),e.Hsn(4),e.qZA(),e.TgZ(5,"div",4),e.Hsn(6,1,["[ngClass]","'message-' + messageColor"]),e.qZA()()()),2&n&&(e.Udp("top",l.topPosition)("bottom",l.bottom)("left",l.left)("right",l.right),e.xp6(1),e.Udp("width",l.getStyle(l.width)),e.ekj("left","left"===l.position)("right","right"===l.position)("bottom","bottom"===l.position)("top","top"===l.position)("header",l.isHeaderColorArrow),e.xp6(4),e.ekj("popover-padding",l.addPadding)("popover-message-padding",!l.isHeaderRequired),e.Q6J("ngClass","background-"+l.backgroundColor+" message-"+l.messageColor))},directives:[u.mk],styles:[".popover[_ngcontent-%COMP%]{position:relative;z-index:998}.popover-body[_ngcontent-%COMP%]{box-shadow:0 5px 9.5px .5px #320d4233;border:solid 1px transparent;background-image:linear-gradient(#fff,#fff),linear-gradient(to top,#cbb9d3,#dcd0e2);background-origin:border-box;background-clip:content-box,border-box;border-radius:5px;word-wrap:normal;position:absolute;overflow:hidden;pointer-events:all}.popover-header[_ngcontent-%COMP%]{line-height:40px;font-size:14px;font-weight:700;color:#333;background-color:#f4f1f5;border-top-right-radius:3px;border-top-left-radius:3px;margin:-14px 0;padding:0 25px 0 20px}.popover-message[_ngcontent-%COMP%]{font-size:14px;position:relative;z-index:999;font-weight:400}.popover-message.popover-padding[_ngcontent-%COMP%]{padding:15px 25px 12px 20px}p[_ngcontent-%COMP%]{line-height:20px}.background-white[_ngcontent-%COMP%]{background-color:#fff}.background-eggplant[_ngcontent-%COMP%]{background-color:#320d42}.message-black[_ngcontent-%COMP%]{color:#333}.message-white[_ngcontent-%COMP%]{color:#fff}"]}),a})(),Nu=(()=>{class a{constructor(){this.popoverRequired=!1,this.addPadding=!0,this.backgroundColor="white",this.messageColor="black",this.enabled=!0,this.isPopoverActive=new e.vpe,this.isHeaderColorArrow=!1,this.isLeftPosition=!0,this.displayTooltip=!1,this.displayPopup=!1,this.popupHidden=!0,this.popoverDistanceToIcon=25,this.visibleIconWidth=24,this.arrowTop=0,this.distanceToEdgeOfScreen=60}popOverButtonClick(n=null){!this.enabled||(n&&n.stopPropagation(),this.displayTooltip=!this.displayTooltip,this.popupHidden=!0,this.displayPopup=!this.displayPopup,setTimeout(()=>{this.popoverInitialPosition(),this.popupHidden=!1}),this.isPopoverActive.emit(this.displayTooltip))}popOverBlur(){this.displayTooltip=!1,this.displayPopup=!1;const n=document.activeElement;if(!n)return void this.processBlurEvent();const l=n.getAttribute("data-id");l&&"popover-component"===l||this.processBlurEvent()}processBlurEvent(){this.isPopoverActive.emit(this.displayTooltip)}displayPopover(){return this.displayTooltip&&this.popoverRequired}popoverInitialPosition(){const n=this.getPopOverHeight(),l=this.getScreenHeight(),w=this.popOverButton.nativeElement.getBoundingClientRect(),E=w.top;this.position="top";const ft=l-E>n;return E>n?(this.position="top",this.bottomPosition?(this.position="bottom",void this.popoverFinalPosition(w,!1)):void this.popoverFinalPosition(w,!0)):ft?(this.position="bottom",void this.popoverFinalPosition(w,!1)):void this.popoverFinalPosition(w,!0)}getPosition(){return this.position}getWrapperForEllipseIcon(){return"fa-ellipsis-v"===this.icon?"wrapper-ellipse":""}getEllipseIconContainer(){return"fa-ellipsis-v"===this.icon?"icon-button-ellipse-container":""}getPopOverHeight(){return parseInt(this.popOverComponent.nativeElement.children[0].children[0].offsetHeight,10)}getPopoverRect(){return this.popOverComponent.nativeElement.children[0].children[0].getBoundingClientRect()}getScreenHeight(){return window.innerHeight}getScreenWidth(){return window.innerWidth}popoverFinalPosition(n,l){const E=this.getPopoverRect().height;let Ae=0;l&&(Ae=-E-this.popoverDistanceToIcon),l||(Ae=E+this.popoverDistanceToIcon),l&&(this.arrowTop=Ae+E-10-1,this.topPosition=Ae),l||(this.arrowTop=Ae-10-E+this.popoverDistanceToIcon,this.topPosition=Ae-E+this.popoverDistanceToIcon),this.left=this.getPopupLeftOffset(n)}getPopupLeftOffset(n){let l=(this.width-this.visibleIconWidth)/2;const w=n.right+this.width/2,E=this.getScreenWidth()-this.distanceToEdgeOfScreen;return w>E&&(l=l-E+w),Math.max(5-n.left,-1*l)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-icon-popover-button"]],viewQuery:function(n,l){if(1&n&&(e.Gf(is,5),e.Gf(Ks,5,e.SBq)),2&n){let w;e.iGM(w=e.CRH())&&(l.popOverButton=w.first),e.iGM(w=e.CRH())&&(l.popOverComponent=w.first)}},inputs:{icon:"icon",popoverHeader:"popoverHeader",popoverRequired:"popoverRequired",isHeaderRequired:"isHeaderRequired",iconColor:"iconColor",width:"width",iconTopOffset:"iconTopOffset",addPadding:"addPadding",backgroundColor:"backgroundColor",messageColor:"messageColor",enabled:"enabled",disabledIconColor:"disabledIconColor",bottomPosition:"bottomPosition"},outputs:{isPopoverActive:"isPopoverActive"},ngContentSelectors:pe,decls:10,vars:35,consts:[["data-id","popover-component","tabindex","0",1,"popover-wrapper",3,"ngClass","blur","click"],[1,"icon-button-container",3,"ngClass"],["data-id","show-tooltip",1,"fa",3,"ngClass","click"],["popOverIcon",""],[1,"arrow",3,"ngClass"],["data-id","popover-clicked",1,"popover",3,"backgroundColor","messageColor","isHeaderColorArrow","isHeaderRequired","width","addPadding","click"],["popOverComponent",""],["popoverHeader","",4,"ngIf"],["popoverMessage",""],["popoverHeader",""]],template:function(n,l){1&n&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("blur",function(){return l.popOverBlur()})("click",function(){return l.popupHidden=!0}),e.TgZ(1,"div",1)(2,"i",2,3),e.NdJ("click",function(E){return l.popOverButtonClick(E)}),e.qZA()(),e._UZ(4,"div",4),e.TgZ(5,"pa-popover",5,6),e.NdJ("click",function(){return l.popOverBlur()}),e.YNc(7,zo,2,1,"p",7),e.TgZ(8,"p",8),e.Hsn(9),e.qZA()()()),2&n&&(e.Q6J("ngClass",l.getWrapperForEllipseIcon()),e.xp6(1),e.Q6J("ngClass",l.getEllipseIconContainer()),e.xp6(1),e.Udp("top",l.iconTopOffset+"px"),e.ekj("selected",l.displayPopover())("enabled",l.enabled),e.Q6J("ngClass",l.icon+" icon-color-"+(l.enabled?l.iconColor:l.disabledIconColor)),e.xp6(2),e.Udp("top",l.arrowTop+"px"),e.ekj("hidden",l.popupHidden)("display-none",!l.displayPopup)("header-color-arrow",l.isHeaderColorArrow),e.Q6J("ngClass",l.getPosition()+" background-"+l.backgroundColor),e.xp6(1),e.Udp("top",l.topPosition+"px")("left",l.left+"px")("right",l.right+"px"),e.ekj("hidden",l.popupHidden)("display-none",!l.displayPopup),e.Q6J("backgroundColor",l.backgroundColor)("messageColor",l.messageColor)("isHeaderColorArrow",l.isHeaderColorArrow)("isHeaderRequired",l.isHeaderRequired)("width",l.width)("addPadding",l.addPadding),e.xp6(2),e.Q6J("ngIf",l.isHeaderRequired))},directives:[zs,u.mk,u.O5],styles:['.popover-wrapper[_ngcontent-%COMP%]{position:relative;width:63px}.wrapper-ellipse[_ngcontent-%COMP%]{width:37px;left:5px}.icon-button-container[_ngcontent-%COMP%]{position:absolute;left:0;top:0}.icon-button-ellipse-container[_ngcontent-%COMP%]{position:absolute;left:7px;top:0}.popover[_ngcontent-%COMP%]{position:absolute}i[_ngcontent-%COMP%]{font-size:24px;cursor:default}i.enabled[_ngcontent-%COMP%]{cursor:pointer}i.enabled[_ngcontent-%COMP%]:hover{color:#7e6787}i.enabled.selected[_ngcontent-%COMP%], i.enabled.selected[_ngcontent-%COMP%]:hover{color:#320d42}i.inline[_ngcontent-%COMP%]{top:0}div.inline[_ngcontent-%COMP%]{display:inline-block}.icon-color[_ngcontent-%COMP%]{color:#320d42}.hidden[_ngcontent-%COMP%]{visibility:hidden}.arrow[_ngcontent-%COMP%]{content:"";position:absolute;display:inline-block;width:20px;height:20px;z-index:999;background-color:#fff}.arrow.top[_ngcontent-%COMP%]{border-right:solid 1px #cbb9d3;border-bottom:solid 1px #cbb9d3;border-top-left-radius:20px;transform:rotate(45deg);left:0}.arrow.bottom[_ngcontent-%COMP%]{border-left:solid 1px #cbb9d3;border-top:solid 1px #cbb9d3;border-bottom-right-radius:20px;transform:rotate(45deg)}.arrow.bottom.header-color-arrow[_ngcontent-%COMP%]{background-color:#f4f1f5}.arrow.left[_ngcontent-%COMP%]{border-right:solid 1px #cbb9d3;border-bottom:solid 1px #cbb9d3;border-top-left-radius:20px;transform:rotate(-45deg)}.arrow.right[_ngcontent-%COMP%]{border-left:solid 1px #cbb9d3;border-top:solid 1px #cbb9d3;border-right-bottom-radius:20px;transform:rotate(-45deg)}pa-popover.popover.display-none[_ngcontent-%COMP%], div.display-none[_ngcontent-%COMP%]{display:none}.icon-color-heather-two[_ngcontent-%COMP%]{color:#a98ab6}.icon-color-eggplant[_ngcontent-%COMP%]{color:#320d42}.icon-color-pale-grey[_ngcontent-%COMP%]{color:#f4f1f5}.background-white[_ngcontent-%COMP%]{background-color:#fff}.background-eggplant[_ngcontent-%COMP%]{background-color:#320d42}']}),a})(),fc=(()=>{class a{constructor(){this.modalClosed=new e.vpe,this.modalShown=new e.vpe}resolve(n){this.modal.resolve(n)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-full-color-background-modal"]],viewQuery:function(n,l){if(1&n&&e.Gf(ie,5),2&n){let w;e.iGM(w=e.CRH())&&(l.modal=w.first)}},inputs:{overlayColor:"overlayColor",dialogName:"dialogName"},outputs:{modalClosed:"modalClosed",modalShown:"modalShown"},ngContentSelectors:Br,decls:6,vars:2,consts:[[3,"dialogName","modalShown","modalClosed"],["modal",""],[3,"ngClass"],[1,"modal-container"],[1,"modal"]],template:function(n,l){1&n&&(e.F$t(Ms),e.TgZ(0,"pa-modal",0,1),e.NdJ("modalShown",function(){return l.modalShown.emit(!0)})("modalClosed",function(){return l.modalClosed.emit(!0)}),e._UZ(2,"div",2),e.TgZ(3,"div",3)(4,"div",4),e.Hsn(5),e.qZA()()()),2&n&&(e.Q6J("dialogName",l.dialogName),e.xp6(2),e.Q6J("ngClass","modal-overlay-"+l.overlayColor))},directives:[Nl,u.mk],styles:[".modal-container[_ngcontent-c4][_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;text-align:center;z-index:1000}.modal[_ngcontent-%COMP%]{position:fixed;inset:0;min-height:100px;max-width:100%;width:85%;margin:auto;border-radius:10px;z-index:989;display:inline-block;vertical-align:middle}@media only screen and (min-width: 320px) and (max-width: 767px){.modal[_ngcontent-%COMP%]{max-width:98%;overflow:scroll;border-radius:0}}.modal-overlay-eggplant[_ngcontent-%COMP%]{position:fixed;top:0;left:0;height:100%;width:100%;background-color:#320d42;opacity:.7;z-index:988}.modal-overlay-eggplant-two[_ngcontent-%COMP%]{position:fixed;top:0;left:0;height:100%;width:100%;background-color:#2a0b37;opacity:.7;z-index:988}.modal-overlay-eggplant-solid[_ngcontent-%COMP%]{position:fixed;top:0;left:0;height:100%;width:100%;background-color:#320d42;opacity:1;z-index:988}"]}),a})();const Dl=["jpg","jpeg","gif","png"];let Bu=(()=>{class a{constructor(){this.closeClick=new e.vpe}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-video-incompatible"]],inputs:{unsupportedMediaMessage:"unsupportedMediaMessage",hideCloseButton:"hideCloseButton"},outputs:{closeClick:"closeClick"},decls:8,vars:3,consts:[[1,"media-error-message"],[1,"message-part"],[1,"warning-icon"],["iconClass","exclamation",3,"iconSize"],[1,"message-text"],[1,"button-container"],["buttonText","Close",3,"click",4,"ngIf"],["buttonText","Close",3,"click"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2),e._UZ(3,"pa-circle-icon",3),e.qZA(),e.TgZ(4,"div",4),e._uU(5),e.qZA()(),e.TgZ(6,"div",5),e.YNc(7,re,1,0,"pa-thin-action-button",6),e.qZA()()),2&n&&(e.xp6(3),e.Q6J("iconSize","large"),e.xp6(2),e.hij(" ",l.unsupportedMediaMessage," "),e.xp6(2),e.Q6J("ngIf",!l.hideCloseButton))},directives:[el,Hp,u.O5],styles:[".media-error-message[_ngcontent-%COMP%]{max-width:300px;background-color:#fff;padding:15px;border-radius:5px}.media-error-message[_ngcontent-%COMP%] .message-part[_ngcontent-%COMP%]{display:flex;margin-bottom:15px}.media-error-message[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{text-align:right}"]}),a})(),Kp=(()=>{class a{constructor(n){this.santizer=n,this.inputImages=[],this.selectedIndex=0,this.leftNavDisabled=!1,this.rightNavDisabled=!1,this.showNavBar=!0,this._childWidth=0,this.displayImages=[],this.selectedImage=new k.t(1),this.id=o.h.UUID(),this.selectedImage.subscribe(l=>{console.log(l)})}ngOnInit(){this.selectedIndex||(this.selectedIndex=0),this.displayImages=this.inputImages.map(n=>{const l=!!n.thumbnailUrl,w=this.santizer.bypassSecurityTrustUrl(n.thumbnailUrl);return{imageUrl:this.santizer.bypassSecurityTrustUrl(n.imageUrl),thumbnailUrl:l?w:"",isVideo:n.isVideo,name:n.name}})}ngOnChanges(n){this.displayImages=this.inputImages.map(l=>{const w=!!l.thumbnailUrl,E=this.santizer.bypassSecurityTrustUrl(l.thumbnailUrl);return{imageUrl:this.santizer.bypassSecurityTrustUrl(l.imageUrl),thumbnailUrl:w?E:"",isVideo:l.isVideo,name:l.name}}),this.emitSelectedImage()}showModal(){this.emitSelectedImage()}isSelectedFileAnImage(){return!this.inputImages[this.selectedIndex].isVideo}previous(){this.selectedIndex=Math.max(this.selectedIndex-1,0),this.ds.moveTo(this.selectedIndex),this.emitSelectedImage()}next(){this.selectedIndex=Math.min(this.selectedIndex+1,this.inputImages.length-1),this.ds.moveTo(this.selectedIndex),this.emitSelectedImage()}setImageIndex(n){this.clearVideoError(),this.selectedIndex=n,this.emitSelectedImage()}leftBoundStat(n){this.leftNavDisabled=n}rightBoundStat(n){this.rightNavDisabled=n}getImage(n){return this.santizer.bypassSecurityTrustUrl(this.inputImages[n].imageUrl)}isImageFile(n){let l=/[.]/.exec(n)?/[^.]+$/.exec(n)[0]:"";return(n.indexOf(".Large?temp_")>0||n.indexOf(".Small?temp_")>0||n.indexOf(".Medium?temp_")>0)&&(l=n.split(".")[n.split(".").length-2].toLowerCase()),""===l&&n.indexOf("data:")>-1&&(l=n.substring(11,n.indexOf(";base64"))),l.indexOf("?temp_")>-1&&(l=l.substring(0,l.indexOf("?temp_"))),Dl.indexOf(l.toLowerCase())>-1}toggleVideo(n){return(0,g.mG)(this,void 0,void 0,function*(){this.videoPlayer.nativeElement.paused?yield this.videoPlayer.nativeElement.play():this.videoPlayer.nativeElement.pause()})}emitSelectedImage(){this.clearVideoError(),this.selectedImage.next(this.displayImages[this.selectedIndex])}videoError(){this.videoPlayer.nativeElement.error.message.indexOf("Empty src attribute")>-1||(this.mediaCannotBePlayed=!0)}clearVideoError(){this.mediaCannotBePlayed=!1}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(d.H7))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-image-carousel"]],viewQuery:function(n,l){if(1&n&&(e.Gf(C,5,et.HU),e.Gf(C,5),e.Gf(T,5),e.Gf(ie,5)),2&n){let w;e.iGM(w=e.CRH())&&(l.ds=w.first),e.iGM(w=e.CRH())&&(l.thumb=w.first),e.iGM(w=e.CRH())&&(l.videoPlayer=w.first),e.iGM(w=e.CRH())&&(l.modal=w.first)}},inputs:{inputImages:"inputImages",selectedIndex:"selectedIndex",dialogName:"dialogName"},features:[e.TTD],decls:25,vars:14,consts:[["overlayColor","eggplant",3,"dialogName","modalShown"],["modal",""],["content","",1,"modal-content"],[1,"carousel"],["data-id","photo-edit-modal-close",1,"fa","fa-times","cross",3,"click"],[1,"image-container"],[1,"carousel-nav","move-left",3,"ngClass","click"],["moveLeft",""],[1,"icon","fa","fa-angle-left","icon-left"],["class","image-parent",4,"ngIf"],["unsupportedMediaMessage","This media is being converted to a format that can be played on this device. Please try to view again later.",3,"hideCloseButton",4,"ngIf"],[1,"carousel-nav","move-right",3,"ngClass","click"],["moveRight",""],[1,"icon","fa","fa-angle-right","icon-right"],[1,"thumbnail-container"],[4,"ngIf"],[1,"thumbnail"],[3,"drag-scroll-disabled","scrollbar-hidden","reachesLeftBound","reachesRightBound"],["thumbnail",""],[1,"thumbnail-parent"],[4,"ngFor","ngForOf"],[1,"image-parent"],["class","image ",3,"src",4,"ngIf"],["class","image","disablePictureInPicture","","controls","","controlsList","nodownload","data-id","video-player-carousel",3,"src","click","error",4,"ngIf"],[1,"image",3,"src"],["disablePictureInPicture","","controls","","controlsList","nodownload","data-id","video-player-carousel",1,"image",3,"src","click","error"],["videoPlayer",""],["unsupportedMediaMessage","This media is being converted to a format that can be played on this device. Please try to view again later.",3,"hideCloseButton"],[1,"carousel-nav","move-left",3,"click"],[1,"fa","fa-angle-left","icon-left","icon"],["drag-scroll-item","","class","image",3,"src","ngClass","click",4,"ngIf"],["class","thumbnail-video-container",3,"ngClass","click",4,"ngIf"],["drag-scroll-item","",1,"image",3,"src","ngClass","click"],[1,"thumbnail-video-container",3,"ngClass","click"],["src","assets/videoThumbnail.png","alt","videothumbnail"],[1,"carousel-nav","move-right",3,"click"],[1,"fa","fa-angle-right","icon-right","icon"]],template:function(n,l){if(1&n){const w=e.EpF();e.TgZ(0,"pa-full-color-background-modal",0,1),e.NdJ("modalShown",function(){return l.showModal()}),e.TgZ(2,"div",2)(3,"div",3)(4,"span",4),e.NdJ("click",function(){return e.CHM(w),e.MAs(1).resolve()}),e.qZA(),e.TgZ(5,"div",5)(6,"div")(7,"div",6,7),e.NdJ("click",function(){return l.previous()}),e._UZ(9,"i",8),e.qZA()(),e.YNc(10,P,5,6,"div",9),e.ALo(11,"async"),e.YNc(12,J,1,1,"pa-video-incompatible",10),e.TgZ(13,"div")(14,"div",11,12),e.NdJ("click",function(){return l.next()}),e._UZ(16,"i",13),e.qZA()()(),e.TgZ(17,"div",14),e.YNc(18,Ee,3,1,"div",15),e.TgZ(19,"div",16)(20,"drag-scroll",17,18),e.NdJ("reachesLeftBound",function(Ae){return l.leftBoundStat(Ae)})("reachesRightBound",function(Ae){return l.rightBoundStat(Ae)}),e.TgZ(22,"div",19),e.YNc(23,cn,3,2,"ng-container",20),e.qZA()()(),e.YNc(24,vn,3,1,"div",15),e.qZA()()()()}2&n&&(e.Q6J("dialogName",l.dialogName||"imageCarouselDialog"),e.xp6(7),e.Q6J("ngClass",0===l.selectedIndex?"inactive":""),e.uIk("data-id","carousel-left-"+l.id),e.xp6(3),e.Q6J("ngIf",e.lcZ(11,12,l.selectedImage)&&!l.mediaCannotBePlayed),e.xp6(2),e.Q6J("ngIf",l.mediaCannotBePlayed),e.xp6(2),e.Q6J("ngClass",l.selectedIndex===l.displayImages.length-1?"inactive":""),e.uIk("data-id","carousel-right-"+l.id),e.xp6(4),e.Q6J("ngIf",l.showNavBar),e.xp6(2),e.Q6J("drag-scroll-disabled",!0)("scrollbar-hidden",!0),e.xp6(3),e.Q6J("ngForOf",l.displayImages),e.xp6(1),e.Q6J("ngIf",l.showNavBar))},directives:[fc,Bu,et.HU,u.mk,u.O5,u.sg,et.$Z],pipes:[u.Ov],styles:[".carousel[_ngcontent-%COMP%]{z-index:999}.carousel[_ngcontent-%COMP%] .cross[_ngcontent-%COMP%]{cursor:pointer;float:right;width:16px;height:16px;font-size:24px;font-weight:400;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;text-align:right;top:16px;right:26px;position:absolute;color:#fff}.carousel[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:80vh}.carousel[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .carousel-nav[_ngcontent-%COMP%]{position:relative;top:0;bottom:0;width:50px;height:150px;overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:pointer}.carousel[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .move-left[_ngcontent-%COMP%]{right:auto}.carousel[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .move-right[_ngcontent-%COMP%]{left:auto;right:0}.carousel[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:absolute;cursor:pointer;width:35px;height:54px;font-size:60px;font-weight:400;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;text-align:right;color:#fff}.carousel[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] div.carousel-nav.inactive[_ngcontent-%COMP%]{cursor:default}.carousel[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] div.carousel-nav.inactive[_ngcontent-%COMP%] i.icon[_ngcontent-%COMP%]{cursor:default;opacity:.5}.carousel[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .icon-left[_ngcontent-%COMP%]{z-index:1001;left:-5px}.carousel[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .icon-right[_ngcontent-%COMP%]{right:10px}.carousel[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .image-parent[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.carousel[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .image-parent[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{max-width:75%;max-height:75%;border:solid 1px #ede7f0}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%]{height:100px;overflow:hidden;display:flex;align-items:center;justify-content:center;max-width:80%;margin:auto;max-height:20vh}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .carousel-nav[_ngcontent-%COMP%]{position:relative;top:0;bottom:0;width:50px;height:100px;overflow:hidden;display:flex;align-items:center;justify-content:center;cursor:pointer}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] div.carousel-nav.hidden[_ngcontent-%COMP%]{display:none}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .thumbnail[_ngcontent-%COMP%]{max-height:82px;float:left;position:relative;overflow:hidden;display:inline;white-space:nowrap}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .move-right[_ngcontent-%COMP%]{left:auto;right:0;font-size:24px;font-weight:400;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;text-align:right;cursor:pointer;color:#fff;padding-left:10px}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .move-left[_ngcontent-%COMP%]{font-size:24px;font-weight:400;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;text-align:right;cursor:pointer;color:#fff;padding-right:10px}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .thumbnail-parent[_ngcontent-%COMP%]{display:inline-flex;margin:0 10px;overflow:hidden;background-repeat:round}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .thumbnail-parent[_ngcontent-%COMP%] .thumbnail-video-container[_ngcontent-%COMP%]{background-color:#333;height:80px;width:110px;display:flex;cursor:pointer;border:solid 1px #ede7f0;opacity:.4;margin:0 5px}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .thumbnail-parent[_ngcontent-%COMP%] .thumbnail-video-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:auto;height:40px}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .thumbnail-parent[_ngcontent-%COMP%] .thumbnail-video-container.active[_ngcontent-%COMP%]{opacity:1}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .thumbnail-parent[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{max-height:80px;vertical-align:middle;border:solid 1px #ede7f0;opacity:.4;cursor:pointer;margin:0 5px}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .thumbnail-parent[_ngcontent-%COMP%] .thumbnail-icon-container[_ngcontent-%COMP%]{margin-right:0}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .thumbnail-parent[_ngcontent-%COMP%] .thumbnail-icon-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#7e6787;font-size:80px;padding:0 4px}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .thumbnail-parent[_ngcontent-%COMP%] .thumbnail-icon-container[_ngcontent-%COMP%] .icon.active[_ngcontent-%COMP%]{color:#ffffffbf}.carousel[_ngcontent-%COMP%] .thumbnail-container[_ngcontent-%COMP%] .thumbnail-parent[_ngcontent-%COMP%] img.active[_ngcontent-%COMP%]{opacity:1}.carousel[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none}"],data:{animation:[(0,Jt.X$)("slider",[(0,Jt.eR)(":increment",[(0,Jt.IO)(":enter, :leave",(0,Jt.oB)({opacity:1})),(0,Jt.ru)([(0,Jt.IO)(":enter",[(0,Jt.oB)({opacity:0}),(0,Jt.jt)("300ms ease-in-out",(0,Jt.oB)({opacity:1}))]),(0,Jt.IO)(":leave",[(0,Jt.oB)({opacity:1}),(0,Jt.jt)("300ms ease-in-out",(0,Jt.oB)({opacity:0}))])])]),(0,Jt.eR)(":decrement",[(0,Jt.IO)(":enter, :leave",(0,Jt.oB)({opacity:1})),(0,Jt.ru)([(0,Jt.IO)(":enter",[(0,Jt.oB)({opacity:0}),(0,Jt.jt)("300ms ease-in-out",(0,Jt.oB)({opacity:1}))]),(0,Jt.IO)(":leave",[(0,Jt.oB)({opacity:1}),(0,Jt.jt)("300ms ease-in-out",(0,Jt.oB)({opacity:0}))])])])])]}}),a})(),Qp=(()=>{class a{constructor(){this.showMediaErrorMessage=!1}cancelChanges(){this.modal.resolve()}toggleVideo(n){this.videoplayer.nativeElement.paused?this.videoplayer.nativeElement.play():this.videoplayer.nativeElement.pause()}ngOnChanges(n){n.videoUrl&&this.clearError()}mediaError(){this.showMediaErrorMessage=!0}clearError(){this.showMediaErrorMessage=!1}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-video-viewer"]],viewQuery:function(n,l){if(1&n&&(e.Gf(ie,5),e.Gf(T,5)),2&n){let w;e.iGM(w=e.CRH())&&(l.modal=w.first),e.iGM(w=e.CRH())&&(l.videoplayer=w.first)}},inputs:{videoUrl:"videoUrl",dialogName:"dialogName",unsupportedMediaMessage:"unsupportedMediaMessage"},features:[e.TTD],decls:6,vars:3,consts:[["overlayColor","eggplant-two",3,"dialogName"],["modal",""],["content","",1,"modal-content"],[1,"container"],["class","video-container",4,"ngIf"],[3,"unsupportedMediaMessage","closeClick",4,"ngIf"],[1,"video-container"],[1,"cross-container"],["data-id","close-modal",1,"fa","fa-times",3,"click"],[1,"video"],["controls","","disablePictureInPicture","","controlsList","nodownload","data-id","video-toggler",3,"src","error","click"],["videoPlayer",""],[3,"unsupportedMediaMessage","closeClick"]],template:function(n,l){1&n&&(e.TgZ(0,"pa-full-color-background-modal",0,1)(2,"div",2)(3,"div",3),e.YNc(4,An,6,1,"div",4),e.YNc(5,Rn,1,1,"pa-video-incompatible",5),e.qZA()()()),2&n&&(e.Q6J("dialogName",l.dialogName),e.xp6(4),e.Q6J("ngIf",!l.showMediaErrorMessage),e.xp6(1),e.Q6J("ngIf",l.showMediaErrorMessage))},directives:[fc,Bu,u.O5],styles:[".modal-content[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.modal-content[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{max-width:80%;align-items:center;display:flex;flex-direction:column}.modal-content[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .cross-container[_ngcontent-%COMP%]{float:right;margin:0 0 10px;color:#fff;font-size:24px;cursor:pointer}.modal-content[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .video-container[_ngcontent-%COMP%] video[_ngcontent-%COMP%]{max-width:100%;max-height:90vh;min-width:380px}.modal-content[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .video-container[_ngcontent-%COMP%] video[_ngcontent-%COMP%]:hover{cursor:pointer}.modal-content[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .media-error-message[_ngcontent-%COMP%]{max-width:300px;background-color:#fff;padding:15px;border-radius:5px}.modal-content[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .media-error-message[_ngcontent-%COMP%] .message-part[_ngcontent-%COMP%]{display:flex;margin-bottom:30px}.modal-content[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .media-error-message[_ngcontent-%COMP%] pa-thin-action-button[_ngcontent-%COMP%]{float:right}@media only screen and (min-width: 760px) and (max-width: 1599px){.container[_ngcontent-%COMP%]{width:85%;min-width:380px;margin:auto}}"]}),a})(),gc=(()=>{class a{constructor(){this.platformOverride=null}isRunningInCordova(){const n=this.getPlatform();return"ios"===n||"android"===n}isIos(){return"ios"===this.getPlatform()}isAndroid(){return"android"===this.getPlatform()}emulateDesktop(){this.platformOverride="web"}emulateIos(){this.platformOverride="ios"}emulateAndroid(){this.platformOverride="android"}clearOverride(){this.platformOverride=null}getCurrentPlatform(){return this.getPlatform()}isEmulating(){return null!==this.platformOverride}getPlatform(){var n;return null!==(n=this.platformOverride)&&void 0!==n?n:Pt.dV.getPlatform()}isWeb(){return"web"===Pt.dV.getPlatform()}shouldUseWebSocket(){return this.isWeb()}shouldUsePushNotifications(){return this.isRunningInCordova()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),Uu=(()=>{class a{constructor(n){this.platformService=n,this.maxDate=null,this.minDate=null,this.onStartDateChange=new e.vpe,this.isMaxMinRestricted=!1,this.isMaxRestricted=!1,this.isNoRestriction=!1}ngOnInit(){this.isMaxMinRestricted=null!==this.maxDate&&null!==this.minDate,this.isMaxRestricted=!this.isMaxMinRestricted&&null==this.maxDate,this.isNoRestriction=!this.isMaxMinRestricted&&!this.isMaxRestricted;const n=window.innerWidth<400;(this.platformService.isRunningInCordova()||n)&&(this.isMobile=!0)}onDateChange(n){this.date=n,this.onStartDateChange.emit(this.date)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(gc))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-calendar-control"]],inputs:{date:"date",maxDate:"maxDate",minDate:"minDate"},outputs:{onStartDateChange:"onStartDateChange"},decls:8,vars:4,consts:[["data-id","calendar-container",1,"calendar-container",3,"click"],[1,"icon-container"],[1,"icon","fa","fa-calendar"],["matInput","","readonly","readonly","placeholder","Select date",3,"matDatepicker","value","max","min","dateChange",4,"ngIf"],["matInput","","readonly","readonly","placeholder","Select date",3,"matDatepicker","value","max","dateChange",4,"ngIf"],["matInput","","readonly","readonly","placeholder","Select date",3,"matDatepicker","value","dateChange",4,"ngIf"],[3,"touchUi"],["picker",""],["matInput","","readonly","readonly","placeholder","Select date",3,"matDatepicker","value","max","min","dateChange"],["matInput","","readonly","readonly","placeholder","Select date",3,"matDatepicker","value","max","dateChange"],["matInput","","readonly","readonly","placeholder","Select date",3,"matDatepicker","value","dateChange"]],template:function(n,l){if(1&n){const w=e.EpF();e.TgZ(0,"div",0),e.NdJ("click",function(){return e.CHM(w),e.MAs(7).open()}),e.TgZ(1,"span",1),e._UZ(2,"i",2),e.qZA(),e.YNc(3,ai,1,4,"input",3),e.YNc(4,Wi,1,3,"input",4),e.YNc(5,gr,1,2,"input",5),e.qZA(),e._UZ(6,"mat-datepicker",6,7)}2&n&&(e.xp6(3),e.Q6J("ngIf",l.isMaxMinRestricted),e.xp6(1),e.Q6J("ngIf",l.isMaxRestricted),e.xp6(1),e.Q6J("ngIf",l.isNoRestriction),e.xp6(1),e.Q6J("touchUi",l.isMobile))},directives:[Ot.Mq,u.O5,Ot.hl],styles:[".calendar-container[_ngcontent-%COMP%]{width:152px;border-radius:3px;box-shadow:inset 0 4px 4px #dcd0e299;background-color:#fff;border:solid 2px #dcd0e2;cursor:pointer;text-align:center;display:flex}.calendar-container[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%]{width:45px;height:40px;background-color:#fff;border-right:solid 2px #dcd0e2;display:block;flex-shrink:0;vertical-align:middle;cursor:pointer}.calendar-container[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:16px;height:17px;font-size:16px;font-weight:400;line-height:normal;letter-spacing:normal;text-align:center;color:#a98ab6;margin-top:12px}.calendar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{background-color:transparent;border:none;display:block;width:100%;font-size:14px;font-weight:400;font-style:normal;font-stretch:normal;letter-spacing:normal;text-align:center;color:#320d42;cursor:pointer}.calendar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}@media (min-width: 1025px){.calendar-container[_ngcontent-%COMP%] .calendar-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{line-height:5}} .cdk-overlay-pane.mat-datepicker-popup{pointer-events:auto!important;margin-left:-63px!important;margin-top:13px!important}"]}),a})(),ju=(()=>{class a{transform(n){return n?1===n||21===n||31===n?n.toString()+"st":2===n||22===n?n.toString()+"nd":3===n||23===n?n.toString()+"rd":n.toString()+"th":""}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"dateOrdinal",type:a,pure:!0}),a})(),Xp=(()=>{class a{constructor(n){this.dialogService=n,this.dateRangeApplied=new e.vpe}emitDate(){this.dateRangeApplied.emit(this.newDateValues)}showChangeDialog(){return(0,g.mG)(this,void 0,void 0,function*(){this.newDateValues={from:this.fromDate,to:this.toDate},!1!==(yield this.dialogService.showDialog(this.getDialogName()))&&this.emitDate()})}getDialogName(){return"date-range-picker"+this.pickerName}isDateInvalid(){return!!(this.newDateValues&&this.newDateValues.to&&this.newDateValues.from)&&this.newDateValues.from.getTime()>this.newDateValues.to.getTime()}canBeSaved(){return!this.isDateInvalid()&&this.dateHasValue()}dateHasValue(){return!!this.newDateValues&&!(!this.newDateValues.from||!this.newDateValues.to)}newFromDate(n){this.newDateValues.from=n}newToDate(n){this.newDateValues.to=n}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(Ll))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-date-range-picker"]],inputs:{fromDate:"fromDate",toDate:"toDate",pickerName:"pickerName"},outputs:{dateRangeApplied:"dateRangeApplied"},decls:2,vars:2,consts:[["class","date-display-container",3,"click",4,"ngIf"],["modalTitle","Choose date range","buttonText","Apply","backgroundColor","dodger-blue-two","icon","clock",3,"dialogName",4,"ngIf"],[1,"date-display-container",3,"click"],[1,"date-value"],[4,"ngIf"],[1,"calendar-icon-button"],[1,"fa","fa-calendar"],["modalTitle","Choose date range","buttonText","Apply","backgroundColor","dodger-blue-two","icon","clock",3,"dialogName"],["modal",""],[1,"body"],[1,"picker-container"],["class","error",4,"ngIf"],[1,"control-group"],[1,"label"],["data-id","date-range-from-date",3,"date","onStartDateChange"],[1,"label","end-date"],["date-id","date-range-to-date",3,"date","onStartDateChange"],[1,"footer"],["data-id","date-range-picker-cancel","buttonText","Cancel",3,"click"],["data-id","date-range-picker-apply","buttonText","Apply",3,"disabled","click"],[1,"error"]],template:function(n,l){1&n&&(e.YNc(0,Fo,6,2,"div",0),e.YNc(1,Qs,16,5,"pa-large-header-modal",1)),2&n&&(e.Q6J("ngIf",l.pickerName),e.xp6(1),e.Q6J("ngIf",l.pickerName))},directives:[pc,Uu,uc,Ea,u.O5],pipes:[ju,u.uU],styles:[".label[_ngcontent-%COMP%]{color:#320d42;font-weight:700;display:inline-block;padding-right:10px}.end-date[_ngcontent-%COMP%]{margin-left:10px}.error[_ngcontent-%COMP%]{padding-bottom:24px;color:#e53935;font-weight:700}.date-display-container[_ngcontent-%COMP%]{cursor:pointer;width:240px;height:40px;border-radius:3px;box-shadow:inset 0 4px 4px #dcd0e299;background-color:#fff;border:solid 2px #dcd0e2;text-align:center;display:inline-flex;justify-content:space-between;align-items:center;padding-left:5px}.date-display-container[_ngcontent-%COMP%] .date-value[_ngcontent-%COMP%]{width:100%;font-size:14px;color:#320d42}.calendar-icon-button[_ngcontent-%COMP%]{width:45px;height:40px;border-left:solid 2px #dcd0e2;display:inline-block;float:left;vertical-align:middle;cursor:pointer}.calendar-icon-button[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]{width:16px;height:17px;font-size:16px;font-weight:400;line-height:normal;letter-spacing:normal;text-align:center;color:#a98ab6;margin-top:12px}.body[_ngcontent-%COMP%]{padding-left:30px;padding-right:30px;padding-top:25px;text-align:left}.body[_ngcontent-%COMP%] .control-group[_ngcontent-%COMP%]{display:inline-block}.footer[_ngcontent-%COMP%]{float:right;margin:30px;display:flex;justify-content:space-between;align-items:center}"]}),a})(),Qi=(()=>{class a{constructor(){this.options=[],this.selectedOptions=[],this.placeHolder="Please Select",this.customLabel=!1,this.disableSelection=!1,this.selectedOptionChanged=new e.vpe,this.optionClosed=new e.vpe}valueChanged(){this.originalOptions=this.selectedOptions.slice(0),this.selectedOptionChanged.emit(this.selectedOptions)}isSelectionDisabled(){return 1===this.options.length&&this.disableSelection}getTextToDisplayInTriggerBox(){return this.customLabel?this.placeHolder:this.selectedOptions?0===this.selectedOptions.length?this.placeHolder:1===this.selectedOptions.length?this.selectedOptions[0].value.toString():this.selectedOptions.length>1?`${this.selectedOptions.length} Selected`:this.selectedOptions.length===this.options.length?`All Selected (${this.selectedOptions.length})`:"Please select":this.placeHolder}closeEvent(){console.log("closeEvent"),this.optionClosed.emit(this.selectedOptions.length>0)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-multi-select-dropdown"]],inputs:{options:"options",selectedOptions:"selectedOptions",placeHolder:"placeHolder",customLabel:"customLabel",disableSelection:"disableSelection"},outputs:{selectedOptionChanged:"selectedOptionChanged",optionClosed:"optionClosed"},decls:12,vars:10,consts:[[1,"dropdown-container"],["floatLabel","never",1,"dropdown-wrapper"],["multiple","",3,"ngModel","ngModelChange","closed"],["matSelect",""],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"mat-form-field",1)(2,"mat-label"),e.ALo(3,"dataIdFormatter"),e._uU(4),e.qZA(),e.TgZ(5,"mat-select",2,3),e.NdJ("ngModelChange",function(E){return l.selectedOptions=E})("ngModelChange",function(){return l.valueChanged()})("closed",function(){return l.closeEvent()}),e.TgZ(7,"mat-select-trigger")(8,"span"),e.ALo(9,"dataIdFormatter"),e._uU(10),e.qZA()(),e.YNc(11,rs,3,6,"mat-option",4),e.qZA()()()),2&n&&(e.xp6(2),e.uIk("data-id",e.lcZ(3,6,"placeholder-"+l.placeHolder)),e.xp6(2),e.Oqu(l.placeHolder),e.xp6(1),e.Q6J("ngModel",l.selectedOptions),e.xp6(3),e.uIk("data-id",e.lcZ(9,8,"dropdown-display-"+l.getTextToDisplayInTriggerBox())),e.xp6(2),e.Oqu(l.getTextToDisplayInTriggerBox()),e.xp6(1),e.Q6J("ngForOf",l.options))},directives:[bt.KE,dt.gD,ut.ey,bt.hX,c.JJ,c.On,dt.$L,u.sg],pipes:[xl],styles:['.dropdown-container[_ngcontent-%COMP%]{border:solid 2px #dcd0e2;border-radius:3px;height:40px;width:100%;font-size:14px;background-color:#fff}.dropdown-container[_ngcontent-%COMP%]:hover{border-color:#7e6787}.dropdown-wrapper[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .mat-form-field{box-sizing:border-box;height:100%;display:flex;flex-direction:column;justify-content:space-around}[_nghost-%COMP%] .mat-form-field-infix{border-top:none}[_nghost-%COMP%] .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .mat-form-field-underline{display:none}[_nghost-%COMP%] .mat-select-value{color:#7e6787;padding-left:13px;height:12px;font-style:normal;font-stretch:normal;letter-spacing:normal}[_nghost-%COMP%] .mat-form-field-placeholder{color:#7e6787;padding-left:13px}[_nghost-%COMP%] .mat-select-arrow{color:#a98ab6}[_nghost-%COMP%] .mat-select-arrow-wrapper{padding-right:5px}[_nghost-%COMP%] .mat-option-text{color:#7e6787;font-size:14px}[_nghost-%COMP%] .mat-pseudo-checkbox{border-radius:4px!important;background-color:#dcd0e2;border:none!important}[_nghost-%COMP%] .mat-pseudo-checkbox:after{height:0!important;width:0!important;top:-11px!important;left:2px!important;border:none!important;transform:none!important;content:"\\f101"!important;color:#fff!important;font-family:ParentaFonts,serif!important}[_nghost-%COMP%] .cdk-overlay-pane{margin-top:47px;margin-left:44px}[_nghost-%COMP%] .mat-input-infix, .mat-form-field-infix[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%] mat-form-field.mat-focused{background-color:#ede7f0}[_nghost-%COMP%] mat-form-field.mat-focused .mat-input-infix{background-color:#ede7f0;padding-bottom:13px}[_nghost-%COMP%] .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#7e6787}[_nghost-%COMP%] .mat-form-field-placeholder{color:#7e6787}[_nghost-%COMP%] mat-form-field.mat-focused .mat-form-field-placeholder{color:#7e6787}[_nghost-%COMP%] .mat-form-field-label{padding-left:10px}[_nghost-%COMP%] .mat-form-field-label.mat-form-field-empty{display:block!important}[_nghost-%COMP%] .mat-form-field-label{display:none!important}@media (max-height: 767px){[_nghost-%COMP%] .mat-select-content{max-height:28vh}}']}),a})(),Hu=(()=>{class a{constructor(){this.modalClosed=new e.vpe,this.modalShown=new e.vpe}resolve(n){this.modal.resolve(n)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-multi-button-modal"]],viewQuery:function(n,l){if(1&n&&e.Gf(ie,5),2&n){let w;e.iGM(w=e.CRH())&&(l.modal=w.first)}},inputs:{dialogName:"dialogName",modalTitle:"modalTitle",buttonText:"buttonText",icon:"icon",backgroundColor:"backgroundColor"},outputs:{modalClosed:"modalClosed",modalShown:"modalShown"},ngContentSelectors:ja,decls:9,vars:9,consts:[[3,"dialogName","icon","backgroundColor","modalTitle","modalShown","modalClosed"],["modal",""],["data-id","multi-button-modal-body",1,"body"],[1,"footer"],[1,"buttons"],[3,"isTransparentButton","buttonText","click"]],template:function(n,l){if(1&n){const w=e.EpF();e.F$t(ll),e.TgZ(0,"pa-large-header-modal",0,1),e.NdJ("modalShown",function(){return l.modalShown.emit(!0)})("modalClosed",function(){return l.modalClosed.emit(!0)}),e.TgZ(2,"div",2),e.Hsn(3),e.qZA(),e.TgZ(4,"div",3)(5,"div",4),e.Hsn(6,1),e.TgZ(7,"pa-primary-button",5),e.NdJ("click",function(){return e.CHM(w),e.MAs(1).resolve()}),e.ALo(8,"dataIdFormatter"),e.qZA()()()()}2&n&&(e.Q6J("dialogName",l.dialogName)("icon",l.icon)("backgroundColor",l.backgroundColor)("modalTitle",l.modalTitle),e.xp6(7),e.Q6J("isTransparentButton",!0)("buttonText",l.buttonText),e.uIk("data-id",e.lcZ(8,7,l.dialogName+"-"+l.buttonText+"-cancelButton")))},directives:[pc,Ea],pipes:[xl],styles:[".modal-overlay[_ngcontent-%COMP%]{display:none}.modal-outer[_ngcontent-%COMP%]{display:flex;top:0;left:0;position:fixed;height:100%;width:100%;background-color:#320d42b3;z-index:998;cursor:default;max-height:100%;align-items:center;justify-content:center}.modal[_ngcontent-%COMP%]{min-height:100px;margin:auto;border-radius:10px;background-color:#fff;z-index:999;display:inline-block;min-width:499px;max-height:100%;max-width:825px}@media (max-width: 1690px){.modal[_ngcontent-%COMP%]{max-height:98%;max-width:896px}}@media (max-width: 500px){.modal[_ngcontent-%COMP%]{max-width:0;min-width:100%}.modal-outer[_ngcontent-%COMP%]{padding:10px}}.modal[_ngcontent-%COMP%]{max-width:90%;width:499px}.body[_ngcontent-%COMP%]{padding-left:30px;padding-right:30px}.footer[_ngcontent-%COMP%]{float:right;margin:30px}.header[_ngcontent-%COMP%]{color:#fff;font-size:18px;height:130px;width:100%;line-height:100%;display:inline-flex;border-top-left-radius:10px;border-top-right-radius:10px}i[_ngcontent-%COMP%]{font-size:30px;line-height:130px;padding-left:30px;vertical-align:middle}.buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;font-size:18px}#title[_ngcontent-%COMP%]{line-height:130px;vertical-align:middle;margin:auto auto auto 20px}pa-transparent-button[_ngcontent-%COMP%]{float:right;padding-right:10px;padding-top:10px}@media only screen and (min-width: 450px) and (max-width: 767px){.buttons[_ngcontent-%COMP%]{bottom:95px;position:relative}.modal[_ngcontent-%COMP%]{max-height:95%}pa-transparent-button[_ngcontent-%COMP%]{bottom:15px;position:relative}}.background-wisteria[_ngcontent-%COMP%]{background-color:#b282c6;color:#fff}.background-dodger-blue-two[_ngcontent-%COMP%]{background-color:#42a5f5;color:#fff}"]}),a})(),vd=(()=>{class a{constructor(){this.disabled=!1,this.id=o.h.UUID()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-primary-text-button"]],inputs:{buttonText:"buttonText",disabled:"disabled"},decls:2,vars:2,consts:[[3,"disabled"]],template:function(n,l){1&n&&(e.TgZ(0,"button",0),e._uU(1),e.qZA()),2&n&&(e.Q6J("disabled",l.disabled),e.xp6(1),e.Oqu(l.buttonText))},styles:["button[_ngcontent-%COMP%]{background:none;border:none;outline:none;font-size:18px;color:#a98ab6;cursor:pointer}button[_ngcontent-%COMP%]:hover, button[_ngcontent-%COMP%]:active{color:#d42acb}button[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}"]}),a})(),_c=(()=>{class a{constructor(n){this.scrollService=n,this.registeredLoadingSpinners=[]}runWithSpinner(n,l,w){return(0,g.mG)(this,void 0,void 0,function*(){if(this.registeredLoadingSpinners.filter(jt=>jt.name===n).length>1)throw new Error("Duplicate spinner: "+n);yield new Promise((jt,zt)=>{setTimeout(jt)});const ft=this.registeredLoadingSpinners.filter(jt=>jt.name===n)[0];if(!ft)throw new Error("Spinner '"+n+"' is not registered.");ft.show(),this.shouldAffectScrolling(ft,w)&&(window.scrollTo(0,0),this.scrollService.disableScroll());try{return yield l()}finally{ft.hide(),this.shouldAffectScrolling(ft,w)&&this.scrollService.enableScroll()}})}shouldAffectScrolling(n,l){return!n.leaveScrollingAlone&&!1!==l&&(l||!n.hideBackdrop)}registerSpinner(n){this.registeredLoadingSpinners.push(n)}deregisterSpinner(n){const l=this.registeredLoadingSpinners.indexOf(n);-1!==l?this.registeredLoadingSpinners.splice(l,1):console.warn(`Could not de register spinner ${n.name}`,n)}stopAllSpinner(){return(0,g.mG)(this,void 0,void 0,function*(){for(const n of this.registeredLoadingSpinners)n.hide()})}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(Ru))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),kl=(()=>{class a{constructor(n){this.loadingSpinnerService=n,this.loadingSpinnerService.registerSpinner(this)}ngOnDestroy(){this.loadingSpinnerService.deregisterSpinner(this)}show(){console.log("Showing spinner",this.name),this.isShown=!0}hide(){this.isShown=!1}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(_c))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-loading-spinner"]],inputs:{name:"name",isShown:"isShown",hideBackdrop:"hideBackdrop",leaveScrollingAlone:"leaveScrollingAlone",isPositionedUsingViewHeight:"isPositionedUsingViewHeight"},decls:1,vars:1,consts:[["data-id","spinner-overlay",3,"loading-overlay","relative-layout",4,"ngIf"],["data-id","spinner-overlay"],[1,"loading-spinner"],["mode","indeterminate"]],template:function(n,l){1&n&&e.YNc(0,ga,3,7,"div",0),2&n&&e.Q6J("ngIf",l.isShown)},directives:[Je.Ou,u.O5],styles:[".loading-overlay[_ngcontent-%COMP%]{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#320d4280;z-index:10000;min-height:150px}.relative-layout[_ngcontent-%COMP%]{width:100%;height:100%;min-height:150px;position:relative}.loading-spinner[_ngcontent-%COMP%]{position:absolute;left:calc(50% - 50px);top:calc(50% - 50px)}.loading-spinner.view-height-position[_ngcontent-%COMP%]{top:calc(50vh - 50px)}"]}),a})(),Zs=(()=>{class a{constructor(){this.showClose=!0,this.disableScrolling=!0,this.isContentScrollable=!0,this.zIndex=998,this.modalClosed=new e.vpe,this.modalShown=new e.vpe}getWidth(n){switch(n){case"small":return"400";case"medium":return"500";case"large":return"600";default:return""}}resolve(n){this.modal.resolve(n)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-modal-with-title"]],viewQuery:function(n,l){if(1&n&&e.Gf(ie,5),2&n){let w;e.iGM(w=e.CRH())&&(l.modal=w.first)}},inputs:{dialogName:"dialogName",titleText:"titleText",subtitleText:"subtitleText",showClose:"showClose",modalWidth:"modalWidth",disableScrolling:"disableScrolling",isContentScrollable:"isContentScrollable",loadingSpinnerTitle:"loadingSpinnerTitle",zIndex:"zIndex"},outputs:{modalClosed:"modalClosed",modalShown:"modalShown"},ngContentSelectors:us,decls:13,vars:11,consts:[[3,"disableScrolling","dialogName","zIndex","modalShown","modalClosed"],["modal",""],[1,"modal"],[3,"name",4,"ngIf"],[1,"modal-header"],["class","title",4,"ngIf"],["class","titles",4,"ngIf"],["class","cross fa fa-times",3,"click",4,"ngIf"],[1,"modal-body"],[1,"modal-footer"],[3,"name"],[1,"title"],[1,"titles"],[1,"subtitle-line"],[1,"subtitle"],[1,"cross","fa","fa-times",3,"click"]],template:function(n,l){1&n&&(e.F$t(Xs),e.TgZ(0,"pa-modal",0,1),e.NdJ("modalShown",function(){return l.modalShown.emit(!0)})("modalClosed",function(){return l.modalClosed.emit(!0)}),e.TgZ(2,"div",2),e.YNc(3,Ns,1,1,"pa-loading-spinner",3),e.TgZ(4,"div",4),e.YNc(5,Ss,2,1,"span",5),e.YNc(6,Bs,7,3,"span",6),e.YNc(7,cl,1,1,"span",7),e.qZA(),e.TgZ(8,"div")(9,"div",8),e.Hsn(10),e.qZA()(),e.TgZ(11,"div",9),e.Hsn(12,1),e.qZA()()()),2&n&&(e.Q6J("disableScrolling",l.disableScrolling)("dialogName",l.dialogName)("zIndex",l.zIndex),e.xp6(2),e.Udp("width",l.getWidth(l.modalWidth),"px"),e.xp6(1),e.Q6J("ngIf",l.loadingSpinnerTitle),e.xp6(2),e.Q6J("ngIf",!l.subtitleText),e.xp6(1),e.Q6J("ngIf",l.subtitleText),e.xp6(1),e.Q6J("ngIf",l.titleText&&l.showClose),e.xp6(1),e.ekj("scroll",l.isContentScrollable))},directives:[Nl,kl,u.O5],styles:[".modal-overlay[_ngcontent-%COMP%]{display:none}.modal-outer[_ngcontent-%COMP%]{display:flex;top:0;left:0;position:fixed;height:100%;width:100%;background-color:#320d42b3;z-index:998;cursor:default;max-height:100%;align-items:center;justify-content:center}.modal[_ngcontent-%COMP%]{min-height:100px;margin:auto;border-radius:10px;background-color:#fff;z-index:999;display:inline-block;min-width:499px;max-height:100%;max-width:825px}@media (max-width: 1690px){.modal[_ngcontent-%COMP%]{max-height:98%;max-width:896px}}@media (max-width: 500px){.modal[_ngcontent-%COMP%]{max-width:0;min-width:100%}.modal-outer[_ngcontent-%COMP%]{padding:10px}}.modal[_ngcontent-%COMP%]{max-height:98%;width:-moz-fit-content;width:fit-content;display:flex;flex-direction:column}.title[_ngcontent-%COMP%]{font-size:30px;font-weight:300;text-align:left;color:#320d42;margin-left:30px}.titles[_ngcontent-%COMP%]{display:flex;margin-left:30px;flex-direction:column;grid-gap:4px;gap:4px}.titles[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-left:0}.subtitle-line[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;grid-gap:8px;gap:8px}.subtitle[_ngcontent-%COMP%]{font-size:13px;color:#70567b}.scroll[_ngcontent-%COMP%]{overflow-y:auto}.cross[_ngcontent-%COMP%]{font-size:24px;color:#a98ab6;cursor:pointer;margin:auto 30px}.modal-header[_ngcontent-%COMP%]{border-bottom:1px solid #dcd0e2;flex-basis:82px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-grow:0;flex-shrink:0}.modal-footer[_ngcontent-%COMP%]{padding-left:30px;padding-right:30px;flex-basis:106px;line-height:106px;display:block;background-color:#fff;border-top:#dcd0e2 1px solid;border-bottom-left-radius:10px;border-bottom-right-radius:10px;flex-grow:0;flex-shrink:0}.clear[_ngcontent-%COMP%]{clear:both}@media only screen and (max-height: 600px){.modal-footer[_ngcontent-%COMP%]{line-height:55px;flex-basis:55px}.modal-header[_ngcontent-%COMP%]{flex-basis:55px}}"]}),a})(),Yu=(()=>{class a{constructor(){this.icon="",this.theme=""}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-golf-ball"]],inputs:{icon:"icon",theme:"theme"},ngContentSelectors:pe,decls:7,vars:3,consts:[[1,"golf-container",3,"ngClass"],[1,"golf-line"],[1,"icon-container"],[3,"ngClass"],[1,"fa",3,"ngClass"],[1,"content"]],template:function(n,l){1&n&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),e._UZ(4,"i",4),e.qZA()(),e.TgZ(5,"div",5),e.Hsn(6),e.qZA()()()),2&n&&(e.Q6J("ngClass","golf-container-"+l.theme),e.xp6(3),e.Q6J("ngClass",l.icon?"golf-icon-circle":"golf-circle"),e.xp6(1),e.Q6J("ngClass","fa-"+l.icon))},directives:[u.mk],styles:['.golf-container[_ngcontent-%COMP%] .golf-line[_ngcontent-%COMP%]:before{content:"";position:absolute;height:100%;background:#80cbc4;top:auto;width:2px;z-index:0;left:16px}.golf-container[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%]{position:absolute;width:34px;height:34px;margin:30px auto auto;display:flex}.golf-container[_ngcontent-%COMP%] .golf-line[_ngcontent-%COMP%]{position:relative;width:100%;margin:auto}.golf-container[_ngcontent-%COMP%] .golf-circle[_ngcontent-%COMP%]{width:20px;height:20px;background:#80cbc4;border-radius:100px;margin:auto;position:relative}.golf-container[_ngcontent-%COMP%] .golf-icon-circle[_ngcontent-%COMP%]{background:#80cbc4;position:absolute;border-radius:100px}.golf-container[_ngcontent-%COMP%] .golf-icon-circle[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{width:34px;height:34px;line-height:34px;text-align:center;color:#fff}.golf-container[_ngcontent-%COMP%] .golf-line[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:block;margin-left:75px}.golf-container[_ngcontent-%COMP%] .golf-line[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.golf-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.golf-container-footsteps[_ngcontent-%COMP%] .golf-line[_ngcontent-%COMP%]:before{background:#80cbc4}.golf-container-footsteps[_ngcontent-%COMP%] .golf-circle[_ngcontent-%COMP%], .golf-container-footsteps[_ngcontent-%COMP%] .golf-icon-circle[_ngcontent-%COMP%]{background:#80cbc4}.golf-container-parentportal-activity[_ngcontent-%COMP%] .golf-line[_ngcontent-%COMP%]:before{background:#a98ab6}.golf-container-parentportal-activity[_ngcontent-%COMP%] .golf-circle[_ngcontent-%COMP%], .golf-container-parentportal-activity[_ngcontent-%COMP%] .golf-icon-circle[_ngcontent-%COMP%]{background:#a98ab6}.golf-container-parentportal-observation[_ngcontent-%COMP%] .golf-line[_ngcontent-%COMP%]:before{background:#3b91cd}.golf-container-parentportal-observation[_ngcontent-%COMP%] .golf-circle[_ngcontent-%COMP%], .golf-container-parentportal-observation[_ngcontent-%COMP%] .golf-icon-circle[_ngcontent-%COMP%]{background:#3b91cd}.golf-container-parentportal-achievement[_ngcontent-%COMP%] .golf-line[_ngcontent-%COMP%]:before{background:#3b91cd}.golf-container-parentportal-achievement[_ngcontent-%COMP%] .golf-circle[_ngcontent-%COMP%], .golf-container-parentportal-achievement[_ngcontent-%COMP%] .golf-icon-circle[_ngcontent-%COMP%]{background:#3b91cd}.golf-container-parentportal-dropoff[_ngcontent-%COMP%] .golf-line[_ngcontent-%COMP%]:before{background:#f7b140}.golf-container-parentportal-dropoff[_ngcontent-%COMP%] .golf-circle[_ngcontent-%COMP%], .golf-container-parentportal-dropoff[_ngcontent-%COMP%] .golf-icon-circle[_ngcontent-%COMP%]{background:#f7b140}.golf-container-parentportal-accident[_ngcontent-%COMP%] .golf-line[_ngcontent-%COMP%]:before{background:#f57800}.golf-container-parentportal-accident[_ngcontent-%COMP%] .golf-circle[_ngcontent-%COMP%], .golf-container-parentportal-accident[_ngcontent-%COMP%] .golf-icon-circle[_ngcontent-%COMP%]{background:#f57800}']}),a})(),Gu=(()=>{class a{constructor(){this.idData=null,this.iconColor="white",this.textColor="white",this.onDelete=new e.vpe}hasBadge(){return this.count>=0&&null!=this.count}hasIcon(){return!!this.iconClass}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-small-pill"]],inputs:{id:"id",idData:"idData",iconClass:"iconClass",iconColor:"iconColor",text:"text",textColor:"textColor",class:"class",count:"count",showDeleteButton:"showDeleteButton"},outputs:{onDelete:"onDelete"},decls:6,vars:9,consts:[[1,"small-pill",3,"ngClass"],["class","icon-background",4,"ngIf"],[1,"label",3,"ngClass"],["class","badge-count",4,"ngIf"],[3,"ngClass","click",4,"ngIf"],[1,"icon-background"],[1,"icon","fa","fa-fw","fa-margins",3,"ngClass"],[1,"badge-count"],[3,"ngClass","click"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e.YNc(1,xs,2,5,"span",1),e.TgZ(2,"div",2),e._uU(3),e.qZA(),e.YNc(4,ea,3,1,"div",3),e.YNc(5,Ha,1,4,"span",4),e.qZA()),2&n&&(e.Q6J("ngClass",l.class),e.xp6(1),e.Q6J("ngIf",l.hasIcon()),e.xp6(1),e.ekj("badge",l.hasBadge()),e.Q6J("ngClass","text-color-"+l.textColor),e.uIk("data-id",l.idData+"-label"),e.xp6(1),e.hij(" ",l.text," "),e.xp6(1),e.Q6J("ngIf",l.hasBadge()),e.xp6(1),e.Q6J("ngIf",l.showDeleteButton))},directives:[u.mk,u.O5],styles:['@charset "UTF-8";.small-pill[_ngcontent-%COMP%]{display:inline-block;position:relative;height:26px;border-radius:13px;background-color:#fff;text-align:left;min-height:26px;margin-right:5px;margin-bottom:3px}.icon[_ngcontent-%COMP%]{font-size:18px;color:#fff}.fa-margins[_ngcontent-%COMP%]{margin-top:1px}.icon-background[_ngcontent-%COMP%]{width:10px;height:10px;padding-left:5px;float:left;margin:3px;line-height:16px}.label[_ngcontent-%COMP%]{margin-left:3px;float:left;font-size:12px;text-align:center;padding-left:10px;padding-right:10px;line-height:26px}.badge[_ngcontent-%COMP%]{padding-right:20px}.badge-count[_ngcontent-%COMP%]{width:18px;height:18px;border-radius:50%;right:0;top:-9px;position:absolute;margin:0;border:1px solid #320d42;background-color:#fff}.badge-count[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-size:14px;color:#320d42;position:relative;top:-70%;text-align:center}.cross[_ngcontent-%COMP%]{color:#320d42;line-height:25px;border-radius:99px;margin-left:-8px;margin-right:4px}.cross[_ngcontent-%COMP%]:hover{background-color:#b8a0c5;cursor:pointer}.cross[_ngcontent-%COMP%]:after{content:"\\d7";border-radius:99px;line-height:18px;text-align:center;padding:0 4px;margin-left:1px;margin-right:1px}i.icon.fa.fa-fw[_ngcontent-%COMP%]:before{vertical-align:baseline}.pill-peacock-blue[_ngcontent-%COMP%]{background-color:#0054a6;color:#fff}.pill-pale-grey-two[_ngcontent-%COMP%]{background-color:#dcd0e2;color:#fff}.pill-tomato[_ngcontent-%COMP%]{background-color:#e53935;color:#fff}.pill-medium-green[_ngcontent-%COMP%]{background-color:#39b54a;color:#fff}.pill-medium-pink[_ngcontent-%COMP%]{background-color:#f06292;color:#fff}.pill-macaroni-and-cheese[_ngcontent-%COMP%]{background-color:#f1af2c;color:#fff}.pill-tealish[_ngcontent-%COMP%]{background-color:#2fbbb7;color:#fff}.pill-faded-blue[_ngcontent-%COMP%]{background-color:#7986cb;color:#fff}.pill-pale-grey-five[_ngcontent-%COMP%]{background-color:#f7f5f8;color:#fff}.text-color-white[_ngcontent-%COMP%]{color:#fff}.text-color-grey-purple[_ngcontent-%COMP%]{color:#7e6787}.text-color-heather-three[_ngcontent-%COMP%]{color:#a796af}.text-color-heather-two[_ngcontent-%COMP%]{color:#a98ab6}.icon-color-faded-grey[_ngcontent-%COMP%]{color:#ae9eb4}.icon-color-heather-two[_ngcontent-%COMP%]{color:#a98ab6}.icon-color-grey-purple[_ngcontent-%COMP%]{color:#7e6787}.icon-color-heather-three[_ngcontent-%COMP%]{color:#a796af}']}),a})(),vc=(()=>{class a{constructor(){this.icon=null,this.isDisabled=!1,this.transparentBackground=!1,this.id=o.h.UUID()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-secondary-full-width-button"]],inputs:{buttonText:"buttonText",icon:"icon",isDisabled:"isDisabled",transparentBackground:"transparentBackground"},decls:3,vars:5,consts:[[3,"disabled"],[3,"class",4,"ngIf"]],template:function(n,l){1&n&&(e.TgZ(0,"button",0),e.YNc(1,dl,1,3,"i",1),e._uU(2),e.qZA()),2&n&&(e.ekj("transparent",l.transparentBackground),e.Q6J("disabled",l.isDisabled),e.xp6(1),e.Q6J("ngIf",null!=l.icon),e.xp6(1),e.hij(" ",l.buttonText,"\n"))},directives:[u.O5],styles:["button[_ngcontent-%COMP%]{font-size:14px;background-color:#fff;outline:none;border-radius:23px;border-style:solid;border-color:#ba25b2;color:#ba25b2;padding-left:15px;padding-right:15px;width:100%;min-height:34px}button[_ngcontent-%COMP%]:hover{color:#fff;background-color:#d42acb;box-shadow:0 4px 9.5px .5px #320d4233;cursor:pointer}button[_ngcontent-%COMP%]:active{color:#fff;background-color:#a1209a;border-color:#a1209a;box-shadow:0 4px 9.5px .5px #320d4233}i[_ngcontent-%COMP%]{padding-right:10px}button[_ngcontent-%COMP%]:disabled{background-color:#f7f5f8;color:#a98ab6;border-style:none;box-shadow:none;cursor:not-allowed}.transparent[_ngcontent-%COMP%]{background-color:transparent}"]}),a})(),Pa=(()=>{class a{constructor(){this.checked=!1,this.allowRipple=!0,this.showRipple=!1,this.valueChange=new e.vpe}toggleRadio(){this.showRipple=this.allowRipple,this.radioButtonRef.nativeElement.click(),this.valueChange.emit(this.value),setTimeout(()=>{this.showRipple=!1},200)}getFadeInAndOut(){return this.showRipple?"show-ripple":"hide-ripple"}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-radio"]],viewQuery:function(n,l){if(1&n&&e.Gf(Us,5),2&n){let w;e.iGM(w=e.CRH())&&(l.radioButtonRef=w.first)}},inputs:{checked:"checked",allowRipple:"allowRipple",radioGroupName:"radioGroupName",value:"value",radioButtonLabel:"radioButtonLabel"},outputs:{valueChange:"valueChange"},decls:9,vars:13,consts:[[1,"radio-button",3,"click"],[1,"radio-container"],[1,"radio-ripple",3,"ngClass"],[1,"radio-label-container"],[1,"radio-label",3,"innerHTML"],["type","radio","hidden","hidden",3,"ngModel","name","value","ngModelChange",4,"ngIf"],["type","radio","hidden","hidden",3,"checked","value","name",4,"ngIf"],["type","radio","hidden","hidden",3,"ngModel","name","value","ngModelChange"],["radioButton",""],["type","radio","hidden","hidden",3,"checked","value","name"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e.NdJ("click",function(){return l.toggleRadio()}),e.TgZ(1,"div",1),e._UZ(2,"div")(3,"div")(4,"div",2),e.qZA(),e.TgZ(5,"div",3),e._UZ(6,"label",4),e.qZA()(),e.YNc(7,ta,2,3,"input",5),e.YNc(8,Ya,2,3,"input",6)),2&n&&(e.xp6(1),e.uIk("data-id","rb_"+l.value),e.xp6(1),e.ekj("radio-outer-circle",!l.checked)("radio-outer-circle-selected",l.checked),e.xp6(1),e.ekj("radio-inner-circle",!l.checked)("radio-inner-circle-selected",l.checked),e.xp6(1),e.Q6J("ngClass",l.getFadeInAndOut()),e.xp6(2),e.s9C("innerHTML",l.radioButtonLabel,e.oJD),e.xp6(1),e.Q6J("ngIf",l.radioGroupName),e.xp6(1),e.Q6J("ngIf",!l.radioGroupName))},directives:[u.mk,u.O5,c._,c.Fj,c.JJ,c.On],styles:[".radio-button[_ngcontent-%COMP%]{height:20px;vertical-align:middle;display:flex;flex-direction:row;align-items:center;cursor:pointer;width:max-content}.radio-container[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0;cursor:pointer}.radio-outer-circle[_ngcontent-%COMP%]{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;width:20px;border-width:2px;border-style:solid;border-radius:50%;border-color:#dcd0e2;background-color:#fff}.radio-outer-circle-selected[_ngcontent-%COMP%]{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;width:20px;border-width:2px;border-style:solid;border-radius:50%;border-color:#ba25b2;background-color:#fff}.radio-inner-circle[_ngcontent-%COMP%]{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;width:20px;transform:scale(.001)}.radio-inner-circle-selected[_ngcontent-%COMP%]{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;width:20px;background-color:#ba25b2;transform:scale(.5)}.radio-ripple[_ngcontent-%COMP%]{position:absolute;inset:-15px;border-radius:50%;z-index:1;pointer-events:none}.hide-ripple[_ngcontent-%COMP%]{overflow:hidden;background-color:#ba25b242;position:absolute;border-radius:50%;visibility:hidden;opacity:0;transition:visibility 0ms .1s,opacity .1s linear}.show-ripple[_ngcontent-%COMP%]{overflow:hidden;background-color:#ba25b242;position:absolute;border-radius:50%;opacity:1;visibility:visible;transition:opacity .1s linear,transform .1s cubic-bezier(0,0,.2,1)}.radio-label-container[_ngcontent-%COMP%]{position:relative;display:block;line-height:20px;overflow:hidden;margin:0 10px}.radio-label[_ngcontent-%COMP%]{white-space:nowrap;font-size:14px;color:#320d42;text-align:left;cursor:pointer}"]}),a})(),Bl=(()=>{class a{constructor(){this.disabled=!1,this.checkboxColor="",this.labelColor="",this.componentIndex=0,this.dataIdOverride=null,this.showRipple=!1,this.valueChange=new e.vpe,this.id=o.h.UUID()}onChange(){this.checked=!this.checked,this.showRipple=!0,this.valueChange.emit(this.checked),this.showRipple=!1}stopClickEvent(n){n.stopPropagation()}getFadeInAndOut(){return this.showRipple?"show-ripple":"hide-ripple"}hasLabel(){return void 0!==this.label}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-checkbox"]],inputs:{id:"id",checked:"checked",disabled:"disabled",checkboxColor:"checkboxColor",label:"label",labelColor:"labelColor",componentIndex:"componentIndex",dataIdOverride:"dataIdOverride"},outputs:{valueChange:"valueChange"},decls:5,vars:9,consts:[[1,"checkbox-container"],[1,"ripple-position",3,"ngClass","click"],[3,"disabled","checked","id","disableRipple","change"],[1,"checkbox-ripple",3,"ngClass"],["class","checkbox-label",3,"ngClass","click",4,"ngIf"],[1,"checkbox-label",3,"ngClass","click"]],template:function(n,l){if(1&n&&(e.TgZ(0,"div",0)(1,"div",1),e.NdJ("click",function(E){return l.stopClickEvent(E)}),e.TgZ(2,"mat-checkbox",2),e.NdJ("change",function(){return l.onChange()}),e._UZ(3,"div",3),e.qZA()(),e.YNc(4,ul,2,2,"div",4),e.qZA()),2&n){let w;e.xp6(1),e.Q6J("ngClass","checkbox-"+l.checkboxColor),e.uIk("data-id","checkbox-container-"+l.id),e.xp6(1),e.Q6J("disabled",l.disabled)("checked",l.checked)("id",null==l.id?null:l.id.toString())("disableRipple",!0),e.uIk("data-id",null!==(w=l.dataIdOverride)&&void 0!==w?w:"checkbox-selection-index-"+l.componentIndex),e.xp6(1),e.Q6J("ngClass",l.getFadeInAndOut()),e.xp6(1),e.Q6J("ngIf",l.hasLabel())}},directives:[kt.oG,u.mk,u.O5],styles:['.checkbox-container[_ngcontent-%COMP%]{display:flex}.ripple-position[_ngcontent-%COMP%]{position:relative}.checkbox-label[_ngcontent-%COMP%]{padding:3px 0 0 10px;cursor:pointer;font-size:14px;color:#320d42}.checkbox-ripple[_ngcontent-%COMP%]{position:absolute;inset:-15px;border-radius:50%;z-index:1;pointer-events:none}.checkbox-ripple.hide-ripple[_ngcontent-%COMP%]{overflow:hidden;background-color:#ba25b242;position:absolute;border-radius:50%;visibility:hidden;opacity:0;transition:visibility 0ms .1s,opacity .1s linear}.checkbox-ripple.show-ripple[_ngcontent-%COMP%]{overflow:hidden;background-color:#ba25b242;position:absolute;border-radius:50%;opacity:1;visibility:visible;transition:opacity .1s linear,transform .1s cubic-bezier(0,0,.2,1)}.checkbox[_ngcontent-%COMP%]{line-height:20px;position:relative;color:#7e6787}.checkbox[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;position:absolute;padding-left:5px;font-size:14px;cursor:pointer;top:0;left:0}.checkbox[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{content:"";display:inline-block;position:absolute;width:20px;height:20px;left:0;border-radius:4px;background-color:#dcd0e2;transition:.15s}.checkbox[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{display:inline-block;position:absolute;width:20px;height:20px;left:0;top:0;padding-left:3px;font-size:14px;text-align:left!important}.checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{opacity:0}.checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:focus + label[_ngcontent-%COMP%]:before{outline:none;outline-offset:-2px}.checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{font-family:ParentaFonts,serif;content:"\\f101";padding-right:2px}.checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled + label[_ngcontent-%COMP%]{opacity:.65;cursor:not-allowed}.checkbox.checkbox-circle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{border-radius:50%}.checkbox.checkbox-inline[_ngcontent-%COMP%]{margin-top:0}.checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:before{background-color:#ba25b2;border-color:#ba25b2}.checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{color:#fff} .mat-checkbox .mat-checkbox-frame{border:0px;border-radius:4px} .mat-checkbox .mat-checkbox-checkmark-path{stroke-width:3.66667px} .mat-checkbox .mat-checkbox-background{border-radius:4px;background-color:#dcd0e2} pa-eyfs-sorting-banner pa-checkbox .mat-checkbox .mat-checkbox-background{border-radius:4px;background-color:#fff}.checkbox.checkbox-muted-purple[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{background-color:#70567b}.checkbox.checkbox-pale-grey-two[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{background-color:#dcd0e2}.checkbox.checkbox-white[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{background-color:#fff}.label-white[_ngcontent-%COMP%]{color:#fff}.label-grey-purple[_ngcontent-%COMP%]{color:#7e6787}']}),a})(),yc=(()=>{class a{constructor(){this.timeoutsDisabled=!1,this.instance=o.h.UUID()}setTimeout(n,l){if(!this.timeoutsDisabled)return window.setTimeout(n,l)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),Cc=(()=>{class a{constructor(){this.bannersDisabled=!1}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})();var tl=(()=>(function(a){a[a.red=1]="red",a[a.blue=2]="blue",a[a.green=3]="green",a[a.blueInfo=4]="blueInfo",a[a.orange=5]="orange"}(tl||(tl={})),tl))(),yl=(()=>(function(a){a[a.center=1]="center",a[a.baseline=2]="baseline"}(yl||(yl={})),yl))(),Ul=(()=>(function(a){a[a.unchanged=1]="unchanged",a[a.whitespaced=2]="whitespaced"}(Ul||(Ul={})),Ul))(),Oa=(()=>(function(a){a[a.inPage=0]="inPage",a[a.top=1]="top"}(Oa||(Oa={})),Oa))();let bc=(()=>{class a{constructor(n,l){this.timeoutService=n,this.alertBannerService=l,this.overlayTime=5e3,this.close=new e.vpe}show(){this.alertBannerService.bannersDisabled||(this.showOverlay=!0,this.overlayDisplayTimeout())}overlayDisplayTimeout(){console.log("Showing banner with timeout service "+this.timeoutService.instance),!this.timeoutService.timeoutsDisabled&&0!==this.overlayTime&&(this.timeout=this.timeoutService.setTimeout(()=>{this.showOverlay=!1},this.overlayTime))}closeOverlay(n){this.showOverlay=!1,clearTimeout(this.timeout),this.close.emit(this.doNotShowAgain)}getBackgroundColor(){switch(this.backgroundColor){case tl.red:return"red-background";case tl.green:return"green-background";case tl.blue:return"blue-background";case tl.blueInfo:return"blue-background-info";case tl.orange:return"orange-background";default:return"green-background"}}getContentLayout(){switch(this.contentLayout){case yl.center:return"content-wrapper content-wrapper-display";case yl.baseline:return"content-wrapper-info content-wrapper-display-info";default:return"content-wrapper content-wrapper-display"}}getTextLayout(){switch(this.textLayout){case Ul.unchanged:return"overlay-message";case Ul.whitespaced:return"overlay-message-info";default:return"overlay-message"}}getBannerPosition(){return this.bannerPosition===Oa.top?"container top":"container"}toggleDoNotShow(n){this.doNotShowAgain=n}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(yc),e.Y36(Cc))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-alert-banner"]],inputs:{iconClass:"iconClass",backgroundColor:"backgroundColor",message:"message",title:"title",enableDontShow:"enableDontShow",contentLayout:"contentLayout",textLayout:"textLayout",bannerPosition:"bannerPosition",overlayTime:"overlayTime"},outputs:{close:"close"},decls:1,vars:1,consts:[["data-id","overlay-banner",3,"ngClass",4,"ngIf"],["data-id","overlay-banner",3,"ngClass"],[3,"ngClass"],[1,"icon-container"],[1,"icon","fa",3,"ngClass"],[1,"title-message-section"],["class","overlay-title","data-id","alert-title",4,"ngIf"],["data-id","alert-message-text",3,"ngClass"],[4,"ngIf"],["data-id","banner-cross",1,"cross-container",3,"click"],[1,"cross","fa","fa-times"],["data-id","alert-title",1,"overlay-title"],[1,"checkbox-spacing"],["checkboxColor","white","labelColor","white","label","Don't show again",3,"valueChange"]],template:function(n,l){1&n&&e.YNc(0,hl,12,12,"div",0),2&n&&e.Q6J("ngIf",l.showOverlay)},directives:[Bl,u.O5,u.mk],styles:["[_nghost-%COMP%]{z-index:2}.container[_ngcontent-%COMP%]{position:absolute;width:100%}.top[_ngcontent-%COMP%]{top:0}.banner[_ngcontent-%COMP%]{display:block;align-items:center;opacity:0;position:fixed;color:#fff;font-size:16px;width:100%;height:130px;z-index:2}.content-wrapper[_ngcontent-%COMP%]{height:100%;width:calc(100% - 110px);margin:auto}.content-wrapper-info[_ngcontent-%COMP%]{box-sizing:border-box;padding-left:50px;padding-right:50px;margin:auto;align-items:baseline}.content-wrapper-display[_ngcontent-%COMP%]{display:flex;align-items:center}.content-wrapper-display-info[_ngcontent-%COMP%]{display:flex;align-items:baseline}.red-background[_ngcontent-%COMP%]{background-color:#f44336}.orange-background[_ngcontent-%COMP%]{background-color:#fb8c00}.green-background[_ngcontent-%COMP%]{background-color:#39b54a}.blue-background[_ngcontent-%COMP%]{background-color:#42a5f5}.blue-background-info[_ngcontent-%COMP%]{background-color:#42a5f5;padding-top:40px;padding-bottom:40px;height:175px}.icon-container[_ngcontent-%COMP%]{width:50px}.title-message-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.icon-container[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff;font-size:25px}.show[_ngcontent-%COMP%]{opacity:.95;transition:s ease-in-out}.cross[_ngcontent-%COMP%]{font-size:24px;cursor:pointer}.overlay-message[_ngcontent-%COMP%], .overlay-title[_ngcontent-%COMP%]{width:80%}.overlay-message[_ngcontent-%COMP%], .overlay-title[_ngcontent-%COMP%], .icon-container[_ngcontent-%COMP%]{float:left}.overlay-title[_ngcontent-%COMP%]{flex:1;font-weight:700}.overlay-message[_ngcontent-%COMP%]{flex:43}.overlay-message-info[_ngcontent-%COMP%]{flex:43;white-space:pre-line}.checkbox-spacing[_ngcontent-%COMP%]{padding-top:50px}@media (max-width: 599px){.content-wrapper[_ngcontent-%COMP%]{width:calc(100% - 50px)}}.checkbox-white[_ngcontent-%COMP%]{color:#fff}"]}),a})(),jl=(()=>{class a{constructor(){this.nextId=1,this.toasts$=new A.x}push(n,l="success"){this.toasts$.next({id:this.nextId++,text:n,kind:l})}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),yd=(()=>{class a{constructor(n,l){this.timeoutService=n,this.toastService=l,this.toasts=[],this.overlayTime=4e3,this.timeouts=[]}ngOnInit(){this.subscription=this.toastService.toasts$.subscribe(n=>{this.toasts.push(n),this.scheduleDismiss(n.id)})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe(),this.timeouts.forEach(n=>clearTimeout(n)),this.timeouts=[]}dismiss(n){this.toasts=this.toasts.filter(l=>l.id!==n)}getKindClass(n){switch(n.kind){case"error":return"toast-error";case"info":return"toast-info";default:return"toast-success"}}scheduleDismiss(n){if(0===this.overlayTime)return;const l=this.timeoutService.setTimeout(()=>{this.dismiss(n)},this.overlayTime);void 0!==l&&this.timeouts.push(l)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(yc),e.Y36(jl))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-toast"]],decls:2,vars:1,consts:[["data-id","toast-container",1,"toast-container"],["class","toast","data-id","toast-item",3,"ngClass",4,"ngFor","ngForOf"],["data-id","toast-item",1,"toast",3,"ngClass"],["data-id","toast-text",1,"toast-text"],["type","button","data-id","toast-dismiss",1,"toast-dismiss",3,"click"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e.YNc(1,ao,5,4,"div",1),e.qZA()),2&n&&(e.xp6(1),e.Q6J("ngForOf",l.toasts))},directives:[u.sg,u.mk],styles:[".toast-container[_ngcontent-%COMP%]{position:fixed;top:20px;right:20px;z-index:3;display:flex;flex-direction:column;align-items:flex-end}.toast[_ngcontent-%COMP%]{display:flex;align-items:center;min-width:240px;max-width:360px;margin-bottom:12px;padding:12px 16px;border-radius:4px;color:#fff;font-size:14px;box-shadow:0 2px 8px #0003}.toast-success[_ngcontent-%COMP%]{background-color:#39b54a}.toast-info[_ngcontent-%COMP%]{background-color:#42a5f5}.toast-error[_ngcontent-%COMP%]{background-color:#f44336}.toast-text[_ngcontent-%COMP%]{flex:1;line-height:1.4}.toast-dismiss[_ngcontent-%COMP%]{margin-left:12px;padding:0;border:none;background:transparent;color:#fff;font-size:20px;line-height:1;cursor:pointer}"]}),a})(),dg=(()=>{class a{constructor(){}ngOnInit(){}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-default-video-thumbnail"]],decls:3,vars:0,consts:[[1,"thumbnail-image-container"],["src","assets/videoThumbnail.png","alt","videothumbnail"]],template:function(n,l){1&n&&(e.ynx(0),e.TgZ(1,"div",0),e._UZ(2,"img",1),e.qZA(),e.BQk())},styles:[".thumbnail-image-container[_ngcontent-%COMP%]{cursor:pointer;height:100%;width:100%;min-width:140px;min-height:120px;background-color:#333;display:flex}.thumbnail-image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:60px;margin:auto}"]}),a})(),em=(()=>{class a{constructor(){this.title="",this.showDownloadOption=!1,this.mediaIndex=-1,this.mediaFileClicked=new e.vpe,this.showThumbnail=!0,this.showImage=!1,this.showDefaultImage=!1}loadImageUrl(){this.showThumbnail=!1,this.showImage=!0}loadDefaultImage(){this.showThumbnail=!1,this.showImage=!1,this.showDefaultImage=!0}itemClicked(){this.mediaFileClicked.emit(this.mediaIndex)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-file-thumbnail"]],inputs:{thumbnailUrl:"thumbnailUrl",imageUrl:"imageUrl",title:"title",isVideo:"isVideo",showDownloadOption:"showDownloadOption",mediaIndex:"mediaIndex"},outputs:{mediaFileClicked:"mediaFileClicked"},decls:7,vars:5,consts:[[3,"click"],[4,"ngIf"],["class","option-outer",4,"ngIf"],[1,"photo",3,"src","alt","title","error"],[1,"media-tile-icon-container"],[1,"icon","fa","fa-image"],[1,"option-outer"],["target","_blank","download","filename",1,"download-doc",3,"href"],[1,"fa","fa-download","media-download"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e.NdJ("click",function(){return l.itemClicked()}),e.YNc(1,js,2,3,"ng-container",1),e.YNc(2,ks,2,3,"ng-container",1),e.YNc(3,pl,3,0,"ng-container",1),e.YNc(4,_a,1,0,"pa-default-video-thumbnail",1),e.qZA(),e.TgZ(5,"div"),e.YNc(6,Uo,3,1,"div",2),e.qZA()),2&n&&(e.xp6(1),e.Q6J("ngIf",l.showThumbnail),e.xp6(1),e.Q6J("ngIf",l.showImage),e.xp6(1),e.Q6J("ngIf",l.showDefaultImage&&!l.isVideo),e.xp6(1),e.Q6J("ngIf",l.showDefaultImage&&l.isVideo),e.xp6(2),e.Q6J("ngIf",l.showDownloadOption))},directives:[dg,u.O5],styles:[".photo[_ngcontent-%COMP%]{height:120px}.media-tile-icon-container[_ngcontent-%COMP%]{margin-right:0}.media-tile-icon-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#dcd0e2;font-size:120px}a.download-doc[_ngcontent-%COMP%]{cursor:pointer;margin-top:10px;text-align:center}.option-outer[_ngcontent-%COMP%]{text-align:center}a.download-doc[_ngcontent-%COMP%]:link{cursor:pointer;text-decoration:none;color:#000}a.download-doc[_ngcontent-%COMP%]:visited, a.download-doc[_ngcontent-%COMP%]:hover, a.download-doc[_ngcontent-%COMP%]:active{text-decoration:none;color:#000}"]}),a})();var Ia=(()=>(function(a){a[a.manualSort=0]="manualSort",a[a.alphabetical=1]="alphabetical",a[a.date=2]="date",a[a.numeric=3]="numeric"}(Ia||(Ia={})),Ia))();let wc=(()=>{class a{}return a.core="core",a.high="high",a.medium="medium",a.low="low",a})();var as=(()=>(function(a){a[a.Text=1]="Text",a[a.CounterCircle=2]="CounterCircle",a[a.Checkbox=3]="Checkbox",a[a.Create=4]="Create",a[a.Icon=5]="Icon"}(as||(as={})),as))(),Kr=(()=>(function(a){a[a.Text=1]="Text",a[a.Checkbox=3]="Checkbox",a[a.Image=4]="Image",a[a.ExpandCarat=5]="ExpandCarat",a[a.Create=6]="Create",a[a.Date=7]="Date",a[a.Update=8]="Update",a[a.Delete=9]="Delete",a[a.Bool=10]="Bool",a[a.ClickableIcon=11]="ClickableIcon",a[a.CounterCircle=12]="CounterCircle",a[a.Icon=13]="Icon",a[a.Money=14]="Money",a[a.Hyperlink=15]="Hyperlink",a[a.Pill=16]="Pill",a[a.MultiplePills=17]="MultiplePills"}(Kr||(Kr={})),Kr))(),ca=(()=>(function(a){a[a.Narrow=0]="Narrow",a[a.Medium=1]="Medium",a[a.Wide=2]="Wide"}(ca||(ca={})),ca))(),Fa=(()=>(function(a){a.Grey="grey",a.Green="green",a.Blue="blue",a.Amber="amber",a.Red="red",a.Purple="purple"}(Fa||(Fa={})),Fa))();class tm{constructor(_,n,l,w,E){this.columnIndex=_,this.columnName=n,this.sortAscending=l,this.secondaryColumnIndex=w,this.secondaryColumnName=E}}class Cd{constructor(){this.selectionChangedSubject=new A.x,this.selectionChanged$=this.selectionChangedSubject.asObservable(),this.items=[],this.selectedIds=new Set,this.allSelected=!1}emitSelectionChanged(){this.selectionChangedSubject.next(this.getSelectedItems())}isSelectAllChecked(){return this.allSelected}toggleSelectAll(){this.allSelected?this.deselectAll():this.selectAll()}deselectAll(){this.selectedIds.clear(),this.allSelected=!1,this.emitSelectionChanged()}selectAll(){this.items.forEach(_=>this.selectedIds.add(_.id)),this.allSelected=!0,this.emitSelectionChanged()}select(_){this.selectedIds.add(_.id),this.selectedIds.size===this.items.length&&(this.allSelected=!0),this.emitSelectionChanged()}toggleSelection(_){this.selectedIds.has(_.id)?this.deselect(_):this.select(_)}deselect(_){this.selectedIds.delete(_.id),this.allSelected=!1,this.emitSelectionChanged()}getSelectedItems(){return this.items.filter(_=>this.selectedIds.has(_.id))}setItems(_){const n=new Set;_.forEach(l=>{(this.selectedIds.has(l.id)||this.allSelected)&&n.add(l.id)}),this.items=_,this.selectedIds=n,this.emitSelectionChanged(),this.allSelected&&this.selectAll()}isItemSelected(_){return this.selectedIds.has(_.id)}}let bd=(()=>{class a{constructor(n,l,w){this.element=n,this.renderer=l,this.zone=w,this.window=window,this.isNonVirtual=!1,this.additionalElementHeightInContainer=0,this._enableUnequalChildrenSizes=!1,this.useMarginInsteadOfTranslate=!1,this._bufferAmount=0,this.scrollAnimationTime=750,this.resizeBypassRefreshTheshold=5,this._checkResizeInterval=1e3,this.doNotDestroyPrevious=!1,this._items=[],this.compareItems=(E,Ae)=>E===Ae,this.update=new e.vpe,this.vsUpdate=new e.vpe,this.change=new e.vpe,this.vsChange=new e.vpe,this.start=new e.vpe,this.vsStart=new e.vpe,this.end=new e.vpe,this.vsEnd=new e.vpe,this.calculatedScrollbarWidth=0,this.calculatedScrollbarHeight=0,this.padding=0,this.previousViewPort={},this.cachedPageSize=0,this.previousScrollNumberElements=0,this.horizontal=!1,this.scrollThrottlingTime=0,this.resetWrapGroupDimensions()}get viewPortIndices(){const n=this.previousViewPort||{};return{startIndex:n.startIndex||0,endIndex:n.endIndex||0}}get enableUnequalChildrenSizes(){return this._enableUnequalChildrenSizes}set enableUnequalChildrenSizes(n){this._enableUnequalChildrenSizes!==n&&(this._enableUnequalChildrenSizes=n,this.minMeasuredChildWidth=void 0,this.minMeasuredChildHeight=void 0)}get bufferAmount(){return Math.max(this._bufferAmount,this.enableUnequalChildrenSizes?5:0)}set bufferAmount(n){this._bufferAmount=n}get scrollThrottlingTime(){return this._scrollThrottlingTime}set scrollThrottlingTime(n){this._scrollThrottlingTime=n,this.refresh_throttled=this.throttleTrailing(()=>{this.refresh_internal(!1)},this._scrollThrottlingTime)}get checkResizeInterval(){return this._checkResizeInterval}set checkResizeInterval(n){this._checkResizeInterval!==n&&(this._checkResizeInterval=n,this.addScrollEventHandlers())}get items(){return this._items}set items(n){n!==this._items&&(this._items=n||[],this.refresh_internal(!0))}get horizontal(){return this._horizontal}set horizontal(n){this._horizontal=n,this.updateDirection()}revertParentOverscroll(){const n=this.getScrollElement();n&&this.oldParentScrollOverflow&&(n.style["overflow-y"]=this.oldParentScrollOverflow.y,n.style["overflow-x"]=this.oldParentScrollOverflow.x),this.oldParentScrollOverflow=void 0}get parentScroll(){return this._parentScroll}set parentScroll(n){if(this._parentScroll===n)return;this.revertParentOverscroll(),this._parentScroll=n,this.addScrollEventHandlers();const l=this.getScrollElement();l!==this.element.nativeElement&&(this.oldParentScrollOverflow={x:l.style["overflow-x"],y:l.style["overflow-y"]},l.style["overflow-y"]=this.horizontal?"visible":"auto",l.style["overflow-x"]=this.horizontal?"auto":"visible")}ngOnInit(){this.addScrollEventHandlers()}ngOnDestroy(){this.removeScrollEventHandlers(),this.revertParentOverscroll()}ngOnChanges(n){const l=this.cachedItemsLength!==this.items.length;this.cachedItemsLength=this.items.length,this.refresh_internal(l||!n.items||!n.items.previousValue||0===n.items.previousValue.length)}ngDoCheck(){this.cachedItemsLength!==this.items.length&&(this.cachedItemsLength=this.items.length,this.refresh_internal(!0))}refresh(){this.refresh_internal(!0)}scrollInto(n,l=!0,w=0,E,Ae){const ft=this.items.indexOf(n);-1!==ft&&this.scrollToIndex(ft,l,w,E,Ae)}scrollToIndex(n,l=!0,w=0,E,Ae){let ft=5;const jt=()=>{if(--ft,ft<=0)return void(Ae&&Ae());const zt=this.calculateDimensions(),yn=Math.min(Math.max(n,0),zt.itemCount-1);this.previousViewPort.startIndex!==yn?this.scrollToIndex_internal(n,l,w,0,jt):Ae&&Ae()};this.scrollToIndex_internal(n,l,w,E,jt)}scrollToIndex_internal(n,l=!0,w=0,E,Ae){E=void 0===E?this.scrollAnimationTime:E;const ft=this.getScrollElement(),jt=this.getElementsOffset(),zt=this.calculateDimensions();let jn,yn=this.calculatePadding(n,zt,!1)+jt+w;if(l||(yn-=zt.wrapGroupsPerPage*zt[this._childScrollDim]),this.currentTween&&(this.currentTween.stop(),this.currentTween=void 0),!E)return this.renderer.setProperty(ft,this._scrollType,yn),void this.refresh_internal(!1,Ae);const ei={scroll:ft[this._scrollType]},yi=new Kt(ei).to({scroll:yn},E).easing(pt.Quadratic.Out).onUpdate(Rr=>{isNaN(Rr.scroll)||(this.renderer.setProperty(ft,this._scrollType,Rr.scroll),this.refresh_internal(!1))}).onStop(()=>{cancelAnimationFrame(jn)}).start(),Er=Rr=>{if(yi.isPlaying()){if(yi.update(Rr),ei.scroll===yn)return void this.refresh_internal(!1,Ae);this.zone.runOutsideAngular(()=>{jn=requestAnimationFrame(Er)})}};Er(),this.currentTween=yi}checkScrollElementResized(){const n=this.getScrollElement().getBoundingClientRect();let l;if(this.previousScrollBoundingRect){const w=Math.abs(n.width-this.previousScrollBoundingRect.width),E=Math.abs(n.height-this.previousScrollBoundingRect.height);l=w>this.resizeBypassRefreshTheshold||E>this.resizeBypassRefreshTheshold}else l=!0;l&&(this.previousScrollBoundingRect=n,n.width>0&&n.height>0&&this.refresh_internal(!1))}updateDirection(){this.horizontal?(this._invisiblePaddingProperty="width",this._offsetType="offsetLeft",this._pageOffsetType="pageXOffset",this._childScrollDim="childWidth",this._marginDir="margin-left",this._translateDir="translateX",this._scrollType="scrollLeft"):(this._invisiblePaddingProperty="height",this._offsetType="offsetTop",this._pageOffsetType="pageYOffset",this._childScrollDim="childHeight",this._marginDir="margin-top",this._translateDir="translateY",this._scrollType="scrollTop")}throttleTrailing(n,l){let w;return function(){const Ae=this,ft=arguments;w||(l<=0?n.apply(Ae,ft):w=setTimeout(function(){w=void 0,n.apply(Ae,ft)},l))}}refresh_internal(n,l,w=2){this.zone.runOutsideAngular(()=>{requestAnimationFrame(()=>{n&&this.resetWrapGroupDimensions();const E=this.calculateViewport(),Ae=n||E.startIndex!==this.previousViewPort.startIndex,ft=n||E.endIndex!==this.previousViewPort.endIndex,jt=E.scrollLength!==this.previousViewPort.scrollLength,zt=E.padding!==this.previousViewPort.padding;if(this.previousViewPort=E,jt&&this.invisiblePaddingElementRef&&this.renderer.setStyle(this.invisiblePaddingElementRef.nativeElement,this._invisiblePaddingProperty,`${E.scrollLength}px`),zt&&(this.useMarginInsteadOfTranslate?this.renderer.setStyle(this.contentElementRef.nativeElement,this._marginDir,`${E.padding}px`):(this.renderer.setStyle(this.contentElementRef.nativeElement,"transform",`${this._translateDir}(${E.padding}px)`),this.renderer.setStyle(this.contentElementRef.nativeElement,"webkitTransform",`${this._translateDir}(${E.padding}px)`))),Ae||ft)this.zone.run(()=>{this.viewPortItems=E.startIndexWithBuffer>=0&&E.endIndexWithBuffer>=0?this.items.slice(E.startIndexWithBuffer,E.endIndexWithBuffer+1):[],this.update.emit(this.viewPortItems),this.vsUpdate.emit(this.viewPortItems),Ae&&(this.start.emit({start:E.startIndex,end:E.endIndex}),this.vsStart.emit({start:E.startIndex,end:E.endIndex})),ft&&(this.end.emit({start:E.startIndex,end:E.endIndex}),this.vsEnd.emit({start:E.startIndex,end:E.endIndex})),(Ae||ft)&&(this.change.emit({start:E.startIndex,end:E.endIndex}),this.vsChange.emit({start:E.startIndex,end:E.endIndex})),w>0?this.refresh_internal(!1,l,w-1):l&&l()});else{if(w>0&&(jt||zt))return void this.refresh_internal(!1,l,w-1);l&&l()}})})}getScrollElement(){return this.parentScroll instanceof Window?document.scrollingElement||document.documentElement||document.body:this.parentScroll||this.element.nativeElement}addScrollEventHandlers(){const n=this.getScrollElement();this.removeScrollEventHandlers(),this.zone.runOutsideAngular(()=>{this.parentScroll instanceof Window?(this.disposeScrollHandler=this.renderer.listen("window","scroll",()=>{this.refresh_throttled()}),this.disposeResizeHandler=this.renderer.listen("window","resize",this.refresh_throttled)):(this.disposeScrollHandler=this.renderer.listen(n,"scroll",this.refresh_throttled),this._checkResizeInterval>0&&(this.checkScrollElementResizedTimer=setInterval(()=>{this.checkScrollElementResized()},this._checkResizeInterval)))})}removeScrollEventHandlers(){this.checkScrollElementResizedTimer&&clearInterval(this.checkScrollElementResizedTimer),this.disposeScrollHandler&&(this.disposeScrollHandler(),this.disposeScrollHandler=void 0),this.disposeResizeHandler&&(this.disposeResizeHandler(),this.disposeResizeHandler=void 0)}getElementsOffset(){let n=0;if(this.containerElementRef&&this.containerElementRef.nativeElement&&(n+=this.containerElementRef.nativeElement[this._offsetType]),this.parentScroll){const l=this.getScrollElement(),w=this.element.nativeElement.getBoundingClientRect(),E=l.getBoundingClientRect();n+=this.horizontal?w.left-E.left:w.top-E.top,this.parentScroll instanceof Window||(n+=l[this._scrollType])}return n}countItemsPerWrapGroup(){const n=this.horizontal?"offsetLeft":"offsetTop",l=(this.containerElementRef&&this.containerElementRef.nativeElement||this.contentElementRef.nativeElement).children,w=l?l.length:0;if(0===w)return 1;const E=l[0][n];let Ae=1;for(;Ae0){const pa=Math.min(mo,Rs);Rs-=pa,mo-=pa}wl+=Rs,Rs>0&&E>=wl&&++zt}else{let Rs=Math.min(jo,Math.max(Ae-Zl,0));if(mo>0){const pa=Math.min(mo,Rs);Rs-=pa,mo-=pa}Zl+=Rs,Rs>0&&Ae>=Zl&&++zt}++ls,cs=0,jo=0}}const Rd=this.wrapGroupDimensions.sumOfKnownWrapGroupChildWidths/this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes,xm=this.wrapGroupDimensions.sumOfKnownWrapGroupChildHeights/this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes;yn=this.childWidth||Rd||E,jn=this.childHeight||xm||Ae,this.horizontal?E>wl&&(zt+=Math.ceil((E-wl)/yn)):Ae>Zl&&(zt+=Math.ceil((Ae-Zl)/jn))}else{if(ft.children.length>0){(!this.childWidth||!this.childHeight)&&(!this.minMeasuredChildWidth&&E>0&&(this.minMeasuredChildWidth=E),!this.minMeasuredChildHeight&&Ae>0&&(this.minMeasuredChildHeight=Ae));const cs=ft.children[0].getBoundingClientRect();this.minMeasuredChildWidth=Math.min(this.minMeasuredChildWidth,cs.width),this.minMeasuredChildHeight=Math.min(this.minMeasuredChildHeight,cs.height)}yn=this.childWidth||this.minMeasuredChildWidth||E,jn=this.childHeight||this.minMeasuredChildHeight||Ae;const mo=Math.max(Math.ceil(E/yn),1),Zi=Math.max(Math.ceil(Ae/jn),1);zt=this.horizontal?mo:Zi}(!isFinite(zt)||zt<1)&&(zt=1);const ei=jt*zt,yi=l/ei,Er=Math.ceil(l/jt);let Rr=0;const qs=this.horizontal?yn:jn;if(this.enableUnequalChildrenSizes){let mo=0;for(let Zi=0;Zin.scrollLength&&!(this.parentScroll instanceof Window)?w=n.scrollLength:w-=l,w=Math.max(0,w);const E=this.calculatePageInfo(w,n),Ae=this.calculatePadding(E.startIndexWithBuffer,n,!0);let ft=0;null!=this.additionalHeight&&(ft=this.additionalHeight);const jt=n.scrollLength+ft;return{startIndex:E.startIndex,endIndex:E.endIndex,startIndexWithBuffer:E.startIndexWithBuffer,endIndexWithBuffer:E.endIndexWithBuffer,padding:Math.round(Ae),scrollLength:Math.round(jt)}}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.R0b))},a.\u0275cmp=e.Xpm({type:a,selectors:[["virtual-scroll"],["","virtualScroll",""]],contentQueries:function(n,l,w){if(1&n&&e.Suo(w,Fr,5,e.SBq),2&n){let E;e.iGM(E=e.CRH())&&(l.containerElementRef=E.first)}},viewQuery:function(n,l){if(1&n&&(e.Gf(Zo,5,e.SBq),e.Gf(va,5,e.SBq)),2&n){let w;e.iGM(w=e.CRH())&&(l.contentElementRef=w.first),e.iGM(w=e.CRH())&&(l.invisiblePaddingElementRef=w.first)}},hostVars:6,hostBindings:function(n,l){2&n&&e.ekj("horizontal",l.horizontal)("vertical",!l.horizontal)("selfScroll",!l.parentScroll)},inputs:{isNonVirtual:"isNonVirtual",additionalElementHeightInContainer:"additionalElementHeightInContainer",enableUnequalChildrenSizes:"enableUnequalChildrenSizes",additionalHeight:"additionalHeight",useMarginInsteadOfTranslate:"useMarginInsteadOfTranslate",scrollbarWidth:"scrollbarWidth",scrollbarHeight:"scrollbarHeight",childWidth:"childWidth",childHeight:"childHeight",bufferAmount:"bufferAmount",scrollAnimationTime:"scrollAnimationTime",resizeBypassRefreshTheshold:"resizeBypassRefreshTheshold",scrollThrottlingTime:"scrollThrottlingTime",doNotDestroyPrevious:"doNotDestroyPrevious",checkResizeInterval:"checkResizeInterval",items:"items",compareItems:"compareItems",horizontal:"horizontal",parentScroll:"parentScroll"},outputs:{update:"update",vsUpdate:"vsUpdate",change:"change",vsChange:"vsChange",start:"start",vsStart:"vsStart",end:"end",vsEnd:"vsEnd"},exportAs:["virtualScroll"],features:[e.TTD],ngContentSelectors:pe,decls:4,vars:3,consts:[["class","total-padding",4,"ngIf"],["content",""],[1,"total-padding"],["invisiblePadding",""]],template:function(n,l){1&n&&(e.F$t(),e.YNc(0,Yo,2,0,"div",0),e.TgZ(1,"div",null,1),e.Hsn(3),e.qZA()),2&n&&(e.Q6J("ngIf",!l.isNonVirtual),e.xp6(1),e.ekj("scrollable-content",!l.isNonVirtual))},directives:[u.O5],styles:["[_nghost-%COMP%]{position:relative;display:block;-webkit-overflow-scrolling:touch}.horizontal.selfScroll[_nghost-%COMP%]{overflow-y:visible;overflow-x:auto}.vertical.selfScroll[_nghost-%COMP%]{overflow-y:auto;overflow-x:visible}.scrollable-content[_ngcontent-%COMP%]{top:0;left:0;width:100%;height:100%;position:absolute}.scrollable-content[_ngcontent-%COMP%] >*{box-sizing:border-box}.horizontal[_nghost-%COMP%]{white-space:nowrap}.horizontal[_nghost-%COMP%] .scrollable-content[_ngcontent-%COMP%]{display:flex}.horizontal[_nghost-%COMP%] .scrollable-content[_ngcontent-%COMP%] >*{flex-shrink:0;flex-grow:0;white-space:initial}.total-padding[_ngcontent-%COMP%]{width:1px;opacity:0}.horizontal[_nghost-%COMP%] .total-padding[_ngcontent-%COMP%]{height:100%}"]}),a})(),Wu=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[[u.ez]]}),a})(),Tc=(()=>{class a{constructor(n){this.changeDetector=n,this.componentRefs=[]}ngOnChanges(n){const l=n.componentToRender;l&&l.currentValue&&this.load(l.currentValue)}load(n){return(0,g.mG)(this,void 0,void 0,function*(){const l=this.elementContainer.createComponent(n);this.componentRefs.push(l),this.changeDetector.detectChanges()})}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.sBO))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-dynamic-content"]],viewQuery:function(n,l){if(1&n&&e.Gf(hs,7,e.s_b),2&n){let w;e.iGM(w=e.CRH())&&(l.elementContainer=w.first)}},inputs:{componentToRender:"componentToRender"},features:[e.TTD],decls:2,vars:0,consts:[["viewContainerRef",""]],template:function(n,l){1&n&&e._UZ(0,"div",null,0)},styles:[""]}),a})(),nm=(()=>{class a{constructor(){this.columnKey=as,this.columnWidth=ca,this.rows=[],this.dividerRowItem=Symbol(),this.expandedAreaItem=Symbol(),this.selectionManager=new Cd,this.highlightSelectedRow=!1,this.shouldShowRowExpandCaret=!0,this.showNoChildrenFoundInfo=!1,this.sortedColumnIndex=-1,this.initialSortAscending=!0,this.rowDataIdPrefix=null,this.selfScrollHeight=null,this.expandedRow=new e.vpe,this.clickedCell=new e.vpe,this.tableColumnSortClicked=new e.vpe,this.createItem=new e.vpe,this.collapseRow=new e.vpe,this.selectedRecords=new e.vpe,this.clickableCellClicked=new e.vpe,this.deleteClick=new e.vpe,this.updateClick=new e.vpe,this.sortAsc=!0,this.showExpandedArea=!0,this.selectionManager.selectionChanged$.subscribe(n=>{this.selectedRecords.emit(n)})}ngOnInit(){this.sortAsc=this.initialSortAscending,this.processData()}ngOnChanges(){this.processData()}childrenListViewColumnsLength(){return this.listViewColumns.length}processData(){if(this.columnCount=this.listViewColumns.length,this.rows=[],this.listViewRows&&0!=this.listViewRows.length){if(this.listViewColumns.filter(l=>!l).length>0)throw new Error("Null columns are not allowed");this.mapCheckableItemsAndSetItemsOnSelectionManager();for(let l=0;l{const l=this.tableHeader.nativeElement;void 0!==l&&(this.headerRowHeight=l.offsetHeight+4)},10)}}mapCheckableItemsAndSetItemsOnSelectionManager(){const n=this.listViewColumns.find(w=>w.dataColumnRenderType===Kr.Checkbox);if(!n)return;if(!n.canSelectCheckbox)return void this.selectionManager.setItems(this.listViewRows);const l=this.listViewRows.filter(n.canSelectCheckbox);this.selectionManager.setItems(l)}sortRows(){var n;const l=this.listViewColumns[this.sortedColumnIndex];if(!l)return;const w=null!==(n=null==l?void 0:l.sortMethod)&&void 0!==n?n:Ia.manualSort;w!==Ia.manualSort&&(this.rows.sort((E,Ae)=>{const ft=this.listViewRows[E.dataIndex][l.sortKey],jt=this.listViewRows[Ae.dataIndex][l.sortKey];return w===Ia.numeric?ft-jt:w===Ia.date?new Date(jt).getTime()-new Date(ft).getTime():w===Ia.alphabetical?ft.toString().localeCompare(jt.toString()):0}),this.sortAsc||this.rows.reverse(),this.rows=[...this.rows])}showRowDetails(n){if(!this.hasClickableRows)return;const l=n.dataIndex===this.rowToShowIndex;l||(this.rowToShowIndex=n.dataIndex,this.expandedRow.emit(n.dataIndex)),l&&(this.rowToShowIndex=null),this.virtualScroll.scrollToIndex(n.displayIndex),this.processData()}showCellDetails(n,l){if(!this.listViewColumns[l].isExpandableColumn)return;const w=n.dataIndex===this.rowToShowIndex&&l===this.cellToShowIndex;w&&(this.rowToShowIndex=null,this.cellToShowIndex=null,this.showExpandedArea=!1),w||(this.showExpandedArea=!0,this.rowToShowIndex=n.dataIndex,this.cellToShowIndex=l,this.clickedCell.emit({rowIndex:n.dataIndex,columnIndex:l})),this.virtualScroll.scrollToIndex(n.displayIndex),this.processData()}sortOrder(n,l){if(!this.listViewColumns[n].isSortable)return;this.sortedColumnIndex!==n&&(this.sortAsc=!0),this.sortedColumnIndex===n&&(this.sortAsc=!this.sortAsc);const w=new tm(n,l,this.sortAsc);this.sortedColumnIndex=n,this.rowToShowIndex=null,this.tableColumnSortClicked.emit(w),this.processData()}create(n){this.createItem.emit(n.originalRecord)}collapseExpandedRow(){this.collapseRow.emit()}imageUrlIsSpecified(n){return!(null==n||""===n)}checkRow(n,l){l?this.selectionManager.select(n.originalRecord):this.selectionManager.deselect(n.originalRecord)}rowSelectableColumn(n,l){!n.canColumnSelectRow||!this.canSelectCheckbox(n,l)||this.selectionManager.toggleSelection(l.originalRecord)}toggleAllChecks(){this.selectionManager.toggleSelectAll()}deselectAll(){this.selectionManager.deselectAll()}selectAll(){this.selectionManager.selectAll()}isCellToShow(n,l){let w=this.rowToShowIndex;return n>this.dividerRowIndex&&(w=this.rowToShowIndex+1),n===w&&l===this.cellToShowIndex}isIconColumnWithData(n,l){return n===Kr.CounterCircle&&0!==l}isIconColumnWithNoData(n,l){return n===Kr.CounterCircle&&0===l}dataToShow(){return!(null==this.rows||0===this.rows.length)}isActiveRow(n){return this.highlightSelectedRow&&this.isRowToShow(n)}isOddRow(n){return n%2==1}isNarrowColumn(n){return n===ca.Narrow}isMediumColumn(n){return n===ca.Medium}isWideColumn(n){return n===ca.Wide}isCreate(n){return n===Kr.Create}isCircleCount(n){return n===Kr.CounterCircle}isCheckBox(n){return n===Kr.Checkbox}isImage(n){return n===Kr.Image}isText(n){return n===Kr.Text}isBool(n){return n===Kr.Bool}isDate(n){return n===Kr.Date}isCaret(n){return!!this.shouldShowRowExpandCaret&&n===Kr.ExpandCarat}isTextOrDate(n){return this.isText(n)||this.isDate(n)}isRowToShow(n){return this.dividerRowIndex>-1&&n>this.dividerRowIndex?n-1===this.rowToShowIndex:n===this.rowToShowIndex}isNotRowToShow(n){return this.dividerRowIndex>-1&&n>this.dividerRowIndex?n-1!==this.rowToShowIndex:n!==this.rowToShowIndex}isSortedIndex(n){return n===this.sortedColumnIndex}shouldShowCaret(n){const l=this.listViewColumns[n].headerRenderType;return n===this.sortedColumnIndex&&l!==as.CounterCircle&&l!=as.Icon}isUpdate(n){return n===Kr.Update}isDelete(n){return n===Kr.Delete}deleteClicked(n){this.deleteClick.emit(n)}updateClicked(n){this.updateClick.emit(this.listViewRows[n])}isCreateHeader(n){return n==as.Create}isCircleIconHeader(n){return n==as.CounterCircle}isIconHeader(n){return n==as.Icon}isCheckBoxHeader(n){return n==as.Checkbox}isClickableIconWithData(n,l){return n==Kr.ClickableIcon&&l}isPlainIconWithData(n,l){return n==Kr.Icon&&l}cellClickHandler(n,l){this.clickableCellClicked.emit({rowModel:this.listViewRows[l.dataIndex],column:n})}closeExpandedList(){this.virtualScroll.viewPortItems&&this.virtualScroll.viewPortItems.length>0&&(this.virtualScroll.viewPortItems.map(n=>n.isExpandableArea=!1),this.virtualScroll.viewPortItems.map(n=>n.isDivider=!1)),this.showExpandedArea=!1,this.rowToShowIndex=null,this.cellToShowIndex=null,this.processData()}isIconOnEndOfRow(n){return n===this.listViewColumns.length-1}canSelectCheckbox(n,l){return!n.canSelectCheckbox||n.canSelectCheckbox(this.listViewRows[l.dataIndex])}isRecordChecked(n){return this.selectionManager.isItemSelected(n.originalRecord)}isMoney(n){return n===Kr.Money}isHyperlink(n){return n===Kr.Hyperlink}isPill(n){return n===Kr.Pill}isMultiplePills(n){return n===Kr.MultiplePills}trackByPill(n,l){return(null==l?void 0:l.key)||(null==l?void 0:l.text)||String(n)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-list-view"]],viewQuery:function(n,l){if(1&n&&(e.Gf(ya,5),e.Gf(Va,5)),2&n){let w;e.iGM(w=e.CRH())&&(l.virtualScroll=w.first),e.iGM(w=e.CRH())&&(l.tableHeader=w.first)}},inputs:{listViewColumns:"listViewColumns",highlightSelectedRow:"highlightSelectedRow",rowToShowIndex:"rowToShowIndex",shouldShowRowExpandCaret:"shouldShowRowExpandCaret",showNoChildrenFoundInfo:"showNoChildrenFoundInfo",displayNoItemsMessage:"displayNoItemsMessage",sortedColumnIndex:"sortedColumnIndex",initialSortAscending:"initialSortAscending",hasClickableRows:"hasClickableRows",listViewRows:"listViewRows",rowDataIdPrefix:"rowDataIdPrefix",selfScrollHeight:"selfScrollHeight",dividerRowIndex:"dividerRowIndex",dividerText:"dividerText"},outputs:{expandedRow:"expandedRow",clickedCell:"clickedCell",tableColumnSortClicked:"tableColumnSortClicked",createItem:"createItem",collapseRow:"collapseRow",selectedRecords:"selectedRecords",clickableCellClicked:"clickableCellClicked",deleteClick:"deleteClick",updateClick:"updateClick"},features:[e.TTD],ngContentSelectors:pe,decls:13,vars:14,consts:[[3,"items","parentScroll","bufferAmount","doNotDestroyPrevious","checkResizeInterval","additionalHeight","enableUnequalChildrenSizes","isNonVirtual"],["scroll",""],[1,"container"],["id","list-view-table"],[1,"table-header"],["tableHeader",""],["nowrap","",3,"selected-header","class","id","header-narrow","header-wide","header-medium","sortable","create-heading","click",4,"ngFor","ngForOf"],[4,"ngIf"],["container",""],[4,"ngFor","ngForOf"],["nowrap","",3,"id","click"],[3,"iconClass","class","iconSize",4,"ngIf"],["class","icon plain",4,"ngIf"],["class","checkbox",4,"ngIf"],["class","info-icon-container",4,"ngIf"],["class","sort",4,"ngIf"],[3,"iconClass","iconSize"],[1,"icon","plain"],[3,"ngClass"],[1,"checkbox"],[3,"checked","dataIdOverride","valueChange"],[1,"info-icon-container"],["iconColor","heather-two","icon","fa fa-info-circle",1,"header-info-icon",3,"width","isHeaderRequired","bottomPosition","popoverHeader","popoverRequired"],[3,"componentToRender"],[1,"sort"],[1,"fa","sort-icon",3,"ngClass"],["class","data-row",3,"id","activeRow","odd","clickable","click",4,"ngIf"],["class","expanded-section",3,"activeRowArea","ngClass",4,"ngIf"],[1,"data-row",3,"id","click"],["nowrap","",3,"class","ngClass","clickableColumn","click",4,"ngFor","ngForOf"],["nowrap","",3,"ngClass","click"],[3,"ngClass",4,"ngIf"],["class","observation-count","data-id","show-cell-details",3,"click",4,"ngIf"],["class","faded",4,"ngIf"],["class","centred-wrapper",4,"ngIf"],["class","text",3,"text-selectable",4,"ngIf"],["class","icon",3,"end-row-icon","click",4,"ngIf"],["class","icon plain",3,"end-row-icon",4,"ngIf"],["class","Text",4,"ngIf"],["class","date",3,"text-selectable",4,"ngIf"],["class","hyperlink",3,"text-selectable",4,"ngIf"],[3,"class",4,"ngIf"],["class","pill-group",4,"ngIf"],["class","icon caret-icon",4,"ngIf"],["class","icon","data-id","edit-icon",3,"click",4,"ngIf"],["class","icon","data-id","delete-icon",3,"click",4,"ngIf"],["class","image-circle",3,"src",4,"ngIf"],[1,"image-circle",3,"src"],["data-id","show-cell-details",1,"observation-count",3,"click"],[3,"isSelected","count"],[1,"faded"],[3,"count"],[1,"centred-wrapper"],["class","create",3,"rowNumber","createItem",4,"ngIf"],["class","fa fa-caret-up icon",3,"click",4,"ngIf"],[1,"create",3,"rowNumber","createItem"],[1,"fa","fa-caret-up","icon",3,"click"],[3,"checked","componentIndex","valueChange"],[1,"text"],[1,"icon",3,"click"],[1,"Text"],[1,"date"],[1,"hyperlink"],["target","_blank",3,"href"],[1,"pill-group"],[3,"class",4,"ngFor","ngForOf","ngForTrackBy"],[1,"icon","caret-icon"],["data-id","edit-icon",1,"icon",3,"click"],[1,"fa","fa-pencil-alt"],["data-id","delete-icon",1,"icon",3,"click"],[1,"fa","fa-trash"],[1,"divider-cell"],[3,"text"],[1,"expanded-section",3,"ngClass"],["data-id","list-view-no-items-message",1,"no-items-message"]],template:function(n,l){if(1&n&&(e.F$t(),e.TgZ(0,"virtual-scroll",0,1)(2,"div",2)(3,"table",3)(4,"thead",4,5)(6,"tr"),e.YNc(7,As,9,27,"th",6),e.qZA(),e.YNc(8,za,3,1,"tr",7),e.qZA(),e.TgZ(9,"tbody",null,8),e.YNc(11,Os,4,3,"ng-container",9),e.qZA()(),e.YNc(12,ra,3,1,"div",7),e.qZA()()),2&n){const w=e.MAs(1);e.Udp("height",l.selfScrollHeight),e.Q6J("items",l.rows)("parentScroll",l.selfScrollHeight?null:w.window)("bufferAmount",25)("doNotDestroyPrevious",!0)("checkResizeInterval",0)("additionalHeight",l.headerRowHeight)("enableUnequalChildrenSizes",!0)("isNonVirtual",0===l.rows.length),e.xp6(7),e.Q6J("ngForOf",l.listViewColumns),e.xp6(1),e.Q6J("ngIf",l.showNoChildrenFoundInfo),e.xp6(3),e.Q6J("ngForOf",w.viewPortItems),e.xp6(1),e.Q6J("ngIf",l.displayNoItemsMessage&&0===l.rows.length)}},directives:[bd,el,Bl,Nu,Tc,gd,Yp,jp,Ou,u.sg,u.O5,u.mk],pipes:[u.gd,u.uU,u.H9],styles:[".clickableColumn[_ngcontent-%COMP%]{cursor:pointer}.container[_ngcontent-%COMP%]{border-radius:4px;border:2px solid #dcd0e2}table[_ngcontent-%COMP%]{border-collapse:collapse;table-layout:fixed;margin:auto;min-width:100%}.table-header[_ngcontent-%COMP%]{background-color:#ede7f0}thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{position:sticky;z-index:10;top:0;background-color:#ede7f0}th[_ngcontent-%COMP%]{height:50px;font-size:12px;text-align:left;color:#a98ab6;display:table-cell}th[_ngcontent-%COMP%] .info-icon-container[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;padding-left:5px}th[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}th[_ngcontent-%COMP%] > div.icon-header[_ngcontent-%COMP%]{justify-content:space-around}tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%]:first-of-type{padding-left:5%}tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]:first-of-type > div[_ngcontent-%COMP%]:first-of-type{padding-left:5%}tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]{background-color:#fff}tbody[_ngcontent-%COMP%] > tr.clickable[_ngcontent-%COMP%]{cursor:pointer}tbody[_ngcontent-%COMP%] > tr.odd[_ngcontent-%COMP%]{background-color:#f7f5f8}.selected-header[_ngcontent-%COMP%]{color:#7e6787}.sort-icon[_ngcontent-%COMP%]{color:#7e6787;font-size:24px;font-weight:700;padding-left:5px}td[_ngcontent-%COMP%]{font-size:14px;height:44px}.icon[_ngcontent-%COMP%]{color:#a98ab6;font-size:24px;cursor:pointer;padding-right:25px}.icon.plain[_ngcontent-%COMP%]{text-align:left;cursor:default}.icon.end-row-icon[_ngcontent-%COMP%]{text-align:right}.data-area[_ngcontent-%COMP%]{border-bottom:solid 2px #ede7f0}tr[_ngcontent-%COMP%]:last-child{border-bottom:none}.data-view-td[_ngcontent-%COMP%]{padding:0}.faded[_ngcontent-%COMP%]{opacity:.3;width:38px;margin:0 auto}.header-narrow[_ngcontent-%COMP%]{text-align:center;width:44px;padding:0}.header-medium[_ngcontent-%COMP%]{text-align:center}.header-wide[_ngcontent-%COMP%]{max-width:400px}.separator[_ngcontent-%COMP%]{border-top:2px solid #f7f5f8}.checkbox[_ngcontent-%COMP%]{width:20px;height:20px;margin:auto}.image-circle[_ngcontent-%COMP%]{border-radius:50%;height:40px;width:40px;vertical-align:middle;margin:10px 20px;object-fit:cover}.sort[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.header-wide[_ngcontent-%COMP%] > .sort[_ngcontent-%COMP%]{padding-left:10px}.fa-user-circle[_ngcontent-%COMP%]{color:#ede7f0;font-size:40px;margin:10px 20px}.centred-data[_ngcontent-%COMP%]{margin:auto;text-align:center}.text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;color:#333}.date[_ngcontent-%COMP%]{width:80px}.observation-count[_ngcontent-%COMP%]{cursor:pointer;width:38px;margin:0 auto}.create[_ngcontent-%COMP%]{cursor:pointer}.create-heading[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}.sortable[_ngcontent-%COMP%]{cursor:pointer}.expanded-section[_ngcontent-%COMP%], .expanded-section[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{position:relative}.activeRow[_ngcontent-%COMP%]{border-top:2px solid #ba25b2;border-left:2px solid #ba25b2;border-right:2px solid #ba25b2}.activeRowArea[_ngcontent-%COMP%]{border-bottom:2px solid #ba25b2;border-left:2px solid #ba25b2;border-right:2px solid #ba25b2}.divider-cell[_ngcontent-%COMP%]{padding:0}@media (min-width: 768px) and (max-width: 1023px){.priority-low[_ngcontent-%COMP%]{display:none}.container[_ngcontent-%COMP%]{width:unset}.header-narrow[_ngcontent-%COMP%]{width:39px}.header-wide[_ngcontent-%COMP%] > .sort[_ngcontent-%COMP%]{padding-left:5px}}@media (min-width: 667px) and (max-width: 767px){.priority-low[_ngcontent-%COMP%], .priority-medium[_ngcontent-%COMP%]{display:none}.text[_ngcontent-%COMP%]{max-width:100px}.header-narrow[_ngcontent-%COMP%]{width:39px}.create-heading[_ngcontent-%COMP%]{padding-left:0}.container[_ngcontent-%COMP%]{width:unset}}@media (max-width: 666px){.priority-low[_ngcontent-%COMP%], .priority-medium[_ngcontent-%COMP%], .priority-high[_ngcontent-%COMP%]{display:none}.text[_ngcontent-%COMP%]{max-width:80px}.container[_ngcontent-%COMP%]{width:unset}}@media (max-width: 768px){.container[_ngcontent-%COMP%]{overflow-x:scroll}}@media (min-width: 319px) and (max-width: 414px){.sortable[_ngcontent-%COMP%]{cursor:pointer;padding-right:20px}.header-wide[_ngcontent-%COMP%] > .sort[_ngcontent-%COMP%]{padding-left:5px}}.no-items-message[_ngcontent-%COMP%]{text-align:center;font-weight:700;color:#320d42;font-size:16px;background-color:#fff;height:100px;display:flex;justify-content:center;align-items:center}.hideExpandedArea[_ngcontent-%COMP%]{display:none}div.icon.plain[_ngcontent-%COMP%] i.fa[_ngcontent-%COMP%]{margin-left:22px}.text-selectable[_ngcontent-%COMP%]{-webkit-user-select:text;user-select:text}.pill[_ngcontent-%COMP%]{display:inline-block;padding:3px 10px;border-radius:12px;font-size:12px;font-weight:500;color:#fff;white-space:nowrap}.pill[_ngcontent-%COMP%] i.fa[_ngcontent-%COMP%]{margin-right:5px}.pill[_ngcontent-%COMP%] i.fa-spin[_ngcontent-%COMP%]{animation:pa-list-view-pill-spin 1s linear infinite}.pill.pill-grey[_ngcontent-%COMP%]{background-color:#dcd0e2;color:#a98ab6}.pill.pill-green[_ngcontent-%COMP%]{background-color:#39b54a}.pill.pill-blue[_ngcontent-%COMP%]{background-color:#0054a6}.pill.pill-amber[_ngcontent-%COMP%]{background-color:#fb8c0026;color:#fb8c00}.pill.pill-red[_ngcontent-%COMP%]{background-color:#ea605d26;color:#ba3b47}.pill.pill-purple[_ngcontent-%COMP%]{background-color:#ede7f0;color:#54166e}.pill-group[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;grid-gap:4px;gap:4px}@keyframes pa-list-view-pill-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]}),a})();class zu{constructor(_,n,l,w){this.dataIndex=_,this.displayIndex=n,this.originalRecord=l,this.data=w,this.isDivider=!1,this.isExpandableArea=!1}get isDataRow(){return!!this.data}}const ug={pending:"Pending",running:"Running",succeeded:"Done",failed:"Failed",skipped:"Skipped",notRun:"Not run"};let hg=(()=>{class a{constructor(){this.title="",this.items=[],this.statusLabels={},this.itemColumnTitle="Item",this.dataIdPrefix="bulk-run",this.showProgress=!0,this.progressText="",this.progressDetail="",this.noteLead="",this.noteText="",this.progressLabel="Items processed",this.running=!1,this.stopRequested=!1,this.stopButtonText="Stop after this item",this.stoppingButtonText="Stopping after this item",this.listHeight="50vh",this.stopRun=new e.vpe,this.rows=[],this.listColumns=[]}ngOnChanges(){this.listColumns=this.buildColumns(),this.rows=this.items.map(n=>({id:n.id,name:n.name,statusPill:[this.buildStatusPill(n.status)],detail:n.detail||""}))}get total(){return this.items.length}get finishedCount(){return this.items.filter(n=>"pending"!==n.status&&"running"!==n.status).length}get progressPercent(){return 0===this.total?0:Math.round(this.finishedCount/this.total*100)}onStopRun(){this.stopRun.emit()}labelFor(n){return this.statusLabels[n]||ug[n]}buildStatusPill(n){const l=this.labelFor(n);switch(n){case"running":return{key:"status",text:l,color:Fa.Purple};case"succeeded":return{key:"status",text:l,color:Fa.Green};case"failed":return{key:"status",text:l,color:Fa.Red};case"skipped":return{key:"status",text:l,color:Fa.Amber};default:return{key:"status",text:l,color:Fa.Grey}}}buildColumns(){return[{title:this.itemColumnTitle,key:"name",headerRenderType:as.Text,dataColumnRenderType:Kr.Text,displayPriority:wc.core,columnWidth:ca.Medium},{title:"Status",key:"statusPill",headerRenderType:as.Text,dataColumnRenderType:Kr.MultiplePills,displayPriority:wc.core,columnWidth:ca.Narrow},{title:"Detail",key:"detail",headerRenderType:as.Text,dataColumnRenderType:Kr.Text,displayPriority:wc.core,columnWidth:ca.Wide}]}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-bulk-run-view"]],inputs:{title:"title",items:"items",statusLabels:"statusLabels",itemColumnTitle:"itemColumnTitle",dataIdPrefix:"dataIdPrefix",showProgress:"showProgress",progressText:"progressText",progressDetail:"progressDetail",noteLead:"noteLead",noteText:"noteText",progressLabel:"progressLabel",running:"running",stopRequested:"stopRequested",stopButtonText:"stopButtonText",stoppingButtonText:"stoppingButtonText",listHeight:"listHeight"},outputs:{stopRun:"stopRun"},features:[e.TTD],ngContentSelectors:fs,decls:13,vars:10,consts:[[1,"bulk-run"],["class","bulk-run-title",4,"ngIf"],[1,"bulk-run-head"],[4,"ngIf"],[1,"bulk-run-list"],["selfScrollHeight","100%",3,"rowDataIdPrefix","listViewRows","listViewColumns"],[1,"bulk-run-footer"],[1,"bulk-run-footer-note"],[1,"bulk-run-footer-buttons"],[3,"buttonId","buttonText","disabled","click",4,"ngIf"],[1,"bulk-run-title"],[1,"bulk-run-progress-line"],[1,"bulk-run-progress-text"],["class","bulk-run-progress-detail",4,"ngIf"],["role","progressbar","aria-valuemin","0",1,"bar"],[1,"bar-fill"],["class","bulk-run-note",4,"ngIf"],[1,"bulk-run-progress-detail"],[1,"bulk-run-note"],[3,"buttonId","buttonText","disabled","click"]],template:function(n,l){1&n&&(e.F$t(ts),e.TgZ(0,"div",0),e.YNc(1,ms,2,2,"h3",1),e.TgZ(2,"div",2),e.Hsn(3),e.YNc(4,Vs,8,10,"ng-container",3),e.qZA(),e.TgZ(5,"div",4),e._UZ(6,"pa-list-view",5),e.qZA(),e.TgZ(7,"div",6)(8,"span",7),e.Hsn(9,1),e.qZA(),e.TgZ(10,"div",8),e.Hsn(11,2),e.YNc(12,Da,1,4,"pa-primary-button",9),e.qZA()()()),2&n&&(e.uIk("data-id",l.dataIdPrefix+"-run-view"),e.xp6(1),e.Q6J("ngIf",l.title),e.xp6(3),e.Q6J("ngIf",l.showProgress),e.xp6(1),e.Udp("height",l.listHeight),e.xp6(1),e.Q6J("rowDataIdPrefix",l.dataIdPrefix+"-item")("listViewRows",l.rows)("listViewColumns",l.listColumns),e.uIk("data-id",l.dataIdPrefix+"-items"),e.xp6(6),e.Q6J("ngIf",l.running))},directives:[nm,Ea,u.O5],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.bulk-run[_ngcontent-%COMP%]{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;color:#320d42}.bulk-run[_ngcontent-%COMP%] .bulk-run-title[_ngcontent-%COMP%]{font-size:22px;font-weight:700;color:#320d42;margin:0;padding:18px 28px 0}.bulk-run[_ngcontent-%COMP%] .bulk-run-head[_ngcontent-%COMP%]{display:flex;flex-direction:column;grid-gap:10px;gap:10px;padding:18px 28px;border-bottom:1px solid #ede7f0}.bulk-run[_ngcontent-%COMP%] .bulk-run-head[_ngcontent-%COMP%]:empty{display:none}.bulk-run[_ngcontent-%COMP%] .bulk-run-progress-line[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;grid-gap:4px 16px;gap:4px 16px;font-size:14px}.bulk-run[_ngcontent-%COMP%] .bulk-run-progress-line[_ngcontent-%COMP%] .bulk-run-progress-text[_ngcontent-%COMP%]{font-weight:700}.bulk-run[_ngcontent-%COMP%] .bulk-run-progress-line[_ngcontent-%COMP%] .bulk-run-progress-detail[_ngcontent-%COMP%]{color:#70567b}.bulk-run[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%]{height:10px;border-radius:5px;background:#ede7f0;overflow:hidden}.bulk-run[_ngcontent-%COMP%] .bar[_ngcontent-%COMP%] .bar-fill[_ngcontent-%COMP%]{height:100%;background:#ba25b2;transition:width .25s ease}.bulk-run[_ngcontent-%COMP%] .bulk-run-note[_ngcontent-%COMP%]{padding:10px 12px;border-radius:4px;border:1px solid #f1af2c;background:rgba(241,175,44,.12);color:#320d42;font-size:13px}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%]{flex:1 1 auto;min-height:160px}.bulk-run[_ngcontent-%COMP%] .bulk-run-footer[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;grid-gap:12px;gap:12px;padding:14px 28px;border-top:1px solid #ede7f0}.bulk-run[_ngcontent-%COMP%] .bulk-run-footer[_ngcontent-%COMP%] .bulk-run-footer-note[_ngcontent-%COMP%]{color:#70567b;font-size:13px}.bulk-run[_ngcontent-%COMP%] .bulk-run-footer[_ngcontent-%COMP%] .bulk-run-footer-buttons[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;grid-gap:12px;gap:12px;margin-left:auto}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] .container{border:0;border-radius:0}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] thead th, .bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] td{box-sizing:border-box}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] thead th{height:auto;padding:10px 16px 10px 0;background-color:#fff;border-bottom:1px solid #ede7f0;color:#70567b;font-weight:700;letter-spacing:.04em;text-align:left}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] th:nth-child(1){width:264px}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] th:nth-child(2){width:156px}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] tbody>tr, .bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] tbody>tr.odd{background-color:#fff}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] td{height:auto;padding:10px 16px 10px 0;border-bottom:1px solid #ede7f0;white-space:normal}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] tr>th:first-of-type>div:first-of-type, .bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] tr>td:first-of-type>div:first-of-type{padding-left:28px}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] th:last-child, .bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] td:last-child{padding-right:28px}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] .centred-data{margin:0;text-align:left}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] td:nth-child(1) .text{color:#320d42;font-weight:700}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] td:nth-child(3) .text{color:#595959;font-size:13px;white-space:normal}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] .pill{border-radius:12px;padding:4px 12px;font-size:12px;font-weight:700}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] .pill.pill-green{background-color:#39b54a24;color:#288234}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] .pill.pill-purple{background-color:#ede7f0;color:#54166e}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] .pill.pill-grey{background-color:#f4f1f5;color:#70567b}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] .pill.pill-red{background-color:#ea605d26;color:#b32b29}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] .pill.pill-amber{background-color:#f1af2c1f;color:#895800}@media (max-width: 760px){.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] .container{overflow-x:auto}.bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] th:nth-child(1), .bulk-run[_ngcontent-%COMP%] .bulk-run-list[_ngcontent-%COMP%] th:nth-child(2){width:auto}}"]}),a})(),pg=(()=>{class a{constructor(){this.textButtonText="Cancel",this.isSticky=!0,this.stickySupported=!0,this.primaryButtonClicked=new e.vpe,this.textButtonClicked=new e.vpe;const n=!!window.StyleMedia;this.stickySupported=!n}get stickyClass(){return this.isSticky}isStickyFooter(){return this.isSticky&&this.stickySupported}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-create-group-footer-msg"]],hostVars:2,hostBindings:function(n,l){2&n&&e.ekj("sticky",l.stickyClass)},inputs:{message:"message",primaryButtonText:"primaryButtonText",textButtonText:"textButtonText",isSticky:"isSticky",primaryButtonDisabled:"primaryButtonDisabled"},outputs:{primaryButtonClicked:"primaryButtonClicked",textButtonClicked:"textButtonClicked"},decls:6,vars:6,consts:[[1,"outer-boarder"],["class","message-text",4,"ngIf"],[1,"footer-container"],[1,"action-buttons"],["data-id","group-footer-text-button",3,"buttonText","click"],["data-id","group-footer-primary-button",3,"buttonText","disabled","click"],[1,"message-text"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e.YNc(1,gs,2,1,"div",1),e.TgZ(2,"div",2)(3,"div",3)(4,"pa-text-button-updated",4),e.NdJ("click",function(){return l.textButtonClicked.emit()}),e.qZA(),e.TgZ(5,"pa-primary-button",5),e.NdJ("click",function(){return l.primaryButtonClicked.emit()}),e.qZA()()()()),2&n&&(e.xp6(1),e.Q6J("ngIf",l.message),e.xp6(1),e.ekj("sticky-footer",l.isStickyFooter()),e.xp6(2),e.Q6J("buttonText",l.textButtonText),e.xp6(1),e.Q6J("buttonText",l.primaryButtonText)("disabled",l.primaryButtonDisabled))},directives:[uc,Ea,u.O5],styles:[".sticky[_nghost-%COMP%]{position:sticky;display:block;bottom:0}.outer-boarder[_ngcontent-%COMP%]{background-color:#fff;box-shadow:0 -1px 11px #320d4226;width:auto}.footer-container[_ngcontent-%COMP%]{width:100%;height:70px;display:flex;justify-content:center;align-items:center;z-index:978;position:relative}.action-buttons[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between;align-items:center;padding:0 50px}pa-primary-button[_ngcontent-%COMP%]{padding-left:50px;padding-right:30px}div.message-text[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px;text-align:center;font-size:1.2em;font-weight:700;display:block}"]}),a})(),Zu=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-image-circle"]],inputs:{imageClass:"imageClass",imageUrl:"imageUrl"},decls:1,vars:2,consts:[[3,"ngClass","src"]],template:function(n,l){1&n&&e._UZ(0,"img",0),2&n&&(e.s9C("src",l.imageUrl,e.LSH),e.Q6J("ngClass",l.imageClass))},directives:[u.mk],styles:[".image-small[_ngcontent-%COMP%]{width:34px;height:34px;border-radius:50%;object-fit:cover}.image-mini[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;object-fit:cover}.image-medium[_ngcontent-%COMP%]{width:45px;height:45px;border-radius:50%;object-fit:cover}.image-large[_ngcontent-%COMP%]{width:120px;height:120px;border-radius:50%;object-fit:cover}"]}),a})(),mg=(()=>{class a{constructor(){this.isActive=!0,this.showCloseButton=!0,this.emitClickEvent=!1,this.showDefaultPill=!1,this.isForPrinting=!1,this.deleteClicked=new e.vpe}deleteChild(){this.deleteClicked.emit()}hasPhoto(){return this.childPhotoUrl&&""!==this.childPhotoUrl}getPillClass(){return this.showDefaultPill?"default-pill":this.isActive?"active-pill":"non-active-pill"}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-child-pill"]],inputs:{childName:"childName",childPhotoUrl:"childPhotoUrl",isActive:"isActive",showCloseButton:"showCloseButton",emitClickEvent:"emitClickEvent",showDefaultPill:"showDefaultPill",isForPrinting:"isForPrinting"},outputs:{deleteClicked:"deleteClicked"},decls:6,vars:12,consts:[["class","image","imageClass","image-small",3,"imageUrl",4,"ngIf"],["class","fa fa-user-o no-image","aria-hidden","false",3,"is-for-printing",4,"ngIf"],[1,"label"],["class","cross",3,"mousedown",4,"ngIf"],["imageClass","image-small",1,"image",3,"imageUrl"],["aria-hidden","false",1,"fa","fa-user-o","no-image"],[1,"cross",3,"mousedown"],[1,"fa","fa-times"]],template:function(n,l){1&n&&(e.TgZ(0,"div"),e.YNc(1,fl,1,1,"pa-image-circle",0),e.YNc(2,ka,1,2,"i",1),e.TgZ(3,"div",2),e._uU(4),e.qZA(),e.YNc(5,sa,2,0,"div",3),e.qZA()),2&n&&(e.ekj("non-active-pill",!l.isActive)("active-pill",l.isActive)("is-clickable",l.emitClickEvent)("is-for-printing",l.isForPrinting),e.xp6(1),e.Q6J("ngIf",l.hasPhoto()),e.xp6(1),e.Q6J("ngIf",!l.hasPhoto()),e.xp6(2),e.Oqu(l.childName),e.xp6(1),e.Q6J("ngIf",l.showCloseButton))},directives:[Zu,u.O5],styles:["pa-image-circle[_ngcontent-%COMP%]{display:flex}.active-pill[_ngcontent-%COMP%]{box-sizing:content-box;display:flex;flex-direction:row;align-items:center;width:-moz-fit-content;width:fit-content;border-radius:23px;font-size:14px;padding:6px;cursor:pointer;height:30px;background:#320d42;color:#fff;border:solid 2px #320d42}.active-pill[_ngcontent-%COMP%]:hover{border:solid 2px #7e6787}.non-active-pill[_ngcontent-%COMP%]{box-sizing:content-box;display:flex;flex-direction:row;align-items:center;width:-moz-fit-content;width:fit-content;border-radius:23px;font-size:14px;padding:6px;cursor:pointer;height:30px;background:#fff;color:#a98ab6;border:solid 2px #cbb9d3}.non-active-pill[_ngcontent-%COMP%]:hover{border:solid 2px #7e6787}.default-pill[_ngcontent-%COMP%]{box-sizing:content-box;display:flex;flex-direction:row;align-items:center;width:-moz-fit-content;width:fit-content;border-radius:23px;font-size:14px;padding:6px;cursor:pointer;height:30px;background:#fff;color:#320d42;border:solid 2px #ebebeb}.default-pill[_ngcontent-%COMP%]:hover{border:solid 2px #7e6787}.is-clickable[_ngcontent-%COMP%]{cursor:pointer}.is-for-printing[_ngcontent-%COMP%]{border:1px solid #b7b7b7;color:#333;font-size:12px}.image[_ngcontent-%COMP%]{flex:0 0}.no-image[_ngcontent-%COMP%]{width:34px;text-align:center;vertical-align:middle;color:#ede7f0;font-size:24px;border:none}.no-image[_ngcontent-%COMP%] .is-for-printing[_ngcontent-%COMP%]{color:#b7b7b7}.label[_ngcontent-%COMP%]{flex:1 1;flex-flow:row nowrap;padding:0 8px}.cross[_ngcontent-%COMP%]{flex:0;padding-right:12px;font-size:18px}.cross[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]{cursor:pointer}"]}),a})(),fg=(()=>{class a{transform(n,l){let w;const E=n*l/100;return n>1048576?(w=(Math.round(100*E/1048576)/100).toString()+"MB of "+(Math.round(100*n/1048576)/100).toString()+"MB",w):(w=(Math.round(100*E/1024)/100).toString()+"KB of "+(Math.round(100*n/1024)/100).toString()+"KB",w)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"uploadingCalculation",type:a,pure:!0}),a})(),gg=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-progress-bar"]],inputs:{fileTotalSize:"fileTotalSize",fileUploadedPercentage:"fileUploadedPercentage"},decls:9,vars:7,consts:[[1,"upload-section"],[1,"upload-content-margin"],[1,"upload-content"],[1,"outer-bar"],[1,"inner-bar",3,"ngStyle"],[1,"progress-margin"],[1,"progress-content",3,"innerHtml"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"span",2),e._uU(3,"Uploading..."),e.qZA()(),e.TgZ(4,"div",3),e._UZ(5,"div",4),e.qZA(),e.TgZ(6,"div",5),e._UZ(7,"div",6),e.ALo(8,"uploadingCalculation"),e.qZA()()),2&n&&(e.xp6(5),e.Q6J("ngStyle",e.VKq(5,Is,l.fileUploadedPercentage+"%")),e.xp6(2),e.Q6J("innerHtml",e.xi3(8,2,l.fileTotalSize,l.fileUploadedPercentage),e.oJD))},directives:[u.PC],pipes:[fg],styles:[".upload-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start}.upload-content[_ngcontent-%COMP%]{width:72px;height:14px;font-size:14px;color:#a98ab6;margin-left:19px}.outer-bar[_ngcontent-%COMP%]{width:171px;height:2px;background-color:#dcd0e2;margin:10px 0 0 20px}.inner-bar[_ngcontent-%COMP%]{height:2px;background-color:#ba25b2}.progress-margin[_ngcontent-%COMP%]{margin-top:10px;height:12px}.progress-content[_ngcontent-%COMP%]{font-size:14px;color:#a98ab6;margin-left:18px}"]}),a})(),da=(()=>{class a{constructor(){this.colors=[],this.colors.push({colorName:"peacockBlue",colorCode:"#0054a6"}),this.colors.push({colorName:"mediumGreen",colorCode:"#39b54a"}),this.colors.push({colorName:"mediumPink",colorCode:"#f06292"}),this.colors.push({colorName:"tomato",colorCode:"#e53935"}),this.colors.push({colorName:"macaroniAndCheese",colorCode:"#f1af2c"}),this.colors.push({colorName:"tealish",colorCode:"#2fbbb7"}),this.colors.push({colorName:"fadedBlue",colorCode:"#7986cb"}),this.colors.push({colorName:"darkGrey",colorCode:"#999999"}),this.colors.push({colorName:"eggplant",colorCode:"#320d42"}),this.colors.push({colorName:"muted-purple",colorCode:"#70567b"}),this.colors.push({colorName:"white",colorCode:"#ffffff"}),this.colors.push({colorName:"barney",colorCode:"#ba25b2"}),this.colors.push({colorName:"heather-two",colorCode:"#a98ab6"}),this.colors.push({colorName:"dusty-orange",colorCode:"#f59637"}),this.colors.push({colorName:"emerald",colorCode:"#00a651"}),this.colors.push({colorName:"cornflower-blue",colorCode:"#e0e0e0"}),this.colors.push({colorName:"pale-grey-two",colorCode:"#dcd0e2"}),this.colors.push({colorName:"grey-purple",colorCode:"#7e6787"}),this.colors.push({colorName:"lightish-blue",colorCode:"#3c5afd"}),this.colors.push({colorName:"dodger-blue",colorCode:"#4489ff"}),this.colors.push({colorName:"azure-two",colorCode:"#29b6f6"}),this.colors.push({colorName:"lavender-blue-two",colorCode:"#7990fb"}),this.colors.push({colorName:"pastel-blue",colorCode:"#9faefb"}),this.colors.push({colorName:"pastel-blue-two",colorCode:"#a2c5fc"}),this.colors.push({colorName:"sky-blue-two",colorCode:"#80affb"}),this.colors.push({colorName:"dark-sky-blue-four",colorCode:"#29b6f6"}),this.colors.push({colorName:"lightblue-two",colorCode:"#71cdf7"}),this.colors.push({colorName:"light-blue-two",colorCode:"#99daf8"}),this.colors.push({colorName:"light-grey-two",colorCode:"#ebebeb"}),this.colors.push({colorName:"light-eggplant",colorCode:"#76448a"}),this.colors.push({colorName:"dark-lilac-two",colorCode:"#9773a8"}),this.colors.push({colorName:"pale-purple",colorCode:"#b8a0c5"}),this.colors.push({colorName:"light-violet",colorCode:"#dcd0e0"})}getColorCode(n){const l=this.colors.filter(w=>w.colorName===n)[0];return l?l.colorCode:""}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),Mc=(()=>{class a{constructor(n){this.colorService=n,this.disabled=!1,this.switchState=new e.vpe}ngOnInit(){this.inactiveColor=this.colorService.getColorCode(this.offColor),this.activeColor=this.colorService.getColorCode(this.onColor)}onChange(n){this.switchState.emit(n)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(da))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-toggle-switch"]],inputs:{setState:"setState",offColor:"offColor",onColor:"onColor",disabled:"disabled"},outputs:{switchState:"switchState"},ngContentSelectors:pe,decls:4,vars:4,consts:[[1,"switch-wrapper"],[3,"color","defaultBgColor","checked","disabled","change"],[1,"content"]],template:function(n,l){1&n&&(e.F$t(),e.TgZ(0,"div",0)(1,"ui-switch",1),e.NdJ("change",function(E){return l.onChange(E)}),e.qZA(),e.TgZ(2,"span",2),e.Hsn(3),e.qZA()()),2&n&&(e.xp6(1),e.Q6J("color",l.activeColor)("defaultBgColor",l.inactiveColor)("checked",!!l.setState)("disabled",l.disabled))},directives:[Ln.ob],styles:[".switch-wrapper[_ngcontent-%COMP%]{height:32px;display:inline-block;line-height:32px}.content[_ngcontent-%COMP%]{display:inline-block;float:right;padding-left:15px;color:#7e6787;font-size:14px} .switch-medium{vertical-align:middle!important} .switch-medium small{width:26px!important;height:26px!important;top:2px!important} .switch-medium.checked small{left:22px!important}"]}),a})(),im=(()=>{class a{transform(n){if(!n)return"";const l=new Map;return l.set(b.y34.playingAndExploring,"lightish-blue-two"),l.set(b.y34.activeLearning,"dodger-blue-three"),l.set(b.y34.creatingAndThinkingCritically,"azure-two"),l.get(n)||n.toString()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"coelAreaColor",type:a,pure:!0}),a})(),$u=(()=>{class a{transform(n){if(!n)return"";const l=new Map;return l.set(b.y34.activeLearning,"Active Learning"),l.set(b.y34.creatingAndThinkingCritically,"Creating and Thinking Critically"),l.set(b.y34.playingAndExploring,"Playing and Exploring"),l.get(n)||n.toString()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"coelAreaName",type:a,pure:!0}),a})(),wd=(()=>{class a{transform(n){if(!n)return"";const l=new Map;return l.set(b.$j1.findingOutAndExploring,"lightish-blue"),l.set(b.$j1.playingWithWhatTheyKnow,"lavender-blue-two"),l.set(b.$j1.beingWillingToHaveAGo,"pastel-blue"),l.set(b.$j1.beingInvolvedAndConcentrating,"dodger-blue"),l.set(b.$j1.keepingTrying,"sky-blue-two"),l.set(b.$j1.enjoyingAchievingWhatTheySetOutToDo,"pastel-blue-two"),l.set(b.$j1.havingTheirOwnIdeas,"dark-sky-blue-four"),l.set(b.$j1.makingLinks,"lightblue-two"),l.set(b.$j1.choosingWaysToDoThings,"light-blue-two"),l.get(n)||n.toString()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"coelAspectColor",type:a,pure:!0}),a})(),qu=(()=>{class a{transform(n){if(!n)return"";const l=new Map;return l.set(b.$j1.beingInvolvedAndConcentrating,"Being involved and Concentrating"),l.set(b.$j1.beingWillingToHaveAGo,"Being willing to 'have a go'"),l.set(b.$j1.choosingWaysToDoThings,"Choosing ways to do things"),l.set(b.$j1.enjoyingAchievingWhatTheySetOutToDo,"Enjoying achieving what they set out to do"),l.set(b.$j1.findingOutAndExploring,"Finding out and exploring"),l.set(b.$j1.havingTheirOwnIdeas,"Having their own ideas"),l.set(b.$j1.keepingTrying,"Keep on trying"),l.set(b.$j1.makingLinks,"Making links"),l.set(b.$j1.playingWithWhatTheyKnow,"Playing with what they know"),l.get(n)||n.toString()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"coelAspectName",type:a,pure:!0}),a})(),Td=(()=>{class a{transform(n){if(!n)return n;const l=n.substr(n.length-1);return"s"===l.toLowerCase()?n+"'":l===l.toUpperCase()?n+"'S":n+"'s"}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"correctPossessive",type:a,pure:!0}),a})(),rm=(()=>{class a{transform(n){if(!n)return"";const l=new Map;return l.set(b.M66.communicationAndLanguage,"Communication and Language"),l.set(b.M66.physicalDevelopment,"Physical Development"),l.set(b.M66.psed,"Personal, Social and Emotional Development"),l.set(b.M66.literacy,"Literacy"),l.set(b.M66.mathematics,"Mathematics"),l.set(b.M66.understandingTheWorld,"Understanding the World"),l.set(b.M66.expressiveArtsAndDesign,"Expressive Arts and Design"),l.get(n)||(null==n?void 0:n.toString())}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"eyfsAreaName",type:a,pure:!0}),a})(),nl=(()=>{class a{transform(n){if(!n)return"";const l=new Map;return l.set(b.M66.communicationAndLanguage,"comment-o"),l.set(b.M66.physicalDevelopment,"child-o"),l.set(b.M66.psed,"smile-o"),l.set(b.M66.literacy,"book"),l.set(b.M66.mathematics,"calculator"),l.set(b.M66.understandingTheWorld,"globe"),l.set(b.M66.expressiveArtsAndDesign,"paint-brush"),l.get(n)||n.toString()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"eyfsAreaIcon",type:a,pure:!0}),a})(),Ju=(()=>{class a{constructor(){this.ageRangeMap=new Map([[b.Ibb.age_00_To_11,new La(0,11)],[b.Ibb.age_08_To_20,new La(8,20)],[b.Ibb.age_16_To_26,new La(16,26)],[b.Ibb.age_22_To_36,new La(22,36)],[b.Ibb.age_30_To_50,new La(30,50)],[b.Ibb.age_40_To_60,new La(40,60)],[b.Ibb.birthToThreeYears,new La(0,36)],[b.Ibb.threeToFourYears,new La(36,48)],[b.Ibb.fourToFiveYears,new La(48,60)]])}transform(n){if(!n)return"";if(n===b.Ibb.age_40_To_60)return"40 - 60+";const l=this.getAgeRangeForAgeBand(n);return null==l?null:l?`${l.minAgeMonths} - ${l.maxAgeMonths}`:n.toString()}getAgeRangeForAgeBand(n){return this.ageRangeMap.get(n)||null}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"eyfsAspectAgeBandPipe",type:a,pure:!0}),a})();class La{constructor(_,n){this.minAgeMonths=_,this.maxAgeMonths=n}}let om=(()=>{class a{transform(n){const l=new Map;return l.set(b.kd6.listeningAndAttention,"Listening and attention"),l.set(b.kd6.understanding,"Understanding"),l.set(b.kd6.speaking,"Speaking"),l.set(b.kd6.movingAndHandling,"Moving and handling"),l.set(b.kd6.healthAndSelfCare,"Health and selfcare"),l.set(b.kd6.makingRelationships,"Making relationships"),l.set(b.kd6.selfConfidenceAndSelfAwareness,"Self confidence and self awareness"),l.set(b.kd6.managingFeelingsAndBehaviour,"Managing feelings and behaviour"),l.set(b.kd6.reading,"Reading"),l.set(b.kd6.writing,"Writing"),l.set(b.kd6.numbers,"Numbers"),l.set(b.kd6.shapeSpaceAndMeasure,"Shape, space and measure"),l.set(b.kd6.peopleAndCommunities,"People and communities"),l.set(b.kd6.theWorld,"The world"),l.set(b.kd6.technology,"Technology"),l.set(b.kd6.beingImaginative,"Being imaginative"),l.set(b.kd6.exploringMediaAndMaterials,"Exploring and using media and materials"),l.get(n)||n.toString()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"eyfsAspectNamePipe",type:a,pure:!0}),a})(),Qu=(()=>{class a{transform(n){const l=new Map;return l.set(b.kd6.listeningAndAttention,"peacock-blue"),l.set(b.kd6.understanding,"cerulean-blue"),l.set(b.kd6.speaking,"sky-blue"),l.set(b.kd6.movingAndHandling,"medium-green"),l.set(b.kd6.healthAndSelfCare,"soft-green"),l.set(b.kd6.makingRelationships,"medium-pink"),l.set(b.kd6.selfConfidenceAndSelfAwareness,"pinky"),l.set(b.kd6.managingFeelingsAndBehaviour,"pale-rose-two"),l.set(b.kd6.reading,"tomato"),l.set(b.kd6.writing,"pastel-red"),l.set(b.kd6.numbers,"macaroni-and-cheese"),l.set(b.kd6.shapeSpaceAndMeasure,"maize"),l.set(b.kd6.peopleAndCommunities,"tealish"),l.set(b.kd6.theWorld,"seafoam-blue"),l.set(b.kd6.technology,"seafoam-blue-two"),l.set(b.kd6.exploringMediaAndMaterials,"faded-blue"),l.set(b.kd6.beingImaginative,"light-grey-blue"),l.get(n)||n.toString()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"eyfsAspectPillColorPipe",type:a,pure:!0}),a})(),sm=(()=>{class a{transform(n){if(!n)return"";const l=new Map;return l.set(b.M66.communicationAndLanguage,"peacock-blue"),l.set(b.M66.physicalDevelopment,"medium-green"),l.set(b.M66.psed,"medium-pink"),l.set(b.M66.literacy,"tomato"),l.set(b.M66.mathematics,"macaroni-and-cheese"),l.set(b.M66.understandingTheWorld,"tealish"),l.set(b.M66.expressiveArtsAndDesign,"faded-blue"),l.get(n)||n.toString()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"eyfsAreaColor",type:a,pure:!0}),a})(),am=(()=>{class a{transform(n){if(!n)return"";const l=new Map;return l.set(b.M66.communicationAndLanguage,"CL"),l.set(b.M66.physicalDevelopment,"PD"),l.set(b.M66.psed,"PSED"),l.set(b.M66.literacy,"Literacy"),l.set(b.M66.mathematics,"Maths"),l.set(b.M66.understandingTheWorld,"World"),l.set(b.M66.expressiveArtsAndDesign,"EAD"),l.get(n)||n.toString()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"eyfsAreaAbbreviation",type:a,pure:!0}),a})(),Hl=(()=>{class a{transform(n){const l=new Map;return l.set(b.DBB.listeningAttentionUnderstanding,"Listening, Attention and Understanding"),l.set(b.DBB.speaking,"Speaking"),l.set(b.DBB.selfRegulation,"Self-Regulation"),l.set(b.DBB.managingSelf,"Managing Self"),l.set(b.DBB.buildingRelationships,"Building Relationships"),l.set(b.DBB.grossMotorSkills,"Gross Motor Skills"),l.set(b.DBB.fineMotorSkills,"Fine Motor Skills"),l.set(b.DBB.comprehension,"Comprehension"),l.set(b.DBB.wordReading,"Word Reading"),l.set(b.DBB.writing,"Writing"),l.set(b.DBB.numbers,"Numbers"),l.set(b.DBB.numericalPatterns,"Numerical Patterns"),l.set(b.DBB.pastPresent,"Past and Present"),l.set(b.DBB.peopleCultureCommunities,"People, Culture and Communities"),l.set(b.DBB.theNaturalWorld,"The Natural World"),l.set(b.DBB.creatingWithMaterials,"Creating With Materials"),l.set(b.DBB.beingImaginativeExpressive,"Being Imaginative and Expressive"),l.get(n)||n.toString()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"eyfsEarlyLearningAreaNamePipe",type:a,pure:!0}),a})(),Al=(()=>{class a{transform(n){const l=new Map;return l.set(b.vwP.none,"None"),l.set(b.vwP.emerging,"Emerging"),l.set(b.vwP.expected,"Expected"),l.set(b.vwP.exceeding,"Exceeding"),l.get(n)||n.toString()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"eyfsEarlyLearningGoalNamePipe",type:a,pure:!0}),a})(),Sc=(()=>{class a{transform(n,l=25,w=!1,E="..."){return w&&(l=n.substr(0,l).lastIndexOf(" ")),n.length>l?n.substr(0,l)+E:n}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"truncate",type:a,pure:!0}),a})(),Ra=(()=>{class a{transform(n,l){return n.toLowerCase().replace(/[^0-9a-z -]/g,"").replace(/ /g,"-").replace(/--/g,"-")}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"dataIdSafePipe",type:a,pure:!0}),a})(),Yl=(()=>{class a{transform(n,l){switch(n){case b.$nf.ToiletingTypeKey.nappy:switch(l){case b.$nf.NappyStatus.clean:return"Dry";case b.$nf.NappyStatus.wet:return"Wet";case b.$nf.NappyStatus.soiled:return"Soiled";case b.$nf.NappyStatus.wetAndSoiled:return"Wet and Soiled"}break;case b.$nf.ToiletingTypeKey.potty:case b.$nf.ToiletingTypeKey.toilet:switch(l){case b.$nf.NappyStatus.clean:return"Dry";case b.$nf.NappyStatus.wet:return"Wee";case b.$nf.NappyStatus.soiled:return"Poo";case b.$nf.NappyStatus.wetAndSoiled:return"Wee and Poo"}}return""}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"toiletChangeTypeDescription",type:a,pure:!0}),a})(),El=(()=>{class a{transform(n,l){let jt,zt;n<1024?(zt=" B",jt=n):n>=1024&&n<1048576?(zt=" KB",jt=n/1024):n>=1048576&&n<1073741824?(zt=" MB",jt=n/1048576):n>=1073741824&&n<1099511627776?(zt=" GB",jt=n/1073741824):(zt=" TB",jt=n/1099511627776);const yn=Math.pow(10,l||0);return(Math.round(jt*yn)/yn).toString()+zt}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"fileSize",type:a,pure:!0}),a})(),Xu=(()=>{class a{transform(n,l=new Date){return Nn(l).diff(n,"month",!1)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275pipe=e.Yjl({name:"ageInMonths",type:a,pure:!0}),a})(),eh=(()=>{class a{constructor(n){this.currencyPipe=n}transform(n,l="GBP",w="symbol-narrow",E="1.2-2"){return null==n?"":(n instanceof In.Z&&(n=n.toNumber()),""===n||isNaN(Number(n))?"Invalid":(n<0?"-":"")+this.currencyPipe.transform(Math.abs(Number(n)),l,w,E))}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(u.H9,16))},a.\u0275pipe=e.Yjl({name:"currencyFormat",type:a,pure:!0}),a})(),xc=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({providers:[xl,Yl]}),a})(),Md=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({providers:[da]}),a})(),Sd=(()=>{class a{constructor(){this.secondaryButtonText="Cancel",this.modalClosed=new e.vpe,this.modalShown=new e.vpe}resolve(n){this.modal.resolve(n)}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-two-button-modal"]],viewQuery:function(n,l){if(1&n&&e.Gf(ie,5),2&n){let w;e.iGM(w=e.CRH())&&(l.modal=w.first)}},inputs:{dialogName:"dialogName",modalTitle:"modalTitle",buttonText:"buttonText",icon:"icon",backgroundColor:"backgroundColor",disableScrolling:"disableScrolling",secondaryButtonText:"secondaryButtonText",pageObjectName:"pageObjectName"},outputs:{modalClosed:"modalClosed",modalShown:"modalShown"},ngContentSelectors:pe,decls:7,vars:12,consts:[[3,"dialogName","icon","backgroundColor","modalTitle","disableScrolling","pageObjectName","modalShown","modalClosed"],["modal",""],[1,"body"],[1,"footer"],[3,"buttonText","click"]],template:function(n,l){if(1&n){const w=e.EpF();e.F$t(),e.TgZ(0,"pa-large-header-modal",0,1),e.NdJ("modalShown",function(){return l.modalShown.emit(!0)})("modalClosed",function(){return l.modalClosed.emit(!0)}),e.TgZ(2,"div",2),e.Hsn(3),e.qZA(),e.TgZ(4,"div",3)(5,"pa-text-button-updated",4),e.NdJ("click",function(){return e.CHM(w),e.MAs(1).resolve(!1)}),e.qZA(),e.TgZ(6,"pa-primary-button",4),e.NdJ("click",function(){return e.CHM(w),e.MAs(1).resolve(!0)}),e.qZA()()()}2&n&&(e.Q6J("dialogName",l.dialogName)("icon",l.icon)("backgroundColor",l.backgroundColor)("modalTitle",l.modalTitle)("disableScrolling",l.disableScrolling)("pageObjectName",l.pageObjectName),e.uIk("data-id",l.dialogName+"-modal"),e.xp6(2),e.uIk("data-id",l.dialogName+"-modal-body"),e.xp6(3),e.Q6J("buttonText",l.secondaryButtonText),e.uIk("data-id",l.dialogName+"-cancelButton"),e.xp6(1),e.Q6J("buttonText",l.buttonText),e.uIk("data-id",l.dialogName+"-resolveButton"))},directives:[pc,uc,Ea],styles:[".modal-outer[_ngcontent-%COMP%]{display:flex;top:0;left:0;position:fixed;height:100%;width:100%;background-color:#320d42b3;z-index:998;cursor:default;max-height:100%;align-items:center;justify-content:center}.modal[_ngcontent-%COMP%]{min-height:100px;margin:auto;border-radius:10px;background-color:#fff;z-index:999;display:inline-block;min-width:499px;max-height:100%;max-width:825px}@media (max-width: 1690px){.modal[_ngcontent-%COMP%]{max-height:98%;max-width:896px}}@media (max-width: 500px){.modal[_ngcontent-%COMP%]{max-width:0;min-width:100%}.modal-outer[_ngcontent-%COMP%]{padding:10px}}.modal[_ngcontent-%COMP%]{max-width:90%;width:499px}.body[_ngcontent-%COMP%]{padding-left:30px;padding-right:30px;text-align:left;overflow-y:auto}.footer[_ngcontent-%COMP%]{float:right;margin:30px;display:flex;justify-content:space-between;align-items:center}.header[_ngcontent-%COMP%]{color:#fff;font-size:18px;height:130px;width:100%;line-height:100%;display:inline-flex;border-top-left-radius:10px;border-top-right-radius:10px}.pa-button-primary[_ngcontent-%COMP%]{float:right}#message[_ngcontent-%COMP%]{font-size:16px;padding-top:20px}#title[_ngcontent-%COMP%]{line-height:130px;vertical-align:middle;margin:auto auto auto 20px}i[_ngcontent-%COMP%]{font-size:30px;line-height:130px;padding-left:30px;vertical-align:middle}.background-wisteria[_ngcontent-%COMP%]{background-color:#b282c6;color:#fff}.background-dodger-blue-two[_ngcontent-%COMP%]{background-color:#42a5f5;color:#fff}.background-tomato[_ngcontent-%COMP%]{background-color:#e53935;color:#fff}.background-tangerine[_ngcontent-%COMP%]{background-color:#fb8c00;color:#fff}"]}),a})(),Dc=(()=>{class a{ngOnInit(){this.dialogName||(this.dialogName="deleteObservationMediaDialog")}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-delete-observation-media-modal"]],viewQuery:function(n,l){if(1&n&&e.Gf(ie,5),2&n){let w;e.iGM(w=e.CRH())&&(l.modal=w.first)}},inputs:{mediaType:"mediaType",modalTitle:"modalTitle",buttonText:"buttonText",dialogName:"dialogName"},decls:3,vars:4,consts:[["backgroundColor","tangerine","icon","exclamation-circle",3,"dialogName","modalTitle","buttonText"]],template:function(n,l){1&n&&(e.TgZ(0,"pa-two-button-modal",0)(1,"p"),e._uU(2),e.qZA()()),2&n&&(e.Q6J("dialogName",l.dialogName)("modalTitle",l.modalTitle)("buttonText",l.buttonText),e.xp6(2),e.hij("Please confirm that you wish to delete this ",l.mediaType," from the observation."))},directives:[Sd],styles:[""]}),a})(),th=(()=>{class a{constructor(){this.sizeMode="large",this.onAddClicked=new e.vpe}addClicked(){this.onAddClicked.emit()}getTitleClass(){return this.sizeMode?`media-tile-uploader-${this.sizeMode}`:"media-tile-uploader-large"}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-observation-upload-tile"]],inputs:{id:"id",isPhotoVideoOnly:"isPhotoVideoOnly",sizeMode:"sizeMode"},outputs:{onAddClicked:"onAddClicked"},decls:6,vars:6,consts:[["data-id","'media-tile-uploader-' + id ",1,"media-tile-uploader",3,"ngClass","click"],[1,"media-tile-content"],[1,"icon-content"],[1,"icon","fa","fa-3x"],[1,"media-title"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e.NdJ("click",function(){return l.addClicked()}),e.TgZ(1,"div",1)(2,"span",2),e._UZ(3,"i",3),e.qZA(),e.TgZ(4,"div",4),e._uU(5),e.qZA()()()),2&n&&(e.Q6J("ngClass",l.getTitleClass()),e.xp6(3),e.ekj("fa-fa-camera-plus",l.isPhotoVideoOnly)("fa-file",!l.isPhotoVideoOnly),e.xp6(2),e.Oqu(l.isPhotoVideoOnly?"Add photo or video":"Add file"))},directives:[u.mk],styles:[".media-tile-uploader[_ngcontent-%COMP%]{width:211px;border:dashed 2px #ba25b2;vertical-align:top;background-color:#ede7f0;cursor:pointer;flex:1 1 auto;-webkit-user-select:none;user-select:none}.media-tile-uploader[_ngcontent-%COMP%] .media-tile-content[_ngcontent-%COMP%]{margin-top:90px;color:#ba25b2;text-align:center;border-radius:4px}.media-tile-uploader[_ngcontent-%COMP%] .media-tile-content[_ngcontent-%COMP%] .icon-content[_ngcontent-%COMP%]{color:#ba25b2}.media-tile-uploader[_ngcontent-%COMP%] .media-tile-content[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:24px}.media-tile-uploader[_ngcontent-%COMP%] .media-tile-content[_ngcontent-%COMP%] .media-title[_ngcontent-%COMP%]{height:32px;font-size:14px;line-height:1.43;letter-spacing:normal;color:#ba25b2}.media-tile-uploader-large[_ngcontent-%COMP%]{height:280px}.media-tile-uploader-small[_ngcontent-%COMP%]{height:250px}"]}),a})();const kc=["avi","flv","mov","mp4","wmv"],xd=["image/jpg","image/png","image/gif","image/jpeg","video/avi","video/x-ms-wmv","video/quicktime","video/mp4","video/x-flv",".flv"],nh=["jpg","png","gif","jpeg","avi","wmv","mov","mp4","flv"];let ih=(()=>{class a{constructor(n){this.sanitizer=n,this.isFileUploaded=new e.vpe,this.onEditClicked=new e.vpe,this.onDeleteClicked=new e.vpe,this.onDownloadClicked=new e.vpe,this.onParentPortalClicked=new e.vpe,this.onThumbnailClicked=new e.vpe,this.id=o.h.UUID()}ngOnInit(){this.displayFileItem={fileId:this.fileItem.fileId,fileName:this.fileItem.fileName,fileSize:this.fileItem.fileSize,url:this.sanitizer.bypassSecurityTrustUrl(this.fileItem.url),fileUploadedPercentage:this.fileItem.fileUploadedPercentage,isUploadInProgress:this.fileItem.isUploadInProgress,showInParentPortal:this.fileItem.showInParentPortal,thumbnailUrl:this.fileItem.thumbnailUrl}}hasThumbnail(){let n=this.fileItem.fileName.split(".").pop().toLocaleLowerCase();if(this.fileItem.url){const w=this.fileItem.url;(this.fileItem.url.toString().includes(".Large?temp_")||this.fileItem.url.toString().includes(".Small?temp_")||this.fileItem.url.toString().includes(".Medium?temp_"))&&(n=w.split(".")[w.split(".").length-2].toLowerCase()),""===n&&w.indexOf("data:")>-1&&(n=w.substring(11,w.indexOf(";base64")))}return n.indexOf("?temp_")>-1&&(n=n.substring(0,n.indexOf("?temp_"))),Dl.indexOf(n.toLowerCase())>-1}sanitizeUrl(n){return"object"==typeof n?n:this.sanitizer.bypassSecurityTrustUrl(n)}isNotUploadingAndHasThumbnail(){return this.hasThumbnail()&&!this.fileItem.isUploadInProgress}mediaTypesForBrowser(){return xd.map(n=>"."+n).join(", ")}updateFileItem(n){n.showInParentPortal=this.fileItem.showInParentPortal,this.fileItem=n}editClicked(n){this.onEditClicked.emit(n)}deleteClicked(n){this.onDeleteClicked.emit(n)}setParentPortal(n){n.showInParentPortal=!n.showInParentPortal,this.onParentPortalClicked.emit(n)}thumbnailClicked(n){this.isImageOrVideo(n)&&this.onThumbnailClicked.emit(n)}isImageOrVideo(n){const l=n.fileName.split(".").pop().toLocaleLowerCase();return Dl.includes(l)||kc.includes(l)}isEditable(n){const l=n.fileName.split(".").pop().toLocaleLowerCase();return Dl.includes(l)&&!n.isUploadInProgress}getFileIcon(n){const l=n.fileName.split(".").pop().toLocaleLowerCase(),w="icon fa fa-file-";return"docx"===l?`${w}word`:"xlsx"===l?`${w}excel`:"pdf"===l?`${w}pdf`:`${w}light`}downloadFile(n){this.onDownloadClicked.emit(n)}getImageClass(){return this.disableParentPortalToggle?"media-tile-image-container-large":"media-tile-image-container-small"}getPillContainerClass(){return this.disableParentPortalToggle?"":"media-tile-pill-container-padding"}getTitleClass(){return this.disableParentPortalToggle?"media-tile-small":"media-tile-large"}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(d.H7))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-observation-media-tile"]],viewQuery:function(n,l){if(1&n&&(e.Gf(th,5),e.Gf(Fs,5)),2&n){let w;e.iGM(w=e.CRH())&&(l.uploadComponent=w.first),e.iGM(w=e.CRH())&&(l.fileUploader=w.first)}},inputs:{fileItem:"fileItem",progressValue:"progressValue",disableEdit:"disableEdit",disableParentPortalToggle:"disableParentPortalToggle",isPhotoVideoOnly:"isPhotoVideoOnly"},outputs:{isFileUploaded:"isFileUploaded",onEditClicked:"onEditClicked",onDeleteClicked:"onDeleteClicked",onDownloadClicked:"onDownloadClicked",onParentPortalClicked:"onParentPortalClicked",onThumbnailClicked:"onThumbnailClicked"},decls:16,vars:15,consts:[[1,"media-tile",3,"ngClass"],[1,"media-tile-image-container",3,"ngClass"],[1,"media-tile-image",3,"ngClass","click"],[3,"thumbnailUrl","imageUrl",4,"ngIf"],["class","media-tile-icon-container",4,"ngIf"],[1,"media-tile-label"],[1,"media-tile-detail-container"],[1,"media-tile-pill-container",3,"ngClass"],[4,"ngIf"],[3,"fileUploadedPercentage","fileTotalSize",4,"ngIf"],["class","media-tile-action-icon-container",3,"click",4,"ngIf"],[3,"thumbnailUrl","imageUrl"],[1,"media-tile-icon-container"],[3,"ngClass"],["class","media-tile-label",4,"ngIf"],["offColor","heather-two","onColor","barney",3,"setState","switchState",4,"ngIf"],["offColor","heather-two","onColor","barney",3,"setState","switchState"],[3,"fileUploadedPercentage","fileTotalSize"],[1,"media-tile-action-icon-container",3,"click"],[1,"icon","fa","fa-download"],[1,"icon","fa","fa-pencil"],[1,"icon","fa","fa-trash"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2),e.NdJ("click",function(){return l.thumbnailClicked(l.fileItem)}),e.YNc(3,ar,1,2,"pa-file-thumbnail",3),e.YNc(4,x,2,1,"span",4),e.qZA(),e.TgZ(5,"div",5),e._uU(6),e.ALo(7,"truncate"),e.qZA()(),e.TgZ(8,"div",6)(9,"div",7),e.YNc(10,Fe,3,2,"ng-container",8),e.YNc(11,ht,1,2,"pa-progress-bar",9),e.qZA(),e.TgZ(12,"div"),e.YNc(13,qt,2,1,"span",10),e.YNc(14,t,2,1,"span",10),e.YNc(15,ge,2,1,"span",10),e.qZA()()()),2&n&&(e.Q6J("ngClass",l.getTitleClass()),e.xp6(1),e.Q6J("ngClass",l.getImageClass()),e.xp6(1),e.Q6J("ngClass",l.isImageOrVideo(l.fileItem)&&!l.disableEdit?"pointer":""),e.uIk("data-id","file-thumbnail-"+l.id),e.xp6(1),e.Q6J("ngIf",l.isNotUploadingAndHasThumbnail()),e.xp6(1),e.Q6J("ngIf",!l.hasThumbnail()),e.xp6(2),e.Oqu(e.lcZ(7,13,l.displayFileItem.fileName)),e.xp6(3),e.Q6J("ngClass",l.getPillContainerClass()),e.xp6(1),e.Q6J("ngIf",!l.disableParentPortalToggle),e.xp6(1),e.Q6J("ngIf",l.displayFileItem.isUploadInProgress),e.xp6(2),e.Q6J("ngIf",!l.isImageOrVideo(l.fileItem)),e.xp6(1),e.Q6J("ngIf",l.isEditable(l.fileItem)&&!l.disableEdit),e.xp6(1),e.Q6J("ngIf",!l.fileItem.isUploadInProgress))},directives:[em,Mc,gg,u.mk,u.O5],pipes:[Sc],styles:[".media-tile[_ngcontent-%COMP%]{width:211px;height:270px;background-color:#fff;border-radius:4px;box-shadow:0 3px 10px #320d4226;-webkit-user-select:none;user-select:none;flex:1 1 auto;margin:0 10px 20px 0}.media-tile[_ngcontent-%COMP%] .media-tile-image-container[_ngcontent-%COMP%]{text-align:center;text-overflow:ellipsis;overflow:hidden;border-left:10px solid #fff;border-right:10px solid #fff}.media-tile[_ngcontent-%COMP%] .media-tile-image-container[_ngcontent-%COMP%] .media-tile-image[_ngcontent-%COMP%]{padding-bottom:9px;text-align:center;padding-top:22px;display:flex;justify-content:center;align-items:center}.media-tile[_ngcontent-%COMP%] .media-tile-image-container[_ngcontent-%COMP%] .media-tile-image[_ngcontent-%COMP%] .media-tile-photo[_ngcontent-%COMP%]{height:120px}.media-tile[_ngcontent-%COMP%] .media-tile-image-container[_ngcontent-%COMP%] .media-tile-image[_ngcontent-%COMP%] .media-tile-icon-container[_ngcontent-%COMP%]{margin-right:0}.media-tile[_ngcontent-%COMP%] .media-tile-image-container[_ngcontent-%COMP%] .media-tile-image[_ngcontent-%COMP%] .media-tile-icon-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#7e6787;font-size:120px}.media-tile[_ngcontent-%COMP%] .media-tile-detail-container[_ngcontent-%COMP%]{text-align:center;display:flex;flex-direction:column;justify-content:flex-end}.media-tile[_ngcontent-%COMP%] .media-tile-action-icon-container[_ngcontent-%COMP%]{width:20px;height:21px;padding:6px;font-size:24px;color:#a98ab6;cursor:pointer}.medium-pill[_ngcontent-%COMP%]{display:inline-block;position:relative;height:36px;border-radius:20px;background-color:#fff;border:solid 2px #cbb9d3;text-align:center;min-width:90px;cursor:pointer}.media-tile[_ngcontent-%COMP%] .media-tile-image-container[_ngcontent-%COMP%] .media-tile-image[_ngcontent-%COMP%] .media-tile-icon-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#dcd0e2}.pointer[_ngcontent-%COMP%]:hover{cursor:pointer}.media-tile-image-container-large[_ngcontent-%COMP%]{height:190px}.media-tile-image-container-small[_ngcontent-%COMP%]{height:170px}.media-tile-pill-container-padding[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}.media-tile-large[_ngcontent-%COMP%]{height:280px}.media-tile-small[_ngcontent-%COMP%]{height:250px}.media-tile-label[_ngcontent-%COMP%]{margin-bottom:5px;font-size:14px;text-align:center;height:14px;color:#320d42}"]}),a})();const rh=["bat","exe","rar","zip"];let oh=(()=>{class a{constructor(n,l,w){this.modalService=n,this.platformService=l,this.zone=w,this.fileItemsAdded=[],this.fileItems=[],this.modalTitle="Invalid file type",this.errorMessage="The file type of your photo/video is not valid. Please ensure your photo/video uses one of the following formats: JPG, PNG, GIF, AVI, FLV, WMV, MOV or MP4.",this.mediaFileTypes=nh,this.mediaMimes=xd,this.fileDeleted=new e.vpe,this.fileDownloaded=new e.vpe,this.onEditClicked=new e.vpe,this.onParentPortalClicked=new e.vpe,this.onFileAdded=new e.vpe,this.onThumbnailClicked=new e.vpe,this.onUploadError=new e.vpe,this.onPermissionsRequired=new e.vpe,this.currentIndex=-1,this.mediaTypes=xd,this.id=o.h.UUID(),this.dialogName="OOPS-Dialog-"+this.id.toString()}observationTileEditClicked(n){this.onEditClicked.emit(n)}observationTileDeleteClicked(n){return(0,g.mG)(this,void 0,void 0,function*(){this.fileDeleted.emit(n)})}observationTileDownloadClicked(n){return(0,g.mG)(this,void 0,void 0,function*(){this.fileDownloaded.emit(n)})}androidShowUploadOptions(){return(0,g.mG)(this,void 0,void 0,function*(){yield this.openChooser()})}observationTileAddClicked(){return(0,g.mG)(this,void 0,void 0,function*(){this.platformService.isAndroid()?yield this.androidShowUploadOptions():this.fileUploader.nativeElement.click(),this.currentIndex=-1})}openCamera(n){return(0,g.mG)(this,void 0,void 0,function*(){try{if(n.resolve(),"granted"!==(yield Ie.checkPermissions()).camera&&"granted"!==(yield Ie.requestPermissions({permissions:["camera"]})).camera)throw new Error("Camera permission is required");const w=yield Ie.getPhoto({quality:90,allowEditing:!1,resultType:Tn.Uri,source:Hn.Camera,height:1920,width:1920,correctOrientation:!0});yield this.getFileAndUploadFromUrl(w.webPath)}catch(l){console.log(l),this.onUploadError.emit(l)}})}openPhotoGallery(n){return(0,g.mG)(this,void 0,void 0,function*(){try{n.resolve();const l=yield Ie.getPhoto({quality:90,allowEditing:!1,resultType:Tn.Uri,source:Hn.Photos,correctOrientation:!0,height:1920,width:1920});yield this.getFileAndUploadFromUrl(l.webPath)}catch(l){console.log(l),this.onUploadError.emit(l)}})}observationTileParentPortalClicked(n){this.onParentPortalClicked.emit(n)}thumbnailClicked(n){this.onThumbnailClicked.emit(n)}onChange(n){const l=n;if(""!==this.fileUploader.nativeElement.value){for(const w of l.srcElement.files)if(this.isValidFileExtension(w)){const E=new FileReader;this.readFileAndEmitNewFile(w,E)}this.fileUploader.nativeElement.value=""}}ngOnChanges(n){console.log("changes are: ",n)}mediaTypesForBrowser(){return xd.join(", ")}checkPermissionsAndOpenChooser(){return(0,g.mG)(this,void 0,void 0,function*(){const n=yield Ie.checkPermissions();if(console.log("Got permission status for photos: "+n.photos),"granted"!==n.photos)return this.handleNotGrantedPermissions();console.log("Permissions granted, opening chooser"),yield this.openChooser()})}handleNotGrantedPermissions(){return(0,g.mG)(this,void 0,void 0,function*(){console.warn("User has declined permissions"),"granted"===(yield Ie.requestPermissions()).photos?yield this.openChooser():this.onPermissionsRequired.emit()})}openChooser(){return(0,g.mG)(this,void 0,void 0,function*(){yield this.modalService.showDialog("upload-action-dialog")})}openFilePicker(n){return(0,g.mG)(this,void 0,void 0,function*(){try{this.fileUploader.nativeElement.click(),n.resolve()}catch(l){console.log(l),this.onUploadError.emit(l)}})}getFileAndUpload(n,l){return(0,g.mG)(this,void 0,void 0,function*(){console.log("Converting to file from blob");const w=new File([l],n),E=new FileReader;this.readFileAndEmitNewFile(w,E)})}getFileAndUploadFromUrl(n,l){return(0,g.mG)(this,void 0,void 0,function*(){console.log("About to fetch file contents from URL");const E=yield(yield fetch(n)).blob(),Ae=l||n.split("/").pop();console.log("Fetch complete for file contents "+l),yield this.getFileAndUpload(Ae,E)})}readFileAndEmitNewFile(n,l){this.fileAdded("",n.name,n.size,{fileName:n.name,blob:n})}mediaTypesToString(){return this.listToString(this.mediaFileTypes)}blacklistTypesToString(){return this.listToString(rh)}showOopsDialog(){return(0,g.mG)(this,void 0,void 0,function*(){yield this.modalService.showDialog(this.dialogName)})}listToString(n){return n.length<2?n[0]:n.slice(0,n.length-1).join(", ").toUpperCase()+" or "+n.slice(-1).toString().toUpperCase()}isValidFileExtension(n){const l=n.name.split(".").pop().toLocaleLowerCase();return this.isExtensionValid(l)}isExtensionValid(n){return this.onlyAllowVisualMediaFiles&&!this.mediaFileTypes.includes(n)?(this.errorType="Image",this.showOopsDialog(),!1):!rh.includes(n)||(this.errorType="File",this.showOopsDialog(),!1)}isValidPhoto(n){return this.isExtensionValid(n.format)}getMediaTypeDescription(n){const l=n.fileName.split(".").pop().toLocaleLowerCase();return Dl.includes(l)?"photo":kc.includes(l)?"video":"file"}fileAdded(n,l,w,E){const Ae={fileUploadedPercentage:0,showInParentPortal:!1,fileSize:w,fileId:null,fileName:l,url:n,isUploadInProgress:!1,thumbnailUrl:n};this.onFileAdded.emit({file:E,url:n,fileItemModel:Ae}),this.fileItemsAdded.push(Ae)}getSizeAttribute(){return this.disableParentPortalToggle?"small":"large"}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(Ll),e.Y36(gc),e.Y36(e.R0b))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-observation-file-upload"]],viewQuery:function(n,l){if(1&n&&e.Gf(Fs,5),2&n){let w;e.iGM(w=e.CRH())&&(l.fileUploader=w.first)}},inputs:{fileItems:"fileItems",onlyAllowVisualMediaFiles:"onlyAllowVisualMediaFiles",disableEdit:"disableEdit",disableParentPortalToggle:"disableParentPortalToggle",mobileMode:"mobileMode",removeIndent:"removeIndent",modalTitle:"modalTitle",errorMessage:"errorMessage"},outputs:{fileDeleted:"fileDeleted",fileDownloaded:"fileDownloaded",onEditClicked:"onEditClicked",onParentPortalClicked:"onParentPortalClicked",onFileAdded:"onFileAdded",onThumbnailClicked:"onThumbnailClicked",onUploadError:"onUploadError",onPermissionsRequired:"onPermissionsRequired"},features:[e.TTD],decls:25,vars:12,consts:[[1,"observation-media-upload-container",3,"ngClass"],["buttonText","Add Photo or Video","icon","plus",3,"transparentBackground","click",4,"ngIf"],[1,"observation-media-upload-container-tiles"],[3,"fileItem","isPhotoVideoOnly","disableEdit","disableParentPortalToggle","onEditClicked","onDeleteClicked","onDownloadClicked","onParentPortalClicked","onThumbnailClicked",4,"ngFor","ngForOf"],[3,"id","isPhotoVideoOnly","sizeMode","onAddClicked",4,"ngIf"],["buttonText","Close","dialogName","upload-action-dialog","modalTitle","Add media","backgroundColor","dodger-blue-two","icon","file-image",3,"disableBodyPadding"],["fileChooserModal",""],[1,"buttons"],[1,"option",3,"click"],[1,"fa","fa-camera"],[1,"fa","fa-images"],[1,"fa","fa-file-image"],["type","file","name","fileUploader","id","file-uploader","multiple","",3,"accept","change"],["fileUploader",""],["backgroundColor","tomato","icon","times-circle",3,"dialogName","modalTitle"],[4,"ngIf"],["buttonText","Add Photo or Video","icon","plus",3,"transparentBackground","click"],[3,"fileItem","isPhotoVideoOnly","disableEdit","disableParentPortalToggle","onEditClicked","onDeleteClicked","onDownloadClicked","onParentPortalClicked","onThumbnailClicked"],[3,"id","isPhotoVideoOnly","sizeMode","onAddClicked"],["errorMessage",""]],template:function(n,l){if(1&n){const w=e.EpF();e.TgZ(0,"div",0),e.YNc(1,h,1,1,"pa-secondary-full-width-button",1),e.TgZ(2,"div",2),e.YNc(3,y,1,4,"pa-observation-media-tile",3),e.YNc(4,f,1,3,"pa-observation-upload-tile",4),e.TgZ(5,"pa-one-button-modal",5,6)(7,"div",7)(8,"div",8),e.NdJ("click",function(){e.CHM(w);const Ae=e.MAs(6);return l.openCamera(Ae)}),e._UZ(9,"i",9),e.TgZ(10,"span"),e._uU(11,"Camera (photos only)"),e.qZA()(),e.TgZ(12,"div",8),e.NdJ("click",function(){e.CHM(w);const Ae=e.MAs(6);return l.openPhotoGallery(Ae)}),e._UZ(13,"i",10),e.TgZ(14,"span"),e._uU(15,"Photo Gallery"),e.qZA()(),e.TgZ(16,"div",8),e.NdJ("click",function(){e.CHM(w);const Ae=e.MAs(6);return l.openFilePicker(Ae)}),e._UZ(17,"i",11),e.TgZ(18,"span"),e._uU(19,"Upload from files"),e.qZA()()()()(),e.TgZ(20,"input",12,13),e.NdJ("change",function(Ae){return l.onChange(Ae)}),e.qZA()(),e.TgZ(22,"pa-one-button-modal",14),e.YNc(23,Wt,5,1,"span",15),e.YNc(24,dn,5,1,"span",15),e.qZA()}2&n&&(e.Q6J("ngClass",e.VKq(10,Ht,l.removeIndent)),e.xp6(1),e.Q6J("ngIf",l.mobileMode),e.xp6(2),e.Q6J("ngForOf",l.fileItems),e.xp6(1),e.Q6J("ngIf",!l.mobileMode),e.xp6(1),e.Q6J("disableBodyPadding",!0),e.xp6(15),e.Q6J("accept",l.onlyAllowVisualMediaFiles?l.mediaTypesForBrowser():"*"),e.xp6(2),e.Q6J("dialogName",l.dialogName)("modalTitle",l.modalTitle),e.xp6(1),e.Q6J("ngIf","File"===l.errorType),e.xp6(1),e.Q6J("ngIf","Image"===l.errorType))},directives:[vc,ih,th,mc,u.mk,u.O5,u.sg],styles:[".observation-media-upload-container[_ngcontent-%COMP%]{padding:20px 0 20px 20px;background-color:#f4f1f5}.observation-media-upload-container[_ngcontent-%COMP%] pa-secondary-full-width-button[_ngcontent-%COMP%]{width:200px;display:flex;padding-bottom:20px}.observation-media-upload-container[_ngcontent-%COMP%] .observation-media-upload-container-header[_ngcontent-%COMP%]{background-color:#ede7f0;padding-bottom:10px;width:98vw}.observation-media-upload-container[_ngcontent-%COMP%] .observation-media-upload-container-header[_ngcontent-%COMP%] .observation-media-upload-container-title[_ngcontent-%COMP%]{font-weight:700}.observation-media-upload-container[_ngcontent-%COMP%] .observation-media-upload-container-header[_ngcontent-%COMP%] .observation-media-upload-container-info[_ngcontent-%COMP%]{text-transform:uppercase;color:#7e6787;font-size:12px}.observation-media-upload-container[_ngcontent-%COMP%] .observation-media-upload-container-tiles[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;border-radius:4px;background-color:#f4f1f5;border:solid 2px #dcd0e2;padding:20px 0 20px 20px}.observation-media-upload-container[_ngcontent-%COMP%] .observation-media-upload-container-tiles[_ngcontent-%COMP%] .action-container[_ngcontent-%COMP%]{position:absolute}.observation-media-upload-container[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{display:none}@media only screen and (max-width: 320px){.observation-media-upload-container[_ngcontent-%COMP%] .observation-media-upload-container-tiles[_ngcontent-%COMP%]{overflow:auto;flex-wrap:nowrap;flex-direction:column}}@media not screen and (max-width: 320px){.observation-media-upload-container[_ngcontent-%COMP%] .observation-media-upload-container-tiles[_ngcontent-%COMP%]{align-items:flex-start;flex-direction:row}}@media (max-width: 450px){.observation-media-upload-container[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{font-size:14px}.observation-media-upload-container[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]{font-size:30px}}.remove-indent[_ngcontent-%COMP%]{padding:20px 0}.buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-around;padding:15px;grid-gap:5px;gap:5px}.buttons[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{padding:15px 0;border-radius:5px;border:solid 1px #dcd0e2;height:100px;width:160px;display:flex;flex-direction:column;justify-content:space-between;text-align:center}.buttons[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]{font-size:70px}"]}),a})(),bs=(()=>{class a{constructor(){}ngOnInit(){}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-static-one-button-modal"]],inputs:{buttonText:"buttonText",modalTitle:"modalTitle",dialogName:"dialogName",backgroundColor:"backgroundColor",icon:"icon",modalText:"modalText"},decls:3,vars:6,consts:[["data-id","static-one-button-modal",3,"buttonText","modalTitle","dialogName","backgroundColor","icon"],["data-id","static-modal-text",1,"body-text"]],template:function(n,l){1&n&&(e.TgZ(0,"pa-one-button-modal",0)(1,"div",1),e._uU(2),e.qZA()()),2&n&&(e.Q6J("buttonText",l.buttonText)("modalTitle",l.modalTitle)("dialogName",l.dialogName)("backgroundColor",l.backgroundColor)("icon",l.icon),e.xp6(2),e.Oqu(l.modalText))},directives:[mc],styles:[".body-text[_ngcontent-%COMP%]{padding-top:15px}"]}),a})(),lm=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-data-heading"]],inputs:{subHeadingNote:"subHeadingNote",headingText:"headingText"},decls:3,vars:2,consts:[[1,"sub-heading"],["class","sub-heading-note",4,"ngIf"],[1,"sub-heading-note"]],template:function(n,l){1&n&&(e.TgZ(0,"span",0),e._uU(1),e.YNc(2,vs,2,1,"span",1),e.qZA()),2&n&&(e.xp6(1),e.hij(" ",l.headingText," "),e.xp6(1),e.Q6J("ngIf",l.subHeadingNote))},directives:[u.O5],styles:["span.sub-heading[_ngcontent-%COMP%]{display:block;height:30px;font-size:16px;font-weight:700;line-height:1.1;color:#320d42;border:none;border-bottom:solid 1px #ede7f0;margin-bottom:15px;margin-top:15px}.sub-heading-note[_ngcontent-%COMP%]{font-size:14px}"]}),a})(),sh=(()=>{class a{valueIsEmpty(){return!this.labelAndValue.valuePillList&&!this.labelAndValue.valueText}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-label-and-value"]],inputs:{labelAndValue:"labelAndValue",dataIdPrefix:"dataIdPrefix"},decls:7,vars:7,consts:[[1,"label"],[1,"value"],[4,"ngIf"],["class","no-description",4,"ngIf"],[3,"class","textColor","text","iconClass","iconColor",4,"ngFor","ngForOf"],[3,"textColor","text","iconClass","iconColor"],[1,"no-description"]],template:function(n,l){1&n&&(e.TgZ(0,"span",0),e._uU(1),e.qZA(),e.TgZ(2,"span",1),e.ALo(3,"dataIdSafePipe"),e.YNc(4,ss,2,1,"ng-container",2),e.YNc(5,Cs,2,1,"ng-container",2),e.YNc(6,bn,2,0,"span",3),e.qZA()),2&n&&(e.xp6(1),e.Oqu(l.labelAndValue.labelText),e.xp6(1),e.uIk("data-id",l.dataIdPrefix+"-"+e.lcZ(3,5,l.labelAndValue.labelText)),e.xp6(2),e.Q6J("ngIf",l.labelAndValue.valueText),e.xp6(1),e.Q6J("ngIf",l.labelAndValue.valuePillList),e.xp6(1),e.Q6J("ngIf",l.valueIsEmpty()))},directives:[Gu,u.O5,u.sg],pipes:[Ra],styles:["span[_ngcontent-%COMP%]{display:block}.label[_ngcontent-%COMP%]{color:#a98ab6;font-size:14px;font-weight:700;padding-bottom:5px}.no-description[_ngcontent-%COMP%]{color:#b7b7b7}"]}),a})();class Cg{constructor(_,n){this.valuePillList=[],this.labelText=_,Array.isArray(n)?this.valuePillList=n:this.valueText=n}}let ah=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-key-value-list"]],inputs:{keyValuePairs:"keyValuePairs",groupDataIdKey:"groupDataIdKey"},decls:3,vars:4,consts:[[1,"info-section"],["class","info",4,"ngFor","ngForOf"],[1,"info"],[3,"dataIdPrefix","labelAndValue"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e.ALo(1,"dataIdSafePipe"),e.YNc(2,zi,2,2,"div",1),e.qZA()),2&n&&(e.uIk("data-id",e.lcZ(1,2,l.groupDataIdKey+"-key-value-group")),e.xp6(2),e.Q6J("ngForOf",l.keyValuePairs))},directives:[sh,u.sg],pipes:[Ra],styles:[".info-section[_ngcontent-%COMP%]{display:flex;flex-direction:column}.info-section[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{margin-bottom:15px}"]}),a})(),bg=(()=>{class a{constructor(){this.iconButtonClicked=new e.vpe}buttonClicked(){this.iconButtonClicked.emit()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-circle-icon-button"]],inputs:{icon:"icon",iconColor:"iconColor",backgroundColor:"backgroundColor"},outputs:{iconButtonClicked:"iconButtonClicked"},decls:2,vars:5,consts:[[1,"circle-button-container",3,"click"]],template:function(n,l){if(1&n&&(e.TgZ(0,"div",0),e.NdJ("click",function(){return l.buttonClicked()}),e._UZ(1,"div"),e.qZA()),2&n){let w;e.Tol("bg-color-"+(null!==(w=l.backgroundColor)&&void 0!==w?w:"white-80")),e.uIk("data-id",l.icon+"-icon-button"),e.xp6(1),e.Tol("fa fa-"+l.icon+" icon-color-"+l.iconColor)}},styles:[".circle-button-container[_ngcontent-%COMP%]{cursor:pointer;border-radius:40px;width:40px;height:40px;box-shadow:0 3px 6px #00000029;display:flex;justify-content:center;align-items:center}.circle-button-container[_ngcontent-%COMP%] .icon-color-heather-two[_ngcontent-%COMP%]{color:#a98ab6}.circle-button-container.bg-color-white[_ngcontent-%COMP%]{background-color:#fff}"]}),a})(),Ac=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-medium-circle-icon"]],inputs:{iconClass:"iconClass",colorClass:"colorClass"},decls:2,vars:2,consts:[[1,"content",3,"ngClass"],[1,"icon","fa",3,"ngClass"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e._UZ(1,"i",1),e.qZA()),2&n&&(e.Q6J("ngClass",l.colorClass),e.xp6(1),e.Q6J("ngClass","fa-"+l.iconClass))},directives:[u.mk],styles:[".content[_ngcontent-%COMP%]{width:45px;height:45px;border-radius:50%;display:flex;align-items:center;justify-content:center}.icon-background[_ngcontent-%COMP%]{width:45px;height:45px}.icon[_ngcontent-%COMP%]{font-size:19px;color:#fff}.icon-pale-teal[_ngcontent-%COMP%]{background-color:#80cbc4;color:#fff}"]}),a})(),lh=(()=>{class a{constructor(){this.dataId="image-info"}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-image-info"]],inputs:{imageUrl:"imageUrl",imageAlt:"imageAlt",header:"header",subText:"subText",dataId:"dataId"},decls:5,vars:6,consts:[[1,"info-image-wrapper"],[1,"info-image"],[3,"src","alt"],[4,"ngIf"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"img",2),e.YNc(3,ki,2,2,"h4",3),e.YNc(4,rc,2,2,"p",3),e.qZA()()),2&n&&(e.uIk("data-id",l.dataId),e.xp6(2),e.s9C("src",l.imageUrl,e.LSH),e.s9C("alt",l.imageAlt),e.uIk("data-id","image-"+l.dataId),e.xp6(1),e.Q6J("ngIf",l.header),e.xp6(1),e.Q6J("ngIf",l.subText))},directives:[u.O5],styles:[".info-image-wrapper[_ngcontent-%COMP%]{display:flex;height:100%;background:#f4f1f5}.info-image[_ngcontent-%COMP%]{display:flex;max-width:400px;flex-direction:column;text-align:center;align-items:center;user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none}h4[_ngcontent-%COMP%]{color:#320d42;margin-bottom:0}p[_ngcontent-%COMP%]{color:#7e6787}"]}),a})(),cm=(()=>{class a{constructor(){this.itemStyle="items",this.dataIdPrefix="Breadcrumb",this.id=o.h.UUID().toString()}getItemDataId(n){return"Breadcrumb"===this.dataIdPrefix?n+"-"+this.id:this.dataIdPrefix+"-"+n.toLowerCase().replace(" ","-")}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-breadcrumb"]],inputs:{breadcrumbs:"breadcrumbs",itemStyle:"itemStyle",dataIdPrefix:"dataIdPrefix"},decls:4,vars:3,consts:[[1,"breadcrumb-container"],[3,"ngClass"],[4,"ngFor","ngForOf"],[1,"clear"],["class","breadcrumb",3,"routerLink","queryParams","current",4,"ngIf"],["class","breadcrumb",3,"current","click",4,"ngIf"],["class","separator",4,"ngIf"],[1,"breadcrumb",3,"routerLink","queryParams"],[1,"breadcrumb",3,"click"],[1,"separator"],["aria-hidden","true",1,"fa","fa-chevron-right"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,ed,4,3,"span",2),e.qZA()(),e._UZ(3,"div",3)),2&n&&(e.uIk("data-id",l.breadcrumbs),e.xp6(1),e.Q6J("ngClass",l.itemStyle),e.xp6(1),e.Q6J("ngForOf",l.breadcrumbs))},directives:[u.mk,u.sg,u.O5,mn.yS],styles:["a[_ngcontent-%COMP%]:hover{color:#320d42;cursor:pointer}.breadcrumb-container[_ngcontent-%COMP%]{display:flex;font-size:12px;line-height:50px;width:100%;background:#f4f1f5}.items[_ngcontent-%COMP%]{margin-left:auto;padding:0 20px}.items-abacus[_ngcontent-%COMP%]{padding:0 20px}.breadcrumb[_ngcontent-%COMP%]{display:inline-block;color:#a98ab6;cursor:pointer;text-decoration:none}.breadcrumb.current[_ngcontent-%COMP%]{cursor:default;color:#320d42}.separator[_ngcontent-%COMP%]{display:inline-block;color:#a98ab6;padding:0 10px}.clear[_ngcontent-%COMP%]{width:100%;clear:both}@media (max-width: 768px){.breadcrumb-container[_ngcontent-%COMP%]{font-size:12px;line-height:50px;width:auto;background:#f4f1f5;float:left;margin-top:-50px}.items[_ngcontent-%COMP%]{margin-left:auto;padding:0 5px}}"]}),a})(),ch=(()=>{class a{constructor(){this.disabled=!1,this.id=o.h.UUID()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-action-button"]],inputs:{buttonText:"buttonText",disabled:"disabled"},decls:2,vars:2,consts:[[3,"disabled"]],template:function(n,l){1&n&&(e.TgZ(0,"button",0),e._uU(1),e.qZA()),2&n&&(e.Q6J("disabled",l.disabled),e.xp6(1),e.Oqu(l.buttonText))},styles:["button[_ngcontent-%COMP%]{font-size:14px;background-color:#fff;outline:none;border-radius:23px;border-style:solid;border-color:#cbb9d3;color:#a98ab6;padding-left:15px;padding-right:15px;min-width:120px;line-height:40px;cursor:pointer}button[_ngcontent-%COMP%]:hover{border-color:#7e6787}button[_ngcontent-%COMP%]:active{border-color:#320d42;background-color:#320d42;color:#fff}button[_ngcontent-%COMP%]:disabled{border-color:#ede7f0;background-color:#fff;color:#cdbcd4;cursor:not-allowed}"]}),a})(),dm=(()=>{class a{constructor(){this.sections=[]}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-entity-read-view"]],inputs:{sections:"sections",entityType:"entityType",entityName:"entityName",showDelete:"showDelete"},outputs:{deleteClicked:"deleteClicked"},decls:12,vars:5,consts:[[1,"outer-wrapper"],["data-id","view-entity-page","content","",1,"view-content"],[1,"page-title"],["name","entity-view-spinner"],["class","section",4,"ngFor","ngForOf"],[1,"action-bar"],[1,"action-bar-item"],[3,"buttonText"],["class","delete-button",3,"click",4,"ngIf"],[1,"section"],[1,"section-title"],[3,"className",4,"ngIf"],["class","edit-icon",4,"ngIf"],[1,"section-content"],["class","section-content-item",4,"ngFor","ngForOf"],["class","action-section section-content-item",4,"ngIf"],[3,"className"],[1,"edit-icon"],[1,"fa","fa-pencil"],[1,"section-content-item"],[3,"labelAndValue"],[1,"action-section","section-content-item"],[3,"buttonText",4,"ngFor","ngForOf"],[1,"delete-button",3,"click"],[1,"fa","fa-trash"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h1",2),e._uU(3),e.TgZ(4,"span"),e._uU(5),e.qZA()(),e._UZ(6,"pa-loading-spinner",3),e.YNc(7,iu,9,5,"div",4),e.qZA()(),e.TgZ(8,"div",5)(9,"div",6),e._UZ(10,"pa-action-button",7),e.qZA(),e.YNc(11,ep,2,0,"button",8),e.qZA()),2&n&&(e.xp6(3),e.hij("View ",l.entityType," "),e.xp6(2),e.Oqu(l.entityName),e.xp6(2),e.Q6J("ngForOf",l.sections),e.xp6(3),e.Q6J("buttonText","Back"),e.xp6(1),e.Q6J("ngIf",l.showDelete))},directives:[kl,sh,ch,u.sg,u.O5],styles:["[_nghost-%COMP%]{height:100%}.page-title[_ngcontent-%COMP%]{text-align:center;width:100%;color:#320d42;font-size:30px;font-weight:100}.page-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:400}.section-title[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:.8rem}.section-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{padding-right:10px}.edit-icon[_ngcontent-%COMP%]{margin-left:10px;cursor:pointer;color:#ba25b2}.outer-wrapper[_ngcontent-%COMP%]{background-color:#f4f1f5;padding:30px;height:100%;box-sizing:border-box;display:flex;flex-direction:row;justify-content:center}.view-content[_ngcontent-%COMP%]{padding:15px;border:solid 2px #dcd0e2;border-radius:7px;background-color:#fff;max-width:800px;flex-grow:1}.section-content-item[_ngcontent-%COMP%]{margin-bottom:15px}.action-section[_ngcontent-%COMP%]{display:flex}.action-section[_ngcontent-%COMP%] pa-action-button[_ngcontent-%COMP%]{margin-right:5px}.section[_ngcontent-%COMP%]{border-bottom:1px solid #ede7f0;margin-right:15px;margin-left:15px}.section[_ngcontent-%COMP%]:last-of-type{border-bottom:none}.action-bar[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;height:70px;background-color:#fff;box-shadow:0 -1px 11px #320d4226;display:flex;justify-content:space-between;align-items:center;padding:15px;position:fixed;bottom:0}.action-bar[_ngcontent-%COMP%] .delete-button[_ngcontent-%COMP%]{font-size:25px;background-color:#fff;outline:none;border-radius:23px;border-style:solid;border-color:#ea605d;color:#ea605d;padding-left:15px;padding-right:15px;min-width:80px;line-height:40px;cursor:pointer}"]}),a})(),dh=(()=>{class a{constructor(n){this.dataIdFormatterPipe=n,this.icon=null,this.disableButton=!1,this.mutedButton=!1,this.buttonId="",this.id=o.h.UUID()}getClassMode(){return this.mutedButton?"button-mute-mode":"button-standard-mode"}buttonIdValue(){return this.dataIdFormatterPipe.transform(this.buttonId?this.buttonId:this.buttonText)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(xl))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-secondary-button"]],inputs:{buttonText:"buttonText",icon:"icon",disableButton:"disableButton",mutedButton:"mutedButton",buttonId:"buttonId"},decls:3,vars:6,consts:[[3,"ngClass"],[3,"class",4,"ngIf"]],template:function(n,l){1&n&&(e.TgZ(0,"button",0),e.YNc(1,id,1,3,"i",1),e._uU(2),e.qZA()),2&n&&(e.ekj("disabled",l.disableButton),e.Q6J("ngClass",l.getClassMode()),e.uIk("data-id",l.buttonIdValue()),e.xp6(1),e.Q6J("ngIf",null!=l.icon),e.xp6(1),e.hij(" ",l.buttonText,"\n"))},directives:[u.mk,u.O5],styles:["button[_ngcontent-%COMP%]{font-size:18px;background-color:#fff;outline:none;border-radius:23px;padding-left:15px;padding-right:15px;min-width:120px;line-height:40px;cursor:pointer}.button-standard-mode[_ngcontent-%COMP%]{border:2px solid #ba25b2;color:#ba25b2}.button-mute-mode[_ngcontent-%COMP%]{border:none;color:#a98ab6}button[_ngcontent-%COMP%]:hover{color:#fff;background-color:#d42acb;box-shadow:0 4px 9.5px .5px #320d4233}button[_ngcontent-%COMP%]:active{color:#fff;background-color:#a1209a;border-color:#a1209a;box-shadow:0 4px 9.5px .5px #320d4233}i[_ngcontent-%COMP%]{padding-right:5px}.disabled[_ngcontent-%COMP%]{border-color:#d6c8dc;color:#d6c8dc;cursor:not-allowed}.disabled[_ngcontent-%COMP%]:hover{background-color:#fff;color:#d6c8dc;box-shadow:none}"]}),a})(),um=(()=>{class a{constructor(){this.icons=[],this.tabInputs=[]}ngOnInit(){}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-tab-bar"]],inputs:{iconName:"iconName",icons:"icons",tabInputs:"tabInputs"},ngContentSelectors:pe,decls:10,vars:3,consts:[[1,"dashboard-nav"],["class","icon-circle",4,"ngIf"],[1,"tab-bar"],["mat-tab-nav-bar",""],["mat-tab-link","",3,"active","click",4,"ngFor","ngForOf"],[1,"icon-group"],[1,"icon-wrapper"],["class","icons",4,"ngFor","ngForOf"],[1,"content"],[1,"icon-circle"],["colorClass","icon-pale-teal",3,"iconClass"],["mat-tab-link","",3,"active","click"],[1,"icons"],[1,"icon","fa",3,"ngClass","click"],["class","filter-count-badge",4,"ngIf"],[1,"filter-count-badge"]],template:function(n,l){1&n&&(e.F$t(),e.TgZ(0,"div",0),e.YNc(1,tp,2,1,"div",1),e.TgZ(2,"div",2)(3,"nav",3),e.YNc(4,np,3,5,"a",4),e.qZA()(),e.TgZ(5,"div",5)(6,"div",6),e.YNc(7,rp,3,5,"div",7),e.qZA()()(),e.TgZ(8,"div",8),e.Hsn(9),e.qZA()),2&n&&(e.xp6(1),e.Q6J("ngIf",l.iconName),e.xp6(3),e.Q6J("ngForOf",l.tabInputs),e.xp6(3),e.Q6J("ngForOf",l.icons))},directives:[Ac,L.BU,u.O5,u.sg,L.Nj,u.mk],pipes:[Ra],styles:[".dashboard-nav[_ngcontent-%COMP%]{display:flex}.tab-bar[_ngcontent-%COMP%]{margin-left:15px}"]}),a})(),uh=(()=>{class a{constructor(){}ngOnInit(){}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-child-image"]],inputs:{photoUrl:"photoUrl"},decls:2,vars:2,consts:[["class","image","imageClass","image-mini",3,"imageUrl",4,"ngIf"],["class","no-image fa fa-user-circle",4,"ngIf"],["imageClass","image-mini",1,"image",3,"imageUrl"],[1,"no-image","fa","fa-user-circle"]],template:function(n,l){1&n&&(e.YNc(0,op,1,1,"pa-image-circle",0),e.YNc(1,sp,1,0,"i",1)),2&n&&(e.Q6J("ngIf",l.photoUrl),e.xp6(1),e.Q6J("ngIf",!l.photoUrl))},directives:[Zu,u.O5],styles:[".no-image[_ngcontent-%COMP%]{width:40px;text-align:center;vertical-align:middle;color:#ede7f0;font-size:40px;border:none}.no-image[_ngcontent-%COMP%] .is-for-printing[_ngcontent-%COMP%]{color:#b7b7b7}"]}),a})(),hm=(()=>{class a{constructor(){this.borderColor="grey-purple",this.iconBorderColor=null,this.highlighted=!1,this.id=o.h.UUID()}getClass(){if(this.highlighted)return[`${this.buttonBackground}`,`button-${this.buttonBackground}`]}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-icon-toggle"]],inputs:{buttonText:"buttonText",icon:"icon",iconBackground:"iconBackground",buttonBackground:"buttonBackground",borderColor:"borderColor",iconBorderColor:"iconBorderColor"},decls:3,vars:12,consts:[[3,"id","ngClass","click"],[3,"highlight","borderColor","iconClass"]],template:function(n,l){1&n&&(e.TgZ(0,"button",0),e.NdJ("click",function(){return l.highlighted=!l.highlighted}),e._UZ(1,"pa-circle-icon",1),e._uU(2),e.qZA()),2&n&&(e.Tol("button-"+l.buttonBackground),e.MGl("id","icon-toggle-",l.id,""),e.Q6J("ngClass",e.VKq(10,rd,l.highlighted)),e.xp6(1),e.Tol(l.iconBackground),e.Q6J("highlight",l.highlighted)("borderColor",l.iconBorderColor)("iconClass",l.icon),e.xp6(1),e.hij(" ",l.buttonText,"\n"))},directives:[el,u.mk],styles:["button[_ngcontent-%COMP%]{font-size:14px;background-color:#fff;outline:none;border-radius:23px;border-style:solid;border-color:#cbb9d3;color:#a98ab6;height:46px;min-width:120px;padding-left:2px;padding-right:15px;display:inline-flex;align-items:center}button[_ngcontent-%COMP%]:hover{border-color:#7e6787}.button-content[_ngcontent-%COMP%]{line-height:46px;display:inline-flex}pa-circle-icon[_ngcontent-%COMP%]{margin-left:3px;margin-right:10px}.highlighted.button-peacock-blue[_ngcontent-%COMP%]{border-color:#003973;background-color:#0054a6;color:#fff}.highlighted.button-eggplant[_ngcontent-%COMP%]{border-color:#7e6787;background-color:#320d42;color:#fff}.highlighted.button-lightish-blue[_ngcontent-%COMP%]{border-color:#3047c9;background-color:#3c5afd;color:#fff}.highlighted.button-medium-green[_ngcontent-%COMP%]{border-color:#288234;background-color:#39b54a;color:#fff}.highlighted.button-medium-pink[_ngcontent-%COMP%]{border-color:#288234;background-color:#f06292;color:#fff}.highlighted.button-tomato[_ngcontent-%COMP%]{border-color:#b32b29;background-color:#e53935;color:#fff}.highlighted.button-macaroni-and-cheese[_ngcontent-%COMP%]{border-color:#bf8b22;background-color:#f1af2c;color:#fff}.highlighted.button-tealish[_ngcontent-%COMP%]{border-color:#228784;background-color:#2fbbb7;color:#fff}.highlighted.button-faded-blue[_ngcontent-%COMP%]{border-color:#5c6699;background-color:#7986cb;color:#fff}.highlighted.button-dodger-blue[_ngcontent-%COMP%]{border-color:#376ecc;background-color:#4489ff;color:#fff}.highlighted.button-azure[_ngcontent-%COMP%]{border-color:#218fc2;background-color:#28b7f4;color:#fff}"]}),a})(),ns=(()=>{class a{static initialiseSentry(n){this.initialised||(this.initialised=!0,B.S1({environment:this.getEnvironmentSetting(),dsn:n,integrations:[],defaultIntegrations:!1,autoSessionTracking:!1,release:this.getBuildVersionSetting()}))}static setPortalTempTokenTags(n){fe.YA("BusinessId",n.nurseryId.toString()),fe.YA("UserId",n.staffId.toString()),fe.YA("NurseryId",n.nurseryLegacyId)}static addBreadcrumb(n,l="general",w="info"){fe.n_({category:l,message:n,level:w})}static getEnvironmentSetting(){return this.configOption("Local","UAT")}static getBuildVersionSetting(){const n=this.configOption("$DEPLOYMENT_VERSION$","$BUILD_NUMBER$");return this.configOption("0.0.1",n)}static configOption(n,l){let w=n;return!l.startsWith("$")&&!l.endsWith("$")&&(w=l),w}static captureException(n){fe.Tb(n)}}return a.initialised=!1,a})();const Dd="pa-info-help-panel-dismissed:";let pm=(()=>{class a{constructor(){this.showLearnMore=!0,this.learnMoreClick=new e.vpe,this.panelDismissed=new e.vpe,this.dismissed=!1}ngOnInit(){this.dismissed=this.readDismissed()}get showDismiss(){return!!this.dismissKey}learnMore(){this.learnMoreClick.emit()}dismiss(){this.dismissed=!0,this.writeDismissed(),this.panelDismissed.emit()}readDismissed(){if(!this.dismissKey)return!1;try{return"true"===window.localStorage.getItem(Dd+this.dismissKey)}catch(n){return ns.captureException(n instanceof Error?n:new Error(String(n))),!1}}writeDismissed(){if(this.dismissKey)try{window.localStorage.setItem(Dd+this.dismissKey,"true")}catch(n){ns.captureException(n instanceof Error?n:new Error(String(n)))}}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-info-help-panel"]],inputs:{title:"title",showLearnMore:"showLearnMore",dismissKey:"dismissKey"},outputs:{learnMoreClick:"learnMoreClick",panelDismissed:"panelDismissed"},ngContentSelectors:pe,decls:1,vars:1,consts:[["class","info-panel",4,"ngIf"],[1,"info-panel"],[1,"info-panel-header"],[1,"fa","fa-info-circle"],["data-id","info-help-panel-dismiss-button","buttonText","Dismiss",3,"click",4,"ngIf"],[4,"ngIf"],["data-id","info-help-panel-dismiss-button","buttonText","Dismiss",3,"click"],["data-id","learn-more-button","buttonText","Learn more...",3,"click"]],template:function(n,l){1&n&&(e.F$t(),e.YNc(0,ou,9,5,"div",0)),2&n&&e.Q6J("ngIf",!l.dismissed)},directives:[uc,u.O5],styles:[".info-panel[_ngcontent-%COMP%]{border:1px solid #dcd0e2;border-left:5px solid;border-radius:5px;background-color:#fff;padding:0 15px;color:#70567b}.info-panel-header-with-dismiss[_ngcontent-%COMP%]{position:relative}.info-panel-header-with-dismiss[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{padding-right:6em}.info-panel-header-with-dismiss[_ngcontent-%COMP%] pa-text-button-updated[_ngcontent-%COMP%]{position:absolute;top:0;right:0;bottom:0;display:flex;align-items:center}"]}),a})(),ua=(()=>{class a{constructor(){this.backButtonClick=new e.vpe}navigateBack(){return(0,g.mG)(this,void 0,void 0,function*(){this.backButtonClick.emit()})}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-back-button"]],inputs:{buttonText:"buttonText"},outputs:{backButtonClick:"backButtonClick"},decls:4,vars:1,consts:[[1,"back-button",3,"click"],[1,"icon","fa-long-arrow-left"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e.NdJ("click",function(){return l.navigateBack()}),e._UZ(1,"i",1),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&n&&(e.xp6(3),e.Oqu(l.buttonText))},styles:[".back-button[_ngcontent-%COMP%]{color:#a98ab6;padding:10px;display:flex;align-items:center}.back-button[_ngcontent-%COMP%]:hover{color:#d42acb;cursor:pointer}.icon[_ngcontent-%COMP%]{font-size:20px;margin-right:5px}"]}),a})(),kd=(()=>{class a{constructor(){this.placeHolder="Please Select",this.selectedOptionChanged=new e.vpe}valueChanged(){this.selectedOptionChanged.emit(this.selectedItem)}onClose(){this.dropDownReference.focused=!1,this.dropDownReference.stateChanges.next()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-dropdown"]],viewQuery:function(n,l){if(1&n&&e.Gf(su,5),2&n){let w;e.iGM(w=e.CRH())&&(l.dropDownReference=w.first)}},inputs:{options:"options",selectedItem:"selectedItem",placeHolder:"placeHolder"},outputs:{selectedOptionChanged:"selectedOptionChanged"},decls:9,vars:6,consts:[[1,"dropdown-container"],["floatLabel","never",1,"dropdown-wrapper"],[3,"ngModel","placeholder","ngModelChange","onClose"],["matSelect",""],[4,"ngIf"],[3,"value"],[3,"value",4,"ngFor","ngForOf"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0)(1,"mat-form-field",1)(2,"mat-select",2,3),e.NdJ("ngModelChange",function(E){return l.selectedItem=E})("ngModelChange",function(){return l.valueChanged()})("onClose",function(){return l.onClose()}),e.TgZ(4,"mat-select-trigger"),e.YNc(5,gl,2,1,"span",4),e.qZA(),e.TgZ(6,"mat-option",5),e._uU(7),e.qZA(),e.YNc(8,au,2,2,"mat-option",6),e.qZA()()()),2&n&&(e.xp6(2),e.Q6J("ngModel",l.selectedItem)("placeholder",l.placeHolder),e.xp6(3),e.Q6J("ngIf",l.selectedItem),e.xp6(1),e.Q6J("value",null),e.xp6(1),e.hij(" ",l.placeHolder," "),e.xp6(1),e.Q6J("ngForOf",l.options))},directives:[bt.KE,dt.gD,ut.ey,c.JJ,c.On,dt.$L,u.O5,u.sg],styles:['.dropdown-container[_ngcontent-%COMP%]{border:solid 2px #dcd0e2;border-radius:3px;height:40px;font-size:14px;background-color:#fff;box-sizing:border-box}.dropdown-container[_ngcontent-%COMP%]:hover{border-color:#7e6787}.dropdown-wrapper[_ngcontent-%COMP%]{width:100%} .mat-form-field{padding-top:6px} .mat-option.mat-active{background-color:#fff} .mat-form-field-infix{border-top:none} .mat-form-field-wrapper{padding-bottom:0} .mat-form-field-underline{display:none} .mat-select-value{color:#7e6787;padding-left:13px;height:12px;font-style:normal;font-stretch:normal;letter-spacing:normal} .mat-form-field-placeholder{color:#7e6787;padding-left:13px} .mat-select-arrow{color:#a98ab6} .mat-select-arrow-wrapper{padding-right:18px} .mat-option-text{color:#7e6787;font-size:14px} .mat-pseudo-checkbox{border-radius:4px!important;background-color:#dcd0e2;border:none!important} .mat-pseudo-checkbox:after{height:0!important;width:0!important;top:-11px!important;left:2px!important;border:none!important;transform:none!important;content:"\\f00c"!important;color:#fff!important;font-family:FontAwesome,serif!important} pa-dropdown .cdk-overlay-pane{margin-top:47px;margin-left:44px} .mat-input-infix, .mat-form-field-infix[_ngcontent-%COMP%]{background-color:#fff} mat-form-field.mat-focused{background-color:#fff} mat-form-field.mat-focused .mat-input-infix{background-color:#ede7f0;padding-bottom:13px} mat-form-field.mat-focused .mat-form-field-wrapper{height:12px} .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#7e6787} .mat-form-field-placeholder{color:#7e6787} mat-form-field.mat-focused .mat-form-field-placeholder{color:#7e6787} .cdk-overlay-pane{margin-left:15px} div.mat-select-panel{min-width:calc(100% + 3px)!important}']}),a})(),hh=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({providers:[{provide:Fn.WI,useValue:{}},jl],imports:[[u.ez,vt.ot,Vt.Ps,kt.p9,dt.LD,bt.lN,ut.XK,Ot.FA,Ot.FA,c.u5,Wu,Fn.Is,Je.Cq,xc,Md,mn.Bz,Ln.Su,c.UX,et.l1,Ne,L.Nh]]}),a})(),ph=(()=>{class a{constructor(n,l,w,E){this.factory=n,this.appRef=l,this.modalService=w,this.injector=E}showSuccessModal(n,l,w="Close"){return(0,g.mG)(this,void 0,void 0,function*(){yield this.constructAndShowSingleButton(n,l,"green","check",w)})}showErrorModal(n,l){return(0,g.mG)(this,void 0,void 0,function*(){yield this.constructAndShowSingleButton(n,l,"tomato","exclamation","Close")})}constructAndShowSingleButton(n,l,w,E,Ae){return(0,g.mG)(this,void 0,void 0,function*(){const ft=this.factory.resolveComponentFactory(bs).create(this.injector),jt=o.h.UUID().toString();ft.instance.dialogName=jt,ft.instance.modalTitle=n,ft.instance.backgroundColor=w,ft.instance.icon=E,ft.instance.modalText=l,ft.instance.buttonText=Ae,this.appRef.attachView(ft.hostView),document.body.appendChild(ft.hostView.rootNodes[0]),yield new Promise(yn=>setTimeout(yn)),yield this.modalService.showDialog(jt),this.appRef.detachView(ft.hostView),ft.destroy()})}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(e._Vd),e.LFG(e.z2F),e.LFG(Ll),e.LFG(e.zs3))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();var Ec=(()=>(function(a){a[a.Secondary=0]="Secondary"}(Ec||(Ec={})),Ec))();class mm{constructor(_,n){this.id=_,this.value=n}}class fm{}const Gl="dayshare";let Ad=(()=>{class a{constructor(n,l,w){this.tempAuthTokenCommands=n,this.spinnerService=l,this.router=w,this.dayshareUrl="https://uat-aws-dayshare.parenta.com/",this.portalUrl="https://uat-aws-portal.parenta.com/",this.abacusUrl="https://uat-aws-my.parenta.com/AbacusR9/",this.debugMode=!1,this.listenToRouteChanges()}openInNewTab(n){this.debugMode?this.browserNavigate(n):window.open(n,"_blank")}listenToRouteChanges(){this.router.events.pipe((0,O.h)(n=>n instanceof mn.m2)).subscribe(()=>{const n=this.findActiveRoute(this.router.routerState.snapshot.root);!n||(this.returnToApp=n.paramMap.get("returnToApp"),0===this.dayshareUrl.indexOf("$")&&(this.dayshareUrl="http://localhost:61004",this.portalUrl="http://localhost:51580",this.abacusUrl="https://local-my.parenta.com/AbacusR9/"))})}findActiveRoute(n){return n.firstChild?this.findActiveRoute(n.firstChild):n}redirectToApp(n,l){return(0,g.mG)(this,void 0,void 0,function*(){yield this.redirectToAppWithPathWithSpinner(n,null,null,l)})}redirectToAppWithPathWithSpinner(n,l,w,E){return(0,g.mG)(this,void 0,void 0,function*(){yield this.spinnerService.runWithSpinner(n,()=>(0,g.mG)(this,void 0,void 0,function*(){yield this.redirectToAppWithPath(l,w,E)}))})}redirectToAbacus(n,l,w){return(0,g.mG)(this,void 0,void 0,function*(){yield this.spinnerService.runWithSpinner(n,()=>(0,g.mG)(this,void 0,void 0,function*(){yield this.redirectToAppWithPath($s.abacus,l,w)}))})}redirectToAppWithPath(n,l,w){return(0,g.mG)(this,void 0,void 0,function*(){n&&(this.returnToApp=n);let Ae=`token=${(yield this.tempAuthTokenCommands.getPortalUserTemporaryToken({})).tempAuthToken}`;if(w)for(const jt in w)Object.prototype.hasOwnProperty.call(w,jt)&&(Ae+=`&${jt}=${encodeURIComponent(w[jt])}`);let ft=l;switch(this.returnToApp){case $s.dayshare:ft=l?`${this.dayshareUrl}${l}`:`${this.dayshareUrl}/account/TokenLogin?${Ae}`;break;case $s.dayshareApp:ft=`${Gl}://token-login?${Ae}`;break;case $s.abacus:{const jt=this.abacusUrl.replace(/\/+$/,"");ft=l?`${jt}${l}`:`${jt}/TokenLogin?${Ae}`;break}default:ft=l?`${this.portalUrl}${l}`:`${this.portalUrl}/TokenLogin?${Ae}`}this.browserNavigate(ft),yield this.neverReturnSoLoadingSpinnerShowsUntilBrowserRedirect()})}neverReturnSoLoadingSpinnerShowsUntilBrowserRedirect(){return(0,g.mG)(this,void 0,void 0,function*(){yield new Promise(()=>{})})}goBackToDateOfBirth(){switch(this.returnToApp){case $s.dayshare:this.browserNavigate(this.dayshareUrl+"/account/Login");break;case $s.dayshareApp:this.browserNavigate(`${Gl}://`);break;case $s.portal:this.browserNavigate(this.portalUrl+"/Login");break;default:console.error("Invalid returnToApp value: "+this.returnToApp)}}browserNavigate(n){this.debugMode?document.body.innerHTML=`\n \n \n Redirecting\n \n \n

Redirecting to:

\n

This page is designed to be used with end to end tests to render the URL that the browser would have taken the user to.

\n ${n}\n \n \n `:location.replace(n)}getReturnToApp(){return this.returnToApp}redirectToAppToPath(n,l){return(0,g.mG)(this,void 0,void 0,function*(){yield this.spinnerService.runWithSpinner(n,()=>(0,g.mG)(this,void 0,void 0,function*(){this.browserNavigate(l)}))})}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(b.JjS),e.LFG(_c),e.LFG(mn.F0))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();var $s=(()=>(function(a){a.dayshare="dayshare",a.dayshareApp="dayshare-app",a.portal="portal",a.abacus="abacus"}($s||($s={})),$s))();let Ed=(()=>{class a{constructor(n,l){this.http=n,this.tempAuthCommands=l,this.abacusUrl="https://uat-aws-my.parenta.com/AbacusR9/",this.refreshSubscription=null,this.temporaryTokenRequestsInFlight=0,0===this.abacusUrl.indexOf("$")&&(this.abacusUrl="https://local-my.parenta.com/AbacusR9/")}start(){this.stop();const n=new k.t(1);return this.refreshSubscription=this.setImageCookie(0).pipe((0,Z.b)(()=>n.next()),function V(a,_=1/0,n){return _=(_||0)<1?1/0:_,(0,q.e)((l,w)=>(0,te.p)(l,w,a,_,void 0,!0,n))}(l=>(0,ne.H)(a.getNextDelayMilliseconds(l)).pipe((0,ue.w)(()=>this.setImageCookie(a.getFailedCallsBeforeNextCall(l))))),(0,ee.x)(()=>n.next())).subscribe(),(0,Q.z)(n.pipe(function ot(a,_){const{first:n,each:l,with:w=Ke,scheduler:E=(null!=_?_:se.z),meta:Ae=null}=(0,je.q)(a)?{first:a}:"number"==typeof a?{each:a}:a;if(null==n&&null==l)throw new TypeError("No timeout provided.");return(0,q.e)((ft,jt)=>{let zt,yn,jn=null,ei=0;const yi=Er=>{yn=(0,Ce.f)(jt,E,()=>{try{zt.unsubscribe(),(0,nt.Xf)(w({meta:Ae,lastValue:jn,seen:ei})).subscribe(jt)}catch(Rr){jt.error(Rr)}},Er)};zt=ft.subscribe(new de.Q(jt,Er=>{null==yn||yn.unsubscribe(),ei++,jt.next(jn=Er),l>0&&yi(l)},void 0,void 0,()=>{(null==yn?void 0:yn.closed)||null==yn||yn.unsubscribe(),jn=null})),yi(null!=n?"number"==typeof n?n:+n-E.now():l)})}({first:a.firstCallWaitMilliseconds,with:()=>(0,xt.of)(void 0)})))}stop(){!this.refreshSubscription||(this.refreshSubscription.unsubscribe(),this.refreshSubscription=null)}ngOnDestroy(){this.stop()}isBackgroundRefreshFailure(n){return 0!==this.temporaryTokenRequestsInFlight&&"object"==typeof n&&null!==n&&(401!==n.status&&"string"==typeof n.url&&n.url.split("?")[0].endsWith(a.temporaryTokenCommandPath))}getSetImageCookieUrl(n){return`${this.abacusUrl.replace(/\/+$/,"")}/WebApi.ashx?action=SetImageCookie&tempToken=${encodeURIComponent(n)}`}static getNextDelayMilliseconds(n){var l;if(n.failedCalls>0)return null!==(l=a.retryDelaysMilliseconds[n.failedCalls-1])&&void 0!==l?l:a.defaultRefreshMilliseconds;const w=n.expiresInSeconds;return"number"!=typeof w||!isFinite(w)||w<=0?a.defaultRefreshMilliseconds:Math.floor(1e3*w*a.refreshFractionOfLifetime)}static getFailedCallsBeforeNextCall(n){return n.failedCalls>a.retryDelaysMilliseconds.length?0:n.failedCalls}setImageCookie(n){return(0,Be.D)(this.requestTemporaryToken()).pipe((0,ue.w)(l=>this.http.get(this.getSetImageCookieUrl(String(l.tempAuthToken)),{withCredentials:!0})),(0,Tt.U)(l=>({failedCalls:0,expiresInSeconds:null==l?void 0:l.expiresInSeconds})),(0,Zt.K)(l=>(this.logFailure(l),(0,xt.of)({failedCalls:n+1}))))}requestTemporaryToken(){return this.temporaryTokenRequestsInFlight++,this.tempAuthCommands.getPortalUserTemporaryToken({}).finally(()=>this.temporaryTokenRequestsInFlight--)}logFailure(n){n instanceof We.UA?ns.captureException(new Error(`Failed to set the Abacus image cookie: HTTP ${n.status} ${n.statusText}`)):n instanceof Error?ns.captureException(n):ns.captureException(new Error("Failed to set the Abacus image cookie: "+String(n)))}}return a.defaultRefreshMilliseconds=27e5,a.refreshFractionOfLifetime=.75,a.retryDelaysMilliseconds=[6e4,12e4,24e4],a.firstCallWaitMilliseconds=1e4,a.temporaryTokenCommandPath="/TempAuth/GetPortalUserTemporaryToken",a.\u0275fac=function(n){return new(n||a)(e.LFG(We.eN),e.LFG(b.JjS))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Pc=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})();class fh{}let Dg=(()=>{class a{constructor(n,l,w,E,Ae,ft,jt){this.fileCommands=n,this.http=l,this.sauronService=w,this.clientFileCommands=E,this.signFileUploadCommands=Ae,this.zone=ft,this.eventReporter=jt,this.cancelFileIdByUploadKey=new Map,this.uploadStateChanged=new A.x,this.uploadStateCompleted=new A.x,this.fileUploadComplete=new A.x,this.fileMapping=new Map,this.uploadStates=new Map,this.fileUploads=[]}getService(n){return(0,g.mG)(this,void 0,void 0,function*(){if(!this.service){const l={computeContentMd5:!0,awsRegion:n.regionName,logging:!0,maxConcurrentParts:1,partSize:10485760,cryptoMd5Method:w=>btoa(gt.ArrayBuffer.hash(w,!0)),cryptoHexEncodedHash256:Rt.sha256,customAuthMethod:(w,E,Ae,ft,jt)=>(0,g.mG)(this,void 0,void 0,function*(){return this.signFileUploadCommands.signFileUpload({canonicalRequest:jt,urlToSign:Ae,fileUploadKeySignature:w.uploadSignature}).then(yn=>(0,g.mG)(this,void 0,void 0,function*(){if(!yn.successful)throw console.error("Failed to sign upload part",yn),new Error("Failed to sign request");return yn.signedUrl}))}),aws_key:n.storageAccessKey,aws_url:this.s3EndpointOverride(),bucket:n.bucketName};this.service=window.Evaporate.create(l)}return this.service})}startFileUpload(n,l){return(0,g.mG)(this,void 0,void 0,function*(){let w;try{w=yield this.clientFileCommands.createClientFile({originalFileName:n.fileName})}catch(yi){this.logException(yi)}if(!w.successful)return Promise.reject("Could not get new ID.");this.cancelFileIdByUploadKey.set(w.id,`${w.bucketName}/${w.s3ObjectKey}`);const Ae=new fh;Ae.id=w.id,Ae.file=n,this.fileMapping.set(Ae.id,Ae.file.fileName),this.fileUploads.push(Ae);const ft=new kg;ft.fileId=w.id,ft.percentage=0,this.uploadStates.set(ft.fileId,ft);const jt=yield this.getService(w),zt={uploadSignature:w.uploadSignature},yn=this.blobToFile(n.blob),jn={id:w.id,originalFileName:n.fileName,key:w.s3ObjectKey,size:n.blob.size,uploadLog:""},ei=yi=>{jn.uploadLog+=`${(new Date).toISOString()}: ${yi}\r\n`};return ei(`File upload intialised with ID: ${w.id}`),ei(`File key: ${w.s3ObjectKey}`),jt.add({name:w.s3ObjectKey,file:yn,progress:yi=>{const Er=this.uploadStates.get(w.id);Er.percentage=100*yi,this.uploadStates.set(w.id,Er),this.emitUploadStatus()}},{signParams:zt,bucket:w.bucketName}).then(()=>(0,g.mG)(this,void 0,void 0,function*(){ei("Running after upload complete function"),yield l(jn),ei("Completed after upload complete function")})).then(()=>(0,g.mG)(this,void 0,void 0,function*(){ei("Deleting from states"),this.uploadStates.delete(w.id),ei("Emitting upload status"),this.emitUploadStatus(),this.zone.run(()=>{ei("Emitting upload complete"),this.fileUploadComplete.next(jn.id),ei("Emitting upload state completed"),this.uploadStateCompleted.next(jn)})})).catch(yi=>{ei("Exception caught in service "+yi),this.logException(yi)}),Ae})}s3EndpointOverride(){var n;return(null===(n=document.querySelector('meta[name="parenta-s3-endpoint"]'))||void 0===n?void 0:n.getAttribute("content"))||void 0}logException(n){!this.eventReporter||this.eventReporter.logException(n)}cancelUpload(n){return(0,g.mG)(this,void 0,void 0,function*(){const l=yield this.getService(null),w=this.cancelFileIdByUploadKey.get(n);!w||(yield l.cancel(w),this.fileUploads=this.fileUploads.filter(E=>E.id!==n),this.uploadStates.delete(n),this.emitUploadStatus())})}blobToFile(n){return n}emitUploadStatus(){this.zone.run(()=>{this.uploadStateChanged.next(this.uploadStates)})}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(b.OhA),e.LFG(We.eN),e.LFG(b.HpB),e.LFG(b.zJW),e.LFG(b.fQW),e.LFG(e.R0b),e.LFG(Pc,8))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})();class kg{}let gh=(()=>{class a{constructor(n){this.router=n,this.routeHistory=[]}addCurrentRouteToRouteHistory(){this.deleteFromRouteHistory(this.router.url),this.routeHistory.push(this.router.url.toString().split("/").splice(1))}redirectToLastRoute(n){const l=this.getLastRouteFromHistory();this.router.navigate(l||n)}getLastRouteFromHistory(){return this.routeHistory[this.lastIndex()]}deleteFromRouteHistory(n){this.routeHistory=this.routeHistory.filter(l=>l.join("/")===n)}lastIndex(){return this.routeHistory.length-1}addRouteToRouteHistory(n){this.routeHistory.push(n)}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(mn.F0))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})();var ws=(()=>(function(a){a.CONNECTING="connecting",a.CONNECTED="connected",a.DISCONNECTED="disconnected",a.RECONNECTING="reconnecting",a.FAILED="failed"}(ws||(ws={})),ws))();let Pd=(()=>{class a{constructor(){this.socket$=null,this.messages$=new A.x,this.connectionState$=new z.X(ws.DISCONNECTED),this.destroy$=new A.x,this.baseReconnectDelay=1e3,this.maxReconnectDelay=3e4,this.maxReconnectAttempts=10,this.reconnectAttempts=0,this.reconnectTimer=null,this.intentionalDisconnect=!1,this.authToken=null,this.currentUserId=null,this.currentNurseryId=null,this.websocketUrl=null}connect(n,l,w,E){return this.websocketUrl=n,this.authToken!==l&&l&&(this.authToken=l),w&&(this.currentUserId=w),E&&(this.currentNurseryId=E),this.websocketUrl?this.socket$&&!this.socket$.closed?(console.log("WebSocket already connected"),this.connectionState$.asObservable()):(this.intentionalDisconnect=!1,this.connectionState$.next(ws.CONNECTING),this.initializeWebSocket(),this.connectionState$.asObservable()):(console.warn("WebSocket URL not provided"),this.connectionState$.next(ws.FAILED),this.connectionState$.asObservable())}disconnect(){console.log("Disconnecting WebSocket"),this.intentionalDisconnect=!0,this.clearReconnectTimer(),this.socket$&&(this.socket$.complete(),this.socket$=null),this.connectionState$.next(ws.DISCONNECTED),this.reconnectAttempts=0}clearReconnectTimer(){null!==this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null)}getMessages(n){return n?new Sn.y(l=>{const w=this.messages$.subscribe(E=>{E.conversationId===n&&l.next(E)});return()=>w.unsubscribe()}):this.messages$.asObservable()}getConnectionState(){return this.connectionState$.asObservable()}send(n){this.socket$&&!this.socket$.closed?this.socket$.next(n):console.warn("WebSocket not connected, cannot send message")}isConnected(){return this.connectionState$.value===ws.CONNECTED}initializeWebSocket(){if(this.socket$&&!this.socket$.closed)return;const n=this.buildWebSocketUrl();this.socket$=function Ci(a){return new hi(a)}({url:n,openObserver:{next:()=>{console.log("WebSocket connected"),this.connectionState$.next(ws.CONNECTED),this.reconnectAttempts=0}},closeObserver:{next:()=>{console.log("WebSocket closed"),this.handleDisconnection()}}}),this.socket$.pipe((0,Z.b)(l=>{console.debug("WebSocket message received:",l);const w=this.parseMessage(l);w&&this.shouldProcessNotification(w)&&this.messages$.next(w)}),(0,Zt.K)(l=>(console.error("WebSocket error:",l),ns.captureException(l),Xt.E)),(0,H.R)(this.destroy$)).subscribe()}buildWebSocketUrl(){const n=this.websocketUrl||"";if(this.authToken){const l=n.includes("?")?"&":"?";return`${n}${l}token=${encodeURIComponent(this.authToken)}`}return n}calculateReconnectDelay(){return Math.min(this.baseReconnectDelay*Math.pow(2,this.reconnectAttempts),this.maxReconnectDelay)+1e3*Math.random()}handleDisconnection(){if(this.intentionalDisconnect||this.destroy$.closed)return;if(this.socket$=null,this.reconnectAttempts>=this.maxReconnectAttempts)return console.error("Max reconnection attempts reached"),void this.connectionState$.next(ws.FAILED);this.reconnectAttempts++,this.connectionState$.next(ws.RECONNECTING),this.clearReconnectTimer();const n=this.calculateReconnectDelay();console.log(`WebSocket closed, reconnecting in ${n}ms...`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.initializeWebSocket()},n)}parseMessage(n){try{if(n.Message&&"string"==typeof n.Message){const l=JSON.parse(n.Message);if(!l.message)return console.warn('SNS message missing required "message" field:',l),null;const w=l.message;let E;switch(w.type){case"new_communication_message":E="message.new";break;case"message_edited":E="message.edited";break;case"message_deleted":E="message.deleted";break;case"message_read_status":E="messages.read";break;case"message_received_status":E="messages.received";break;case"message_reaction_added":E="reaction.added";break;case"message_reaction_removed":E="reaction.removed";break;default:return console.warn("Unknown communication message type:",w.type),null}return{type:E,conversationId:w.threadId,nurseryId:l.nurseryId,userId:l.userId,messageId:w.messageId,messageIds:w.messageIds,participantType:w.participantType,emoji:w.emoji,participantName:w.participantName,senderName:w.senderName,messagePreview:w.messagePreview,unreadCount:w.totalUnreadCount,editedDate:w.editedDate?new Date(w.editedDate):void 0,newBody:w.messageBody,timestamp:w.sentDate?new Date(w.sentDate):w.editedDate?new Date(w.editedDate):new Date,rawData:l}}if("new_communication_message"===n.type&&n.threadId){const l=n;return{type:"message.new",conversationId:l.threadId,nurseryId:"",userId:"",messageId:l.messageId,senderName:l.senderName,messagePreview:l.messagePreview,unreadCount:l.totalUnreadCount,timestamp:new Date(l.sentDate),rawData:{nurseryId:"",userId:"",authRole:0,message:l}}}return console.warn("Unexpected message format:",n),null}catch(l){return console.error("Error parsing WebSocket message:",l),ns.captureException(l),null}}shouldProcessNotification(n){return this.currentUserId&&n.userId&&n.userId!==this.currentUserId?(console.debug("Ignoring message for different user:",n.userId),!1):!this.currentNurseryId||!n.nurseryId||n.nurseryId===this.currentNurseryId||(console.debug("Ignoring message for different nursery:",n.nurseryId),!1)}updateAuthToken(n){const l=this.authToken!==n;this.authToken=n,l&&this.isConnected()&&this.websocketUrl&&(console.log("Auth token updated, reconnecting WebSocket..."),this.disconnect(),this.connect(this.websocketUrl,n,this.currentUserId||void 0,this.currentNurseryId||void 0))}updateUserContext(n,l){this.currentUserId=n,this.currentNurseryId=l,console.log(`Updated user context: userId=${n}, nurseryId=${l}`)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.disconnect(),this.messages$.complete(),this.connectionState$.complete()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();class Ic{constructor(_){this.loadMethod=_}getItem(){return this.loadingPromise||(this.loadingPromise=this.loadMethod()),this.loadingPromise}}class vm{constructor(_,n,l){this.id=_,this.label=n,this.checked=l}}class Pg{constructor(_,n,l,w){this.thumbnailUrl=_,this.imageUrl=n,this.name=l,this.isVideo=w}}var Vl=(()=>(function(a){a[a.Complete=1]="Complete",a[a.SaveAsDraft=2]="SaveAsDraft",a[a.SaveAndContinue=3]="SaveAndContinue",a[a.DoNotSave=4]="DoNotSave",a[a.Approve=5]="Approve",a[a.Reject=6]="Reject",a[a.Logout=7]="Logout",a[a.Settings=8]="Settings",a[a.saveChanges=9]="saveChanges"}(Vl||(Vl={})),Vl))();class Wl{constructor(_,n){this.to=_,this.from=n}}class ym{constructor(_,n,l,w,E,Ae,ft,jt,zt,yn,jn){this.id=_,this.imageUrl=n,this.forename=l,this.surname=w,this.age=E,this.keyPerson=Ae,this.inToday=ft,this.completedTotal=jt,this.draftTotal=zt,this.approvalTotal=yn,this.rejectedTotal=jn}}let yh=(()=>{class a{}return a.regular="regular",a.small="small",a.large="large",a})(),Id=(()=>{class a{constructor(){this.initials="",this.size="medium"}get sizeClass(){return`avatar-${this.size}`}get hasPhoto(){return!!(this.photoUrl&&this.photoUrl.trim().length>0)}get hasIcon(){return!this.hasPhoto&&("user"===this.icon||"users"===this.icon||"megaphone"===this.icon)}get iconClass(){switch(this.icon){case"users":return"fa fa-users";case"megaphone":return"fa-light fa-megaphone";default:return"fa fa-user"}}get avatarClasses(){const n=[this.sizeClass];return this.colorClass&&n.push(this.colorClass),n.join(" ")}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-chat-avatar"]],inputs:{photoUrl:"photoUrl",initials:"initials",icon:"icon",size:"size",colorClass:"colorClass"},decls:4,vars:5,consts:[[1,"chat-avatar",3,"ngClass"],["class","avatar-image",3,"src","alt",4,"ngIf"],["class","avatar-icon",3,"ngClass",4,"ngIf"],["class","avatar-initials",3,"ngClass",4,"ngIf"],[1,"avatar-image",3,"src","alt"],[1,"avatar-icon",3,"ngClass"],["aria-hidden","true",3,"ngClass"],[1,"avatar-initials",3,"ngClass"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e.YNc(1,lu,1,2,"img",1),e.YNc(2,up,2,2,"div",2),e.YNc(3,oc,2,2,"div",3),e.qZA()),2&n&&(e.Q6J("ngClass",l.avatarClasses),e.uIk("data-icon-name",l.hasIcon?l.icon:null),e.xp6(1),e.Q6J("ngIf",l.hasPhoto),e.xp6(1),e.Q6J("ngIf",l.hasIcon),e.xp6(1),e.Q6J("ngIf",!l.hasPhoto&&!l.hasIcon))},directives:[u.mk,u.O5],styles:[".chat-avatar[_ngcontent-%COMP%]{border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative}.avatar-image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border-radius:50%}.avatar-initials[_ngcontent-%COMP%], .avatar-icon[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-weight:600;color:#fff;border-radius:50%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;padding-bottom:1px;background:#5b9bd5}.avatar-small[_ngcontent-%COMP%]{width:32px;height:32px}.avatar-small[_ngcontent-%COMP%] .avatar-initials[_ngcontent-%COMP%], .avatar-small[_ngcontent-%COMP%] .avatar-icon[_ngcontent-%COMP%]{font-size:12px}.avatar-medium[_ngcontent-%COMP%]{width:48px;height:48px}.avatar-medium[_ngcontent-%COMP%] .avatar-initials[_ngcontent-%COMP%], .avatar-medium[_ngcontent-%COMP%] .avatar-icon[_ngcontent-%COMP%]{font-size:16px}.avatar-large[_ngcontent-%COMP%]{width:64px;height:64px}.avatar-large[_ngcontent-%COMP%] .avatar-initials[_ngcontent-%COMP%]{font-size:20px}.avatar-large[_ngcontent-%COMP%] .avatar-icon[_ngcontent-%COMP%]{font-size:28px}.chat-avatar[_ngcontent-%COMP%]:nth-child(1) .avatar-initials[_ngcontent-%COMP%], .chat-avatar[_ngcontent-%COMP%]:nth-child(1) .avatar-icon[_ngcontent-%COMP%]{background:#5b9bd5}.chat-avatar[_ngcontent-%COMP%]:nth-child(2) .avatar-initials[_ngcontent-%COMP%], .chat-avatar[_ngcontent-%COMP%]:nth-child(2) .avatar-icon[_ngcontent-%COMP%]{background:#70ad47}.chat-avatar[_ngcontent-%COMP%]:nth-child(3) .avatar-initials[_ngcontent-%COMP%], .chat-avatar[_ngcontent-%COMP%]:nth-child(3) .avatar-icon[_ngcontent-%COMP%]{background:#ffc000}.chat-avatar[_ngcontent-%COMP%]:nth-child(4) .avatar-initials[_ngcontent-%COMP%], .chat-avatar[_ngcontent-%COMP%]:nth-child(4) .avatar-icon[_ngcontent-%COMP%]{background:#ff7c80}.chat-avatar[_ngcontent-%COMP%]:nth-child(5) .avatar-initials[_ngcontent-%COMP%], .chat-avatar[_ngcontent-%COMP%]:nth-child(5) .avatar-icon[_ngcontent-%COMP%]{background:#c55a11}.chat-avatar[_ngcontent-%COMP%]:nth-child(6) .avatar-initials[_ngcontent-%COMP%], .chat-avatar[_ngcontent-%COMP%]:nth-child(6) .avatar-icon[_ngcontent-%COMP%]{background:#7030a0}.chat-avatar[_ngcontent-%COMP%]:nth-child(7) .avatar-initials[_ngcontent-%COMP%], .chat-avatar[_ngcontent-%COMP%]:nth-child(7) .avatar-icon[_ngcontent-%COMP%]{background:#375623}.chat-avatar[_ngcontent-%COMP%]:nth-child(8) .avatar-initials[_ngcontent-%COMP%], .chat-avatar[_ngcontent-%COMP%]:nth-child(8) .avatar-icon[_ngcontent-%COMP%]{background:#d04a02}.avatar-color-1[_ngcontent-%COMP%] .avatar-initials[_ngcontent-%COMP%], .avatar-color-1[_ngcontent-%COMP%] .avatar-icon[_ngcontent-%COMP%]{background:#5b9bd5!important}.avatar-color-2[_ngcontent-%COMP%] .avatar-initials[_ngcontent-%COMP%], .avatar-color-2[_ngcontent-%COMP%] .avatar-icon[_ngcontent-%COMP%]{background:#70ad47!important}.avatar-color-3[_ngcontent-%COMP%] .avatar-initials[_ngcontent-%COMP%], .avatar-color-3[_ngcontent-%COMP%] .avatar-icon[_ngcontent-%COMP%]{background:#ffc000!important}.avatar-color-4[_ngcontent-%COMP%] .avatar-initials[_ngcontent-%COMP%], .avatar-color-4[_ngcontent-%COMP%] .avatar-icon[_ngcontent-%COMP%]{background:#ff7c80!important}.avatar-color-5[_ngcontent-%COMP%] .avatar-initials[_ngcontent-%COMP%], .avatar-color-5[_ngcontent-%COMP%] .avatar-icon[_ngcontent-%COMP%]{background:#c55a11!important}.avatar-color-6[_ngcontent-%COMP%] .avatar-initials[_ngcontent-%COMP%], .avatar-color-6[_ngcontent-%COMP%] .avatar-icon[_ngcontent-%COMP%]{background:#7030a0!important}.avatar-color-7[_ngcontent-%COMP%] .avatar-initials[_ngcontent-%COMP%], .avatar-color-7[_ngcontent-%COMP%] .avatar-icon[_ngcontent-%COMP%]{background:#375623!important}.avatar-color-8[_ngcontent-%COMP%] .avatar-initials[_ngcontent-%COMP%], .avatar-color-8[_ngcontent-%COMP%] .avatar-icon[_ngcontent-%COMP%]{background:#d04a02!important}"]}),a})();const Fc=[{key:"smileys",label:"Smileys & Emotions",icon:"\u{1f60a}",emojis:["\u{1f600}","\u{1f603}","\u{1f604}","\u{1f601}","\u{1f606}","\u{1f605}","\u{1f923}","\u{1f602}","\u{1f642}","\u{1f643}","\u{1f609}","\u{1f60a}","\u{1f607}","\u{1f970}","\u{1f60d}","\u{1f929}","\u{1f618}","\u{1f617}","\u{1f61a}","\u{1f619}","\u{1f60b}","\u{1f61b}","\u{1f61c}","\u{1f92a}","\u{1f61d}","\u{1f911}","\u{1f917}","\u{1f92d}","\u{1f92b}","\u{1f914}","\u{1f910}","\u{1f928}","\u{1f610}","\u{1f611}","\u{1f636}","\u{1f60f}","\u{1f612}","\u{1f644}","\u{1f62c}","\u{1f925}","\u{1f614}","\u{1f62a}","\u{1f924}","\u{1f634}","\u{1f637}","\u{1f912}","\u{1f915}","\u{1f922}","\u{1f92e}","\u{1f927}","\u{1f975}","\u{1f976}","\u{1f974}","\u{1f635}","\u{1f92f}","\u{1f920}","\u{1f973}","\u{1f60e}","\u{1f913}","\u{1f9d0}"]},{key:"people",label:"People & Body",icon:"\u{1f44b}",emojis:["\u{1f44b}","\u{1f91a}","\u{1f590}\ufe0f","\u270b","\u{1f596}","\u{1f44c}","\u{1f90f}","\u270c\ufe0f","\u{1f91e}","\u{1f91f}","\u{1f918}","\u{1f919}","\u{1f448}","\u{1f449}","\u{1f446}","\u{1f595}","\u{1f447}","\u261d\ufe0f","\u{1f44d}","\u{1f44e}","\u{1f44a}","\u270a","\u{1f91b}","\u{1f91c}","\u{1f44f}","\u{1f64c}","\u{1f450}","\u{1f932}","\u{1f91d}","\u{1f64f}","\u270d\ufe0f","\u{1f485}","\u{1f933}","\u{1f4aa}","\u{1f9be}","\u{1f9bf}","\u{1f9b5}","\u{1f9b6}","\u{1f442}","\u{1f9bb}","\u{1f443}","\u{1f9e0}","\u{1f9b7}","\u{1f9b4}","\u{1f440}","\u{1f441}\ufe0f","\u{1f445}","\u{1f444}","\u{1f48b}","\u{1fa78}"]},{key:"nature",label:"Animals & Nature",icon:"\u{1f31f}",emojis:["\u{1f31f}","\u2b50","\u{1f320}","\u2600\ufe0f","\u{1f31e}","\u{1f31d}","\u{1f31b}","\u{1f31c}","\u{1f31a}","\u{1f315}","\u{1f316}","\u{1f317}","\u{1f318}","\u{1f311}","\u{1f312}","\u{1f313}","\u{1f314}","\u{1f319}","\u{1f30e}","\u{1f30d}","\u{1f30f}","\u{1f4ab}","\u26a1","\u2604\ufe0f","\u{1f4a5}","\u{1f525}","\u{1f32a}\ufe0f","\u{1f308}","\u2601\ufe0f","\u26c5","\u26c8\ufe0f","\u{1f324}\ufe0f","\u{1f326}\ufe0f","\u{1f327}\ufe0f","\u26c6","\u2744\ufe0f","\u2603\ufe0f","\u26c4","\u{1f328}\ufe0f","\u{1f4a8}","\u{1f4a7}","\u{1f4a6}","\u2614","\u{1f30a}","\u{1f32b}\ufe0f"]},{key:"food",label:"Food & Drink",icon:"\u{1f34e}",emojis:["\u{1f34e}","\u{1f34f}","\u{1f34a}","\u{1f34b}","\u{1f34c}","\u{1f349}","\u{1f347}","\u{1f353}","\u{1fad0}","\u{1f348}","\u{1f352}","\u{1f351}","\u{1f96d}","\u{1f34d}","\u{1f965}","\u{1f95d}","\u{1f345}","\u{1f346}","\u{1f951}","\u{1f966}","\u{1f96c}","\u{1f952}","\u{1f336}\ufe0f","\u{1fad1}","\u{1f33d}","\u{1f955}","\u{1fad2}","\u{1f9c4}","\u{1f9c5}","\u{1f954}","\u{1f360}","\u{1f950}","\u{1f956}","\u{1f35e}","\u{1f968}","\u{1f96f}","\u{1f9c0}","\u{1f95a}","\u{1f373}","\u{1f9c8}","\u{1f95e}","\u{1f9c7}","\u{1f953}","\u{1f969}","\u{1f357}","\u{1f356}","\u{1f9b4}","\u{1f32d}","\u{1f354}","\u{1f35f}","\u{1f355}"]},{key:"activities",label:"Activities",icon:"\u26bd",emojis:["\u26bd","\u{1f3c0}","\u{1f3c8}","\u26be","\u{1f94e}","\u{1f3be}","\u{1f3d0}","\u{1f3c9}","\u{1f94f}","\u{1f3b1}","\u{1fa80}","\u{1f3d3}","\u{1f3f8}","\u{1f3d2}","\u{1f3d1}","\u{1f94d}","\u{1f3cf}","\u{1fa83}","\u{1f945}","\u26f3","\u{1fa81}","\u{1f3f9}","\u{1f3a3}","\u{1f93f}","\u{1f94a}","\u{1f94b}","\u{1f3bd}","\u{1f6f9}","\u{1f6f7}","\u26f8\ufe0f","\u{1f94c}","\u{1f3bf}","\u26f7\ufe0f","\u{1f3c2}","\u{1fa82}","\u{1f3cb}\ufe0f","\u{1f93c}","\u{1f938}","\u26f9\ufe0f","\u{1f93a}","\u{1f93e}","\u{1f3cc}\ufe0f","\u{1f3c7}","\u{1f9d8}","\u{1f3c4}","\u{1f3ca}","\u{1f93d}","\u{1f6a3}","\u{1f9d7}","\u{1f6b5}","\u{1f6b4}","\u{1f3c6}","\u{1f947}","\u{1f948}","\u{1f949}","\u{1f3c5}","\u{1f396}\ufe0f","\u{1f3f5}\ufe0f","\u{1f397}\ufe0f"]},{key:"objects",label:"Objects",icon:"\u{1f4da}",emojis:["\u{1f4da}","\u{1f4d6}","\u{1f4dd}","\u270f\ufe0f","\u{1f58a}\ufe0f","\u{1f58b}\ufe0f","\u{1f58c}\ufe0f","\u{1f58d}\ufe0f","\u{1f4c4}","\u{1f4c3}","\u{1f4d1}","\u{1f4ca}","\u{1f4c8}","\u{1f4c9}","\u{1f4c7}","\u{1f5c3}\ufe0f","\u{1f5f3}\ufe0f","\u{1f5c4}\ufe0f","\u{1f4cb}","\u{1f4cc}","\u{1f4cd}","\u{1f4ce}","\u{1f587}\ufe0f","\u{1f4cf}","\u{1f4d0}","\u2702\ufe0f","\u{1f5c2}\ufe0f","\u{1f5de}\ufe0f","\u{1f4f0}","\u{1f4d3}","\u{1f4d4}","\u{1f4d2}","\u{1f4d5}","\u{1f4d7}","\u{1f4d8}","\u{1f4d9}","\u{1f4dc}","\u{1f5d2}\ufe0f","\u{1f5d3}\ufe0f","\u{1f4c5}","\u{1f4c6}","\u{1f5d1}\ufe0f","\u{1f4e7}","\u{1f4e8}","\u{1f4e9}","\u{1f4e4}","\u{1f4e5}","\u{1f4e6}","\u{1f4eb}","\u{1f4ea}","\u{1f4ec}","\u{1f4ed}","\u{1f4ee}","\u{1f5f3}\ufe0f","\u2709\ufe0f","\u{1f4ef}","\u{1f4e2}","\u{1f4e3}"]},{key:"symbols",label:"Symbols",icon:"\u2764\ufe0f",emojis:["\u2764\ufe0f","\u{1f9e1}","\u{1f49b}","\u{1f49a}","\u{1f499}","\u{1f49c}","\u{1f5a4}","\u{1f90d}","\u{1f90e}","\u{1f494}","\u2763\ufe0f","\u{1f495}","\u{1f49e}","\u{1f493}","\u{1f497}","\u{1f496}","\u{1f498}","\u{1f49d}","\u{1f49f}","\u262e\ufe0f","\u271d\ufe0f","\u262a\ufe0f","\u{1f549}\ufe0f","\u2638\ufe0f","\u2721\ufe0f","\u{1f52f}","\u{1f54e}","\u262f\ufe0f","\u2626\ufe0f","\u{1f6d0}","\u26ce","\u2648","\u2649","\u264a","\u264b","\u264c","\u264d","\u264e","\u264f","\u2650","\u2651","\u2652","\u2653","\u{1f194}","\u269b\ufe0f","\u{1f251}","\u2622\ufe0f","\u2623\ufe0f","\u{1f4f4}","\u{1f4f3}","\u{1f236}","\u{1f21a}","\u{1f238}","\u{1f23a}","\u{1f237}\ufe0f","\u2734\ufe0f","\u{1f19a}","\u{1f4ae}","\u{1f250}","\u3299\ufe0f","\u3297\ufe0f"]}];let Cl=(()=>{class a{constructor(){this.mode="simple",this.isVisible=!1,this.simpleEmojis=["\u{1f44d}","\u2764\ufe0f","\u{1f602}","\u{1f44c}","\u{1f60a}"],this.emojiSelected=new e.vpe,this.close=new e.vpe,this.categories=[],this.activeCategory="smileys",this.displayedEmojis=[]}ngOnInit(){"advanced"===this.mode&&(this.categories=Fc,this.switchCategory("smileys"))}ngOnDestroy(){}switchCategory(n){"advanced"===this.mode&&(this.activeCategory=n,this.displayedEmojis=function wm(a){const _=Fc.find(n=>n.key===a);return _?_.emojis:Fc[0].emojis}(n))}selectEmoji(n){this.emojiSelected.emit(n),this.targetElement&&"advanced"===this.mode&&this.insertEmojiAtCursor(n),this.handleClose()}insertEmojiAtCursor(n){if(!this.targetElement)return;const l=this.targetElement,w=l.selectionStart||0,E=l.selectionEnd||0,Ae=l.value,ft=Ae.substring(0,w)+n+Ae.substring(E);l.value=ft;const jt=w+n.length;l.setSelectionRange(jt,jt),l.focus();const zt=new Event("input",{bubbles:!0});l.dispatchEvent(zt)}handleClose(){this.close.emit()}onDocumentClick(n){if(!this.isVisible)return;const l=n.target;this.pickerContainer&&this.pickerContainer.nativeElement.contains(l)||l.closest(".emoji-button")||this.handleClose()}trackByEmoji(n,l){return l}trackByCategory(n,l){return l.key}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-unified-emoji-picker"]],viewQuery:function(n,l){if(1&n&&e.Gf(cu,5),2&n){let w;e.iGM(w=e.CRH())&&(l.pickerContainer=w.first)}},hostBindings:function(n,l){1&n&&e.NdJ("click",function(E){return l.onDocumentClick(E)},!1,e.evT)},inputs:{mode:"mode",isVisible:"isVisible",targetElement:"targetElement",simpleEmojis:"simpleEmojis"},outputs:{emojiSelected:"emojiSelected",close:"close"},decls:2,vars:2,consts:[["class","emoji-popover","data-id","emoji-popover",4,"ngIf"],["class","emoji-picker","data-id","emoji-picker-modal",4,"ngIf"],["data-id","emoji-popover",1,"emoji-popover"],["pickerContainer",""],["data-id","emoji-grid",1,"emoji-grid"],["class","emoji-item",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"emoji-item",3,"click"],["data-id","emoji-picker-modal",1,"emoji-picker"],[1,"emoji-picker-header"],[1,"emoji-picker-title"],["type","button","data-id","emoji-picker-close","aria-label","Close emoji picker",1,"emoji-picker-close",3,"click"],[1,"material-icons"],["data-id","emoji-category",1,"emoji-categories"],["type","button","class","emoji-category-btn","data-id","emoji-category-tab",3,"active","title","click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button","class","emoji-item","data-id","emoji-button",3,"title","click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button","data-id","emoji-category-tab",1,"emoji-category-btn",3,"title","click"],["data-id","emoji-category-name"],["type","button","data-id","emoji-button",1,"emoji-item",3,"title","click"]],template:function(n,l){1&n&&(e.YNc(0,od,4,2,"div",0),e.YNc(1,ac,12,4,"div",1)),2&n&&(e.Q6J("ngIf",l.isVisible&&"simple"===l.mode),e.xp6(1),e.Q6J("ngIf",l.isVisible&&"advanced"===l.mode))},directives:[u.O5,u.sg],styles:[".emoji-popover[_ngcontent-%COMP%]{position:absolute;bottom:100%;right:5px;margin-bottom:8px;background:#fff;border:1px solid #ebebeb;border-radius:8px;box-shadow:0 2px 8px #00000026;padding:8px;z-index:1001;display:flex;grid-gap:4px;gap:4px}.emoji-popover[_ngcontent-%COMP%] .emoji-grid[_ngcontent-%COMP%]{display:flex;grid-gap:4px;gap:4px}.emoji-popover[_ngcontent-%COMP%] .emoji-item[_ngcontent-%COMP%]{font-size:24px;padding:4px;cursor:pointer;border-radius:4px;transition:background-color .2s;-webkit-user-select:none;user-select:none}.emoji-popover[_ngcontent-%COMP%] .emoji-item[_ngcontent-%COMP%]:hover{background-color:#dcd0e2}.emoji-popover[_ngcontent-%COMP%] .emoji-item[_ngcontent-%COMP%]:active{background-color:#ebebeb}.emoji-picker[_ngcontent-%COMP%]{position:absolute;bottom:50px;right:50px;background:#fff;border:1px solid #ebebeb;border-radius:12px;box-shadow:0 8px 24px #00000026;width:320px;max-height:300px;z-index:1001;display:flex;flex-direction:column;opacity:1;transform:scale(1) translateY(0);transition:opacity .15s ease,transform .15s ease}.emoji-picker[_ngcontent-%COMP%] .emoji-picker-header[_ngcontent-%COMP%]{padding:12px 16px;border-bottom:1px solid #ebebeb;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.emoji-picker[_ngcontent-%COMP%] .emoji-picker-header[_ngcontent-%COMP%] .emoji-picker-title[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:#333}.emoji-picker[_ngcontent-%COMP%] .emoji-picker-header[_ngcontent-%COMP%] .emoji-picker-close[_ngcontent-%COMP%]{width:24px;height:24px;border:none;background:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#999;padding:0;transition:background-color .2s ease}.emoji-picker[_ngcontent-%COMP%] .emoji-picker-header[_ngcontent-%COMP%] .emoji-picker-close[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.05)}.emoji-picker[_ngcontent-%COMP%] .emoji-picker-header[_ngcontent-%COMP%] .emoji-picker-close[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:16px}.emoji-picker[_ngcontent-%COMP%] .emoji-categories[_ngcontent-%COMP%]{display:flex;padding:8px;border-bottom:1px solid #ebebeb;grid-gap:4px;gap:4px;flex-shrink:0;overflow-x:auto;scrollbar-width:none}.emoji-picker[_ngcontent-%COMP%] .emoji-categories[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.emoji-picker[_ngcontent-%COMP%] .emoji-categories[_ngcontent-%COMP%] .emoji-category-btn[_ngcontent-%COMP%]{width:32px;height:32px;border:none;background:none;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;transition:all .2s ease;flex-shrink:0}.emoji-picker[_ngcontent-%COMP%] .emoji-categories[_ngcontent-%COMP%] .emoji-category-btn[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.05)}.emoji-picker[_ngcontent-%COMP%] .emoji-categories[_ngcontent-%COMP%] .emoji-category-btn.active[_ngcontent-%COMP%]{background:#dcd0e2;color:#ba25b2}.emoji-picker[_ngcontent-%COMP%] .emoji-grid[_ngcontent-%COMP%]{padding:12px;display:grid;grid-template-columns:repeat(8,1fr);grid-gap:4px;gap:4px;max-height:200px;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#999 #ebebeb}.emoji-picker[_ngcontent-%COMP%] .emoji-grid[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px}.emoji-picker[_ngcontent-%COMP%] .emoji-grid[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#ebebeb;border-radius:4px}.emoji-picker[_ngcontent-%COMP%] .emoji-grid[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#999;border-radius:4px;-webkit-transition:background .2s;transition:background .2s}.emoji-picker[_ngcontent-%COMP%] .emoji-grid[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#ba25b2}.emoji-picker[_ngcontent-%COMP%] .emoji-grid[_ngcontent-%COMP%] .emoji-item[_ngcontent-%COMP%]{width:32px;height:32px;border:none;background:none;border-radius:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:18px;transition:all .2s ease;padding:0}.emoji-picker[_ngcontent-%COMP%] .emoji-grid[_ngcontent-%COMP%] .emoji-item[_ngcontent-%COMP%]:hover{background:#dcd0e2;transform:scale(1.1)}.emoji-picker[_ngcontent-%COMP%] .emoji-grid[_ngcontent-%COMP%] .emoji-item[_ngcontent-%COMP%]:active{transform:scale(.95)}"]}),a})(),bh=(()=>{class a{constructor(){this.show=!1,this.avatarColor="avatar-color-1",this.close=new e.vpe}get senderChildren(){var n,l,w;const E=null===(n=this.selectedMessage)||void 0===n?void 0:n.senderName;if(!E||!(null===(l=this.conversation)||void 0===l?void 0:l.participants))return[];const Ae=this.conversation.participants.find(ft=>ft.participantName===E);return null!==(w=null==Ae?void 0:Ae.children)&&void 0!==w?w:[]}onClose(){this.close.emit()}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-avatar-info-card"]],inputs:{show:"show",selectedMessage:"selectedMessage",conversation:"conversation",avatarColor:"avatarColor"},outputs:{close:"close"},decls:1,vars:1,consts:[["class","avatar-info-card","data-id","avatar-info-card",4,"ngIf"],["data-id","avatar-info-card",1,"avatar-info-card"],[1,"info-card-header"],[1,"close-button",3,"click"],[1,"fa","fa-times"],["class","info-card-content",4,"ngIf"],[1,"info-card-content"],["data-id","avatar-info-avatar",1,"avatar-large"],["size","large",3,"photoUrl","initials","icon","colorClass"],[1,"info-details"],["data-id","info-sender-name",1,"sender-name"],["class","info-relationships","data-id","info-relationships",4,"ngIf"],["data-id","info-relationships",1,"info-relationships"],["class","relationship-row","data-id","info-relationship-row",4,"ngFor","ngForOf"],["data-id","info-relationship-row",1,"relationship-row"],["data-id","info-child-name"],["class","relationship","data-id","info-child-relationship",4,"ngIf"],["data-id","info-child-relationship",1,"relationship"]],template:function(n,l){1&n&&e.YNc(0,Ol,5,1,"div",0),2&n&&e.Q6J("ngIf",l.show)},directives:[Id,u.O5,u.sg],styles:[".avatar-info-card[_ngcontent-%COMP%]{position:fixed;bottom:90px;left:16px;right:16px;background:white;border-radius:12px;padding:20px;box-shadow:0 4px 20px #0000001a;z-index:2000;border:1px solid #e8e8e8}.avatar-info-card[_ngcontent-%COMP%] .info-card-header[_ngcontent-%COMP%]{position:absolute;top:8px;right:8px}.avatar-info-card[_ngcontent-%COMP%] .info-card-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{width:28px;height:28px;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;background:none;color:#9b9b9b;font-size:14px}.avatar-info-card[_ngcontent-%COMP%] .info-card-header[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]:hover{background:rgba(155,155,155,.1);color:#7a7a7a}.avatar-info-card[_ngcontent-%COMP%] .info-card-content[_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:16px;gap:16px}.avatar-info-card[_ngcontent-%COMP%] .info-card-content[_ngcontent-%COMP%] .avatar-large[_ngcontent-%COMP%]{flex-shrink:0}.avatar-info-card[_ngcontent-%COMP%] .info-card-content[_ngcontent-%COMP%] .info-details[_ngcontent-%COMP%]{flex:1;text-align:left}.avatar-info-card[_ngcontent-%COMP%] .info-card-content[_ngcontent-%COMP%] .info-details[_ngcontent-%COMP%] .sender-name[_ngcontent-%COMP%]{font:600 16px/1.3;color:#2d2d2d;margin:0 0 4px}.avatar-info-card[_ngcontent-%COMP%] .info-card-content[_ngcontent-%COMP%] .info-details[_ngcontent-%COMP%] .nursery-name[_ngcontent-%COMP%]{font:13px/1.4;color:#666;margin:0}.avatar-info-card[_ngcontent-%COMP%] .info-card-content[_ngcontent-%COMP%] .info-details[_ngcontent-%COMP%] .info-relationships[_ngcontent-%COMP%]{list-style:none;padding:0;margin:4px 0 0}.avatar-info-card[_ngcontent-%COMP%] .info-card-content[_ngcontent-%COMP%] .info-details[_ngcontent-%COMP%] .info-relationships[_ngcontent-%COMP%] .relationship-row[_ngcontent-%COMP%]{font:13px/1.4;color:#666}.avatar-info-card[_ngcontent-%COMP%] .info-card-content[_ngcontent-%COMP%] .info-details[_ngcontent-%COMP%] .info-relationships[_ngcontent-%COMP%] .relationship-row[_ngcontent-%COMP%] .relationship[_ngcontent-%COMP%]{color:#9b9b9b}"]}),a})(),wh=(()=>{class a{constructor(){this.messages=[],this.isLoading=!1,this.isLoadingOlder=!1,this.hasMoreMessages=!0,this.bubbleStyle="default",this.canEditMessages=!1,this.canDeleteMessages=!1,this.enableReactions=!1,this.reactionEmojis=["\u{1f44d}","\u2764\ufe0f","\u{1f602}","\u{1f62e}","\u{1f622}","\u{1f64f}"],this.statusDisplayMode="ticks",this.scroll=new e.vpe,this.avatarClick=new e.vpe,this.retryMessage=new e.vpe,this.editMessageRequest=new e.vpe,this.deleteMessageRequest=new e.vpe,this.reactionToggle=new e.vpe,this.activeKebabMessageId=null,this.dropdownPosition={top:0,bottom:null,left:0},this.activeReactionPickerMessageId=null,this.reactionPickerPosition={top:0,bottom:null,left:0},this.longPressTimer=null,this.longPressOrigin=null,this.longPressOpenedMessageId=null}trackByMessageId(n,l){return l.id}onScroll(n){this.scroll.emit(n)}onAvatarClick(n){this.avatarClick.emit(n)}onRetryMessage(n){this.retryMessage.emit(n)}onKebabClick(n,l){if(n.stopPropagation(),this.activeKebabMessageId===l.id)return void(this.activeKebabMessageId=null);const w=n.currentTarget.getBoundingClientRect();this.dropdownPosition=this.placePopover(w.top,w.bottom,w.left,a.KebabDropdownHeightPx),this.activeKebabMessageId=l.id}onEditClick(n){this.activeKebabMessageId=null,this.editMessageRequest.emit(n)}onDeleteClick(n){this.activeKebabMessageId=null,this.deleteMessageRequest.emit(n)}closeKebab(){this.activeKebabMessageId=null}onReactionPickerClick(n,l){if(n.stopPropagation(),this.activeReactionPickerMessageId===l.id)return void(this.activeReactionPickerMessageId=null);const w=n.currentTarget.getBoundingClientRect();this.reactionPickerPosition=this.placePopover(w.top,w.bottom,w.left,a.ReactionPickerHeightPx),this.activeReactionPickerMessageId=l.id}placePopover(n,l,w,E){const Ae=a.PopoverGapPx;return this.messagesContainer.nativeElement.getBoundingClientRect().bottom-l>=E+Ae?{top:l+Ae,bottom:null,left:w}:{top:null,bottom:window.innerHeight-n+Ae,left:w}}onMessagePointerDown(n,l){"touch"!==n.pointerType||!this.canReactTo(l)||(this.longPressOrigin={x:n.clientX,y:n.clientY},this.longPressTimer=setTimeout(()=>{this.longPressTimer=null,this.longPressOpenedMessageId=l.id,this.reactionPickerPosition=this.placePopover(n.clientY,n.clientY,n.clientX,a.ReactionPickerHeightPx),this.activeReactionPickerMessageId=l.id},a.LongPressDurationMs))}onMessagePointerMove(n){this.longPressTimer&&this.longPressOrigin&&(Math.abs(n.clientX-this.longPressOrigin.x)>a.LongPressMoveTolerancePx||Math.abs(n.clientY-this.longPressOrigin.y)>a.LongPressMoveTolerancePx)&&this.cancelLongPress()}onMessagePointerFinished(){this.cancelLongPress()}onMessageContextMenu(n,l){this.longPressOpenedMessageId===l.id&&(n.preventDefault(),this.longPressOpenedMessageId=null)}cancelLongPress(){this.longPressTimer&&(clearTimeout(this.longPressTimer),this.longPressTimer=null),this.longPressOrigin=null}canReactTo(n){return this.enableReactions&&!n.isDeleted&&!n.isPending&&!n.isFailed}onReactionEmojiSelect(n,l){this.activeReactionPickerMessageId=null,this.reactionToggle.emit({message:n,emoji:l})}onReactionChipClick(n,l){this.reactionToggle.emit({message:n,emoji:l})}closeReactionPicker(){this.activeReactionPickerMessageId=null}trackByEmoji(n,l){return l}trackByReaction(n,l){return l.emoji}getMessageGroupDate(n,l){if(0===l)return this.getDateHeader(n.timestamp);const w=this.messages[l-1];return new Date(n.timestamp).toDateString()!==new Date(w.timestamp).toDateString()?this.getDateHeader(n.timestamp):null}shouldShowAvatar(n,l){return!n.isFromCurrentUser&&this.isFirstMessageInGroup(n,l)}shouldShowAvatarSpacer(n,l){return!n.isFromCurrentUser&&!this.isFirstMessageInGroup(n,l)}isFirstMessageInGroup(n,l){if(0===l)return!0;const w=this.messages[l-1];return w.isFromCurrentUser||w.senderName!==n.senderName}isLastMessageInGroup(n,l){if(l===this.messages.length-1)return!0;const w=this.messages[l+1];return w.isFromCurrentUser!==n.isFromCurrentUser||w.senderName!==n.senderName}getMessageDeliveryStatus(n){return"ticks"!==this.statusDisplayMode||!n.isFromCurrentUser||n.isPending||n.isFailed||n.isDeleted?null:(n.readByCarerCount||0)>0?"read":(n.receivedByCarerCount||0)>0?"delivered":"sent"}shouldShowDeliveredText(n,l){return!("text"!==this.statusDisplayMode||!n.isFromCurrentUser||n.isPending||n.isFailed||n.isDeleted||0===(n.receivedByStaffCount||0))&&this.isLatestOwnMessage(l)}isLatestOwnMessage(n){for(let l=this.messages.length-1;l>n;l--)if(this.messages[l].isFromCurrentUser&&!this.messages[l].isFailed)return!1;return!0}getMessageTime(n){return new Date(n).toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit",hour12:!1})}getAvatarColor(){if(!this.conversation)return"avatar-color-1";const n=this.hashCode(this.conversation.id);return"avatar-color-"+(Math.abs(n)%8+1)}hashCode(n){let l=0;for(let w=0;w0),e.xp6(1),e.Q6J("ngIf",l.isLoading&&0===l.messages.length))},directives:[Id,Je.Ou,u.O5,u.sg,u.mk],styles:['[_nghost-%COMP%]{--bubble-sent-bg: #a98ab6;--bubble-received-bg: #f5f5f5;--bubble-sent-text: #fff;--bubble-received-text: #000000;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.messages-container[_ngcontent-%COMP%]{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 16px}.load-more-indicator[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;grid-gap:8px;gap:8px;padding:16px;color:#666;font-size:14px}.load-more-indicator[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#7030a0}.loading-latest-indicator[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;grid-gap:8px;gap:8px;padding:12px 16px;color:#666;font-size:13px}.loading-latest-indicator[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#7030a0}.messages-list[_ngcontent-%COMP%]{padding:16px 0 0}.date-header[_ngcontent-%COMP%]{text-align:center;margin:16px 0 12px}.date-header[_ngcontent-%COMP%] .date-text[_ngcontent-%COMP%]{background:transparent;color:#666;padding:4px 8px;border-radius:8px;font:400 11px/1;opacity:.6}.message-wrapper[_ngcontent-%COMP%]{display:flex;margin-bottom:6px;align-items:flex-end}.message-wrapper.message-from-current-user[_ngcontent-%COMP%]{flex-direction:row-reverse}.message-wrapper.message-from-current-user[_ngcontent-%COMP%] .message-avatar[_ngcontent-%COMP%]{margin:0 0 4px 8px}.message-avatar[_ngcontent-%COMP%]{margin:0 8px 4px 0;cursor:pointer}.message-avatar-spacer[_ngcontent-%COMP%]{width:32px;min-width:32px;margin:0 8px 4px 0}.message-content-row[_ngcontent-%COMP%]{display:flex;align-items:flex-end;grid-gap:2px;gap:2px;max-width:75%}.message-wrapper[_ngcontent-%COMP%]:not(.message-from-current-user) .message-content-row[_ngcontent-%COMP%]{flex-grow:1}.message-bubble-container[_ngcontent-%COMP%]{flex:1 1 0;min-width:0}.message-from-current-user[_ngcontent-%COMP%] .message-bubble-container[_ngcontent-%COMP%]{flex:0 1 auto;text-align:right}.message-bubble[_ngcontent-%COMP%]{display:inline-block;padding:12px 16px;border-radius:18px;background:#f5f5f5;color:#000;position:relative;max-width:100%;box-sizing:border-box;text-align:left;vertical-align:bottom}.message-bubble.bubble-from-current-user[_ngcontent-%COMP%]{background:var(--bubble-sent-bg);color:var(--bubble-sent-text);border-bottom-right-radius:6px}.message-bubble[_ngcontent-%COMP%]:not(.bubble-from-current-user){background:var(--bubble-received-bg);color:var(--bubble-received-text);border-bottom-left-radius:6px}.message-bubble.bubble-pending[_ngcontent-%COMP%]{opacity:.7}.message-bubble.bubble-failed[_ngcontent-%COMP%]{border:1px solid #ff5252;opacity:.9}.message-wrapper.last-in-group[_ngcontent-%COMP%]:has(.message-avatar) .message-bubble[_ngcontent-%COMP%]:not(.bubble-from-current-user):before{content:"";position:absolute;left:-7px;bottom:2px;width:0;height:0;border-style:solid;border-width:0 8px 8px 0;border-color:transparent var(--bubble-received-bg) transparent transparent;z-index:1}.message-wrapper.last-in-group.message-from-current-user[_ngcontent-%COMP%] .message-bubble.bubble-from-current-user[_ngcontent-%COMP%]:before{content:"";position:absolute;right:-7px;bottom:2px;width:0;height:0;border-style:solid;border-width:0 0 8px 8px;border-color:transparent transparent transparent var(--bubble-sent-bg);z-index:1}.bubble-style-material3[_nghost-%COMP%] .message-bubble[_ngcontent-%COMP%]{border-radius:8px;padding:6px 8px;max-width:70%}.bubble-style-material3[_nghost-%COMP%] .message-bubble.bubble-from-current-user[_ngcontent-%COMP%]{border-bottom-right-radius:2px;color:#fff}.bubble-style-material3[_nghost-%COMP%] .message-bubble[_ngcontent-%COMP%]:not(.bubble-from-current-user){border-bottom-left-radius:2px}.bubble-style-material3[_nghost-%COMP%] .message-wrapper[_ngcontent-%COMP%]:not(:has(.message-avatar)){margin-bottom:4px;margin-top:-3px}.bubble-style-material3[_nghost-%COMP%] .message-wrapper[_ngcontent-%COMP%]:not(:has(.message-avatar)) .message-bubble.bubble-from-current-user[_ngcontent-%COMP%]{border-radius:8px 8px 2px;max-width:100%}.bubble-style-material3[_nghost-%COMP%] .message-wrapper[_ngcontent-%COMP%]:not(:has(.message-avatar)) .message-bubble.bubble-from-current-user[_ngcontent-%COMP%]:before{content:"";position:absolute;right:-8px;bottom:2px;width:0;height:0;border-style:solid;border-width:0 0 8px 8px;border-color:transparent transparent transparent #a98ab6;z-index:1}.bubble-style-material3[_nghost-%COMP%] .message-wrapper[_ngcontent-%COMP%]:not(:has(.message-avatar)) .message-bubble[_ngcontent-%COMP%]:not(.bubble-from-current-user){border-radius:8px 8px 8px 2px}.bubble-style-material3[_nghost-%COMP%] .message-wrapper[_ngcontent-%COMP%]:not(:has(.message-avatar)) + .message-wrapper[_ngcontent-%COMP%]:not(:has(.message-avatar)) .message-bubble.bubble-from-current-user[_ngcontent-%COMP%]{border-radius:8px 2px 2px 8px}.bubble-style-material3[_nghost-%COMP%] .message-wrapper[_ngcontent-%COMP%]:not(:has(.message-avatar)) + .message-wrapper[_ngcontent-%COMP%]:not(:has(.message-avatar)) .message-bubble.bubble-from-current-user[_ngcontent-%COMP%]:before{display:none}.bubble-style-material3[_nghost-%COMP%] .message-wrapper[_ngcontent-%COMP%]:not(:has(.message-avatar)) + .message-wrapper[_ngcontent-%COMP%]:not(:has(.message-avatar)) .message-bubble[_ngcontent-%COMP%]:not(.bubble-from-current-user){border-radius:2px 8px 8px 2px}.bubble-style-material3[_nghost-%COMP%] .message-text[_ngcontent-%COMP%]{font-size:14px;line-height:1.4}.bubble-style-material3[_nghost-%COMP%] .message-metadata[_ngcontent-%COMP%]{font-size:11px}.bubble-from-current-user .bubble-style-material3[_nghost-%COMP%] .message-metadata[_ngcontent-%COMP%]{color:#fffc}.message-text[_ngcontent-%COMP%]{font:15px/1.4;overflow-wrap:anywhere;word-break:break-word;margin-bottom:4px}.message-metadata[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;grid-gap:4px;gap:4px;margin-top:4px}.message-time[_ngcontent-%COMP%]{opacity:.7;font-size:11px}.pending-text[_ngcontent-%COMP%]{font-size:11px;color:inherit;opacity:.8;display:flex;align-items:center;grid-gap:4px;gap:4px}.status-ticks[_ngcontent-%COMP%]{font-size:12px;line-height:1;letter-spacing:-3px;padding-right:3px;opacity:.85}.status-ticks.status-read[_ngcontent-%COMP%]{color:#3fc3ee;opacity:1}.error-container[_ngcontent-%COMP%]{margin-top:4px;display:flex;flex-direction:column}.error-message[_ngcontent-%COMP%]{font-size:11px;color:#ff5252;margin-bottom:4px;font-weight:500}.bubble-from-current-user[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{color:#fff;background:#ff5252;padding:2px 6px;border-radius:4px;display:inline-block}.retry-text-button[_ngcontent-%COMP%]{background:none;border:none;color:#8b4cb8;cursor:pointer;padding:2px 4px;font-size:11px;font-weight:600;text-decoration:none;margin-top:2px}.retry-text-button[_ngcontent-%COMP%]:hover{color:#7030a0;text-decoration:none}.retry-text-button[_ngcontent-%COMP%] .message-from-current-user[_ngcontent-%COMP%] .retry-text-button[_ngcontent-%COMP%]{align-self:flex-end}.loading-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px}.loading-container[_ngcontent-%COMP%] .loading-spinner[_ngcontent-%COMP%]{font-size:24px;color:#8b4cb8;margin-bottom:16px}.loading-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#666;font-size:16px}.avatar-color-1[_ngcontent-%COMP%] pa-chat-avatar[_ngcontent-%COMP%] .avatar-initials{background:#5b9bd5}.avatar-color-2[_ngcontent-%COMP%] pa-chat-avatar[_ngcontent-%COMP%] .avatar-initials{background:#70ad47}.avatar-color-3[_ngcontent-%COMP%] pa-chat-avatar[_ngcontent-%COMP%] .avatar-initials{background:#ffc000}.avatar-color-4[_ngcontent-%COMP%] pa-chat-avatar[_ngcontent-%COMP%] .avatar-initials{background:#ff7c80}.avatar-color-5[_ngcontent-%COMP%] pa-chat-avatar[_ngcontent-%COMP%] .avatar-initials{background:#c55a11}.avatar-color-6[_ngcontent-%COMP%] pa-chat-avatar[_ngcontent-%COMP%] .avatar-initials{background:#7030a0}.avatar-color-7[_ngcontent-%COMP%] pa-chat-avatar[_ngcontent-%COMP%] .avatar-initials{background:#375623}.avatar-color-8[_ngcontent-%COMP%] pa-chat-avatar[_ngcontent-%COMP%] .avatar-initials{background:#d04a02}.kebab-menu-container[_ngcontent-%COMP%]{position:relative;align-self:flex-end;margin-bottom:4px}.kebab-menu-container[_ngcontent-%COMP%] .kebab-button[_ngcontent-%COMP%]{opacity:0}.message-wrapper[_ngcontent-%COMP%]:hover .kebab-button[_ngcontent-%COMP%]{opacity:1}.always-show-actions[_nghost-%COMP%] .kebab-button[_ngcontent-%COMP%]{opacity:1}.kebab-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:none;border:none;border-radius:50%;cursor:pointer;color:#999;font-size:16px;transition:opacity .15s ease,background-color .15s ease}.kebab-button[_ngcontent-%COMP%]:hover{background-color:#00000012;color:#333}.kebab-dropdown[_ngcontent-%COMP%]{position:fixed;z-index:1000;display:flex;flex-direction:column;min-width:130px;background:#fff;border-radius:8px;box-shadow:0 4px 16px #00000024,0 1px 4px #00000014;overflow:hidden}.kebab-option[_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:8px;gap:8px;width:100%;padding:10px 16px;background:none;border:none;cursor:pointer;font-size:14px;font-family:inherit;color:#333;text-align:left;white-space:nowrap}.kebab-option[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:13px;width:14px;color:#737373}.kebab-option[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid #efefef}.kebab-option[_ngcontent-%COMP%]:hover{background-color:#f4f1f5}.kebab-option.kebab-option-delete[_ngcontent-%COMP%], .kebab-option.kebab-option-delete[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#b32b29}.kebab-option.kebab-option-delete[_ngcontent-%COMP%]:hover{background-color:#f7f5f8}.bubble-deleted[_ngcontent-%COMP%]{opacity:.75}.message-edited-label[_ngcontent-%COMP%], .message-delivered-label[_ngcontent-%COMP%]{display:block;font-size:11px;color:#999;margin-top:2px;padding:0 2px}.reaction-trigger-container[_ngcontent-%COMP%]{position:relative;align-self:flex-end;margin-bottom:4px}.reaction-trigger-container[_ngcontent-%COMP%] .reaction-trigger-button[_ngcontent-%COMP%]{opacity:0}.message-wrapper[_ngcontent-%COMP%]:hover .reaction-trigger-button[_ngcontent-%COMP%]{opacity:1}.always-show-actions[_nghost-%COMP%] .reaction-trigger-button[_ngcontent-%COMP%]{opacity:1}.reaction-trigger-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:none;border:none;border-radius:50%;cursor:pointer;color:#999;font-size:16px;transition:opacity .15s ease,background-color .15s ease}.reaction-trigger-button[_ngcontent-%COMP%]:hover{background-color:#33333312;color:#333}.reaction-picker[_ngcontent-%COMP%]{position:fixed;z-index:1000;display:flex;grid-gap:2px;gap:2px;padding:4px 6px;background:#fff;border-radius:20px;box-shadow:0 4px 16px #33333324,0 1px 4px #33333314}.reaction-picker-emoji[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font-size:20px;line-height:1;padding:4px;border-radius:50%;transition:background-color .12s ease,transform .12s ease}.reaction-picker-emoji[_ngcontent-%COMP%]:hover{background-color:#f4f1f5;transform:scale(1.2)}.message-reactions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;grid-gap:4px;gap:4px;margin-top:4px;padding:0 2px}.reaction-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;grid-gap:3px;gap:3px;padding:1px 7px;background:#f4f1f5;border:1px solid #efefef;border-radius:11px;cursor:pointer;font-size:12px;line-height:18px;color:#333;transition:background-color .12s ease,border-color .12s ease}.reaction-chip[_ngcontent-%COMP%]:hover{background-color:#efefef}.reaction-chip.reaction-chip-mine[_ngcontent-%COMP%]{background:rgba(169,138,182,.15);border-color:#a98ab6}.reaction-chip-emoji[_ngcontent-%COMP%]{font-size:13px;line-height:1}.reaction-chip-count[_ngcontent-%COMP%]{font-weight:600}@media (max-width: 650px){.message-bubble[_ngcontent-%COMP%]{max-width:85%;padding:10px 14px}.message-bubble[_ngcontent-%COMP%] .message-text[_ngcontent-%COMP%]{font-size:14px}}@media (hover: none){.kebab-menu-container[_ngcontent-%COMP%] .kebab-button[_ngcontent-%COMP%], .reaction-trigger-container[_ngcontent-%COMP%] .reaction-trigger-button[_ngcontent-%COMP%]{opacity:1}}']}),a})();var bl=(()=>(function(a){a.TEXT="text",a.IMAGE="image",a.SYSTEM="system"}(bl||(bl={})),bl))(),ha=(()=>(function(a){a.STAFF="user",a.CARER="parent"}(ha||(ha={})),ha))();const Th=new e.OlP("MESSAGING_CONFIG"),Mh=new e.OlP("MESSAGING_API_CLIENT"),Sh=new e.OlP("MESSAGING_STORAGE"),xh=new e.OlP("MESSAGING_DATE_PIPE"),Ls=new e.OlP("MESSAGING_WEBSOCKET_URL");let zl=(()=>{class a{constructor(n,l,w,E,Ae,ft){this.config=n,this.apiClient=l,this.storage=w,this.datePipe=E,this.websocketUrl=Ae,this.websocketService=ft,this.listenersSetup=!1,this.conversationsSubject=new z.X([]),this.messagesSubject=new z.X([]),this.isLoading=new z.X(!1),this.error=new z.X(null),this.nurseryDeactivatedSubject=new z.X(!1),this.hashMap=new Map,this.destroy$=new A.x,this.loadingConversations=new Map,this.pendingSelectConversationId=new z.X(null),this.CACHE_KEYS={conversations:"pa_messaging_conversations",messages:"pa_messaging_messages",lastSync:"pa_messaging_last_sync",hashes:"pa_messaging_hashes",nurseryDisplayName:"pa_messaging_nursery_display_name"},this.reactionQueues=new Map,this.nurseryDisplayName=this.storage.getItem(this.CACHE_KEYS.nurseryDisplayName)||void 0,this.loadCachedConversations(),this.websocketService&&this.websocketUrl&&this.setupRealTimeListeners()}getConversations(){return this.conversationsSubject.asObservable()}getUnreadCount(){return this.conversationsSubject.pipe((0,Tt.U)(n=>n.reduce((l,w)=>l+((null==w?void 0:w.unreadCount)||0),0)))}searchConversations(n){return this.conversationsSubject.pipe((0,Tt.U)(l=>l.filter(w=>w.participantName.toLowerCase().includes(n.toLowerCase())||w.lastMessage.toLowerCase().includes(n.toLowerCase()))))}getMessages(n,l=0,w=30){return(0,g.mG)(this,void 0,void 0,function*(){const E=this.loadingConversations.get(n);if(E){const ft=yield E;return this.paginateMessages(ft,l,w)}this.isLoading.next(!0),this.error.next(null);const Ae=(()=>(0,g.mG)(this,void 0,void 0,function*(){const ft=yield this.apiClient.getMessages(n,this.getLastKnownHash(n));if(!ft.successful)throw this.error.next("Failed to load messages: "+ft.errors.join(", ")),new Error("Failed to load messages: "+ft.errors.join(", "));const jt=ft.messages.map(this.mapServerMessageToLocal.bind(this)),zt=this.mergeServerMessages(n,jt,ft.resultType);return this.markIncomingAsReceived(ft.messages),this.updateLastKnownHash(n,ft.currentHash),this.updateMessagesForConversation(n,zt,!0),zt}))();this.loadingConversations.set(n,Ae);try{const ft=yield Ae;return this.paginateMessages(ft,l,w)}finally{this.isLoading.next(!1),this.loadingConversations.delete(n)}})}paginateMessages(n,l,w){const E=l*w,Ae=E+w;return{messages:n.slice(E,Ae),hasMore:Aejn.id)),Ae=new Set(l.filter(jn=>jn.isFromCurrentUser).map(jn=>jn.content)),jt=this.messagesSubject.value.filter(jn=>jn.conversationId===n),zt=jt.filter(jn=>(jn.isPending||jn.isFailed)&&!(jn=>E.has(jn.id)||jn.isFromCurrentUser&&Ae.has(jn.content))(jn));let yn;return yn="newMessages"===w?[...jt.filter(ei=>!ei.isPending&&!ei.isFailed&&!E.has(ei.id)),...l]:l,[...yn,...zt]}getMessagesObservable(n){return this.messagesSubject.pipe((0,Tt.U)(l=>l.filter(w=>w.conversationId===n)))}sendMessageToExistingThread(n,l){return(0,g.mG)(this,void 0,void 0,function*(){if(this.error.next(null),!this.conversationsSubject.value.find(ei=>ei.id===n))return void console.error(`[PaMessagingService] no conversation found for id ${n}`);const E=this.messagesSubject.value.filter(ei=>!(ei.conversationId===n&&ei.isFailed));this.messagesSubject.next(E);const Ae="temp_"+Date.now()+"_"+Math.random(),ft={id:Ae,tempId:Ae,conversationId:n,content:l,timestamp:new Date,isFromCurrentUser:!0,senderName:"You",senderInitials:this.getSenderInitials(),isRead:!0,messageType:bl.TEXT,isPending:!0};this.messagesSubject.next([...this.messagesSubject.value,ft]),this.updateConversationLastMessage(n,l);const jt=this.buildSendMessageRequest(n,l,!1);let zt;try{zt=yield this.apiClient.sendMessage(jt)}catch(ei){const yi=this.messagesSubject.value.map(Er=>Er.tempId===Ae?Object.assign(Object.assign({},Er),{isPending:!1,isFailed:!0}):Er);return this.messagesSubject.next(yi),void this.error.next("Failed to send message: Network or system error")}if(!zt.successful){this.error.next("Failed to send message: "+zt.errors.join(", "));const ei=this.messagesSubject.value.map(yi=>yi.tempId===Ae?Object.assign(Object.assign({},yi),{isPending:!1,isFailed:!0}):yi);return void this.messagesSubject.next(ei)}const yn={id:zt.messageId.toString(),conversationId:n,content:l,timestamp:new Date(zt.sentDate.toString()),isFromCurrentUser:!0,senderName:"You",senderInitials:this.getSenderInitials(),isRead:!0,messageType:bl.TEXT,isPending:!1},jn=this.messagesSubject.value.map(ei=>ei.tempId===Ae?yn:ei);this.messagesSubject.next(jn),this.cacheMessages(jn)})}sendMessageToNewThread(n,l,w,E=[],Ae=!1){return(0,g.mG)(this,void 0,void 0,function*(){if(this.error.next(null),!this.conversationsSubject.value.find(yn=>yn.id===n))throw new Error(`No conversation found for id ${n}`);const jt=this.buildSendMessageRequest(n,w,!0,l,E,Ae);let zt;try{zt=yield this.apiClient.sendMessage(jt)}catch(yn){throw this.discardUnsavedNewThread(n),this.error.next("Failed to send message: Network or system error"),new Error("Failed to send message: Network or system error")}if(!zt.successful)throw this.discardUnsavedNewThread(n),this.error.next("Failed to send message: "+zt.errors.join(", ")),new Error("Failed to send message: "+zt.errors.join(", "));return yield this.loadConversations(!0),zt.threadId.toString()})}retryFailedMessage(n,l){return(0,g.mG)(this,void 0,void 0,function*(){const w=this.messagesSubject.value.find(yn=>yn.tempId===l);if(!w||!w.isFailed)return;const E=this.messagesSubject.value.map(yn=>yn.tempId===l?Object.assign(Object.assign({},yn),{isPending:!0,isFailed:!1}):yn);this.messagesSubject.next(E);const Ae=this.buildSendMessageRequest(n,w.content,!1);let ft;try{ft=yield this.apiClient.sendMessage(Ae)}catch(yn){const jn=this.messagesSubject.value.map(ei=>ei.tempId===l?Object.assign(Object.assign({},ei),{isPending:!1,isFailed:!0}):ei);return this.messagesSubject.next(jn),void this.error.next("Failed to send message: Network or system error")}if(!ft.successful){const yn=this.messagesSubject.value.map(jn=>jn.tempId===l?Object.assign(Object.assign({},jn),{isPending:!1,isFailed:!0}):jn);return this.messagesSubject.next(yn),void this.error.next("Failed to send message: "+ft.errors.join(", "))}const jt={id:ft.messageId.toString(),conversationId:n,content:w.content,timestamp:new Date(ft.sentDate.toString()),isFromCurrentUser:!0,senderName:"You",senderInitials:this.getSenderInitials(),isRead:!0,messageType:bl.TEXT,isPending:!1,isFailed:!1},zt=this.messagesSubject.value.map(yn=>yn.tempId===l?jt:yn);this.messagesSubject.next(zt)})}markConversationAsRead(n){return(0,g.mG)(this,void 0,void 0,function*(){const l=this.messagesSubject.value.filter(zt=>zt.conversationId===n&&!zt.isRead).map(zt=>zt.id),w=this.conversationsSubject.value.find(zt=>zt.id===n);if((!w||0===w.unreadCount)&&0===l.length)return;if(w&&w.unreadCount>0){const zt=this.conversationsSubject.value.map(yn=>yn.id===n?Object.assign(Object.assign({},yn),{unreadCount:0}):yn);this.conversationsSubject.next(zt),this.cacheConversations(zt)}if(0===l.length)return;const E=yield this.apiClient.markAsRead(l);if(!E.successful)return void this.error.next("Failed to mark messages as read: "+E.errors.join(", "));const Ae=this.messagesSubject.value.map(zt=>l.includes(zt.id)?Object.assign(Object.assign({},zt),{isRead:!0}):zt);this.messagesSubject.next(Ae),this.cacheMessages(Ae);const ft=Ae.filter(zt=>zt.conversationId===n&&!zt.isRead&&!zt.isFromCurrentUser).length,jt=this.conversationsSubject.value.map(zt=>zt.id===n?Object.assign(Object.assign({},zt),{unreadCount:ft}):zt);this.conversationsSubject.next(jt),this.cacheConversations(jt)})}editMessage(n,l,w){return(0,g.mG)(this,void 0,void 0,function*(){const E=this.messagesSubject.value,Ae=E.map(jt=>jt.id===l?Object.assign(Object.assign({},jt),{content:w,isEdited:!0}):jt);this.messagesSubject.next(Ae);const ft=yield this.apiClient.editMessage(l,w);ft.successful?this.cacheMessages(this.messagesSubject.value):(this.messagesSubject.next(E),this.error.next("Failed to edit message: "+(ft.errors||[]).join(", ")))})}applyAnnouncementEditOptimistically(n,l,w,E){const Ae=this.messagesSubject.value.map(jt=>jt.id===l?Object.assign(Object.assign({},jt),{content:E,isEdited:!0,editedDate:new Date}):jt);this.messagesSubject.next(Ae),this.cacheMessages(Ae);const ft=this.conversationsSubject.value.map(jt=>jt.id===n?Object.assign(Object.assign({},jt),{subject:w,participantName:w}):jt);this.conversationsSubject.next(ft),this.cacheConversations(ft)}deleteMessage(n,l){return(0,g.mG)(this,void 0,void 0,function*(){const w=this.messagesSubject.value,E=w.map(ft=>ft.id===l?Object.assign(Object.assign({},ft),{content:"",isDeleted:!0}):ft);this.messagesSubject.next(E);const Ae=yield this.apiClient.deleteMessage(l);Ae.successful?this.cacheMessages(this.messagesSubject.value):(this.messagesSubject.next(w),this.error.next("Failed to delete message: "+(Ae.errors||[]).join(", ")))})}setReaction(n,l,w){var E,Ae,ft,jt;if(!this.apiClient.setReaction)return Promise.resolve();const zt=this.messagesSubject.value.find(Er=>Er.id===l),yn=null!==(ft=null===(Ae=null===(E=null==zt?void 0:zt.reactions)||void 0===E?void 0:E.find(Er=>Er.emoji===w))||void 0===Ae?void 0:Ae.reactedByMe)&&void 0!==ft&&ft;this.applyOwnReaction(l,w,!yn);const jn=`${l}|${w}`,yi=(null!==(jt=this.reactionQueues.get(jn))&&void 0!==jt?jt:Promise.resolve()).catch(()=>{}).then(()=>this.sendReactionCommand(l,w,yn));return this.reactionQueues.set(jn,yi),yi.catch(()=>{}).then(()=>{this.reactionQueues.get(jn)===yi&&this.reactionQueues.delete(jn)}),yi}sendReactionCommand(n,l,w){return(0,g.mG)(this,void 0,void 0,function*(){if(!this.apiClient.setReaction)return;let E=null;try{E=yield this.apiClient.setReaction(n,l)}catch(jt){E=null,ns.captureException(jt instanceof Error?jt:new Error(String(jt)))}const Ae=!E||!E.successful;(Ae||(E&&E.action?"added"===E.action:!w)===w)&&(this.applyOwnReaction(n,l,w),Ae&&this.error.next("Failed to update reaction"+(E?": "+(E.errors||[]).join(", "):""))),this.cacheMessages(this.messagesSubject.value)})}applyOwnReaction(n,l,w){const E=this.messagesSubject.value.map(Ae=>{if(Ae.id!==n)return Ae;const ft=[...Ae.reactions||[]],jt=ft.findIndex(zt=>zt.emoji===l);if(w)jt>=0?ft[jt]=Object.assign(Object.assign({},ft[jt]),{count:ft[jt].count+1,reactedByMe:!0}):ft.push({emoji:l,count:1,userNames:[],reactedByMe:!0});else if(jt>=0){const zt=ft[jt].count-1;zt<=0?ft.splice(jt,1):ft[jt]=Object.assign(Object.assign({},ft[jt]),{count:zt,reactedByMe:!1})}return Object.assign(Object.assign({},Ae),{reactions:ft})});this.messagesSubject.next(E)}handleReactionChanged(n,l,w,E){if(!l)return;const Ae=n.toLowerCase(),ft=this.messagesSubject.value.map(jt=>{if(jt.id.toLowerCase()!==Ae)return jt;const zt=[...jt.reactions||[]],yn=zt.findIndex(jn=>jn.emoji===l);if(w)if(yn>=0){const jn=E&&!zt[yn].userNames.includes(E)?[...zt[yn].userNames,E]:zt[yn].userNames;zt[yn]=Object.assign(Object.assign({},zt[yn]),{count:zt[yn].count+1,userNames:jn})}else zt.push({emoji:l,count:1,userNames:E?[E]:[],reactedByMe:!1});else if(yn>=0){const jn=zt[yn].count-1;if(jn<=0)zt.splice(yn,1);else{const ei=E?zt[yn].userNames.filter(yi=>yi!==E):zt[yn].userNames;zt[yn]=Object.assign(Object.assign({},zt[yn]),{count:jn,userNames:ei})}}return Object.assign(Object.assign({},jt),{reactions:zt})});this.messagesSubject.next(ft),this.cacheMessages(ft)}deleteConversation(n){return(0,g.mG)(this,void 0,void 0,function*(){const l=this.conversationsSubject.value,w=l.filter(Ae=>Ae.id!==n);this.conversationsSubject.next(w),this.cacheConversations(w);const E=yield this.apiClient.archiveThread(n);return!!E.successful||(this.conversationsSubject.next(l),this.cacheConversations(l),this.error.next("Failed to delete chat: "+(E.errors||[]).join(", ")),!1)})}generateUserInitials(n){return n.split(" ").map(l=>l.charAt(0).toUpperCase()).slice(0,2).join("")}loadConversations(n=!1){return(0,g.mG)(this,void 0,void 0,function*(){return this.isLoading.next(!0),this.error.next(null),!n&&this.conversationsSubject.value.length>0?(this.loadConversationsFromServer().catch(()=>{}),this.isLoading.next(!1),this.conversationsSubject.value):this.loadConversationsFromServer()})}createNewConversation(n){if("carer"===this.config.userType){const ft=this.conversationsSubject.value.find(jt=>!jt.isUnsavedNewThread&&!jt.isAnnouncement);if(ft)return ft.id}const l="new-"+Date.now(),w=this.getDefaultRecipientName(),E={id:l,participantName:(null==n?void 0:n.trim())||this.getNewConversationTitle(),participantInitials:"NN",avatarIcon:"user",lastMessage:"",lastMessageTime:new Date,unreadCount:0,isStaff:!1,nurseryName:w,isUnsavedNewThread:!0};return this.conversationsSubject.next([E,...this.conversationsSubject.value]),l}discardUnsavedNewThread(n){const l=this.conversationsSubject.value,w=l.filter(E=>!(E.id===n&&E.isUnsavedNewThread));w.length!==l.length&&this.conversationsSubject.next(w)}getLoadingState(){return this.isLoading.asObservable()}getErrorState(){return this.error.asObservable()}getNurseryDeactivatedState(){return this.nurseryDeactivatedSubject.asObservable()}getPendingSelectConversationId(){return this.pendingSelectConversationId.asObservable()}setPendingSelectConversationId(n){this.pendingSelectConversationId.next(n)}findConversationByParticipantId(n){return this.conversationsSubject.value.find(l=>{var w;return!l.isUnsavedNewThread&&1===l.participantCount&&1===(null===(w=l.participants)||void 0===w?void 0:w.length)&&l.participants[0].userId.toLowerCase()===n.toLowerCase()})}clearConversationMessages(n){const l=this.messagesSubject.value.filter(w=>w.conversationId!==n);this.messagesSubject.next(l)}refreshMessagesForConversation(n){return(0,g.mG)(this,void 0,void 0,function*(){this.hashMap.delete(n);const l=this.storage.getItem(this.CACHE_KEYS.hashes)||{};delete l[n],this.storage.saveItem(this.CACHE_KEYS.hashes,l),this.clearConversationMessages(n),yield this.getMessages(n)})}loadConversationsFromServer(){return(0,g.mG)(this,void 0,void 0,function*(){const n=yield this.apiClient.getThreads();if(!n.successful)throw this.error.next("Failed to load conversations"),this.isLoading.next(!1),new Error("Failed to load conversations.");n.nurseryName&&(this.nurseryDisplayName=n.nurseryName,this.storage.saveItem(this.CACHE_KEYS.nurseryDisplayName,n.nurseryName)),this.nurseryDeactivatedSubject.next(!0===n.nurseryDeactivated);const l=n.threads.map(this.mapServerThreadToConversation.bind(this));return this.conversationsSubject.next(l),this.cacheConversations(l),this.storage.saveItem(this.CACHE_KEYS.lastSync,(new Date).toISOString()),this.isLoading.next(!1),l})}buildSendMessageRequest(n,l,w,E,Ae,ft=!1){return{threadId:w?"":n,threadSubject:E||"",messageBody:l,recipientUserIds:(Ae||[]).filter(yn=>"staff"===yn.type).map(yn=>yn.id),recipientCarerIds:(Ae||[]).filter(yn=>"carer"===yn.type).map(yn=>yn.id),isAnnouncement:ft}}getNewConversationTitle(){return"carer"===this.config.userType?"New Message to Nursery":"New Message to Parent"}getDefaultRecipientName(){return"carer"===this.config.userType?this.nurseryDisplayName||"":"Parent"}getSenderInitials(){return"carer"===this.config.userType?"PA":"ST"}getLastKnownHash(n){return this.hashMap.get(n)||(this.storage.getItem(this.CACHE_KEYS.hashes)||{})[n]||""}updateLastKnownHash(n,l){this.hashMap.set(n,l);const w=this.storage.getItem(this.CACHE_KEYS.hashes)||{};w[n]=l,this.storage.saveItem(this.CACHE_KEYS.hashes,w)}mapServerMessageToLocal(n){var l,w,E;return{id:n.messageId.toString(),conversationId:n.threadId.toString(),content:null!==(l=n.messageBody)&&void 0!==l?l:"",timestamp:new Date(n.sentDate),isFromCurrentUser:n.isSentByMe||this.isMessageFromCurrentUserType(n.senderType),senderName:n.senderName,senderInitials:this.generateUserInitials(n.senderName),isRead:null!=n.readDate,messageType:bl.TEXT,readByCount:n.readByCount,receivedByCount:n.receivedByCount,readByCarerCount:n.readByCarerCount,receivedByCarerCount:n.receivedByCarerCount,readByStaffCount:n.readByStaffCount,receivedByStaffCount:n.receivedByStaffCount,attachmentId:null===(w=n.attachmentId)||void 0===w?void 0:w.toString(),reactions:(null===(E=n.reactions)||void 0===E?void 0:E.map(Ae=>{var ft;return{emoji:Ae.emoji,count:Ae.count,userNames:Ae.participantNames||[],reactedByMe:null!==(ft=Ae.hasReactedWithThis)&&void 0!==ft&&ft}}))||[],isDeleted:!0===n.isDeleted,isEdited:null!=n.editedDate,editedDate:n.editedDate?new Date(n.editedDate):void 0}}markIncomingAsReceived(n){if(!this.apiClient.markAsReceived)return;const l=(n||[]).filter(w=>!w.isSentByMe&&null==w.receivedDate&&null==w.readDate).map(w=>w.messageId.toString());0!==l.length&&this.apiClient.markAsReceived(l).catch(w=>{ns.captureException(w)})}isMessageFromCurrentUserType(n){return"carer"===this.config.userType?n===ha.CARER:n===ha.STAFF}updateMessagesForConversation(n,l,w=!0){const E=this.messagesSubject.value,Ae=E.filter(ft=>ft.conversationId!==n);if(w){const ft=[...Ae,...l];this.messagesSubject.next(ft),this.cacheMessages(ft)}else if(!E.some(jt=>jt.conversationId===n)){const jt=[...Ae,...l];this.messagesSubject.next(jt)}}mapServerThreadToConversation(n){var l;const w="staff"===this.config.userType?"user":"carer",Ae=(n.participantDetails||[]).filter(Zi=>Zi.participantType!==w).map(Zi=>{var ls;const cs=Zi.userId||Zi.carerId;return{userId:cs?cs.toString():"",userLegacyId:Zi.userLegacyId,participantName:Zi.participantName,children:(null===(ls=Zi.children)||void 0===ls?void 0:ls.map(jo=>({childId:jo.childId,firstName:jo.firstName,knownName:jo.knownName,lastName:jo.lastName,relationship:jo.relationship})))||[],participantType:Zi.participantType,jobTitle:Zi.jobTitle,carerId:Zi.carerId?Zi.carerId.toString():void 0,isRegistered:Zi.isRegistered}}),ft=Ae.length>0?Ae.map(Zi=>Zi.participantName):n.participantNames||[],jt=this.formatParticipantNames(ft),zt=Ae.length,yn=Ae.flatMap(Zi=>Zi.children||[]),jn=new Set,ei=yn.filter(Zi=>!(!Zi||void 0===Zi.childId||jn.has(Zi.childId)||(jn.add(Zi.childId),0))).map(Zi=>`${Zi.firstName} ${Zi.lastName}`.trim()).filter(Zi=>Zi.length>0).join(", "),Er=Ae.filter(Zi=>"carer"===Zi.participantType).length+("carer"===this.config.userType?1:0),Rr="announcement"===n.threadType,qs=Rr?"megaphone":Er>1?"users":"user",mo=Rr?n.subject:jt||n.subject;return{id:n.threadId.toString(),threadType:n.threadType,isAnnouncement:Rr,subject:n.subject,participantName:mo,participantInitials:this.generateUserInitials(mo),avatarIcon:qs,childrenSummary:ei||void 0,lastMessage:n.lastMessagePreview,lastMessageTime:new Date(n.lastMessageDate),unreadCount:null!==(l=n.unreadCount)&&void 0!==l?l:0,isStaff:!1,nurseryName:jt,participants:Ae.length>0?Ae:void 0,participantCount:zt,isArchived:!0===n.isArchived}}formatParticipantNames(n){return 0===n.length?this.getDefaultRecipientName():n.length<=3?n.join(", "):`${n.slice(0,3).join(", ")} +${n.length-3} more`}updateConversationLastMessage(n,l){const w=this.conversationsSubject.value.map(E=>E.id===n?Object.assign(Object.assign({},E),{lastMessage:l,lastMessageTime:new Date}):E);this.conversationsSubject.next(w),this.cacheConversations(w)}loadCachedConversations(){const n=this.storage.getItem(this.CACHE_KEYS.conversations);if(n&&Array.isArray(n)){const E=n.map(Ae=>Object.assign(Object.assign({},Ae),{lastMessageTime:new Date(Ae.lastMessageTime)}));this.conversationsSubject.next(E)}const l=this.storage.getItem(this.CACHE_KEYS.hashes);l&&"object"==typeof l&&Object.entries(l).forEach(([E,Ae])=>{this.hashMap.set(E,Ae)});const w=this.storage.getItem(this.CACHE_KEYS.messages);if(w&&Array.isArray(w)){const E=w.map(Ae=>Object.assign(Object.assign({},Ae),{timestamp:new Date(Ae.timestamp)}));for(const Ae of new Set(E.map(ft=>ft.conversationId))){const ft=E.filter(jt=>jt.conversationId===Ae);this.updateMessagesForConversation(Ae,ft,!1)}}}cacheConversations(n){this.storage.saveItem(this.CACHE_KEYS.conversations,n)}cacheMessages(n){this.storage.saveItem(this.CACHE_KEYS.messages,n)}clearCache(){this.storage.clearItem(this.CACHE_KEYS.conversations),this.storage.clearItem(this.CACHE_KEYS.messages),this.storage.clearItem(this.CACHE_KEYS.lastSync),this.storage.clearItem(this.CACHE_KEYS.hashes),this.hashMap.clear()}clearMessagingState(){this.clearCache(),this.conversationsSubject.next([]),this.messagesSubject.next([]),this.error.next(null),this.isLoading.next(!1)}getCacheAge(){const n=this.storage.getItem(this.CACHE_KEYS.lastSync);return n?Date.now()-new Date(n).getTime():null}initializeWebSocket(n,l,w){!this.websocketService||!this.websocketUrl||(this.websocketService.connect(this.websocketUrl,n,l,w),this.setupRealTimeListeners())}disconnectWebSocket(){var n;null===(n=this.websocketService)||void 0===n||n.disconnect()}setupRealTimeListeners(){if(!this.websocketService||this.listenersSetup)return;this.listenersSetup=!0,this.websocketService.getMessages().pipe((0,H.R)(this.destroy$)).subscribe({next:l=>{switch(l.type){case"message.new":this.handleNewMessage(l.conversationId);break;case"message.read":this.handleMessageRead(l.conversationId,l.messageId);break;case"conversation.updated":this.handleConversationUpdate(l.conversationId);break;case"message.edited":this.handleMessageEdited(l.messageId,l.newBody);break;case"message.deleted":this.handleMessageDeleted(l.messageId);break;case"messages.read":this.handleMessagesReadStatus(l.messageIds,l.participantType);break;case"messages.received":this.handleMessagesReceivedStatus(l.messageIds,l.participantType);break;case"reaction.added":l.messageId&&this.handleReactionChanged(l.messageId,l.emoji,!0,l.participantName);break;case"reaction.removed":l.messageId&&this.handleReactionChanged(l.messageId,l.emoji,!1,l.participantName)}}});let n=!1;this.websocketService.getConnectionState().pipe((0,H.R)(this.destroy$)).subscribe(l=>{const w=l===ws.CONNECTED;w&&!n&&this.resyncAfterReconnect(),n=w})}resyncAfterReconnect(){this.loadConversations(!0).catch(l=>ns.captureException(l));const n=Array.from(new Set(this.messagesSubject.value.map(l=>l.conversationId)));for(const l of n)this.handleNewMessage(l).catch(w=>ns.captureException(w))}handleNewMessage(n){return(0,g.mG)(this,void 0,void 0,function*(){try{const l=yield this.apiClient.getMessages(n,this.getLastKnownHash(n));if(l.successful){const w=l.messages.map(this.mapServerMessageToLocal.bind(this));this.markIncomingAsReceived(l.messages),this.updateLastKnownHash(n,l.currentHash);const E=this.mergeServerMessages(n,w,l.resultType);this.updateMessagesForConversation(n,E,!0)}}finally{yield this.loadConversations(!1)}})}handleMessageRead(n,l){if(l){const w=l.toLowerCase(),E=this.messagesSubject.value.map(Ae=>Ae.id.toLowerCase()===w?Object.assign(Object.assign({},Ae),{isRead:!0}):Ae);this.messagesSubject.next(E),this.cacheMessages(E)}else{const w=this.messagesSubject.value.map(E=>E.conversationId===n?Object.assign(Object.assign({},E),{isRead:!0}):E);this.messagesSubject.next(w),this.cacheMessages(w)}}handleConversationUpdate(n){return(0,g.mG)(this,void 0,void 0,function*(){yield this.loadConversations(!0)})}handleMessageEdited(n,l){const w=n.toLowerCase(),E=this.messagesSubject.value.map(Ae=>Ae.id.toLowerCase()===w?Object.assign(Object.assign(Object.assign({},Ae),{isEdited:!0}),null!=l?{content:l}:{}):Ae);this.messagesSubject.next(E),this.cacheMessages(E)}handleMessageDeleted(n){const l=n.toLowerCase(),w=this.messagesSubject.value.map(E=>E.id.toLowerCase()===l?Object.assign(Object.assign({},E),{content:"",isDeleted:!0}):E);this.messagesSubject.next(w),this.cacheMessages(w)}handleMessagesReadStatus(n,l){if(!n||0===n.length)return;const w=new Set(n.map(Ae=>Ae.toString().toLowerCase())),E=this.messagesSubject.value.map(Ae=>w.has(Ae.id.toLowerCase())?Object.assign(Object.assign(Object.assign(Object.assign({},Ae),{readByCount:Math.max(Ae.readByCount||0,1),receivedByCount:Math.max(Ae.receivedByCount||0,1)}),"carer"===l?{readByCarerCount:Math.max(Ae.readByCarerCount||0,1),receivedByCarerCount:Math.max(Ae.receivedByCarerCount||0,1)}:{}),"staff"===l?{readByStaffCount:Math.max(Ae.readByStaffCount||0,1),receivedByStaffCount:Math.max(Ae.receivedByStaffCount||0,1)}:{}):Ae);this.messagesSubject.next(E),this.cacheMessages(E)}handleMessagesReceivedStatus(n,l){if(!n||0===n.length)return;const w=new Set(n.map(Ae=>Ae.toString().toLowerCase())),E=this.messagesSubject.value.map(Ae=>w.has(Ae.id.toLowerCase())?Object.assign(Object.assign(Object.assign(Object.assign({},Ae),{receivedByCount:Math.max(Ae.receivedByCount||0,1)}),"carer"===l?{receivedByCarerCount:Math.max(Ae.receivedByCarerCount||0,1)}:{}),"staff"===l?{receivedByStaffCount:Math.max(Ae.receivedByStaffCount||0,1)}:{}):Ae);this.messagesSubject.next(E),this.cacheMessages(E)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return a.\u0275fac=function(n){return new(n||a)(e.LFG(Th),e.LFG(Mh),e.LFG(Sh),e.LFG(xh),e.LFG(Ls,8),e.LFG(Pd,8))},a.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac}),a})(),Fd=(()=>{class a{constructor(){this.title="",this.subtitle="",this.showIcon=!0}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-announcement-header"]],inputs:{title:"title",subtitle:"subtitle",showIcon:"showIcon"},decls:6,vars:3,consts:[["class","announcement-avatar","aria-hidden","true",4,"ngIf"],[1,"header-info"],["data-id","announcement-header-title",1,"participant-name"],["data-id","announcement-header-subtitle",1,"participant-subtitle"],["aria-hidden","true",1,"announcement-avatar"],[1,"fa-light","fa-megaphone"]],template:function(n,l){1&n&&(e.YNc(0,kp,2,0,"div",0),e.TgZ(1,"div",1)(2,"div",2),e._uU(3),e.qZA(),e.TgZ(4,"div",3),e._uU(5),e.qZA()()),2&n&&(e.Q6J("ngIf",l.showIcon),e.xp6(3),e.Oqu(l.title),e.xp6(2),e.Oqu(l.subtitle))},directives:[u.O5],styles:["[_nghost-%COMP%]{display:flex;align-items:center;grid-gap:12px;gap:12px;min-width:0;overflow:hidden}.announcement-avatar[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#ba25b2;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.announcement-avatar[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.header-info[_ngcontent-%COMP%]{flex:1;min-width:0}.participant-name[_ngcontent-%COMP%]{font-size:18px;font-weight:500;color:#000;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.participant-subtitle[_ngcontent-%COMP%]{font-size:16px;color:#70567b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}"]}),a})(),Ld=(()=>{class a{constructor(){this.title="Announcement",this.body="",this.timeText="",this.isEdited=!1,this.isDeleted=!1,this.showActions=!1,this.showTime=!0,this.enableReactions=!1,this.reactions=[],this.reactionEmojis=["\u{1f44d}","\u2764\ufe0f","\u{1f602}","\u{1f62e}","\u{1f622}","\u{1f64f}"],this.editMessage=new e.vpe,this.reactionToggle=new e.vpe,this.showReactionPicker=!1}onReactionPickerClick(n){n.stopPropagation(),this.showReactionPicker=!this.showReactionPicker}onReactionEmojiSelect(n,l){n.stopPropagation(),this.showReactionPicker=!1,this.reactionToggle.emit(l)}onReactionChipClick(n,l){n.stopPropagation(),this.reactionToggle.emit(l)}trackByEmoji(n,l){return l}trackByReaction(n,l){return l.emoji}closeReactionPicker(){this.showReactionPicker=!1}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-announcement-message-card"]],hostBindings:function(n,l){1&n&&e.NdJ("click",function(){return l.closeReactionPicker()},!1,e.evT)},inputs:{title:"title",body:"body",timeText:"timeText",isEdited:"isEdited",isDeleted:"isDeleted",showActions:"showActions",showTime:"showTime",enableReactions:"enableReactions",reactions:"reactions",reactionEmojis:"reactionEmojis"},outputs:{editMessage:"editMessage",reactionToggle:"reactionToggle"},decls:13,vars:8,consts:[["data-id","announcement-card-title",1,"announcement-title"],["aria-hidden","true",1,"fa-light","fa-megaphone"],[1,"announcement-title-text"],[1,"message-actions"],["class","reaction-trigger-container","data-id","announcement-reaction-trigger-container",4,"ngIf"],["type","button","class","action-btn","data-id","announcement-message-edit-button","title","Edit announcement","aria-label","Edit announcement",3,"click",4,"ngIf"],["class","announcement-description announcement-description-deleted","data-id","announcement-card-body",4,"ngIf"],["class","announcement-description","data-id","announcement-card-body",4,"ngIf"],["class","announcement-reactions","data-id","announcement-reactions",4,"ngIf"],[1,"announcement-footer"],["class","announcement-edited-label","data-id","announcement-card-edited",4,"ngIf"],["class","announcement-timestamp","data-id","announcement-card-time",4,"ngIf"],["data-id","announcement-reaction-trigger-container",1,"reaction-trigger-container"],["type","button","data-id","announcement-reaction-trigger","title","Add reaction","aria-label","Add reaction",1,"action-btn",3,"click"],["aria-hidden","true",1,"fa","fa-smile-o"],["class","reaction-picker","data-id","announcement-reaction-picker",3,"click",4,"ngIf"],["data-id","announcement-reaction-picker",1,"reaction-picker",3,"click"],["class","reaction-picker-emoji","type","button",3,"click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"reaction-picker-emoji",3,"click"],["type","button","data-id","announcement-message-edit-button","title","Edit announcement","aria-label","Edit announcement",1,"action-btn",3,"click"],["aria-hidden","true",1,"material-icons"],["data-id","announcement-card-body",1,"announcement-description","announcement-description-deleted"],["data-id","announcement-card-body",1,"announcement-description"],["data-id","announcement-reactions",1,"announcement-reactions"],["class","reaction-chip","type","button",3,"ngClass","title","click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"reaction-chip",3,"ngClass","title","click"],[1,"reaction-chip-emoji"],["data-id","announcement-reaction-chip-count",1,"reaction-chip-count"],["data-id","announcement-card-edited",1,"announcement-edited-label"],["data-id","announcement-card-time",1,"announcement-timestamp"]],template:function(n,l){1&n&&(e.TgZ(0,"div",0),e._UZ(1,"i",1),e.TgZ(2,"span",2),e._uU(3),e.qZA(),e.TgZ(4,"div",3),e.YNc(5,Pp,4,1,"div",4),e.YNc(6,Jf,3,0,"button",5),e.qZA()(),e.YNc(7,Op,3,0,"p",6),e.YNc(8,Il,2,1,"p",7),e.YNc(9,aa,2,2,"div",8),e.TgZ(10,"div",9),e.YNc(11,Fl,2,0,"span",10),e.YNc(12,wu,2,1,"div",11),e.qZA()),2&n&&(e.xp6(3),e.Oqu(l.title),e.xp6(2),e.Q6J("ngIf",l.enableReactions&&!l.isDeleted),e.xp6(1),e.Q6J("ngIf",l.showActions&&!l.isDeleted),e.xp6(1),e.Q6J("ngIf",l.isDeleted),e.xp6(1),e.Q6J("ngIf",!l.isDeleted),e.xp6(1),e.Q6J("ngIf",l.enableReactions&&!l.isDeleted&&l.reactions&&l.reactions.length>0),e.xp6(2),e.Q6J("ngIf",l.isEdited&&!l.isDeleted),e.xp6(1),e.Q6J("ngIf",l.showTime))},directives:[u.O5,u.sg,u.mk],styles:["[_nghost-%COMP%]{margin:8px 32px 0;padding:0;border-radius:10px;border:1px solid #dcd0e2;background:#fff;overflow:hidden;max-width:760px;display:block;flex:0 0 auto}.announcement-title[_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:8px;gap:8px;color:#fff;background:#ba25b2;font-size:20px;font-weight:500;margin:0;padding:10px 14px}.announcement-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff;font-size:13px}.announcement-title[_ngcontent-%COMP%] .announcement-title-text[_ngcontent-%COMP%]{flex:1}.announcement-title[_ngcontent-%COMP%] .message-actions[_ngcontent-%COMP%]{display:flex;grid-gap:2px;gap:2px;flex-shrink:0}.announcement-title[_ngcontent-%COMP%] .action-btn[_ngcontent-%COMP%]{background:none;border:none;color:#ffffffb3;cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;line-height:1}.announcement-title[_ngcontent-%COMP%] .action-btn[_ngcontent-%COMP%]:hover{background:rgba(255,255,255,.1);color:#fff}.announcement-title[_ngcontent-%COMP%] .action-btn[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:16px}.announcement-description[_ngcontent-%COMP%]{margin:0;padding:12px 14px 0;color:#2a0b37;font-size:16px;font-weight:400;line-height:1.35;white-space:pre-wrap}.announcement-footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;padding:8px 14px 10px;grid-gap:8px;gap:8px}.announcement-description-deleted[_ngcontent-%COMP%]{color:#ae9eb4;font-style:italic}.announcement-edited-label[_ngcontent-%COMP%]{font-size:12px;color:#ae9eb4;font-style:italic}.announcement-timestamp[_ngcontent-%COMP%]{font-size:14px;color:#70567b}.announcement-title[_ngcontent-%COMP%] .action-btn[_ngcontent-%COMP%] i.fa[_ngcontent-%COMP%]{font-size:16px}.reaction-trigger-container[_ngcontent-%COMP%]{position:relative;display:inline-flex}.reaction-picker[_ngcontent-%COMP%]{position:absolute;top:100%;right:0;margin-top:4px;z-index:20;display:flex;grid-gap:2px;gap:2px;padding:4px 6px;background:#fff;border-radius:20px;box-shadow:0 4px 16px #33333324,0 1px 4px #33333314}.reaction-picker-emoji[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;font-size:20px;line-height:1;padding:4px;border-radius:50%;transition:background-color .12s ease,transform .12s ease}.reaction-picker-emoji[_ngcontent-%COMP%]:hover{background-color:#f4f1f5;transform:scale(1.2)}.announcement-reactions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;grid-gap:4px;gap:4px;padding:8px 14px 0}.reaction-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;grid-gap:3px;gap:3px;padding:1px 7px;background:#f4f1f5;border:1px solid #efefef;border-radius:11px;cursor:pointer;font-size:12px;line-height:18px;color:#333;transition:background-color .12s ease,border-color .12s ease}.reaction-chip[_ngcontent-%COMP%]:hover{background-color:#efefef}.reaction-chip.reaction-chip-mine[_ngcontent-%COMP%]{background:rgba(169,138,182,.15);border-color:#a98ab6}.reaction-chip-emoji[_ngcontent-%COMP%]{font-size:13px;line-height:1}.reaction-chip-count[_ngcontent-%COMP%]{font-weight:600}"]}),a})(),Dh=(()=>{class a{constructor(){this.text="Carers cannot reply to announcements"}}return a.\u0275fac=function(n){return new(n||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-announcement-info-strip"]],inputs:{text:"text"},decls:3,vars:1,consts:[["aria-hidden","true",1,"fa-light","fa-circle-info"],["data-id","announcement-info-text"]],template:function(n,l){1&n&&(e._UZ(0,"i",0),e.TgZ(1,"span",1),e._uU(2),e.qZA()),2&n&&(e.xp6(2),e.Oqu(l.text))},styles:["[_nghost-%COMP%]{margin:auto 32px 16px;display:flex;align-items:center;grid-gap:8px;gap:8px;color:#70567b;font-size:16px;padding:12px 16px;border-top:1px solid #dcd0e2;background:#fff;min-height:56px}i[_ngcontent-%COMP%]{color:#70567b}@media (max-width: 600px){[_nghost-%COMP%]{margin-left:16px;margin-right:16px;margin-bottom:calc(16px + env(safe-area-inset-bottom));padding:10px 12px;grid-gap:6px;gap:6px;font-size:12px;min-height:unset;white-space:nowrap}}"]}),a})(),kh=(()=>{class a{constructor(n){this.elementRef=n,this.debugResize=!1,this.targetHeight=null,this.isUpdating=!1}ngOnInit(){this.initializeResizeObserver()}ngOnDestroy(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=void 0),this.windowResizeListener&&(window.removeEventListener("resize",this.windowResizeListener),this.windowResizeListener=void 0),this.visualViewportResizeListener&&window.visualViewport&&(window.visualViewport.removeEventListener("resize",this.visualViewportResizeListener),this.visualViewportResizeListener=void 0),this.visualViewportScrollListener&&window.visualViewport&&(window.visualViewport.removeEventListener("scroll",this.visualViewportScrollListener),this.visualViewportScrollListener=void 0)}initializeResizeObserver(){this.constrainingElement&&"undefined"!=typeof ResizeObserver?(this.resizeObserver=new ResizeObserver(()=>{this.debugResize&&console.log("[PaResizeConstrained] ResizeObserver fired on constraining element"),this.isUpdating?this.debugResize&&console.log("[PaResizeConstrained] ResizeObserver skipped \u2014 already updating"):this.calculateAvailableHeight()}),this.resizeObserver.observe(this.constrainingElement),setTimeout(()=>{this.debugResize&&console.log("[PaResizeConstrained] Initial calc after view init"),this.calculateAvailableHeight()},0),this.windowResizeListener=()=>{var n;this.debugResize&&console.log("[PaResizeConstrained] window.resize fired","innerHeight:",window.innerHeight,"visualViewport.height:",null===(n=window.visualViewport)||void 0===n?void 0:n.height),this.calculateAvailableHeight()},window.addEventListener("resize",this.windowResizeListener),window.visualViewport?(this.visualViewportResizeListener=()=>{var n,l,w;this.debugResize&&console.log("[PaResizeConstrained] visualViewport.resize fired","height:",null===(n=window.visualViewport)||void 0===n?void 0:n.height,"offsetTop:",null===(l=window.visualViewport)||void 0===l?void 0:l.offsetTop,"pageTop:",null===(w=window.visualViewport)||void 0===w?void 0:w.pageTop),this.calculateAvailableHeight()},this.visualViewportScrollListener=()=>{var n,l,w;this.debugResize&&console.log("[PaResizeConstrained] visualViewport.scroll fired","height:",null===(n=window.visualViewport)||void 0===n?void 0:n.height,"offsetTop:",null===(l=window.visualViewport)||void 0===l?void 0:l.offsetTop,"pageTop:",null===(w=window.visualViewport)||void 0===w?void 0:w.pageTop),this.calculateAvailableHeight()},window.visualViewport.addEventListener("resize",this.visualViewportResizeListener),window.visualViewport.addEventListener("scroll",this.visualViewportScrollListener)):this.debugResize&&console.warn("[PaResizeConstrained] window.visualViewport not available \u2014 keyboard show/hide will not trigger recalc")):this.debugResize&&console.warn("[PaResizeConstrained] ResizeObserver not available or constraining element not provided")}calculateAvailableHeight(){if(this.isUpdating||!this.constrainingElement)return;this.isUpdating=!0;const n=this.elementRef.nativeElement.getBoundingClientRect(),l=this.constrainingElement.getBoundingClientRect();let w=window.innerHeight||document.documentElement.clientHeight;const E=document.querySelector("[paResizeConstrainedViewPortAnchor]");E&&(w=E.getBoundingClientRect().height,this.debugResize&&console.log(`[PaResizeConstrained] found anchor element using its height as viewport size: ${w}px`));const Ae=w-l.height-n.top;this.debugResize&&console.log("[PaResizeConstrained] calc \u2192 viewportSize:",w,"hostRect.top:",n.top,"constrainingRect.top:",l.top,"constrainingRect.height:",l.height,"availableHeight (formula):",Ae,"targetHeight (clamped):",Math.max(0,Ae),"previousTargetHeight:",this.targetHeight),this.targetHeight=Math.max(0,Ae),setTimeout(()=>{this.isUpdating=!1},0)}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(e.SBq))},a.\u0275dir=e.lG2({type:a,selectors:[["","paResizeConstrained",""]],hostVars:2,hostBindings:function(n,l){2&n&&e.Udp("height",l.targetHeight,"px")},inputs:{constrainingElement:["constrainedBy","constrainingElement"],debugResize:"debugResize"}}),a})(),Mm=(()=>{class a{constructor(n){this.messagingService=n,this.layoutMode="fullscreen",this.showHeader=!0,this.showBackButton=!0,this.showMessageList=!0,this.showMessageInput=!0,this.bubbleStyle="default",this.emojiPickerMode="simple",this.canEditMessages=!1,this.canDeleteMessages=!1,this.enableReactions=!1,this.statusDisplayMode="ticks",this.canDeleteConversation=!1,this.showAnnouncementCompose=!1,this.announcementReadOnlyInfoText="Carers cannot reply to announcements",this.backClick=new e.vpe,this.navigationNeeded=new e.vpe,this.messages=[],this.messageControl=new c.NI(""),this.isLoading=!1,this.isSending=!1,this.isLoadingOlder=!1,this.hasMoreMessages=!0,this.showEmojiPopover=!1,this.commonEmojis=["\u{1f44d}","\u2764\ufe0f","\u{1f602}","\u{1f44c}","\u{1f60a}"],this.showAvatarInfo=!1,this.error=null,this.sendError=null,this.showEditModal=!1,this.editMessageControl=new c.NI(""),this.showDeleteConfirmModal=!1,this.showDeleteConversationModal=!1,this.announcementSubtitle="Announcement - All Carers",this.announcementFallbackTitle="Announcement",this.currentPage=0,this.pageSize=30,this.destroy$=new A.x,this.conversationChange$=new A.x,this.allMessages=[],this.loadedMessageCount=0}ngOnChanges(n){n.conversationId&&!n.conversationId.firstChange&&this.resetAndLoadConversation()}ngOnInit(){this.conversationId&&this.loadConversation(),this.subscribeToLoadingAndErrorStates()}ngOnDestroy(){this.conversationId&&this.messagingService.discardUnsavedNewThread(this.conversationId),this.destroy$.next(),this.destroy$.complete()}onBackClick(){this.backClick.emit()}onSendMessage(){var n;return(0,g.mG)(this,void 0,void 0,function*(){const l=null===(n=this.messageControl.value)||void 0===n?void 0:n.trim();if(l&&!this.isSending){this.isSending=!0,this.sendError=null,this.messageControl.setValue(""),this.resetTextareaHeight();try{if(!this.conversation)return;if(!0===this.conversation.isUnsavedNewThread){if(!this.threadSubject)return;const E=yield this.messagingService.sendMessageToNewThread(this.conversationId,this.threadSubject,l);if(E)return void this.navigationNeeded.emit(E)}else yield this.messagingService.sendMessageToExistingThread(this.conversationId,l),this.scrollToBottom()}catch(w){console.error("Error sending message:",w),ns&&ns.captureException(w)}finally{this.isSending=!1}}})}onAttachmentClick(){console.log("Attachment clicked")}onEmojiClick(){this.showEmojiPopover=!this.showEmojiPopover}onEmojiSelect(n){this.messageControl.setValue("advanced"===this.emojiPickerMode&&this.messageTextarea?this.messageTextarea.nativeElement.value:(this.messageControl.value||"")+n),this.showEmojiPopover=!1}onMessageInput(n){this.messageControl.setValue(n.target.value),this.autoResizeTextarea()}onEnterKey(n){n.shiftKey||(n.preventDefault(),this.onSendMessage())}autoResizeTextarea(){if(this.messageTextarea){const n=this.messageTextarea.nativeElement;n.style.height="auto";const l=Math.min(n.scrollHeight,120);n.style.height=`${l}px`,n.style.overflowY=n.scrollHeight>120?"auto":"hidden"}}resetTextareaHeight(){if(this.messageTextarea){const n=this.messageTextarea.nativeElement;n.style.height="",n.style.overflowY="hidden"}}onAvatarClick(n){this.selectedMessageForInfo=n,this.showAvatarInfo=!0,this.showEmojiPopover=!1}closeAvatarInfo(){this.showAvatarInfo=!1,this.selectedMessageForInfo=void 0}onRetryMessage(n){!n.tempId||this.messagingService.retryFailedMessage(this.conversationId,n.tempId)}onDocumentClick(n){var l,w;const E=n.target;this.showEmojiPopover&&!E.closest(".emoji-popover")&&!E.closest(".emoji-button")&&(this.showEmojiPopover=!1),this.showAvatarInfo&&!E.closest(".avatar-info-card")&&!E.closest(".message-avatar")&&this.closeAvatarInfo(),E.closest(".kebab-menu-container")||null===(l=this.messageListComponent)||void 0===l||l.closeKebab(),E.closest(".reaction-trigger-container")||null===(w=this.messageListComponent)||void 0===w||w.closeReactionPicker()}onScroll(n){0===n.target.scrollTop&&this.hasMoreMessages&&!this.isLoadingOlder&&this.loadOlderMessages()}loadOlderMessages(){return(0,g.mG)(this,void 0,void 0,function*(){if(!this.isNewConversation()&&!this.isLoadingOlder&&this.hasMoreMessages){this.isLoadingOlder=!0,this.currentPage++;try{this.loadedMessageCount+=this.pageSize,this.updateVisibleMessages(),this.hasMoreMessages=this.allMessages.length>this.loadedMessageCount}catch(n){console.error("Error loading older messages:",n),this.currentPage--,this.loadedMessageCount-=this.pageSize}finally{this.isLoadingOlder=!1}}})}getAvatarColor(){if(!this.conversation)return"avatar-color-1";const n=this.hashCode(this.conversation.id);return"avatar-color-"+(Math.abs(n)%8+1)}hashCode(n){let l=0;for(let w=0;wnew Date(n.timestamp).getTime()-new Date(l.timestamp).getTime())}trackAnnouncementMessage(n,l){return l.id||l.tempId||`${l.timestamp}`}getMessageTime(n){return new Date(n).toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit",hour12:!1})}resetAndLoadConversation(){this.conversationChange$.next(),this.messages=[],this.allMessages=[],this.loadedMessageCount=0,this.currentPage=0,this.hasMoreMessages=!0,this.error=null,this.sendError=null,this.showEmojiPopover=!1,this.showAvatarInfo=!1,this.selectedMessageForInfo=void 0,this.loadConversation()}loadConversation(){let n=!1;this.messagingService.getConversations().pipe((0,Tt.U)(l=>l.find(w=>w.id===this.conversationId)),(0,H.R)((0,nn.T)(this.destroy$,this.conversationChange$))).subscribe(l=>{l?(this.conversation=l,n||(n=!0,this.subscribeToMessages(),this.loadInitialMessages(l))):console.log("[PaChatDetailComponent] Conversation not found yet, waiting for load. conversationId:",this.conversationId)})}loadInitialMessages(n){var l;return(0,g.mG)(this,void 0,void 0,function*(){if(n.isUnsavedNewThread)return this.messages=[],this.allMessages=[],this.loadedMessageCount=0,this.hasMoreMessages=!1,void(this.isLoading=!1);this.isLoading=!0,this.currentPage=0,this.error=null,this.loadedMessageCount=this.pageSize;try{yield this.messagingService.getMessages(this.conversationId,this.currentPage,this.pageSize);const E=(null!==(l=n.unreadCount)&&void 0!==l?l:0)>0,Ae=this.allMessages.some(ft=>ft.conversationId===this.conversationId&&!ft.isRead&&!ft.isFromCurrentUser);(E||Ae)&&this.messagingService.markConversationAsRead(this.conversationId).catch(ft=>{console.error("Error marking conversation as read:",ft)}),this.updateVisibleMessages(),this.hasMoreMessages=this.allMessages.length>this.loadedMessageCount,this.scrollToBottom()}catch(w){console.error("Error loading messages:",w),this.error="Failed to load messages. Please try again."}finally{this.isLoading=!1}})}subscribeToMessages(){this.messagingService.getMessagesObservable(this.conversationId).pipe((0,H.R)((0,nn.T)(this.destroy$,this.conversationChange$))).subscribe(n=>{this.allMessages=n,this.updateVisibleMessages(),this.isLoadingOlder||this.scrollToBottom(),n.some(w=>w.conversationId===this.conversationId&&!w.isRead&&!w.isFromCurrentUser)&&this.messagingService.markConversationAsRead(this.conversationId).catch(w=>{console.error("Error marking conversation as read on live update:",w)})})}updateVisibleMessages(){if(0===this.allMessages.length)return void(this.messages=[]);if(0===this.loadedMessageCount)return void(this.messages=[]);!this.isLoadingOlder&&this.allMessages.length>this.loadedMessageCount&&(this.loadedMessageCount=this.allMessages.length);const n=Math.max(0,this.allMessages.length-this.loadedMessageCount);this.messages=this.allMessages.slice(n)}subscribeToLoadingAndErrorStates(){this.messagingService.getErrorState().pipe((0,H.R)(this.destroy$)).subscribe(n=>{n&&!this.error&&(this.error=n)})}onEditMessageRequest(n){this.editingMessage=n,this.editMessageControl.setValue(n.content),this.showEditModal=!0}onEditConfirm(){var n;return(0,g.mG)(this,void 0,void 0,function*(){if(!this.editingMessage)return;const l=null===(n=this.editMessageControl.value)||void 0===n?void 0:n.trim();!l||(this.showEditModal=!1,yield this.messagingService.editMessage(this.conversationId,this.editingMessage.id,l),this.editingMessage=void 0,this.editMessageControl.setValue(""))})}onEditCancel(){this.showEditModal=!1,this.editingMessage=void 0,this.editMessageControl.setValue("")}onReactionToggle(n){this.messagingService.setReaction(this.conversationId,n.message.id,n.emoji)}onAnnouncementReactionToggle(n,l){this.messagingService.setReaction(this.conversationId,n.id,l)}onDeleteMessageRequest(n){this.deletingMessage=n,this.showDeleteConfirmModal=!0}onDeleteConfirm(){return(0,g.mG)(this,void 0,void 0,function*(){if(!this.deletingMessage)return;const n=this.deletingMessage;this.showDeleteConfirmModal=!1,this.deletingMessage=void 0,yield this.messagingService.deleteMessage(this.conversationId,n.id)})}onDeleteCancel(){this.showDeleteConfirmModal=!1,this.deletingMessage=void 0}onDeleteConversationRequest(){this.showDeleteConversationModal=!0}onDeleteConversationCancel(){this.showDeleteConversationModal=!1}onDeleteConversationConfirm(){return(0,g.mG)(this,void 0,void 0,function*(){this.showDeleteConversationModal=!1,(yield this.messagingService.deleteConversation(this.conversationId))&&this.backClick.emit()})}canShowDeleteConversation(){return this.canDeleteConversation&&!this.isAnnouncementConversation()}onRetrySendMessage(){this.sendError=null,this.onSendMessage()}dismissSendError(){this.sendError=null}scrollToBottom(){requestAnimationFrame(()=>{this.scollContainer&&this.scollContainer.nativeElement.scrollTo({top:this.scollContainer.nativeElement.scrollHeight})})}toBoolean(n){if("boolean"==typeof n)return n;if("string"==typeof n){const l=n.trim().toLowerCase();return"true"===l||"1"===l}return"number"==typeof n&&1===n}}return a.\u0275fac=function(n){return new(n||a)(e.Y36(zl))},a.\u0275cmp=e.Xpm({type:a,selectors:[["pa-chat-detail"]],viewQuery:function(n,l){if(1&n&&(e.Gf(wh,5),e.Gf(Tu,5),e.Gf(Mu,5)),2&n){let w;e.iGM(w=e.CRH())&&(l.messageListComponent=w.first),e.iGM(w=e.CRH())&&(l.messageTextarea=w.first),e.iGM(w=e.CRH())&&(l.scollContainer=w.first)}},hostBindings:function(n,l){1&n&&e.NdJ("click",function(E){return l.onDocumentClick(E)},!1,e.evT)},inputs:{conversationId:"conversationId",conversation:"conversation",threadSubject:"threadSubject",layoutMode:"layoutMode",showHeader:"showHeader",showBackButton:"showBackButton",showMessageList:"showMessageList",showMessageInput:"showMessageInput",bubbleStyle:"bubbleStyle",customBubbleColors:"customBubbleColors",emojiPickerMode:"emojiPickerMode",canEditMessages:"canEditMessages",canDeleteMessages:"canDeleteMessages",enableReactions:"enableReactions",statusDisplayMode:"statusDisplayMode",canDeleteConversation:"canDeleteConversation",showAnnouncementCompose:"showAnnouncementCompose",announcementReadOnlyInfoText:"announcementReadOnlyInfoText"},outputs:{backClick:"backClick",navigationNeeded:"navigationNeeded"},features:[e.TTD],decls:22,vars:27,consts:[["data-id","chat-detail-container",1,"chat-detail-container"],["class","chat-detail-header",4,"ngIf"],["class","announcement-message-history","data-id","announcement-messages-list","role","list","aria-label","Announcement details",4,"ngIf"],["data-id","announcement-info-strip",3,"text",4,"ngIf"],["paResizeConstrained","","class","outer-message-heigh-limit-container",3,"constrainedBy",4,"ngIf"],["data-id","chat-input-container",1,"message-input-container"],["messageInputContainer",""],[1,"compose-input-wrapper"],[1,"textarea-container"],["data-id","message-input","placeholder","Type a message...","aria-label","Message content","rows","1","maxlength","1000",1,"message-textarea",3,"value","input","keydown.enter"],["messageTextarea",""],["type","button","data-id","emoji-button","title","Add emoji","aria-label","Add emoji",1,"emoji-button",3,"click"],["aria-hidden","true",1,"fa","fa-smile-o"],["type","button","data-id","message-send-button","title","Send message","aria-label","Send message",1,"send-button",3,"disabled","click"],["aria-hidden","true",1,"material-icons"],["class","new-thread-sending-overlay","data-id","new-thread-spinner",4,"ngIf"],[3,"mode","isVisible","targetElement","simpleEmojis","emojiSelected","close"],[3,"show","selectedMessage","conversation","avatarColor","close"],["class","modal-overlay","data-id","delete-message-modal-overlay",4,"ngIf"],["class","modal-overlay","data-id","delete-conversation-modal-overlay",4,"ngIf"],["class","modal-overlay","data-id","edit-message-modal-overlay",4,"ngIf"],[1,"chat-detail-header"],[1,"header-left"],["class","back-button","data-id","chat-back-button",3,"click",4,"ngIf"],["class","header-center",4,"ngIf"],[1,"header-right"],["type","button","class","delete-conversation-button","title","Delete chat","aria-label","Delete chat","data-id","delete-conversation-button",3,"click",4,"ngIf"],["data-id","chat-back-button",1,"back-button",3,"click"],[1,"fa","fa-chevron-left"],[1,"header-center"],[4,"ngIf","ngIfElse"],["standardHeaderTitle",""],["data-id","announcement-header",3,"showIcon","title","subtitle"],["data-id","conversation-participant-name",1,"participant-name"],["type","button","title","Delete chat","aria-label","Delete chat","data-id","delete-conversation-button",1,"delete-conversation-button",3,"click"],["data-id","announcement-messages-list","role","list","aria-label","Announcement details",1,"announcement-message-history"],["role","listitem","class","announcement-message-card",3,"title","body","timeText","isEdited","isDeleted","enableReactions","reactions","reactionToggle",4,"ngFor","ngForOf","ngForTrackBy"],["role","listitem",1,"announcement-message-card",3,"title","body","timeText","isEdited","isDeleted","enableReactions","reactions","reactionToggle"],["data-id","announcement-info-strip",3,"text"],["paResizeConstrained","",1,"outer-message-heigh-limit-container",3,"constrainedBy"],["scrollContainer",""],[3,"messages","conversation","isLoading","isLoadingOlder","hasMoreMessages","bubbleStyle","customBubbleColors","canEditMessages","canDeleteMessages","enableReactions","statusDisplayMode","scroll","avatarClick","retryMessage","editMessageRequest","deleteMessageRequest","reactionToggle"],["data-id","new-thread-spinner",1,"new-thread-sending-overlay"],["mode","indeterminate",3,"diameter"],[1,"sending-label"],["data-id","delete-message-modal-overlay",1,"modal-overlay"],["data-id","delete-message-modal","role","dialog","aria-modal","true","aria-labelledby","delete-message-modal-title","aria-describedby","delete-message-modal-description",1,"modal"],[1,"modal-header","confirmation-header"],["aria-hidden","true",1,"fa","fa-exclamation-circle"],["id","delete-message-modal-title"],[1,"modal-body"],["id","delete-message-modal-description",1,"modal-body-text"],[1,"modal-footer"],["buttonText","Cancel","data-id","delete-modal-cancel-button",3,"click"],["buttonText","Delete",3,"buttonId","click"],["data-id","delete-conversation-modal-overlay",1,"modal-overlay"],["data-id","delete-conversation-modal","role","dialog","aria-modal","true","aria-labelledby","delete-conversation-modal-title","aria-describedby","delete-conversation-modal-description",1,"modal"],["id","delete-conversation-modal-title"],["id","delete-conversation-modal-description",1,"modal-body-text"],["buttonText","Cancel","data-id","delete-conversation-cancel-button",3,"click"],["data-id","edit-message-modal-overlay",1,"modal-overlay"],["data-id","edit-message-modal","role","dialog","aria-modal","true","aria-labelledby","edit-message-modal-title",1,"modal"],[1,"modal-header"],["id","edit-message-modal-title","data-id","modal-title",1,"modal-title-emphasis"],["aria-label","Close","data-id","edit-modal-close-button",1,"modal-close",3,"click"],[1,"fa","fa-times"],["data-id","edit-message-input","aria-label","Edit your message","maxlength","1000","rows","4","placeholder","Edit your message...",1,"modal-textarea",3,"formControl"],["buttonText","Cancel","data-id","edit-modal-cancel-button",3,"click"],["buttonText","Save",3,"buttonId","disabled","click"]],template:function(n,l){if(1&n&&(e.TgZ(0,"div",0),e.YNc(1,fd,6,3,"div",1),e.YNc(2,tg,2,2,"div",2),e.YNc(3,Su,1,1,"pa-announcement-info-strip",3),e.YNc(4,Ip,3,12,"div",4),e.TgZ(5,"div",5,6)(7,"div",7)(8,"div",8)(9,"textarea",9,10),e.NdJ("input",function(E){return l.onMessageInput(E)})("keydown.enter",function(E){return l.onEnterKey(E)}),e.qZA(),e.TgZ(11,"button",11),e.NdJ("click",function(){return l.onEmojiClick()}),e._UZ(12,"i",12),e.qZA()(),e.TgZ(13,"button",13),e.NdJ("click",function(){return l.onSendMessage()}),e.TgZ(14,"span",14),e._uU(15,"send"),e.qZA()()(),e.YNc(16,Fp,4,1,"div",15),e.TgZ(17,"pa-unified-emoji-picker",16),e.NdJ("emojiSelected",function(E){return l.onEmojiSelect(E)})("close",function(){return l.showEmojiPopover=!1}),e.qZA(),e.TgZ(18,"pa-avatar-info-card",17),e.NdJ("close",function(){return l.closeAvatarInfo()}),e.qZA()()(),e.YNc(19,Lp,12,1,"div",18),e.YNc(20,Rp,12,1,"div",19),e.YNc(21,xu,13,3,"div",20)),2&n){const w=e.MAs(10);e.ekj("composer-only",!l.showMessageList&&l.showMessageInput),e.xp6(1),e.Q6J("ngIf",l.showHeader),e.xp6(1),e.Q6J("ngIf",l.isAnnouncementConversation()&&l.showMessageList),e.xp6(1),e.Q6J("ngIf",l.isAnnouncementConversation()),e.xp6(1),e.Q6J("ngIf",l.showMessageList&&!l.isAnnouncementConversation()),e.xp6(1),e.Udp("display",!l.showMessageInput||l.isAnnouncementConversation()&&!l.showAnnouncementCompose?"none":null),e.xp6(4),e.Q6J("value",l.messageControl.value||""),e.xp6(2),e.ekj("active",l.showEmojiPopover),e.uIk("aria-expanded",l.showEmojiPopover),e.xp6(2),e.Q6J("disabled",!(null!=l.messageControl.value&&l.messageControl.value.trim())||l.isSending),e.xp6(1),e.ekj("fa-spin",l.isSending),e.xp6(2),e.Q6J("ngIf",l.isSending&&l.isNewConversation()),e.xp6(1),e.Q6J("mode",l.emojiPickerMode)("isVisible",l.showEmojiPopover)("targetElement",w)("simpleEmojis",l.commonEmojis),e.xp6(1),e.Q6J("show",l.showAvatarInfo)("selectedMessage",l.selectedMessageForInfo)("conversation",l.conversation)("avatarColor",l.getAvatarColor()),e.xp6(1),e.Q6J("ngIf",l.showDeleteConfirmModal),e.xp6(1),e.Q6J("ngIf",l.showDeleteConversationModal),e.xp6(1),e.Q6J("ngIf",l.showEditModal)}},directives:[Fd,Ld,Dh,wh,Je.Ou,Cl,bh,vd,Ea,u.O5,u.sg,kh,c.Fj,c.nD,c.JJ,c.oH],styles:["[_nghost-%COMP%]{display:flex;flex:1;min-height:0;width:100%}.chat-detail-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;min-height:0;background:white}.chat-detail-container.composer-only[_ngcontent-%COMP%]{justify-content:flex-end}[_nghost-%COMP%] .chat-detail-container[_ngcontent-%COMP%]{position:relative;height:100%;z-index:auto;display:flex;flex-direction:column;overflow:hidden}.chat-detail-header[_ngcontent-%COMP%]{background:#fff;border-bottom:1px solid #dcd0e2;padding:max(var(--safe-top, 0px),15px) 16px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid #e8e8e8;position:sticky;top:0;width:100%;margin:0;min-height:70px}.chat-detail-header[_ngcontent-%COMP%] .header-left[_ngcontent-%COMP%], .chat-detail-header[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%]{width:80px}.chat-detail-header[_ngcontent-%COMP%] .header-right[_ngcontent-%COMP%]{justify-content:flex-end;display:flex}.chat-detail-header[_ngcontent-%COMP%] .header-left[_ngcontent-%COMP%]{display:flex;align-items:center}.chat-detail-header[_ngcontent-%COMP%] .header-center[_ngcontent-%COMP%]{flex:1;min-width:0;text-align:center}.back-button[_ngcontent-%COMP%]{background:none;border:none;display:flex;align-items:center;justify-content:center;grid-gap:8px;gap:8px;color:#7030a0;font:500 16px/1;cursor:pointer;padding:8px;border-radius:8px}.back-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:18px}.back-button[_ngcontent-%COMP%]:hover{background:rgba(112,48,160,.1)}.delete-conversation-button[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;background:none;border:none;border-radius:50%;color:#b32b29;cursor:pointer;transition:background-color .15s ease}.delete-conversation-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px}.delete-conversation-button[_ngcontent-%COMP%]:hover{background:rgba(179,43,41,.1)}.participant-name[_ngcontent-%COMP%]{font-size:16px;color:#000;margin:0}.delete-conversation-button[_ngcontent-%COMP%]{flex-shrink:0;margin-left:auto;width:36px;height:36px;border:none;border-radius:50%;background:transparent;color:#e53935;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s}.delete-conversation-button[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.06)}.delete-conversation-button[_ngcontent-%COMP%]:focus-visible{outline:2px solid #e53935;outline-offset:2px}.delete-conversation-button[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:20px}.outer-message-heigh-limit-container[_ngcontent-%COMP%]{flex:1;min-height:0;overflow-y:auto}.message-input-container[_ngcontent-%COMP%]{background:#fff;padding:16px 10px max(var(--safe-bottom, 0px),16px);background:white;border-top:1px solid #e8e8e8;box-sizing:border-box;margin-top:auto;z-index:999;position:relative;width:100%}.compose-input-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;grid-gap:12px;gap:12px;position:relative;width:100%}.textarea-container[_ngcontent-%COMP%]{flex:1;min-width:0;position:relative;display:flex;align-items:center}.message-textarea[_ngcontent-%COMP%]{width:100%;min-height:44px;max-height:120px;padding:12px 50px 12px 16px;border:1px solid #e0e0e0;border-radius:24px;font-size:14px;font-family:inherit;line-height:1.5;outline:none;resize:none;transition:border-color .2s;overflow-y:hidden;overflow-x:hidden;box-sizing:border-box}.message-textarea[_ngcontent-%COMP%]:focus{border-color:#ba25b2}.message-textarea[_ngcontent-%COMP%]:disabled{background:#f5f5f5;cursor:not-allowed;opacity:.6}.message-textarea[_ngcontent-%COMP%]::placeholder{color:#999}.message-textarea[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.message-textarea[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f1f1f1}.message-textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#888;border-radius:3px}.message-textarea[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#555}.emoji-button[_ngcontent-%COMP%]{position:absolute;top:6px;right:6px;width:32px;height:32px;border:none;background:transparent;color:#666;cursor:pointer;border-radius:50%;transition:all .2s;display:flex;align-items:center;justify-content:center}.emoji-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:18px}.emoji-button[_ngcontent-%COMP%]:hover:not(:disabled){background:#f0f0f0;color:#333}.emoji-button.active[_ngcontent-%COMP%]{background:#e1bee7;color:#ba25b2}.emoji-button[_ngcontent-%COMP%]:disabled{cursor:not-allowed;opacity:.5}.send-button[_ngcontent-%COMP%]{width:44px;height:44px;border:none;background:#ba25b2;color:#fff;cursor:pointer;border-radius:50%;transition:background .2s;display:flex;align-items:center;justify-content:center;flex-shrink:0}.send-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:18px}.send-button[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{font-size:20px;line-height:1}.send-button[_ngcontent-%COMP%]:hover:not(:disabled){background:#54166e}.send-button[_ngcontent-%COMP%]:disabled{background:#e0e0e0;cursor:not-allowed;opacity:.6}.new-thread-sending-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(255,255,255,.85);z-index:10;grid-gap:16px;gap:16px}.new-thread-sending-overlay[_ngcontent-%COMP%] .sending-label[_ngcontent-%COMP%]{font-size:14px;color:#555}.modal-overlay[_ngcontent-%COMP%]{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:1100;padding:16px}.modal[_ngcontent-%COMP%]{background:#ffffff;border-radius:12px;box-shadow:0 8px 32px #0000002e;width:100%;max-width:440px;overflow:hidden}.modal-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:20px 20px 0}.modal-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;font-size:16px;font-weight:600;color:#111}.modal-header.confirmation-header[_ngcontent-%COMP%]{background:#fb8c00;justify-content:flex-start;grid-gap:12px;gap:12px;padding:20px}.modal-header.confirmation-header[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:22px;color:#fff}.modal-header.confirmation-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:#fff}.modal-close[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;padding:4px;color:#888;font-size:16px;border-radius:50%;display:flex;align-items:center;justify-content:center}.modal-close[_ngcontent-%COMP%]:hover{background:#f0f0f0;color:#333}.modal-body[_ngcontent-%COMP%]{padding:16px 20px}.modal-body-text[_ngcontent-%COMP%]{margin:0;font-size:14px;color:#444;line-height:1.5}.modal-textarea[_ngcontent-%COMP%]{width:100%;min-height:96px;padding:12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;font-family:inherit;line-height:1.5;resize:vertical;outline:none;box-sizing:border-box;color:#111}.modal-textarea[_ngcontent-%COMP%]:focus{border-color:#ba25b2;box-shadow:0 0 0 2px #7030a01f}.modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;grid-gap:10px;gap:10px;padding:0 20px 20px}.modal-header[_ngcontent-%COMP%] h3.modal-title-emphasis[_ngcontent-%COMP%]{font-size:30px;font-weight:300;color:#320d42}.modal-btn[_ngcontent-%COMP%]{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-family:inherit;font-weight:500;cursor:pointer;transition:background .15s}.modal-btn[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.modal-btn-cancel[_ngcontent-%COMP%]{background:#f0f0f0;color:#333}.modal-btn-cancel[_ngcontent-%COMP%]:hover:not(:disabled){background:#e4e4e4}.modal-btn-primary[_ngcontent-%COMP%]{background:#ba25b2;color:#fff}.modal-btn-primary[_ngcontent-%COMP%]:hover:not(:disabled){background:#54166e}.modal-btn-danger[_ngcontent-%COMP%]{background:#c62828;color:#fff}.modal-btn-danger[_ngcontent-%COMP%]:hover:not(:disabled){background:#b71c1c}"]}),a})(),Sm=(()=>{class a{}return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({providers:[zl],imports:[[u.ez,c.UX,c.u5,Je.Cq,hh]]}),a})()},1777:(X,N,p)=>{"use strict";p.d(N,{F4:()=>I,IO:()=>q,LC:()=>o,SB:()=>A,X$:()=>d,ZE:()=>ue,ZN:()=>ne,_j:()=>e,eR:()=>H,jt:()=>c,k1:()=>ee,l3:()=>u,oB:()=>k,pV:()=>O,ru:()=>g,vP:()=>b});class e{}class o{}const u="*";function d(Q,se){return{type:7,name:Q,definitions:se,options:{}}}function c(Q,se=null){return{type:4,styles:se,timings:Q}}function g(Q,se=null){return{type:3,steps:Q,options:se}}function b(Q,se=null){return{type:2,steps:Q,options:se}}function k(Q){return{type:6,styles:Q,offset:null}}function A(Q,se,je){return{type:0,name:Q,styles:se,options:je}}function I(Q){return{type:5,steps:Q}}function H(Q,se,je=null){return{type:1,expr:Q,animation:se,options:je}}function O(Q=null){return{type:9,options:Q}}function q(Q,se,je=null){return{type:11,selector:Q,animation:se,options:je}}function V(Q){Promise.resolve(null).then(Q)}class ne{constructor(se=0,je=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=se+je}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(se=>se()),this._onDoneFns=[])}onStart(se){this._onStartFns.push(se)}onDone(se){this._onDoneFns.push(se)}onDestroy(se){this._onDestroyFns.push(se)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){V(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(se=>se()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(se=>se()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(se){this._position=this.totalTime?se*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(se){const je="start"==se?this._onStartFns:this._onDoneFns;je.forEach(nt=>nt()),je.length=0}}class ue{constructor(se){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=se;let je=0,nt=0,He=0;const de=this.players.length;0==de?V(()=>this._onFinish()):this.players.forEach(Ce=>{Ce.onDone(()=>{++je==de&&this._onFinish()}),Ce.onDestroy(()=>{++nt==de&&this._onDestroy()}),Ce.onStart(()=>{++He==de&&this._onStart()})}),this.totalTime=this.players.reduce((Ce,Ze)=>Math.max(Ce,Ze.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(se=>se()),this._onDoneFns=[])}init(){this.players.forEach(se=>se.init())}onStart(se){this._onStartFns.push(se)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(se=>se()),this._onStartFns=[])}onDone(se){this._onDoneFns.push(se)}onDestroy(se){this._onDestroyFns.push(se)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(se=>se.play())}pause(){this.players.forEach(se=>se.pause())}restart(){this.players.forEach(se=>se.restart())}finish(){this._onFinish(),this.players.forEach(se=>se.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(se=>se.destroy()),this._onDestroyFns.forEach(se=>se()),this._onDestroyFns=[])}reset(){this.players.forEach(se=>se.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(se){const je=se*this.totalTime;this.players.forEach(nt=>{const He=nt.totalTime?Math.min(1,je/nt.totalTime):1;nt.setPosition(He)})}getPosition(){const se=this.players.reduce((je,nt)=>null===je||nt.totalTime>je.totalTime?nt:je,null);return null!=se?se.getPosition():0}beforeDestroy(){this.players.forEach(se=>{se.beforeDestroy&&se.beforeDestroy()})}triggerCallback(se){const je="start"==se?this._onStartFns:this._onDoneFns;je.forEach(nt=>nt()),je.length=0}}const ee="!"},5664:(X,N,p)=>{"use strict";p.d(N,{$s:()=>Ce,Em:()=>Be,Kd:()=>sn,X6:()=>Kt,ic:()=>Zt,kH:()=>Hn,mK:()=>Ft,qV:()=>pt,qm:()=>zn,rt:()=>$t,s1:()=>xt,tE:()=>Gn,yG:()=>rt});var e=p(9808),o=p(5e3),u=p(925),d=p(7579),c=p(727),g=p(1135),b=p(9646),k=p(1159),A=p(8505),I=p(8372),H=p(9300),z=p(4004),O=p(5698),Z=p(5684),q=p(1884),te=p(2722),V=p(3191),ne=p(7144);function se(xe,Se){return(xe.getAttribute(Se)||"").match(/\S+/g)||[]}const nt="cdk-describedby-message",He="cdk-describedby-host";let de=0,Ce=(()=>{class xe{constructor(j,Ie){this._platform=Ie,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+de++,this._document=j}describe(j,Ie,vt){if(!this._canBeDescribed(j,Ie))return;const Vt=Ze(Ie,vt);"string"!=typeof Ie?(ot(Ie),this._messageRegistry.set(Vt,{messageElement:Ie,referenceCount:0})):this._messageRegistry.has(Vt)||this._createMessageElement(Ie,vt),this._isElementDescribedByMessage(j,Vt)||this._addMessageReference(j,Vt)}removeDescription(j,Ie,vt){var Vt;if(!Ie||!this._isElementNode(j))return;const Fn=Ze(Ie,vt);if(this._isElementDescribedByMessage(j,Fn)&&this._removeMessageReference(j,Fn),"string"==typeof Ie){const ti=this._messageRegistry.get(Fn);ti&&0===ti.referenceCount&&this._deleteMessageElement(Fn)}0===(null===(Vt=this._messagesContainer)||void 0===Vt?void 0:Vt.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var j;const Ie=this._document.querySelectorAll(`[${He}="${this._id}"]`);for(let vt=0;vt0!=vt.indexOf(nt));j.setAttribute("aria-describedby",Ie.join(" "))}_addMessageReference(j,Ie){const vt=this._messageRegistry.get(Ie);(function ee(xe,Se,j){const Ie=se(xe,Se);Ie.some(vt=>vt.trim()==j.trim())||(Ie.push(j.trim()),xe.setAttribute(Se,Ie.join(" ")))})(j,"aria-describedby",vt.messageElement.id),j.setAttribute(He,this._id),vt.referenceCount++}_removeMessageReference(j,Ie){const vt=this._messageRegistry.get(Ie);vt.referenceCount--,function Q(xe,Se,j){const vt=se(xe,Se).filter(Vt=>Vt!=j.trim());vt.length?xe.setAttribute(Se,vt.join(" ")):xe.removeAttribute(Se)}(j,"aria-describedby",vt.messageElement.id),j.removeAttribute(He)}_isElementDescribedByMessage(j,Ie){const vt=se(j,"aria-describedby"),Vt=this._messageRegistry.get(Ie),Fn=Vt&&Vt.messageElement.id;return!!Fn&&-1!=vt.indexOf(Fn)}_canBeDescribed(j,Ie){if(!this._isElementNode(j))return!1;if(Ie&&"object"==typeof Ie)return!0;const vt=null==Ie?"":`${Ie}`.trim(),Vt=j.getAttribute("aria-label");return!(!vt||Vt&&Vt.trim()===vt)}_isElementNode(j){return j.nodeType===this._document.ELEMENT_NODE}}return xe.\u0275fac=function(j){return new(j||xe)(o.LFG(e.K0),o.LFG(u.t4))},xe.\u0275prov=o.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})();function Ze(xe,Se){return"string"==typeof xe?`${Se||""}/${xe}`:xe}function ot(xe){xe.id||(xe.id=`${nt}-${de++}`)}class Ke{constructor(Se){this._items=Se,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new d.x,this._typeaheadSubscription=c.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=j=>j.disabled,this._pressedLetters=[],this.tabOut=new d.x,this.change=new d.x,Se instanceof o.n_E&&Se.changes.subscribe(j=>{if(this._activeItem){const vt=j.toArray().indexOf(this._activeItem);vt>-1&&vt!==this._activeItemIndex&&(this._activeItemIndex=vt)}})}skipPredicate(Se){return this._skipPredicateFn=Se,this}withWrap(Se=!0){return this._wrap=Se,this}withVerticalOrientation(Se=!0){return this._vertical=Se,this}withHorizontalOrientation(Se){return this._horizontal=Se,this}withAllowedModifierKeys(Se){return this._allowedModifierKeys=Se,this}withTypeAhead(Se=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,A.b)(j=>this._pressedLetters.push(j)),(0,I.b)(Se),(0,H.h)(()=>this._pressedLetters.length>0),(0,z.U)(()=>this._pressedLetters.join(""))).subscribe(j=>{const Ie=this._getItemsArray();for(let vt=1;vt!Se[Vt]||this._allowedModifierKeys.indexOf(Vt)>-1);switch(j){case k.Mf:return void this.tabOut.next();case k.JH:if(this._vertical&&vt){this.setNextItemActive();break}return;case k.LH:if(this._vertical&&vt){this.setPreviousItemActive();break}return;case k.SV:if(this._horizontal&&vt){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case k.oh:if(this._horizontal&&vt){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case k.Sd:if(this._homeAndEnd&&vt){this.setFirstItemActive();break}return;case k.uR:if(this._homeAndEnd&&vt){this.setLastItemActive();break}return;default:return void((vt||(0,k.Vb)(Se,"shiftKey"))&&(Se.key&&1===Se.key.length?this._letterKeyStream.next(Se.key.toLocaleUpperCase()):(j>=k.A&&j<=k.Z||j>=k.xE&&j<=k.aO)&&this._letterKeyStream.next(String.fromCharCode(j))))}this._pressedLetters=[],Se.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Se){const j=this._getItemsArray(),Ie="number"==typeof Se?Se:j.indexOf(Se),vt=j[Ie];this._activeItem=null==vt?null:vt,this._activeItemIndex=Ie}_setActiveItemByDelta(Se){this._wrap?this._setActiveInWrapMode(Se):this._setActiveInDefaultMode(Se)}_setActiveInWrapMode(Se){const j=this._getItemsArray();for(let Ie=1;Ie<=j.length;Ie++){const vt=(this._activeItemIndex+Se*Ie+j.length)%j.length;if(!this._skipPredicateFn(j[vt]))return void this.setActiveItem(vt)}}_setActiveInDefaultMode(Se){this._setActiveItemByIndex(this._activeItemIndex+Se,Se)}_setActiveItemByIndex(Se,j){const Ie=this._getItemsArray();if(Ie[Se]){for(;this._skipPredicateFn(Ie[Se]);)if(!Ie[Se+=j])return;this.setActiveItem(Se)}}_getItemsArray(){return this._items instanceof o.n_E?this._items.toArray():this._items}}class xt extends Ke{setActiveItem(Se){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(Se),this.activeItem&&this.activeItem.setActiveStyles()}}class Be extends Ke{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Se){return this._origin=Se,this}setActiveItem(Se){super.setActiveItem(Se),this.activeItem&&this.activeItem.focus(this._origin)}}let Zt=(()=>{class xe{constructor(j){this._platform=j}isDisabled(j){return j.hasAttribute("disabled")}isVisible(j){return function Xt(xe){return!!(xe.offsetWidth||xe.offsetHeight||"function"==typeof xe.getClientRects&&xe.getClientRects().length)}(j)&&"visible"===getComputedStyle(j).visibility}isTabbable(j){if(!this._platform.isBrowser)return!1;const Ie=function Sn(xe){try{return xe.frameElement}catch(Se){return null}}(function Je(xe){return xe.ownerDocument&&xe.ownerDocument.defaultView||window}(j));if(Ie&&(-1===bt(Ie)||!this.isVisible(Ie)))return!1;let vt=j.nodeName.toLowerCase(),Vt=bt(j);return j.hasAttribute("contenteditable")?-1!==Vt:!("iframe"===vt||"object"===vt||this._platform.WEBKIT&&this._platform.IOS&&!function dt(xe){let Se=xe.nodeName.toLowerCase(),j="input"===Se&&xe.type;return"text"===j||"password"===j||"select"===Se||"textarea"===Se}(j))&&("audio"===vt?!!j.hasAttribute("controls")&&-1!==Vt:"video"===vt?-1!==Vt&&(null!==Vt||this._platform.FIREFOX||j.hasAttribute("controls")):j.tabIndex>=0)}isFocusable(j,Ie){return function ut(xe){return!function mn(xe){return function et(xe){return"input"==xe.nodeName.toLowerCase()}(xe)&&"hidden"==xe.type}(xe)&&(function nn(xe){let Se=xe.nodeName.toLowerCase();return"input"===Se||"select"===Se||"button"===Se||"textarea"===Se}(xe)||function Jt(xe){return function Pt(xe){return"a"==xe.nodeName.toLowerCase()}(xe)&&xe.hasAttribute("href")}(xe)||xe.hasAttribute("contenteditable")||Ot(xe))}(j)&&!this.isDisabled(j)&&((null==Ie?void 0:Ie.ignoreVisibility)||this.isVisible(j))}}return xe.\u0275fac=function(j){return new(j||xe)(o.LFG(u.t4))},xe.\u0275prov=o.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})();function Ot(xe){if(!xe.hasAttribute("tabindex")||void 0===xe.tabIndex)return!1;let Se=xe.getAttribute("tabindex");return!(!Se||isNaN(parseInt(Se,10)))}function bt(xe){if(!Ot(xe))return null;const Se=parseInt(xe.getAttribute("tabindex")||"",10);return isNaN(Se)?-1:Se}class kt{constructor(Se,j,Ie,vt,Vt=!1){this._element=Se,this._checker=j,this._ngZone=Ie,this._document=vt,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Vt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(Se){this._enabled=Se,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Se,this._startAnchor),this._toggleAnchorTabIndex(Se,this._endAnchor))}destroy(){const Se=this._startAnchor,j=this._endAnchor;Se&&(Se.removeEventListener("focus",this.startAnchorListener),Se.remove()),j&&(j.removeEventListener("focus",this.endAnchorListener),j.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(Se){return new Promise(j=>{this._executeOnStable(()=>j(this.focusInitialElement(Se)))})}focusFirstTabbableElementWhenReady(Se){return new Promise(j=>{this._executeOnStable(()=>j(this.focusFirstTabbableElement(Se)))})}focusLastTabbableElementWhenReady(Se){return new Promise(j=>{this._executeOnStable(()=>j(this.focusLastTabbableElement(Se)))})}_getRegionBoundary(Se){const j=this._element.querySelectorAll(`[cdk-focus-region-${Se}], [cdkFocusRegion${Se}], [cdk-focus-${Se}]`);return"start"==Se?j.length?j[0]:this._getFirstTabbableElement(this._element):j.length?j[j.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Se){const j=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(j){if(!this._checker.isFocusable(j)){const Ie=this._getFirstTabbableElement(j);return null==Ie||Ie.focus(Se),!!Ie}return j.focus(Se),!0}return this.focusFirstTabbableElement(Se)}focusFirstTabbableElement(Se){const j=this._getRegionBoundary("start");return j&&j.focus(Se),!!j}focusLastTabbableElement(Se){const j=this._getRegionBoundary("end");return j&&j.focus(Se),!!j}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Se){if(this._checker.isFocusable(Se)&&this._checker.isTabbable(Se))return Se;const j=Se.children;for(let Ie=0;Ie=0;Ie--){const vt=j[Ie].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(j[Ie]):null;if(vt)return vt}return null}_createAnchor(){const Se=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Se),Se.classList.add("cdk-visually-hidden"),Se.classList.add("cdk-focus-trap-anchor"),Se.setAttribute("aria-hidden","true"),Se}_toggleAnchorTabIndex(Se,j){Se?j.setAttribute("tabindex","0"):j.removeAttribute("tabindex")}toggleAnchors(Se){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Se,this._startAnchor),this._toggleAnchorTabIndex(Se,this._endAnchor))}_executeOnStable(Se){this._ngZone.isStable?Se():this._ngZone.onStable.pipe((0,O.q)(1)).subscribe(Se)}}let pt=(()=>{class xe{constructor(j,Ie,vt){this._checker=j,this._ngZone=Ie,this._document=vt}create(j,Ie=!1){return new kt(j,this._checker,this._ngZone,this._document,Ie)}}return xe.\u0275fac=function(j){return new(j||xe)(o.LFG(Zt),o.LFG(o.R0b),o.LFG(e.K0))},xe.\u0275prov=o.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),Ft=(()=>{class xe{constructor(j,Ie,vt){this._elementRef=j,this._focusTrapFactory=Ie,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(j){this.focusTrap.enabled=(0,V.Ig)(j)}get autoCapture(){return this._autoCapture}set autoCapture(j){this._autoCapture=(0,V.Ig)(j)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(j){const Ie=j.autoCapture;Ie&&!Ie.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,u.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return xe.\u0275fac=function(j){return new(j||xe)(o.Y36(o.SBq),o.Y36(pt),o.Y36(e.K0))},xe.\u0275dir=o.lG2({type:xe,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[o.TTD]}),xe})();function Kt(xe){return 0===xe.buttons||0===xe.offsetX&&0===xe.offsetY}function rt(xe){const Se=xe.touches&&xe.touches[0]||xe.changedTouches&&xe.changedTouches[0];return!(!Se||-1!==Se.identifier||null!=Se.radiusX&&1!==Se.radiusX||null!=Se.radiusY&&1!==Se.radiusY)}const G=new o.OlP("cdk-input-modality-detector-options"),_e={ignoreKeys:[k.zL,k.jx,k.b2,k.MW,k.JU]},De=(0,u.i$)({passive:!0,capture:!0});let Ve=(()=>{class xe{constructor(j,Ie,vt,Vt){this._platform=j,this._mostRecentTarget=null,this._modality=new g.X(null),this._lastTouchMs=0,this._onKeydown=Fn=>{var ti,Qt;(null===(Qt=null===(ti=this._options)||void 0===ti?void 0:ti.ignoreKeys)||void 0===Qt?void 0:Qt.some(Cn=>Cn===Fn.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,u.sA)(Fn))},this._onMousedown=Fn=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Kt(Fn)?"keyboard":"mouse"),this._mostRecentTarget=(0,u.sA)(Fn))},this._onTouchstart=Fn=>{rt(Fn)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,u.sA)(Fn))},this._options=Object.assign(Object.assign({},_e),Vt),this.modalityDetected=this._modality.pipe((0,Z.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,q.x)()),j.isBrowser&&Ie.runOutsideAngular(()=>{vt.addEventListener("keydown",this._onKeydown,De),vt.addEventListener("mousedown",this._onMousedown,De),vt.addEventListener("touchstart",this._onTouchstart,De)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,De),document.removeEventListener("mousedown",this._onMousedown,De),document.removeEventListener("touchstart",this._onTouchstart,De))}}return xe.\u0275fac=function(j){return new(j||xe)(o.LFG(u.t4),o.LFG(o.R0b),o.LFG(e.K0),o.LFG(G,8))},xe.\u0275prov=o.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})();const Mt=new o.OlP("liveAnnouncerElement",{providedIn:"root",factory:function Dt(){return null}}),Et=new o.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let sn=(()=>{class xe{constructor(j,Ie,vt,Vt){this._ngZone=Ie,this._defaultOptions=Vt,this._document=vt,this._liveElement=j||this._createLiveElement()}announce(j,...Ie){const vt=this._defaultOptions;let Vt,Fn;return 1===Ie.length&&"number"==typeof Ie[0]?Fn=Ie[0]:[Vt,Fn]=Ie,this.clear(),clearTimeout(this._previousTimeout),Vt||(Vt=vt&&vt.politeness?vt.politeness:"polite"),null==Fn&&vt&&(Fn=vt.duration),this._liveElement.setAttribute("aria-live",Vt),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ti=>this._currentResolve=ti)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=j,"number"==typeof Fn&&(this._previousTimeout=setTimeout(()=>this.clear(),Fn)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var j,Ie;clearTimeout(this._previousTimeout),null===(j=this._liveElement)||void 0===j||j.remove(),this._liveElement=null,null===(Ie=this._currentResolve)||void 0===Ie||Ie.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const j="cdk-live-announcer-element",Ie=this._document.getElementsByClassName(j),vt=this._document.createElement("div");for(let Vt=0;Vt{class xe{constructor(j,Ie,vt,Vt,Fn){this._ngZone=j,this._platform=Ie,this._inputModalityDetector=vt,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new d.x,this._rootNodeFocusAndBlurListener=ti=>{const Qt=(0,u.sA)(ti),Cn="focus"===ti.type?this._onFocus:this._onBlur;for(let ct=Qt;ct;ct=ct.parentElement)Cn.call(this,ti,ct)},this._document=Vt,this._detectionMode=(null==Fn?void 0:Fn.detectionMode)||0}monitor(j,Ie=!1){const vt=(0,V.fI)(j);if(!this._platform.isBrowser||1!==vt.nodeType)return(0,b.of)(null);const Vt=(0,u.kV)(vt)||this._getDocument(),Fn=this._elementInfo.get(vt);if(Fn)return Ie&&(Fn.checkChildren=!0),Fn.subject;const ti={checkChildren:Ie,subject:new d.x,rootNode:Vt};return this._elementInfo.set(vt,ti),this._registerGlobalListeners(ti),ti.subject}stopMonitoring(j){const Ie=(0,V.fI)(j),vt=this._elementInfo.get(Ie);vt&&(vt.subject.complete(),this._setClasses(Ie),this._elementInfo.delete(Ie),this._removeGlobalListeners(vt))}focusVia(j,Ie,vt){const Vt=(0,V.fI)(j);Vt===this._getDocument().activeElement?this._getClosestElementsInfo(Vt).forEach(([ti,Qt])=>this._originChanged(ti,Ie,Qt)):(this._setOrigin(Ie),"function"==typeof Vt.focus&&Vt.focus(vt))}ngOnDestroy(){this._elementInfo.forEach((j,Ie)=>this.stopMonitoring(Ie))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(j){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(j)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(j){return 1===this._detectionMode||!!(null==j?void 0:j.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(j,Ie){j.classList.toggle("cdk-focused",!!Ie),j.classList.toggle("cdk-touch-focused","touch"===Ie),j.classList.toggle("cdk-keyboard-focused","keyboard"===Ie),j.classList.toggle("cdk-mouse-focused","mouse"===Ie),j.classList.toggle("cdk-program-focused","program"===Ie)}_setOrigin(j,Ie=!1){this._ngZone.runOutsideAngular(()=>{this._origin=j,this._originFromTouchInteraction="touch"===j&&Ie,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(j,Ie){const vt=this._elementInfo.get(Ie),Vt=(0,u.sA)(j);!vt||!vt.checkChildren&&Ie!==Vt||this._originChanged(Ie,this._getFocusOrigin(Vt),vt)}_onBlur(j,Ie){const vt=this._elementInfo.get(Ie);!vt||vt.checkChildren&&j.relatedTarget instanceof Node&&Ie.contains(j.relatedTarget)||(this._setClasses(Ie),this._emitOrigin(vt.subject,null))}_emitOrigin(j,Ie){this._ngZone.run(()=>j.next(Ie))}_registerGlobalListeners(j){if(!this._platform.isBrowser)return;const Ie=j.rootNode,vt=this._rootNodeFocusListenerCount.get(Ie)||0;vt||this._ngZone.runOutsideAngular(()=>{Ie.addEventListener("focus",this._rootNodeFocusAndBlurListener,In),Ie.addEventListener("blur",this._rootNodeFocusAndBlurListener,In)}),this._rootNodeFocusListenerCount.set(Ie,vt+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,te.R)(this._stopInputModalityDetector)).subscribe(Vt=>{this._setOrigin(Vt,!0)}))}_removeGlobalListeners(j){const Ie=j.rootNode;if(this._rootNodeFocusListenerCount.has(Ie)){const vt=this._rootNodeFocusListenerCount.get(Ie);vt>1?this._rootNodeFocusListenerCount.set(Ie,vt-1):(Ie.removeEventListener("focus",this._rootNodeFocusAndBlurListener,In),Ie.removeEventListener("blur",this._rootNodeFocusAndBlurListener,In),this._rootNodeFocusListenerCount.delete(Ie))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(j,Ie,vt){this._setClasses(j,Ie),this._emitOrigin(vt.subject,Ie),this._lastFocusOrigin=Ie}_getClosestElementsInfo(j){const Ie=[];return this._elementInfo.forEach((vt,Vt)=>{(Vt===j||vt.checkChildren&&Vt.contains(j))&&Ie.push([Vt,vt])}),Ie}}return xe.\u0275fac=function(j){return new(j||xe)(o.LFG(o.R0b),o.LFG(u.t4),o.LFG(Ve),o.LFG(e.K0,8),o.LFG(Nn,8))},xe.\u0275prov=o.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),Hn=(()=>{class xe{constructor(j,Ie){this._elementRef=j,this._focusMonitor=Ie,this.cdkFocusChange=new o.vpe}ngAfterViewInit(){const j=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(j,1===j.nodeType&&j.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Ie=>this.cdkFocusChange.emit(Ie))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return xe.\u0275fac=function(j){return new(j||xe)(o.Y36(o.SBq),o.Y36(Gn))},xe.\u0275dir=o.lG2({type:xe,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),xe})();const Jn="cdk-high-contrast-black-on-white",Tn="cdk-high-contrast-white-on-black",ri="cdk-high-contrast-active";let zn=(()=>{class xe{constructor(j,Ie){this._platform=j,this._document=Ie}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const j=this._document.createElement("div");j.style.backgroundColor="rgb(1,2,3)",j.style.position="absolute",this._document.body.appendChild(j);const Ie=this._document.defaultView||window,vt=Ie&&Ie.getComputedStyle?Ie.getComputedStyle(j):null,Vt=(vt&&vt.backgroundColor||"").replace(/ /g,"");switch(j.remove(),Vt){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const j=this._document.body.classList;j.remove(ri),j.remove(Jn),j.remove(Tn),this._hasCheckedHighContrastMode=!0;const Ie=this.getHighContrastMode();1===Ie?(j.add(ri),j.add(Jn)):2===Ie&&(j.add(ri),j.add(Tn))}}}return xe.\u0275fac=function(j){return new(j||xe)(o.LFG(u.t4),o.LFG(e.K0))},xe.\u0275prov=o.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})(),$t=(()=>{class xe{constructor(j){j._applyBodyHighContrastModeCssClasses()}}return xe.\u0275fac=function(j){return new(j||xe)(o.LFG(zn))},xe.\u0275mod=o.oAB({type:xe}),xe.\u0275inj=o.cJS({imports:[[ne.Q8]]}),xe})()},226:(X,N,p)=>{"use strict";p.d(N,{Is:()=>b,vT:()=>A});var e=p(5e3),o=p(9808);const u=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function d(){return(0,e.f3M)(o.K0)}}),c=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let b=(()=>{class I{constructor(z){if(this.value="ltr",this.change=new e.vpe,z){const Z=z.documentElement?z.documentElement.dir:null;this.value=function g(I){const H=(null==I?void 0:I.toLowerCase())||"";return"auto"===H&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?c.test(navigator.language)?"rtl":"ltr":"rtl"===H?"rtl":"ltr"}((z.body?z.body.dir:null)||Z||"ltr")}}ngOnDestroy(){this.change.complete()}}return I.\u0275fac=function(z){return new(z||I)(e.LFG(u,8))},I.\u0275prov=e.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),A=(()=>{class I{}return I.\u0275fac=function(z){return new(z||I)},I.\u0275mod=e.oAB({type:I}),I.\u0275inj=e.cJS({}),I})()},3191:(X,N,p)=>{"use strict";p.d(N,{Eq:()=>c,HM:()=>g,Ig:()=>o,du:()=>k,fI:()=>b,su:()=>u});var e=p(5e3);function o(A){return null!=A&&"false"!=`${A}`}function u(A,I=0){return function d(A){return!isNaN(parseFloat(A))&&!isNaN(Number(A))}(A)?Number(A):I}function c(A){return Array.isArray(A)?A:[A]}function g(A){return null==A?"":"string"==typeof A?A:`${A}px`}function b(A){return A instanceof e.SBq?A.nativeElement:A}function k(A,I=/\s+/){const H=[];if(null!=A){const z=Array.isArray(A)?A:`${A}`.split(I);for(const O of z){const Z=`${O}`.trim();Z&&H.push(Z)}}return H}},449:(X,N,p)=>{"use strict";p.d(N,{A8:()=>I,Ov:()=>k});var e=p(7579),o=p(5e3);class k{constructor(O=!1,Z,q=!0){this._multiple=O,this._emitChanges=q,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new e.x,Z&&Z.length&&(O?Z.forEach(te=>this._markSelected(te)):this._markSelected(Z[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...O){this._verifyValueAssignment(O),O.forEach(Z=>this._markSelected(Z)),this._emitChangeEvent()}deselect(...O){this._verifyValueAssignment(O),O.forEach(Z=>this._unmarkSelected(Z)),this._emitChangeEvent()}toggle(O){this.isSelected(O)?this.deselect(O):this.select(O)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(O){return this._selection.has(O)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(O){this._multiple&&this.selected&&this._selected.sort(O)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(O){this.isSelected(O)||(this._multiple||this._unmarkAll(),this._selection.add(O),this._emitChanges&&this._selectedToEmit.push(O))}_unmarkSelected(O){this.isSelected(O)&&(this._selection.delete(O),this._emitChanges&&this._deselectedToEmit.push(O))}_unmarkAll(){this.isEmpty()||this._selection.forEach(O=>this._unmarkSelected(O))}_verifyValueAssignment(O){}}let I=(()=>{class z{constructor(){this._listeners=[]}notify(Z,q){for(let te of this._listeners)te(Z,q)}listen(Z){return this._listeners.push(Z),()=>{this._listeners=this._listeners.filter(q=>Z!==q)}}ngOnDestroy(){this._listeners=[]}}return z.\u0275fac=function(Z){return new(Z||z)},z.\u0275prov=o.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"}),z})()},1159:(X,N,p)=>{"use strict";p.d(N,{A:()=>Jt,JH:()=>ee,JU:()=>g,K5:()=>c,Ku:()=>O,LH:()=>ne,L_:()=>z,MW:()=>sn,Mf:()=>u,SV:()=>ue,Sd:()=>te,VM:()=>Z,Vb:()=>rr,Z:()=>Et,ZH:()=>o,aO:()=>Zt,b2:()=>hr,hY:()=>H,jx:()=>b,oh:()=>V,uR:()=>q,xE:()=>He,yY:()=>nt,zL:()=>k});const o=8,u=9,c=13,g=16,b=17,k=18,H=27,z=32,O=33,Z=34,q=35,te=36,V=37,ne=38,ue=39,ee=40,nt=46,He=48,Zt=57,Jt=65,Et=90,sn=91,hr=224;function rr(Ai,...Ei){return Ei.length?Ei.some(Tr=>Ai[Tr]):Ai.altKey||Ai.shiftKey||Ai.ctrlKey||Ai.metaKey}},7144:(X,N,p)=>{"use strict";p.d(N,{Q8:()=>A,wD:()=>k});var e=p(3191),o=p(5e3),u=p(8306),d=p(7579),c=p(8372);let g=(()=>{class I{create(z){return"undefined"==typeof MutationObserver?null:new MutationObserver(z)}}return I.\u0275fac=function(z){return new(z||I)},I.\u0275prov=o.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),b=(()=>{class I{constructor(z){this._mutationObserverFactory=z,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((z,O)=>this._cleanupObserver(O))}observe(z){const O=(0,e.fI)(z);return new u.y(Z=>{const te=this._observeElement(O).subscribe(Z);return()=>{te.unsubscribe(),this._unobserveElement(O)}})}_observeElement(z){if(this._observedElements.has(z))this._observedElements.get(z).count++;else{const O=new d.x,Z=this._mutationObserverFactory.create(q=>O.next(q));Z&&Z.observe(z,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(z,{observer:Z,stream:O,count:1})}return this._observedElements.get(z).stream}_unobserveElement(z){this._observedElements.has(z)&&(this._observedElements.get(z).count--,this._observedElements.get(z).count||this._cleanupObserver(z))}_cleanupObserver(z){if(this._observedElements.has(z)){const{observer:O,stream:Z}=this._observedElements.get(z);O&&O.disconnect(),Z.complete(),this._observedElements.delete(z)}}}return I.\u0275fac=function(z){return new(z||I)(o.LFG(g))},I.\u0275prov=o.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),k=(()=>{class I{constructor(z,O,Z){this._contentObserver=z,this._elementRef=O,this._ngZone=Z,this.event=new o.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(z){this._disabled=(0,e.Ig)(z),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(z){this._debounce=(0,e.su)(z),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const z=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?z.pipe((0,c.b)(this.debounce)):z).subscribe(this.event)})}_unsubscribe(){var z;null===(z=this._currentSubscription)||void 0===z||z.unsubscribe()}}return I.\u0275fac=function(z){return new(z||I)(o.Y36(b),o.Y36(o.SBq),o.Y36(o.R0b))},I.\u0275dir=o.lG2({type:I,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),I})(),A=(()=>{class I{}return I.\u0275fac=function(z){return new(z||I)},I.\u0275mod=o.oAB({type:I}),I.\u0275inj=o.cJS({providers:[g]}),I})()},9776:(X,N,p)=>{"use strict";p.d(N,{pI:()=>un,xu:()=>tn,_G:()=>Xt,aV:()=>kt,X_:()=>de,Xj:()=>Tt,U8:()=>kn});var e=p(495),o=p(9808),u=p(5e3),d=p(3191),c=p(925),g=p(226),b=p(7429),k=p(7579),A=p(727),I=p(6451),H=p(5698),z=p(2722),O=p(4482),Z=p(5403),te=p(1159);const V=(0,c.Mq)();class ne{constructor(G,_e){this._viewportRuler=G,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=_e}attach(){}enable(){if(this._canBeEnabled()){const G=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=G.style.left||"",this._previousHTMLStyles.top=G.style.top||"",G.style.left=(0,d.HM)(-this._previousScrollPosition.left),G.style.top=(0,d.HM)(-this._previousScrollPosition.top),G.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const G=this._document.documentElement,he=G.style,De=this._document.body.style,Ve=he.scrollBehavior||"",Mt=De.scrollBehavior||"";this._isEnabled=!1,he.left=this._previousHTMLStyles.left,he.top=this._previousHTMLStyles.top,G.classList.remove("cdk-global-scrollblock"),V&&(he.scrollBehavior=De.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),V&&(he.scrollBehavior=Ve,De.scrollBehavior=Mt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const _e=this._document.body,he=this._viewportRuler.getViewportSize();return _e.scrollHeight>he.height||_e.scrollWidth>he.width}}class ee{constructor(G,_e,he,De){this._scrollDispatcher=G,this._ngZone=_e,this._viewportRuler=he,this._config=De,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(G){this._overlayRef=G}enable(){if(this._scrollSubscription)return;const G=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=G.subscribe(()=>{const _e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(_e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=G.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Q{enable(){}disable(){}attach(){}}function se(rt,G){return G.some(_e=>rt.bottom<_e.top||rt.top>_e.bottom||rt.right<_e.left||rt.left>_e.right)}function je(rt,G){return G.some(_e=>rt.top<_e.top||rt.bottom>_e.bottom||rt.left<_e.left||rt.right>_e.right)}class nt{constructor(G,_e,he,De){this._scrollDispatcher=G,this._viewportRuler=_e,this._ngZone=he,this._config=De,this._scrollSubscription=null}attach(G){this._overlayRef=G}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const _e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:he,height:De}=this._viewportRuler.getViewportSize();se(_e,[{width:he,height:De,bottom:De,right:he,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let He=(()=>{class rt{constructor(_e,he,De,Ve){this._scrollDispatcher=_e,this._viewportRuler=he,this._ngZone=De,this.noop=()=>new Q,this.close=Mt=>new ee(this._scrollDispatcher,this._ngZone,this._viewportRuler,Mt),this.block=()=>new ne(this._viewportRuler,this._document),this.reposition=Mt=>new nt(this._scrollDispatcher,this._viewportRuler,this._ngZone,Mt),this._document=Ve}}return rt.\u0275fac=function(_e){return new(_e||rt)(u.LFG(e.mF),u.LFG(e.rL),u.LFG(u.R0b),u.LFG(o.K0))},rt.\u0275prov=u.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"}),rt})();class de{constructor(G){if(this.scrollStrategy=new Q,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,G){const _e=Object.keys(G);for(const he of _e)void 0!==G[he]&&(this[he]=G[he])}}}class ot{constructor(G,_e){this.connectionPair=G,this.scrollableViewProperties=_e}}class Be{constructor(G,_e,he,De,Ve,Mt,Dt,Et,sn){this._portalOutlet=G,this._host=_e,this._pane=he,this._config=De,this._ngZone=Ve,this._keyboardDispatcher=Mt,this._document=Dt,this._location=Et,this._outsideClickDispatcher=sn,this._backdropElement=null,this._backdropClick=new k.x,this._attachments=new k.x,this._detachments=new k.x,this._locationChanges=A.w0.EMPTY,this._backdropClickHandler=Ln=>this._backdropClick.next(Ln),this._backdropTransitionendHandler=Ln=>{this._disposeBackdrop(Ln.target)},this._keydownEvents=new k.x,this._outsidePointerEvents=new k.x,De.scrollStrategy&&(this._scrollStrategy=De.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=De.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(G){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const _e=this._portalOutlet.attach(G);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,H.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),_e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const G=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),G}dispose(){var G;const _e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(G=this._host)||void 0===G||G.remove(),this._previousHostParent=this._pane=this._host=null,_e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(G){G!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=G,this.hasAttached()&&(G.attach(this),this.updatePosition()))}updateSize(G){this._config=Object.assign(Object.assign({},this._config),G),this._updateElementSize()}setDirection(G){this._config=Object.assign(Object.assign({},this._config),{direction:G}),this._updateElementDirection()}addPanelClass(G){this._pane&&this._toggleClasses(this._pane,G,!0)}removePanelClass(G){this._pane&&this._toggleClasses(this._pane,G,!1)}getDirection(){const G=this._config.direction;return G?"string"==typeof G?G:G.value:"ltr"}updateScrollStrategy(G){G!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=G,this.hasAttached()&&(G.attach(this),G.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const G=this._pane.style;G.width=(0,d.HM)(this._config.width),G.height=(0,d.HM)(this._config.height),G.minWidth=(0,d.HM)(this._config.minWidth),G.minHeight=(0,d.HM)(this._config.minHeight),G.maxWidth=(0,d.HM)(this._config.maxWidth),G.maxHeight=(0,d.HM)(this._config.maxHeight)}_togglePointerEvents(G){this._pane.style.pointerEvents=G?"":"none"}_attachBackdrop(){const G="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(G)})}):this._backdropElement.classList.add(G)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const G=this._backdropElement;!G||(G.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{G.addEventListener("transitionend",this._backdropTransitionendHandler)}),G.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(G)},500)))}_toggleClasses(G,_e,he){const De=(0,d.Eq)(_e||[]).filter(Ve=>!!Ve);De.length&&(he?G.classList.add(...De):G.classList.remove(...De))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const G=this._ngZone.onStable.pipe((0,z.R)((0,I.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),G.unsubscribe())})})}_disposeScrollStrategy(){const G=this._scrollStrategy;G&&(G.disable(),G.detach&&G.detach())}_disposeBackdrop(G){G&&(G.removeEventListener("click",this._backdropClickHandler),G.removeEventListener("transitionend",this._backdropTransitionendHandler),G.remove(),this._backdropElement===G&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let Tt=(()=>{class rt{constructor(_e,he){this._platform=he,this._document=_e}ngOnDestroy(){var _e;null===(_e=this._containerElement)||void 0===_e||_e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const _e="cdk-overlay-container";if(this._platform.isBrowser||(0,c.Oy)()){const De=this._document.querySelectorAll(`.${_e}[platform="server"], .${_e}[platform="test"]`);for(let Ve=0;Ve{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const G=this._originRect,_e=this._overlayRect,he=this._viewportRect,De=this._containerRect,Ve=[];let Mt;for(let Dt of this._preferredPositions){let Et=this._getOriginPoint(G,De,Dt),sn=this._getOverlayPoint(Et,_e,Dt),Ln=this._getOverlayFit(sn,_e,he,Dt);if(Ln.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(Dt,Et);this._canFitWithFlexibleDimensions(Ln,sn,he)?Ve.push({position:Dt,origin:Et,overlayRect:_e,boundingBoxRect:this._calculateBoundingBoxRect(Et,Dt)}):(!Mt||Mt.overlayFit.visibleAreaEt&&(Et=Ln,Dt=sn)}return this._isPushed=!1,void this._applyPosition(Dt.position,Dt.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Mt.position,Mt.originPoint);this._applyPosition(Mt.position,Mt.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&nn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Zt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const G=this._lastPosition;if(G){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const _e=this._getOriginPoint(this._originRect,this._containerRect,G);this._applyPosition(G,_e)}else this.apply()}withScrollableContainers(G){return this._scrollables=G,this}withPositions(G){return this._preferredPositions=G,-1===G.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(G){return this._viewportMargin=G,this}withFlexibleDimensions(G=!0){return this._hasFlexibleDimensions=G,this}withGrowAfterOpen(G=!0){return this._growAfterOpen=G,this}withPush(G=!0){return this._canPush=G,this}withLockedPosition(G=!0){return this._positionLocked=G,this}setOrigin(G){return this._origin=G,this}withDefaultOffsetX(G){return this._offsetX=G,this}withDefaultOffsetY(G){return this._offsetY=G,this}withTransformOriginOn(G){return this._transformOriginSelector=G,this}_getOriginPoint(G,_e,he){let De,Ve;if("center"==he.originX)De=G.left+G.width/2;else{const Mt=this._isRtl()?G.right:G.left,Dt=this._isRtl()?G.left:G.right;De="start"==he.originX?Mt:Dt}return _e.left<0&&(De-=_e.left),Ve="center"==he.originY?G.top+G.height/2:"top"==he.originY?G.top:G.bottom,_e.top<0&&(Ve-=_e.top),{x:De,y:Ve}}_getOverlayPoint(G,_e,he){let De,Ve;return De="center"==he.overlayX?-_e.width/2:"start"===he.overlayX?this._isRtl()?-_e.width:0:this._isRtl()?0:-_e.width,Ve="center"==he.overlayY?-_e.height/2:"top"==he.overlayY?0:-_e.height,{x:G.x+De,y:G.y+Ve}}_getOverlayFit(G,_e,he,De){const Ve=Jt(_e);let{x:Mt,y:Dt}=G,Et=this._getOffset(De,"x"),sn=this._getOffset(De,"y");Et&&(Mt+=Et),sn&&(Dt+=sn);let In=0-Dt,Gn=Dt+Ve.height-he.height,Hn=this._subtractOverflows(Ve.width,0-Mt,Mt+Ve.width-he.width),Jn=this._subtractOverflows(Ve.height,In,Gn),Tn=Hn*Jn;return{visibleArea:Tn,isCompletelyWithinViewport:Ve.width*Ve.height===Tn,fitsInViewportVertically:Jn===Ve.height,fitsInViewportHorizontally:Hn==Ve.width}}_canFitWithFlexibleDimensions(G,_e,he){if(this._hasFlexibleDimensions){const De=he.bottom-_e.y,Ve=he.right-_e.x,Mt=mn(this._overlayRef.getConfig().minHeight),Dt=mn(this._overlayRef.getConfig().minWidth),sn=G.fitsInViewportHorizontally||null!=Dt&&Dt<=Ve;return(G.fitsInViewportVertically||null!=Mt&&Mt<=De)&&sn}return!1}_pushOverlayOnScreen(G,_e,he){if(this._previousPushAmount&&this._positionLocked)return{x:G.x+this._previousPushAmount.x,y:G.y+this._previousPushAmount.y};const De=Jt(_e),Ve=this._viewportRect,Mt=Math.max(G.x+De.width-Ve.width,0),Dt=Math.max(G.y+De.height-Ve.height,0),Et=Math.max(Ve.top-he.top-G.y,0),sn=Math.max(Ve.left-he.left-G.x,0);let Ln=0,Nn=0;return Ln=De.width<=Ve.width?sn||-Mt:G.xHn&&!this._isInitialRender&&!this._growAfterOpen&&(Mt=G.y-Hn/2)}if("end"===_e.overlayX&&!De||"start"===_e.overlayX&&De)In=he.width-G.x+this._viewportMargin,Ln=G.x-this._viewportMargin;else if("start"===_e.overlayX&&!De||"end"===_e.overlayX&&De)Nn=G.x,Ln=he.right-G.x;else{const Gn=Math.min(he.right-G.x+he.left,G.x),Hn=this._lastBoundingBoxSize.width;Ln=2*Gn,Nn=G.x-Gn,Ln>Hn&&!this._isInitialRender&&!this._growAfterOpen&&(Nn=G.x-Hn/2)}return{top:Mt,left:Nn,bottom:Dt,right:In,width:Ln,height:Ve}}_setBoundingBoxStyles(G,_e){const he=this._calculateBoundingBoxRect(G,_e);!this._isInitialRender&&!this._growAfterOpen&&(he.height=Math.min(he.height,this._lastBoundingBoxSize.height),he.width=Math.min(he.width,this._lastBoundingBoxSize.width));const De={};if(this._hasExactPosition())De.top=De.left="0",De.bottom=De.right=De.maxHeight=De.maxWidth="",De.width=De.height="100%";else{const Ve=this._overlayRef.getConfig().maxHeight,Mt=this._overlayRef.getConfig().maxWidth;De.height=(0,d.HM)(he.height),De.top=(0,d.HM)(he.top),De.bottom=(0,d.HM)(he.bottom),De.width=(0,d.HM)(he.width),De.left=(0,d.HM)(he.left),De.right=(0,d.HM)(he.right),De.alignItems="center"===_e.overlayX?"center":"end"===_e.overlayX?"flex-end":"flex-start",De.justifyContent="center"===_e.overlayY?"center":"bottom"===_e.overlayY?"flex-end":"flex-start",Ve&&(De.maxHeight=(0,d.HM)(Ve)),Mt&&(De.maxWidth=(0,d.HM)(Mt))}this._lastBoundingBoxSize=he,nn(this._boundingBox.style,De)}_resetBoundingBoxStyles(){nn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){nn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(G,_e){const he={},De=this._hasExactPosition(),Ve=this._hasFlexibleDimensions,Mt=this._overlayRef.getConfig();if(De){const Ln=this._viewportRuler.getViewportScrollPosition();nn(he,this._getExactOverlayY(_e,G,Ln)),nn(he,this._getExactOverlayX(_e,G,Ln))}else he.position="static";let Dt="",Et=this._getOffset(_e,"x"),sn=this._getOffset(_e,"y");Et&&(Dt+=`translateX(${Et}px) `),sn&&(Dt+=`translateY(${sn}px)`),he.transform=Dt.trim(),Mt.maxHeight&&(De?he.maxHeight=(0,d.HM)(Mt.maxHeight):Ve&&(he.maxHeight="")),Mt.maxWidth&&(De?he.maxWidth=(0,d.HM)(Mt.maxWidth):Ve&&(he.maxWidth="")),nn(this._pane.style,he)}_getExactOverlayY(G,_e,he){let De={top:"",bottom:""},Ve=this._getOverlayPoint(_e,this._overlayRect,G);return this._isPushed&&(Ve=this._pushOverlayOnScreen(Ve,this._overlayRect,he)),"bottom"===G.overlayY?De.bottom=this._document.documentElement.clientHeight-(Ve.y+this._overlayRect.height)+"px":De.top=(0,d.HM)(Ve.y),De}_getExactOverlayX(G,_e,he){let Mt,De={left:"",right:""},Ve=this._getOverlayPoint(_e,this._overlayRect,G);return this._isPushed&&(Ve=this._pushOverlayOnScreen(Ve,this._overlayRect,he)),Mt=this._isRtl()?"end"===G.overlayX?"left":"right":"end"===G.overlayX?"right":"left","right"===Mt?De.right=this._document.documentElement.clientWidth-(Ve.x+this._overlayRect.width)+"px":De.left=(0,d.HM)(Ve.x),De}_getScrollVisibility(){const G=this._getOriginRect(),_e=this._pane.getBoundingClientRect(),he=this._scrollables.map(De=>De.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:je(G,he),isOriginOutsideView:se(G,he),isOverlayClipped:je(_e,he),isOverlayOutsideView:se(_e,he)}}_subtractOverflows(G,..._e){return _e.reduce((he,De)=>he-Math.max(De,0),G)}_getNarrowedViewportRect(){const G=this._document.documentElement.clientWidth,_e=this._document.documentElement.clientHeight,he=this._viewportRuler.getViewportScrollPosition();return{top:he.top+this._viewportMargin,left:he.left+this._viewportMargin,right:he.left+G-this._viewportMargin,bottom:he.top+_e-this._viewportMargin,width:G-2*this._viewportMargin,height:_e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(G,_e){return"x"===_e?null==G.offsetX?this._offsetX:G.offsetX:null==G.offsetY?this._offsetY:G.offsetY}_validatePositions(){}_addPanelClasses(G){this._pane&&(0,d.Eq)(G).forEach(_e=>{""!==_e&&-1===this._appliedPanelClasses.indexOf(_e)&&(this._appliedPanelClasses.push(_e),this._pane.classList.add(_e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(G=>{this._pane.classList.remove(G)}),this._appliedPanelClasses=[])}_getOriginRect(){const G=this._origin;if(G instanceof u.SBq)return G.nativeElement.getBoundingClientRect();if(G instanceof Element)return G.getBoundingClientRect();const _e=G.width||0,he=G.height||0;return{top:G.y,bottom:G.y+he,left:G.x,right:G.x+_e,height:he,width:_e}}}function nn(rt,G){for(let _e in G)G.hasOwnProperty(_e)&&(rt[_e]=G[_e]);return rt}function mn(rt){if("number"!=typeof rt&&null!=rt){const[G,_e]=rt.split(Sn);return _e&&"px"!==_e?null:parseFloat(G)}return rt||null}function Jt(rt){return{top:Math.floor(rt.top),right:Math.floor(rt.right),bottom:Math.floor(rt.bottom),left:Math.floor(rt.left),width:Math.floor(rt.width),height:Math.floor(rt.height)}}const et="cdk-global-overlay-wrapper";class Pt{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(G){const _e=G.getConfig();this._overlayRef=G,this._width&&!_e.width&&G.updateSize({width:this._width}),this._height&&!_e.height&&G.updateSize({height:this._height}),G.hostElement.classList.add(et),this._isDisposed=!1}top(G=""){return this._bottomOffset="",this._topOffset=G,this._alignItems="flex-start",this}left(G=""){return this._rightOffset="",this._leftOffset=G,this._justifyContent="flex-start",this}bottom(G=""){return this._topOffset="",this._bottomOffset=G,this._alignItems="flex-end",this}right(G=""){return this._leftOffset="",this._rightOffset=G,this._justifyContent="flex-end",this}width(G=""){return this._overlayRef?this._overlayRef.updateSize({width:G}):this._width=G,this}height(G=""){return this._overlayRef?this._overlayRef.updateSize({height:G}):this._height=G,this}centerHorizontally(G=""){return this.left(G),this._justifyContent="center",this}centerVertically(G=""){return this.top(G),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const G=this._overlayRef.overlayElement.style,_e=this._overlayRef.hostElement.style,he=this._overlayRef.getConfig(),{width:De,height:Ve,maxWidth:Mt,maxHeight:Dt}=he,Et=!("100%"!==De&&"100vw"!==De||Mt&&"100%"!==Mt&&"100vw"!==Mt),sn=!("100%"!==Ve&&"100vh"!==Ve||Dt&&"100%"!==Dt&&"100vh"!==Dt);G.position=this._cssPosition,G.marginLeft=Et?"0":this._leftOffset,G.marginTop=sn?"0":this._topOffset,G.marginBottom=this._bottomOffset,G.marginRight=this._rightOffset,Et?_e.justifyContent="flex-start":"center"===this._justifyContent?_e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?_e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(_e.justifyContent="flex-start"):_e.justifyContent=this._justifyContent,_e.alignItems=sn?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const G=this._overlayRef.overlayElement.style,_e=this._overlayRef.hostElement,he=_e.style;_e.classList.remove(et),he.justifyContent=he.alignItems=G.marginTop=G.marginBottom=G.marginLeft=G.marginRight=G.position="",this._overlayRef=null,this._isDisposed=!0}}let Ot=(()=>{class rt{constructor(_e,he,De,Ve){this._viewportRuler=_e,this._document=he,this._platform=De,this._overlayContainer=Ve}global(){return new Pt}flexibleConnectedTo(_e){return new Xt(_e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return rt.\u0275fac=function(_e){return new(_e||rt)(u.LFG(e.rL),u.LFG(o.K0),u.LFG(c.t4),u.LFG(Tt))},rt.\u0275prov=u.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"}),rt})(),bt=(()=>{class rt{constructor(_e){this._attachedOverlays=[],this._document=_e}ngOnDestroy(){this.detach()}add(_e){this.remove(_e),this._attachedOverlays.push(_e)}remove(_e){const he=this._attachedOverlays.indexOf(_e);he>-1&&this._attachedOverlays.splice(he,1),0===this._attachedOverlays.length&&this.detach()}}return rt.\u0275fac=function(_e){return new(_e||rt)(u.LFG(o.K0))},rt.\u0275prov=u.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"}),rt})(),dt=(()=>{class rt extends bt{constructor(_e,he){super(_e),this._ngZone=he,this._keydownListener=De=>{const Ve=this._attachedOverlays;for(let Mt=Ve.length-1;Mt>-1;Mt--)if(Ve[Mt]._keydownEvents.observers.length>0){const Dt=Ve[Mt]._keydownEvents;this._ngZone?this._ngZone.run(()=>Dt.next(De)):Dt.next(De);break}}}add(_e){super.add(_e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return rt.\u0275fac=function(_e){return new(_e||rt)(u.LFG(o.K0),u.LFG(u.R0b,8))},rt.\u0275prov=u.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"}),rt})(),ut=(()=>{class rt extends bt{constructor(_e,he,De){super(_e),this._platform=he,this._ngZone=De,this._cursorStyleIsSet=!1,this._pointerDownListener=Ve=>{this._pointerDownEventTarget=(0,c.sA)(Ve)},this._clickListener=Ve=>{const Mt=(0,c.sA)(Ve),Dt="click"===Ve.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Mt;this._pointerDownEventTarget=null;const Et=this._attachedOverlays.slice();for(let sn=Et.length-1;sn>-1;sn--){const Ln=Et[sn];if(Ln._outsidePointerEvents.observers.length<1||!Ln.hasAttached())continue;if(Ln.overlayElement.contains(Mt)||Ln.overlayElement.contains(Dt))break;const Nn=Ln._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Nn.next(Ve)):Nn.next(Ve)}}}add(_e){if(super.add(_e),!this._isAttached){const he=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(he)):this._addEventListeners(he),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=he.style.cursor,he.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const _e=this._document.body;_e.removeEventListener("pointerdown",this._pointerDownListener,!0),_e.removeEventListener("click",this._clickListener,!0),_e.removeEventListener("auxclick",this._clickListener,!0),_e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(_e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(_e){_e.addEventListener("pointerdown",this._pointerDownListener,!0),_e.addEventListener("click",this._clickListener,!0),_e.addEventListener("auxclick",this._clickListener,!0),_e.addEventListener("contextmenu",this._clickListener,!0)}}return rt.\u0275fac=function(_e){return new(_e||rt)(u.LFG(o.K0),u.LFG(c.t4),u.LFG(u.R0b,8))},rt.\u0275prov=u.Yz7({token:rt,factory:rt.\u0275fac,providedIn:"root"}),rt})(),Je=0,kt=(()=>{class rt{constructor(_e,he,De,Ve,Mt,Dt,Et,sn,Ln,Nn,In){this.scrollStrategies=_e,this._overlayContainer=he,this._componentFactoryResolver=De,this._positionBuilder=Ve,this._keyboardDispatcher=Mt,this._injector=Dt,this._ngZone=Et,this._document=sn,this._directionality=Ln,this._location=Nn,this._outsideClickDispatcher=In}create(_e){const he=this._createHostElement(),De=this._createPaneElement(he),Ve=this._createPortalOutlet(De),Mt=new de(_e);return Mt.direction=Mt.direction||this._directionality.value,new Be(Ve,he,De,Mt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(_e){const he=this._document.createElement("div");return he.id="cdk-overlay-"+Je++,he.classList.add("cdk-overlay-pane"),_e.appendChild(he),he}_createHostElement(){const _e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(_e),_e}_createPortalOutlet(_e){return this._appRef||(this._appRef=this._injector.get(u.z2F)),new b.u0(_e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return rt.\u0275fac=function(_e){return new(_e||rt)(u.LFG(He),u.LFG(Tt),u.LFG(u._Vd),u.LFG(Ot),u.LFG(dt),u.LFG(u.zs3),u.LFG(u.R0b),u.LFG(o.K0),u.LFG(g.Is),u.LFG(o.Ye),u.LFG(ut))},rt.\u0275prov=u.Yz7({token:rt,factory:rt.\u0275fac}),rt})();const pt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ft=new u.OlP("cdk-connected-overlay-scroll-strategy");let tn=(()=>{class rt{constructor(_e){this.elementRef=_e}}return rt.\u0275fac=function(_e){return new(_e||rt)(u.Y36(u.SBq))},rt.\u0275dir=u.lG2({type:rt,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),rt})(),un=(()=>{class rt{constructor(_e,he,De,Ve,Mt){this._overlay=_e,this._dir=Mt,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=A.w0.EMPTY,this._attachSubscription=A.w0.EMPTY,this._detachSubscription=A.w0.EMPTY,this._positionSubscription=A.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new u.vpe,this.positionChange=new u.vpe,this.attach=new u.vpe,this.detach=new u.vpe,this.overlayKeydown=new u.vpe,this.overlayOutsideClick=new u.vpe,this._templatePortal=new b.UE(he,De),this._scrollStrategyFactory=Ve,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(_e){this._offsetX=_e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(_e){this._offsetY=_e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(_e){this._hasBackdrop=(0,d.Ig)(_e)}get lockPosition(){return this._lockPosition}set lockPosition(_e){this._lockPosition=(0,d.Ig)(_e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(_e){this._flexibleDimensions=(0,d.Ig)(_e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(_e){this._growAfterOpen=(0,d.Ig)(_e)}get push(){return this._push}set push(_e){this._push=(0,d.Ig)(_e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(_e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),_e.origin&&this.open&&this._position.apply()),_e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=pt);const _e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=_e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=_e.detachments().subscribe(()=>this.detach.emit()),_e.keydownEvents().subscribe(he=>{this.overlayKeydown.next(he),he.keyCode===te.hY&&!this.disableClose&&!(0,te.Vb)(he)&&(he.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(he=>{this.overlayOutsideClick.next(he)})}_buildConfig(){const _e=this._position=this.positionStrategy||this._createPositionStrategy(),he=new de({direction:this._dir,positionStrategy:_e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(he.width=this.width),(this.height||0===this.height)&&(he.height=this.height),(this.minWidth||0===this.minWidth)&&(he.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(he.minHeight=this.minHeight),this.backdropClass&&(he.backdropClass=this.backdropClass),this.panelClass&&(he.panelClass=this.panelClass),he}_updatePositionStrategy(_e){const he=this.positions.map(De=>({originX:De.originX,originY:De.originY,overlayX:De.overlayX,overlayY:De.overlayY,offsetX:De.offsetX||this.offsetX,offsetY:De.offsetY||this.offsetY,panelClass:De.panelClass||void 0}));return _e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(he).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const _e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(_e),_e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof tn?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(_e=>{this.backdropClick.emit(_e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function q(rt,G=!1){return(0,O.e)((_e,he)=>{let De=0;_e.subscribe(new Z.Q(he,Ve=>{const Mt=rt(Ve,De++);(Mt||G)&&he.next(Ve),!Mt&&he.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(_e=>{this.positionChange.emit(_e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return rt.\u0275fac=function(_e){return new(_e||rt)(u.Y36(kt),u.Y36(u.Rgc),u.Y36(u.s_b),u.Y36(Ft),u.Y36(g.Is,8))},rt.\u0275dir=u.lG2({type:rt,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[u.TTD]}),rt})();const Pn={provide:Ft,deps:[kt],useFactory:function Wn(rt){return()=>rt.scrollStrategies.reposition()}};let kn=(()=>{class rt{}return rt.\u0275fac=function(_e){return new(_e||rt)},rt.\u0275mod=u.oAB({type:rt}),rt.\u0275inj=u.cJS({providers:[kt,Pn],imports:[[g.vT,b.eL,e.Cl],e.Cl]}),rt})()},925:(X,N,p)=>{"use strict";p.d(N,{Mq:()=>Z,Oy:()=>Q,_i:()=>q,ht:()=>ue,i$:()=>H,kV:()=>ne,qK:()=>k,sA:()=>ee,t4:()=>d});var e=p(5e3),o=p(9808);let u;try{u="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(se){u=!1}let g,d=(()=>{class se{constructor(nt){this._platformId=nt,this.isBrowser=this._platformId?(0,o.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!u)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return se.\u0275fac=function(nt){return new(nt||se)(e.LFG(e.Lbi))},se.\u0275prov=e.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const b=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function k(){if(g)return g;if("object"!=typeof document||!document)return g=new Set(b),g;let se=document.createElement("input");return g=new Set(b.filter(je=>(se.setAttribute("type",je),se.type===je))),g}let A,z,O,te;function H(se){return function I(){if(null==A&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>A=!0}))}finally{A=A||!1}return A}()?se:!!se.capture}function Z(){if(null==O){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return O=!1,O;if("scrollBehavior"in document.documentElement.style)O=!0;else{const se=Element.prototype.scrollTo;O=!!se&&!/\{\s*\[native code\]\s*\}/.test(se.toString())}}return O}function q(){if("object"!=typeof document||!document)return 0;if(null==z){const se=document.createElement("div"),je=se.style;se.dir="rtl",je.width="1px",je.overflow="auto",je.visibility="hidden",je.pointerEvents="none",je.position="absolute";const nt=document.createElement("div"),He=nt.style;He.width="2px",He.height="1px",se.appendChild(nt),document.body.appendChild(se),z=0,0===se.scrollLeft&&(se.scrollLeft=1,z=0===se.scrollLeft?1:2),se.remove()}return z}function ne(se){if(function V(){if(null==te){const se="undefined"!=typeof document?document.head:null;te=!(!se||!se.createShadowRoot&&!se.attachShadow)}return te}()){const je=se.getRootNode?se.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&je instanceof ShadowRoot)return je}return null}function ue(){let se="undefined"!=typeof document&&document?document.activeElement:null;for(;se&&se.shadowRoot;){const je=se.shadowRoot.activeElement;if(je===se)break;se=je}return se}function ee(se){return se.composedPath?se.composedPath()[0]:se.target}function Q(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(X,N,p)=>{"use strict";p.d(N,{C5:()=>I,Pl:()=>ue,UE:()=>H,eL:()=>Q,en:()=>O,u0:()=>q});var e=p(5e3),o=p(9808);class A{attach(nt){return this._attachedHost=nt,nt.attach(this)}detach(){let nt=this._attachedHost;null!=nt&&(this._attachedHost=null,nt.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(nt){this._attachedHost=nt}}class I extends A{constructor(nt,He,de,Ce){super(),this.component=nt,this.viewContainerRef=He,this.injector=de,this.componentFactoryResolver=Ce}}class H extends A{constructor(nt,He,de){super(),this.templateRef=nt,this.viewContainerRef=He,this.context=de}get origin(){return this.templateRef.elementRef}attach(nt,He=this.context){return this.context=He,super.attach(nt)}detach(){return this.context=void 0,super.detach()}}class z extends A{constructor(nt){super(),this.element=nt instanceof e.SBq?nt.nativeElement:nt}}class O{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(nt){return nt instanceof I?(this._attachedPortal=nt,this.attachComponentPortal(nt)):nt instanceof H?(this._attachedPortal=nt,this.attachTemplatePortal(nt)):this.attachDomPortal&&nt instanceof z?(this._attachedPortal=nt,this.attachDomPortal(nt)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(nt){this._disposeFn=nt}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class q extends O{constructor(nt,He,de,Ce,Ze){super(),this.outletElement=nt,this._componentFactoryResolver=He,this._appRef=de,this._defaultInjector=Ce,this.attachDomPortal=ot=>{const Ke=ot.element,xt=this._document.createComment("dom-portal");Ke.parentNode.insertBefore(xt,Ke),this.outletElement.appendChild(Ke),this._attachedPortal=ot,super.setDisposeFn(()=>{xt.parentNode&&xt.parentNode.replaceChild(Ke,xt)})},this._document=Ze}attachComponentPortal(nt){const de=(nt.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(nt.component);let Ce;return nt.viewContainerRef?(Ce=nt.viewContainerRef.createComponent(de,nt.viewContainerRef.length,nt.injector||nt.viewContainerRef.injector),this.setDisposeFn(()=>Ce.destroy())):(Ce=de.create(nt.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(Ce.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Ce.hostView),Ce.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ce)),this._attachedPortal=nt,Ce}attachTemplatePortal(nt){let He=nt.viewContainerRef,de=He.createEmbeddedView(nt.templateRef,nt.context);return de.rootNodes.forEach(Ce=>this.outletElement.appendChild(Ce)),de.detectChanges(),this.setDisposeFn(()=>{let Ce=He.indexOf(de);-1!==Ce&&He.remove(Ce)}),this._attachedPortal=nt,de}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(nt){return nt.hostView.rootNodes[0]}}let ue=(()=>{class je extends O{constructor(He,de,Ce){super(),this._componentFactoryResolver=He,this._viewContainerRef=de,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=Ze=>{const ot=Ze.element,Ke=this._document.createComment("dom-portal");Ze.setAttachedHost(this),ot.parentNode.insertBefore(Ke,ot),this._getRootNode().appendChild(ot),this._attachedPortal=Ze,super.setDisposeFn(()=>{Ke.parentNode&&Ke.parentNode.replaceChild(ot,Ke)})},this._document=Ce}get portal(){return this._attachedPortal}set portal(He){this.hasAttached()&&!He&&!this._isInitialized||(this.hasAttached()&&super.detach(),He&&super.attach(He),this._attachedPortal=He||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(He){He.setAttachedHost(this);const de=null!=He.viewContainerRef?He.viewContainerRef:this._viewContainerRef,Ze=(He.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(He.component),ot=de.createComponent(Ze,de.length,He.injector||de.injector);return de!==this._viewContainerRef&&this._getRootNode().appendChild(ot.hostView.rootNodes[0]),super.setDisposeFn(()=>ot.destroy()),this._attachedPortal=He,this._attachedRef=ot,this.attached.emit(ot),ot}attachTemplatePortal(He){He.setAttachedHost(this);const de=this._viewContainerRef.createEmbeddedView(He.templateRef,He.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=He,this._attachedRef=de,this.attached.emit(de),de}_getRootNode(){const He=this._viewContainerRef.element.nativeElement;return He.nodeType===He.ELEMENT_NODE?He:He.parentNode}}return je.\u0275fac=function(He){return new(He||je)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(o.K0))},je.\u0275dir=e.lG2({type:je,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]}),je})(),Q=(()=>{class je{}return je.\u0275fac=function(He){return new(He||je)},je.\u0275mod=e.oAB({type:je}),je.\u0275inj=e.cJS({}),je})()},495:(X,N,p)=>{"use strict";p.d(N,{PQ:()=>Xt,ZD:()=>dt,mF:()=>Sn,Cl:()=>ut,rL:()=>mn});var e=p(3191),o=p(5e3),u=p(7579),d=p(9646),c=p(8306),g=p(4968),b=p(4408),k=p(727);const A={schedule(Je){let kt=requestAnimationFrame,pt=cancelAnimationFrame;const{delegate:Ft}=A;Ft&&(kt=Ft.requestAnimationFrame,pt=Ft.cancelAnimationFrame);const tn=kt(un=>{pt=void 0,Je(un)});return new k.w0(()=>null==pt?void 0:pt(tn))},requestAnimationFrame(...Je){const{delegate:kt}=A;return((null==kt?void 0:kt.requestAnimationFrame)||requestAnimationFrame)(...Je)},cancelAnimationFrame(...Je){const{delegate:kt}=A;return((null==kt?void 0:kt.cancelAnimationFrame)||cancelAnimationFrame)(...Je)},delegate:void 0};var H=p(7565);new class z extends H.v{flush(kt){this._active=!0,this._scheduled=void 0;const{actions:pt}=this;let Ft,tn=-1;kt=kt||pt.shift();const un=pt.length;do{if(Ft=kt.execute(kt.state,kt.delay))break}while(++tn0?super.requestAsyncId(kt,pt,Ft):(kt.actions.push(this),kt._scheduled||(kt._scheduled=A.requestAnimationFrame(()=>kt.flush(void 0))))}recycleAsyncId(kt,pt,Ft=0){if(null!=Ft&&Ft>0||null==Ft&&this.delay>0)return super.recycleAsyncId(kt,pt,Ft);0===kt.actions.length&&(A.cancelAnimationFrame(pt),kt._scheduled=void 0)}});p(3101);var te=p(4986),V=p(4482),ne=p(8421),ue=p(5403),Q=p(2805);function se(Je,kt=te.P){return function ee(Je){return(0,V.e)((kt,pt)=>{let Ft=!1,tn=null,un=null,Wn=!1;const Pn=()=>{if(null==un||un.unsubscribe(),un=null,Ft){Ft=!1;const Kt=tn;tn=null,pt.next(Kt)}Wn&&pt.complete()},kn=()=>{un=null,Wn&&pt.complete()};kt.subscribe(new ue.Q(pt,Kt=>{Ft=!0,tn=Kt,un||(0,ne.Xf)(Je(Kt)).subscribe(un=new ue.Q(pt,Pn,kn))},()=>{Wn=!0,(!Ft||!un||un.closed)&&pt.complete()}))})}(()=>(0,Q.H)(Je,kt))}var je=p(9300),nt=p(2722),He=p(9808),de=p(925),Ce=p(226);let Sn=(()=>{class Je{constructor(pt,Ft,tn){this._ngZone=pt,this._platform=Ft,this._scrolled=new u.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=tn}register(pt){this.scrollContainers.has(pt)||this.scrollContainers.set(pt,pt.elementScrolled().subscribe(()=>this._scrolled.next(pt)))}deregister(pt){const Ft=this.scrollContainers.get(pt);Ft&&(Ft.unsubscribe(),this.scrollContainers.delete(pt))}scrolled(pt=20){return this._platform.isBrowser?new c.y(Ft=>{this._globalSubscription||this._addGlobalListener();const tn=pt>0?this._scrolled.pipe(se(pt)).subscribe(Ft):this._scrolled.subscribe(Ft);return this._scrolledCount++,()=>{tn.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,d.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((pt,Ft)=>this.deregister(Ft)),this._scrolled.complete()}ancestorScrolled(pt,Ft){const tn=this.getAncestorScrollContainers(pt);return this.scrolled(Ft).pipe((0,je.h)(un=>!un||tn.indexOf(un)>-1))}getAncestorScrollContainers(pt){const Ft=[];return this.scrollContainers.forEach((tn,un)=>{this._scrollableContainsElement(un,pt)&&Ft.push(un)}),Ft}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(pt,Ft){let tn=(0,e.fI)(Ft),un=pt.getElementRef().nativeElement;do{if(tn==un)return!0}while(tn=tn.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const pt=this._getWindow();return(0,g.R)(pt.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Je.\u0275fac=function(pt){return new(pt||Je)(o.LFG(o.R0b),o.LFG(de.t4),o.LFG(He.K0,8))},Je.\u0275prov=o.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})(),Xt=(()=>{class Je{constructor(pt,Ft,tn,un){this.elementRef=pt,this.scrollDispatcher=Ft,this.ngZone=tn,this.dir=un,this._destroyed=new u.x,this._elementScrolled=new c.y(Wn=>this.ngZone.runOutsideAngular(()=>(0,g.R)(this.elementRef.nativeElement,"scroll").pipe((0,nt.R)(this._destroyed)).subscribe(Wn)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(pt){const Ft=this.elementRef.nativeElement,tn=this.dir&&"rtl"==this.dir.value;null==pt.left&&(pt.left=tn?pt.end:pt.start),null==pt.right&&(pt.right=tn?pt.start:pt.end),null!=pt.bottom&&(pt.top=Ft.scrollHeight-Ft.clientHeight-pt.bottom),tn&&0!=(0,de._i)()?(null!=pt.left&&(pt.right=Ft.scrollWidth-Ft.clientWidth-pt.left),2==(0,de._i)()?pt.left=pt.right:1==(0,de._i)()&&(pt.left=pt.right?-pt.right:pt.right)):null!=pt.right&&(pt.left=Ft.scrollWidth-Ft.clientWidth-pt.right),this._applyScrollToOptions(pt)}_applyScrollToOptions(pt){const Ft=this.elementRef.nativeElement;(0,de.Mq)()?Ft.scrollTo(pt):(null!=pt.top&&(Ft.scrollTop=pt.top),null!=pt.left&&(Ft.scrollLeft=pt.left))}measureScrollOffset(pt){const Ft="left",un=this.elementRef.nativeElement;if("top"==pt)return un.scrollTop;if("bottom"==pt)return un.scrollHeight-un.clientHeight-un.scrollTop;const Wn=this.dir&&"rtl"==this.dir.value;return"start"==pt?pt=Wn?"right":Ft:"end"==pt&&(pt=Wn?Ft:"right"),Wn&&2==(0,de._i)()?pt==Ft?un.scrollWidth-un.clientWidth-un.scrollLeft:un.scrollLeft:Wn&&1==(0,de._i)()?pt==Ft?un.scrollLeft+un.scrollWidth-un.clientWidth:-un.scrollLeft:pt==Ft?un.scrollLeft:un.scrollWidth-un.clientWidth-un.scrollLeft}}return Je.\u0275fac=function(pt){return new(pt||Je)(o.Y36(o.SBq),o.Y36(Sn),o.Y36(o.R0b),o.Y36(Ce.Is,8))},Je.\u0275dir=o.lG2({type:Je,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Je})(),mn=(()=>{class Je{constructor(pt,Ft,tn){this._platform=pt,this._change=new u.x,this._changeListener=un=>{this._change.next(un)},this._document=tn,Ft.runOutsideAngular(()=>{if(pt.isBrowser){const un=this._getWindow();un.addEventListener("resize",this._changeListener),un.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const pt=this._getWindow();pt.removeEventListener("resize",this._changeListener),pt.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const pt={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),pt}getViewportRect(){const pt=this.getViewportScrollPosition(),{width:Ft,height:tn}=this.getViewportSize();return{top:pt.top,left:pt.left,bottom:pt.top+tn,right:pt.left+Ft,height:tn,width:Ft}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const pt=this._document,Ft=this._getWindow(),tn=pt.documentElement,un=tn.getBoundingClientRect();return{top:-un.top||pt.body.scrollTop||Ft.scrollY||tn.scrollTop||0,left:-un.left||pt.body.scrollLeft||Ft.scrollX||tn.scrollLeft||0}}change(pt=20){return pt>0?this._change.pipe(se(pt)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const pt=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:pt.innerWidth,height:pt.innerHeight}:{width:0,height:0}}}return Je.\u0275fac=function(pt){return new(pt||Je)(o.LFG(de.t4),o.LFG(o.R0b),o.LFG(He.K0,8))},Je.\u0275prov=o.Yz7({token:Je,factory:Je.\u0275fac,providedIn:"root"}),Je})(),dt=(()=>{class Je{}return Je.\u0275fac=function(pt){return new(pt||Je)},Je.\u0275mod=o.oAB({type:Je}),Je.\u0275inj=o.cJS({}),Je})(),ut=(()=>{class Je{}return Je.\u0275fac=function(pt){return new(pt||Je)},Je.\u0275mod=o.oAB({type:Je}),Je.\u0275inj=o.cJS({imports:[[Ce.vT,dt],Ce.vT,dt]}),Je})()},9808:(X,N,p)=>{"use strict";p.d(N,{Do:()=>Q,ED:()=>Pr,EM:()=>yr,H9:()=>Ao,HT:()=>c,JF:()=>$i,K0:()=>b,Mx:()=>pi,NF:()=>Fi,O5:()=>rr,OU:()=>mt,Ov:()=>xo,PC:()=>Mr,RF:()=>Pi,S$:()=>V,Ts:()=>Yr,V_:()=>I,Ye:()=>se,b0:()=>ee,bD:()=>tt,ez:()=>Oe,gd:()=>vr,lw:()=>k,mk:()=>xi,mr:()=>ue,n9:()=>qi,p6:()=>Ln,q:()=>u,rS:()=>fo,sg:()=>di,tP:()=>jr,uU:()=>To,w_:()=>g});var e=p(5e3);let o=null;function u(){return o}function c(we){o||(o=we)}class g{}const b=new e.OlP("DocumentToken");let k=(()=>{class we{historyGo(Te){throw new Error("Not implemented")}}return we.\u0275fac=function(Te){return new(Te||we)},we.\u0275prov=e.Yz7({token:we,factory:function(){return function A(){return(0,e.LFG)(H)}()},providedIn:"platform"}),we})();const I=new e.OlP("Location Initialized");let H=(()=>{class we extends k{constructor(Te){super(),this._doc=Te,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return u().getBaseHref(this._doc)}onPopState(Te){const at=u().getGlobalEventTarget(this._doc,"window");return at.addEventListener("popstate",Te,!1),()=>at.removeEventListener("popstate",Te)}onHashChange(Te){const at=u().getGlobalEventTarget(this._doc,"window");return at.addEventListener("hashchange",Te,!1),()=>at.removeEventListener("hashchange",Te)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(Te){this.location.pathname=Te}pushState(Te,at,Yt){z()?this._history.pushState(Te,at,Yt):this.location.hash=Yt}replaceState(Te,at,Yt){z()?this._history.replaceState(Te,at,Yt):this.location.hash=Yt}forward(){this._history.forward()}back(){this._history.back()}historyGo(Te=0){this._history.go(Te)}getState(){return this._history.state}}return we.\u0275fac=function(Te){return new(Te||we)(e.LFG(b))},we.\u0275prov=e.Yz7({token:we,factory:function(){return function O(){return new H((0,e.LFG)(b))}()},providedIn:"platform"}),we})();function z(){return!!window.history.pushState}function Z(we,Xe){if(0==we.length)return Xe;if(0==Xe.length)return we;let Te=0;return we.endsWith("/")&&Te++,Xe.startsWith("/")&&Te++,2==Te?we+Xe.substring(1):1==Te?we+Xe:we+"/"+Xe}function q(we){const Xe=we.match(/#|\?|$/),Te=Xe&&Xe.index||we.length;return we.slice(0,Te-("/"===we[Te-1]?1:0))+we.slice(Te)}function te(we){return we&&"?"!==we[0]?"?"+we:we}let V=(()=>{class we{historyGo(Te){throw new Error("Not implemented")}}return we.\u0275fac=function(Te){return new(Te||we)},we.\u0275prov=e.Yz7({token:we,factory:function(){return function ne(we){const Xe=(0,e.LFG)(b).location;return new ee((0,e.LFG)(k),Xe&&Xe.origin||"")}()},providedIn:"root"}),we})();const ue=new e.OlP("appBaseHref");let ee=(()=>{class we extends V{constructor(Te,at){if(super(),this._platformLocation=Te,this._removeListenerFns=[],null==at&&(at=this._platformLocation.getBaseHrefFromDOM()),null==at)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=at}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Te){this._removeListenerFns.push(this._platformLocation.onPopState(Te),this._platformLocation.onHashChange(Te))}getBaseHref(){return this._baseHref}prepareExternalUrl(Te){return Z(this._baseHref,Te)}path(Te=!1){const at=this._platformLocation.pathname+te(this._platformLocation.search),Yt=this._platformLocation.hash;return Yt&&Te?`${at}${Yt}`:at}pushState(Te,at,Yt,hn){const Mn=this.prepareExternalUrl(Yt+te(hn));this._platformLocation.pushState(Te,at,Mn)}replaceState(Te,at,Yt,hn){const Mn=this.prepareExternalUrl(Yt+te(hn));this._platformLocation.replaceState(Te,at,Mn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(Te=0){var at,Yt;null===(Yt=(at=this._platformLocation).historyGo)||void 0===Yt||Yt.call(at,Te)}}return we.\u0275fac=function(Te){return new(Te||we)(e.LFG(k),e.LFG(ue,8))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac}),we})(),Q=(()=>{class we extends V{constructor(Te,at){super(),this._platformLocation=Te,this._baseHref="",this._removeListenerFns=[],null!=at&&(this._baseHref=at)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Te){this._removeListenerFns.push(this._platformLocation.onPopState(Te),this._platformLocation.onHashChange(Te))}getBaseHref(){return this._baseHref}path(Te=!1){let at=this._platformLocation.hash;return null==at&&(at="#"),at.length>0?at.substring(1):at}prepareExternalUrl(Te){const at=Z(this._baseHref,Te);return at.length>0?"#"+at:at}pushState(Te,at,Yt,hn){let Mn=this.prepareExternalUrl(Yt+te(hn));0==Mn.length&&(Mn=this._platformLocation.pathname),this._platformLocation.pushState(Te,at,Mn)}replaceState(Te,at,Yt,hn){let Mn=this.prepareExternalUrl(Yt+te(hn));0==Mn.length&&(Mn=this._platformLocation.pathname),this._platformLocation.replaceState(Te,at,Mn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(Te=0){var at,Yt;null===(Yt=(at=this._platformLocation).historyGo)||void 0===Yt||Yt.call(at,Te)}}return we.\u0275fac=function(Te){return new(Te||we)(e.LFG(k),e.LFG(ue,8))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac}),we})(),se=(()=>{class we{constructor(Te,at){this._subject=new e.vpe,this._urlChangeListeners=[],this._platformStrategy=Te;const Yt=this._platformStrategy.getBaseHref();this._platformLocation=at,this._baseHref=q(He(Yt)),this._platformStrategy.onPopState(hn=>{this._subject.emit({url:this.path(!0),pop:!0,state:hn.state,type:hn.type})})}path(Te=!1){return this.normalize(this._platformStrategy.path(Te))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(Te,at=""){return this.path()==this.normalize(Te+te(at))}normalize(Te){return we.stripTrailingSlash(function nt(we,Xe){return we&&Xe.startsWith(we)?Xe.substring(we.length):Xe}(this._baseHref,He(Te)))}prepareExternalUrl(Te){return Te&&"/"!==Te[0]&&(Te="/"+Te),this._platformStrategy.prepareExternalUrl(Te)}go(Te,at="",Yt=null){this._platformStrategy.pushState(Yt,"",Te,at),this._notifyUrlChangeListeners(this.prepareExternalUrl(Te+te(at)),Yt)}replaceState(Te,at="",Yt=null){this._platformStrategy.replaceState(Yt,"",Te,at),this._notifyUrlChangeListeners(this.prepareExternalUrl(Te+te(at)),Yt)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(Te=0){var at,Yt;null===(Yt=(at=this._platformStrategy).historyGo)||void 0===Yt||Yt.call(at,Te)}onUrlChange(Te){this._urlChangeListeners.push(Te),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(at=>{this._notifyUrlChangeListeners(at.url,at.state)}))}_notifyUrlChangeListeners(Te="",at){this._urlChangeListeners.forEach(Yt=>Yt(Te,at))}subscribe(Te,at,Yt){return this._subject.subscribe({next:Te,error:at,complete:Yt})}}return we.normalizeQueryParams=te,we.joinWithSlash=Z,we.stripTrailingSlash=q,we.\u0275fac=function(Te){return new(Te||we)(e.LFG(V),e.LFG(k))},we.\u0275prov=e.Yz7({token:we,factory:function(){return function je(){return new se((0,e.LFG)(V),(0,e.LFG)(k))}()},providedIn:"root"}),we})();function He(we){return we.replace(/\/index.html$/,"")}const de={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Ce=(()=>((Ce=Ce||{})[Ce.Decimal=0]="Decimal",Ce[Ce.Percent=1]="Percent",Ce[Ce.Currency=2]="Currency",Ce[Ce.Scientific=3]="Scientific",Ce))(),ot=(()=>((ot=ot||{})[ot.Format=0]="Format",ot[ot.Standalone=1]="Standalone",ot))(),Ke=(()=>((Ke=Ke||{})[Ke.Narrow=0]="Narrow",Ke[Ke.Abbreviated=1]="Abbreviated",Ke[Ke.Wide=2]="Wide",Ke[Ke.Short=3]="Short",Ke))(),xt=(()=>((xt=xt||{})[xt.Short=0]="Short",xt[xt.Medium=1]="Medium",xt[xt.Long=2]="Long",xt[xt.Full=3]="Full",xt))(),Be=(()=>((Be=Be||{})[Be.Decimal=0]="Decimal",Be[Be.Group=1]="Group",Be[Be.List=2]="List",Be[Be.PercentSign=3]="PercentSign",Be[Be.PlusSign=4]="PlusSign",Be[Be.MinusSign=5]="MinusSign",Be[Be.Exponential=6]="Exponential",Be[Be.SuperscriptingExponent=7]="SuperscriptingExponent",Be[Be.PerMille=8]="PerMille",Be[Be.Infinity=9]="Infinity",Be[Be.NaN=10]="NaN",Be[Be.TimeSeparator=11]="TimeSeparator",Be[Be.CurrencyDecimal=12]="CurrencyDecimal",Be[Be.CurrencyGroup=13]="CurrencyGroup",Be))();function Pt(we,Xe){return Kt((0,e.cg1)(we)[e.wAp.DateFormat],Xe)}function Ot(we,Xe){return Kt((0,e.cg1)(we)[e.wAp.TimeFormat],Xe)}function bt(we,Xe){return Kt((0,e.cg1)(we)[e.wAp.DateTimeFormat],Xe)}function dt(we,Xe){const Te=(0,e.cg1)(we),at=Te[e.wAp.NumberSymbols][Xe];if(void 0===at){if(Xe===Be.CurrencyDecimal)return Te[e.wAp.NumberSymbols][Be.Decimal];if(Xe===Be.CurrencyGroup)return Te[e.wAp.NumberSymbols][Be.Group]}return at}function un(we){if(!we[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${we[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Kt(we,Xe){for(let Te=Xe;Te>-1;Te--)if(void 0!==we[Te])return we[Te];throw new Error("Locale data API: locale data undefined")}function rt(we){const[Xe,Te]=we.split(":");return{hours:+Xe,minutes:+Te}}const De=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ve={},Mt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Dt=(()=>((Dt=Dt||{})[Dt.Short=0]="Short",Dt[Dt.ShortGMT=1]="ShortGMT",Dt[Dt.Long=2]="Long",Dt[Dt.Extended=3]="Extended",Dt))(),Et=(()=>((Et=Et||{})[Et.FullYear=0]="FullYear",Et[Et.Month=1]="Month",Et[Et.Date=2]="Date",Et[Et.Hours=3]="Hours",Et[Et.Minutes=4]="Minutes",Et[Et.Seconds=5]="Seconds",Et[Et.FractionalSeconds=6]="FractionalSeconds",Et[Et.Day=7]="Day",Et))(),sn=(()=>((sn=sn||{})[sn.DayPeriods=0]="DayPeriods",sn[sn.Days=1]="Days",sn[sn.Months=2]="Months",sn[sn.Eras=3]="Eras",sn))();function Ln(we,Xe,Te,at){let Yt=function Re(we){if(Lt(we))return we;if("number"==typeof we&&!isNaN(we))return new Date(we);if("string"==typeof we){if(we=we.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(we)){const[Yt,hn=1,Mn=1]=we.split("-").map(Zn=>+Zn);return Nn(Yt,hn-1,Mn)}const Te=parseFloat(we);if(!isNaN(we-Te))return new Date(Te);let at;if(at=we.match(De))return function it(we){const Xe=new Date(0);let Te=0,at=0;const Yt=we[8]?Xe.setUTCFullYear:Xe.setFullYear,hn=we[8]?Xe.setUTCHours:Xe.setHours;we[9]&&(Te=Number(we[9]+we[10]),at=Number(we[9]+we[11])),Yt.call(Xe,Number(we[1]),Number(we[2])-1,Number(we[3]));const Mn=Number(we[4]||0)-Te,Zn=Number(we[5]||0)-at,ir=Number(we[6]||0),Hi=Math.floor(1e3*parseFloat("0."+(we[7]||0)));return hn.call(Xe,Mn,Zn,ir,Hi),Xe}(at)}const Xe=new Date(we);if(!Lt(Xe))throw new Error(`Unable to convert "${we}" into a date`);return Xe}(we);Xe=In(Te,Xe)||Xe;let Zn,Mn=[];for(;Xe;){if(Zn=Mt.exec(Xe),!Zn){Mn.push(Xe);break}{Mn=Mn.concat(Zn.slice(1));const ui=Mn.pop();if(!ui)break;Xe=ui}}let ir=Yt.getTimezoneOffset();at&&(ir=Cn(at,ir),Yt=function ve(we,Xe,Te){const at=Te?-1:1,Yt=we.getTimezoneOffset();return function ct(we,Xe){return(we=new Date(we.getTime())).setMinutes(we.getMinutes()+Xe),we}(we,at*(Cn(Xe,Yt)-Yt))}(Yt,at,!0));let Hi="";return Mn.forEach(ui=>{const ji=function Qt(we){if(ti[we])return ti[we];let Xe;switch(we){case"G":case"GG":case"GGG":Xe=zn(sn.Eras,Ke.Abbreviated);break;case"GGGG":Xe=zn(sn.Eras,Ke.Wide);break;case"GGGGG":Xe=zn(sn.Eras,Ke.Narrow);break;case"y":Xe=Tn(Et.FullYear,1,0,!1,!0);break;case"yy":Xe=Tn(Et.FullYear,2,0,!0,!0);break;case"yyy":Xe=Tn(Et.FullYear,3,0,!1,!0);break;case"yyyy":Xe=Tn(Et.FullYear,4,0,!1,!0);break;case"Y":Xe=Fn(1);break;case"YY":Xe=Fn(2,!0);break;case"YYY":Xe=Fn(3);break;case"YYYY":Xe=Fn(4);break;case"M":case"L":Xe=Tn(Et.Month,1,1);break;case"MM":case"LL":Xe=Tn(Et.Month,2,1);break;case"MMM":Xe=zn(sn.Months,Ke.Abbreviated);break;case"MMMM":Xe=zn(sn.Months,Ke.Wide);break;case"MMMMM":Xe=zn(sn.Months,Ke.Narrow);break;case"LLL":Xe=zn(sn.Months,Ke.Abbreviated,ot.Standalone);break;case"LLLL":Xe=zn(sn.Months,Ke.Wide,ot.Standalone);break;case"LLLLL":Xe=zn(sn.Months,Ke.Narrow,ot.Standalone);break;case"w":Xe=Vt(1);break;case"ww":Xe=Vt(2);break;case"W":Xe=Vt(1,!0);break;case"d":Xe=Tn(Et.Date,1);break;case"dd":Xe=Tn(Et.Date,2);break;case"c":case"cc":Xe=Tn(Et.Day,1);break;case"ccc":Xe=zn(sn.Days,Ke.Abbreviated,ot.Standalone);break;case"cccc":Xe=zn(sn.Days,Ke.Wide,ot.Standalone);break;case"ccccc":Xe=zn(sn.Days,Ke.Narrow,ot.Standalone);break;case"cccccc":Xe=zn(sn.Days,Ke.Short,ot.Standalone);break;case"E":case"EE":case"EEE":Xe=zn(sn.Days,Ke.Abbreviated);break;case"EEEE":Xe=zn(sn.Days,Ke.Wide);break;case"EEEEE":Xe=zn(sn.Days,Ke.Narrow);break;case"EEEEEE":Xe=zn(sn.Days,Ke.Short);break;case"a":case"aa":case"aaa":Xe=zn(sn.DayPeriods,Ke.Abbreviated);break;case"aaaa":Xe=zn(sn.DayPeriods,Ke.Wide);break;case"aaaaa":Xe=zn(sn.DayPeriods,Ke.Narrow);break;case"b":case"bb":case"bbb":Xe=zn(sn.DayPeriods,Ke.Abbreviated,ot.Standalone,!0);break;case"bbbb":Xe=zn(sn.DayPeriods,Ke.Wide,ot.Standalone,!0);break;case"bbbbb":Xe=zn(sn.DayPeriods,Ke.Narrow,ot.Standalone,!0);break;case"B":case"BB":case"BBB":Xe=zn(sn.DayPeriods,Ke.Abbreviated,ot.Format,!0);break;case"BBBB":Xe=zn(sn.DayPeriods,Ke.Wide,ot.Format,!0);break;case"BBBBB":Xe=zn(sn.DayPeriods,Ke.Narrow,ot.Format,!0);break;case"h":Xe=Tn(Et.Hours,1,-12);break;case"hh":Xe=Tn(Et.Hours,2,-12);break;case"H":Xe=Tn(Et.Hours,1);break;case"HH":Xe=Tn(Et.Hours,2);break;case"m":Xe=Tn(Et.Minutes,1);break;case"mm":Xe=Tn(Et.Minutes,2);break;case"s":Xe=Tn(Et.Seconds,1);break;case"ss":Xe=Tn(Et.Seconds,2);break;case"S":Xe=Tn(Et.FractionalSeconds,1);break;case"SS":Xe=Tn(Et.FractionalSeconds,2);break;case"SSS":Xe=Tn(Et.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Xe=xe(Dt.Short);break;case"ZZZZZ":Xe=xe(Dt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Xe=xe(Dt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Xe=xe(Dt.Long);break;default:return null}return ti[we]=Xe,Xe}(ui);Hi+=ji?ji(Yt,Te,ir):"''"===ui?"'":ui.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Hi}function Nn(we,Xe,Te){const at=new Date(0);return at.setFullYear(we,Xe,Te),at.setHours(0,0,0),at}function In(we,Xe){const Te=function Zt(we){return(0,e.cg1)(we)[e.wAp.LocaleId]}(we);if(Ve[Te]=Ve[Te]||{},Ve[Te][Xe])return Ve[Te][Xe];let at="";switch(Xe){case"shortDate":at=Pt(we,xt.Short);break;case"mediumDate":at=Pt(we,xt.Medium);break;case"longDate":at=Pt(we,xt.Long);break;case"fullDate":at=Pt(we,xt.Full);break;case"shortTime":at=Ot(we,xt.Short);break;case"mediumTime":at=Ot(we,xt.Medium);break;case"longTime":at=Ot(we,xt.Long);break;case"fullTime":at=Ot(we,xt.Full);break;case"short":const Yt=In(we,"shortTime"),hn=In(we,"shortDate");at=Gn(bt(we,xt.Short),[Yt,hn]);break;case"medium":const Mn=In(we,"mediumTime"),Zn=In(we,"mediumDate");at=Gn(bt(we,xt.Medium),[Mn,Zn]);break;case"long":const ir=In(we,"longTime"),Hi=In(we,"longDate");at=Gn(bt(we,xt.Long),[ir,Hi]);break;case"full":const ui=In(we,"fullTime"),ji=In(we,"fullDate");at=Gn(bt(we,xt.Full),[ui,ji])}return at&&(Ve[Te][Xe]=at),at}function Gn(we,Xe){return Xe&&(we=we.replace(/\{([^}]+)}/g,function(Te,at){return null!=Xe&&at in Xe?Xe[at]:Te})),we}function Hn(we,Xe,Te="-",at,Yt){let hn="";(we<0||Yt&&we<=0)&&(Yt?we=1-we:(we=-we,hn=Te));let Mn=String(we);for(;Mn.length0||Zn>-Te)&&(Zn+=Te),we===Et.Hours)0===Zn&&-12===Te&&(Zn=12);else if(we===Et.FractionalSeconds)return function Jn(we,Xe){return Hn(we,3).substr(0,Xe)}(Zn,Xe);const ir=dt(Mn,Be.MinusSign);return Hn(Zn,Xe,ir,at,Yt)}}function zn(we,Xe,Te=ot.Format,at=!1){return function(Yt,hn){return function $t(we,Xe,Te,at,Yt,hn){switch(Te){case sn.Months:return function nn(we,Xe,Te){const at=(0,e.cg1)(we),hn=Kt([at[e.wAp.MonthsFormat],at[e.wAp.MonthsStandalone]],Xe);return Kt(hn,Te)}(Xe,Yt,at)[we.getMonth()];case sn.Days:return function Xt(we,Xe,Te){const at=(0,e.cg1)(we),hn=Kt([at[e.wAp.DaysFormat],at[e.wAp.DaysStandalone]],Xe);return Kt(hn,Te)}(Xe,Yt,at)[we.getDay()];case sn.DayPeriods:const Mn=we.getHours(),Zn=we.getMinutes();if(hn){const Hi=function Wn(we){const Xe=(0,e.cg1)(we);return un(Xe),(Xe[e.wAp.ExtraData][2]||[]).map(at=>"string"==typeof at?rt(at):[rt(at[0]),rt(at[1])])}(Xe),ui=function Pn(we,Xe,Te){const at=(0,e.cg1)(we);un(at);const hn=Kt([at[e.wAp.ExtraData][0],at[e.wAp.ExtraData][1]],Xe)||[];return Kt(hn,Te)||[]}(Xe,Yt,at),ji=Hi.findIndex(Sr=>{if(Array.isArray(Sr)){const[Xi,lr]=Sr,ke=Mn>=Xi.hours&&Zn>=Xi.minutes,me=Mn0?Math.floor(Yt/60):Math.ceil(Yt/60);switch(we){case Dt.Short:return(Yt>=0?"+":"")+Hn(Mn,2,hn)+Hn(Math.abs(Yt%60),2,hn);case Dt.ShortGMT:return"GMT"+(Yt>=0?"+":"")+Hn(Mn,1,hn);case Dt.Long:return"GMT"+(Yt>=0?"+":"")+Hn(Mn,2,hn)+":"+Hn(Math.abs(Yt%60),2,hn);case Dt.Extended:return 0===at?"Z":(Yt>=0?"+":"")+Hn(Mn,2,hn)+":"+Hn(Math.abs(Yt%60),2,hn);default:throw new Error(`Unknown zone width "${we}"`)}}}function vt(we){return Nn(we.getFullYear(),we.getMonth(),we.getDate()+(4-we.getDay()))}function Vt(we,Xe=!1){return function(Te,at){let Yt;if(Xe){const hn=new Date(Te.getFullYear(),Te.getMonth(),1).getDay()-1,Mn=Te.getDate();Yt=1+Math.floor((Mn+hn)/7)}else{const hn=vt(Te),Mn=function Ie(we){const Xe=Nn(we,0,1).getDay();return Nn(we,0,1+(Xe<=4?4:11)-Xe)}(hn.getFullYear()),Zn=hn.getTime()-Mn.getTime();Yt=1+Math.round(Zn/6048e5)}return Hn(Yt,we,dt(at,Be.MinusSign))}}function Fn(we,Xe=!1){return function(Te,at){return Hn(vt(Te).getFullYear(),we,dt(at,Be.MinusSign),Xe)}}const ti={};function Cn(we,Xe){we=we.replace(/:/g,"");const Te=Date.parse("Jan 01, 1970 00:00:00 "+we)/6e4;return isNaN(Te)?Xe:Te}function Lt(we){return we instanceof Date&&!isNaN(we.valueOf())}const an=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Y(we,Xe,Te,at,Yt){const Mn=function _t(we,Xe="-"){const Te={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},at=we.split(";"),Yt=at[0],hn=at[1],Mn=-1!==Yt.indexOf(".")?Yt.split("."):[Yt.substring(0,Yt.lastIndexOf("0")+1),Yt.substring(Yt.lastIndexOf("0")+1)],Zn=Mn[0],ir=Mn[1]||"";Te.posPre=Zn.substr(0,Zn.indexOf("#"));for(let ui=0;ui-1&&(Xe=Xe.replace(".","")),(hn=Xe.search(/e/i))>0?(Yt<0&&(Yt=hn),Yt+=+Xe.slice(hn+1),Xe=Xe.substring(0,hn)):Yt<0&&(Yt=Xe.length),hn=0;"0"===Xe.charAt(hn);hn++);if(hn===(Zn=Xe.length))at=[0],Yt=1;else{for(Zn--;"0"===Xe.charAt(Zn);)Zn--;for(Yt-=hn,at=[],Mn=0;hn<=Zn;hn++,Mn++)at[Mn]=Number(Xe.charAt(hn))}return Yt>22&&(at=at.splice(0,21),Te=Yt-1,Yt=1),{digits:at,exponent:Te,integerLen:Yt}}(we);Mn&&(Hi=function Ge(we){if(0===we.digits[0])return we;const Xe=we.digits.length-we.integerLen;return we.exponent?we.exponent+=2:(0===Xe?we.digits.push(0,0):1===Xe&&we.digits.push(0),we.integerLen+=2),we}(Hi));let ui=Xe.minInt,ji=Xe.minFrac,Sr=Xe.maxFrac;if(hn){const lt=hn.match(an);if(null===lt)throw new Error(`${hn} is not a valid digit info`);const fn=lt[1],ni=lt[3],cr=lt[5];null!=fn&&(ui=be(fn)),null!=ni&&(ji=be(ni)),null!=cr?Sr=be(cr):null!=ni&&ji>Sr&&(Sr=ji)}!function R(we,Xe,Te){if(Xe>Te)throw new Error(`The minimum number of digits after fraction (${Xe}) is higher than the maximum (${Te}).`);let at=we.digits,Yt=at.length-we.integerLen;const hn=Math.min(Math.max(Xe,Yt),Te);let Mn=hn+we.integerLen,Zn=at[Mn];if(Mn>0){at.splice(Math.max(we.integerLen,Mn));for(let ji=Mn;ji=5)if(Mn-1<0){for(let ji=0;ji>Mn;ji--)at.unshift(0),we.integerLen++;at.unshift(1),we.integerLen++}else at[Mn-1]++;for(;Yt=Hi?lr.pop():ir=!1),Sr>=10?1:0},0);ui&&(at.unshift(ui),we.integerLen++)}(Hi,ji,Sr);let Xi=Hi.digits,lr=Hi.integerLen;const ke=Hi.exponent;let me=[];for(ir=Xi.every(lt=>!lt);lr0?me=Xi.splice(lr,Xi.length):(me=Xi,Xi=[0]);const oe=[];for(Xi.length>=Xe.lgSize&&oe.unshift(Xi.splice(-Xe.lgSize,Xi.length).join(""));Xi.length>Xe.gSize;)oe.unshift(Xi.splice(-Xe.gSize,Xi.length).join(""));Xi.length&&oe.unshift(Xi.join("")),Zn=oe.join(dt(Te,at)),me.length&&(Zn+=dt(Te,Yt)+me.join("")),ke&&(Zn+=dt(Te,Be.Exponential)+"+"+ke)}else Zn=dt(Te,Be.Infinity);return Zn=we<0&&!ir?Xe.negPre+Zn+Xe.negSuf:Xe.posPre+Zn+Xe.posSuf,Zn}(we,Mn,Xe,Be.CurrencyGroup,Be.CurrencyDecimal,Yt).replace("\xa4",Te).replace("\xa4","").trim()}function be(we){const Xe=parseInt(we);if(isNaN(Xe))throw new Error("Invalid integer literal when parsing "+we);return Xe}function pi(we,Xe){Xe=encodeURIComponent(Xe);for(const Te of we.split(";")){const at=Te.indexOf("="),[Yt,hn]=-1==at?[Te,""]:[Te.slice(0,at),Te.slice(at+1)];if(Yt.trim()===Xe)return decodeURIComponent(hn)}return null}let xi=(()=>{class we{constructor(Te,at,Yt,hn){this._iterableDiffers=Te,this._keyValueDiffers=at,this._ngEl=Yt,this._renderer=hn,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(Te){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof Te?Te.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(Te){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof Te?Te.split(/\s+/):Te,this._rawClass&&((0,e.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const Te=this._iterableDiffer.diff(this._rawClass);Te&&this._applyIterableChanges(Te)}else if(this._keyValueDiffer){const Te=this._keyValueDiffer.diff(this._rawClass);Te&&this._applyKeyValueChanges(Te)}}_applyKeyValueChanges(Te){Te.forEachAddedItem(at=>this._toggleClass(at.key,at.currentValue)),Te.forEachChangedItem(at=>this._toggleClass(at.key,at.currentValue)),Te.forEachRemovedItem(at=>{at.previousValue&&this._toggleClass(at.key,!1)})}_applyIterableChanges(Te){Te.forEachAddedItem(at=>{if("string"!=typeof at.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,e.AaK)(at.item)}`);this._toggleClass(at.item,!0)}),Te.forEachRemovedItem(at=>this._toggleClass(at.item,!1))}_applyClasses(Te){Te&&(Array.isArray(Te)||Te instanceof Set?Te.forEach(at=>this._toggleClass(at,!0)):Object.keys(Te).forEach(at=>this._toggleClass(at,!!Te[at])))}_removeClasses(Te){Te&&(Array.isArray(Te)||Te instanceof Set?Te.forEach(at=>this._toggleClass(at,!1)):Object.keys(Te).forEach(at=>this._toggleClass(at,!1)))}_toggleClass(Te,at){(Te=Te.trim())&&Te.split(/\s+/g).forEach(Yt=>{at?this._renderer.addClass(this._ngEl.nativeElement,Yt):this._renderer.removeClass(this._ngEl.nativeElement,Yt)})}}return we.\u0275fac=function(Te){return new(Te||we)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))},we.\u0275dir=e.lG2({type:we,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),we})();class mi{constructor(Xe,Te,at,Yt){this.$implicit=Xe,this.ngForOf=Te,this.index=at,this.count=Yt}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let di=(()=>{class we{constructor(Te,at,Yt){this._viewContainer=Te,this._template=at,this._differs=Yt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(Te){this._ngForOf=Te,this._ngForOfDirty=!0}set ngForTrackBy(Te){this._trackByFn=Te}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(Te){Te&&(this._template=Te)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Te=this._ngForOf;!this._differ&&Te&&(this._differ=this._differs.find(Te).create(this.ngForTrackBy))}if(this._differ){const Te=this._differ.diff(this._ngForOf);Te&&this._applyChanges(Te)}}_applyChanges(Te){const at=this._viewContainer;Te.forEachOperation((Yt,hn,Mn)=>{if(null==Yt.previousIndex)at.createEmbeddedView(this._template,new mi(Yt.item,this._ngForOf,-1,-1),null===Mn?void 0:Mn);else if(null==Mn)at.remove(null===hn?void 0:hn);else if(null!==hn){const Zn=at.get(hn);at.move(Zn,Mn),Ki(Zn,Yt)}});for(let Yt=0,hn=at.length;Yt{Ki(at.get(Yt.currentIndex),Yt)})}static ngTemplateContextGuard(Te,at){return!0}}return we.\u0275fac=function(Te){return new(Te||we)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))},we.\u0275dir=e.lG2({type:we,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),we})();function Ki(we,Xe){we.context.$implicit=Xe.item}let rr=(()=>{class we{constructor(Te,at){this._viewContainer=Te,this._context=new Ai,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=at}set ngIf(Te){this._context.$implicit=this._context.ngIf=Te,this._updateView()}set ngIfThen(Te){Ei("ngIfThen",Te),this._thenTemplateRef=Te,this._thenViewRef=null,this._updateView()}set ngIfElse(Te){Ei("ngIfElse",Te),this._elseTemplateRef=Te,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Te,at){return!0}}return we.\u0275fac=function(Te){return new(Te||we)(e.Y36(e.s_b),e.Y36(e.Rgc))},we.\u0275dir=e.lG2({type:we,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),we})();class Ai{constructor(){this.$implicit=null,this.ngIf=null}}function Ei(we,Xe){if(Xe&&!Xe.createEmbeddedView)throw new Error(`${we} must be a TemplateRef, but received '${(0,e.AaK)(Xe)}'.`)}class Tr{constructor(Xe,Te){this._viewContainerRef=Xe,this._templateRef=Te,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Xe){Xe&&!this._created?this.create():!Xe&&this._created&&this.destroy()}}let Pi=(()=>{class we{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Te){this._ngSwitch=Te,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Te){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(Te)}_matchCase(Te){const at=Te==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||at,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),at}_updateDefaultCases(Te){if(this._defaultViews&&Te!==this._defaultUsed){this._defaultUsed=Te;for(let at=0;at{class we{constructor(Te,at,Yt){this.ngSwitch=Yt,Yt._addCase(),this._view=new Tr(Te,at)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return we.\u0275fac=function(Te){return new(Te||we)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Pi,9))},we.\u0275dir=e.lG2({type:we,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),we})(),Pr=(()=>{class we{constructor(Te,at,Yt){Yt._addDefault(new Tr(Te,at))}}return we.\u0275fac=function(Te){return new(Te||we)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(Pi,9))},we.\u0275dir=e.lG2({type:we,selectors:[["","ngSwitchDefault",""]]}),we})(),Mr=(()=>{class we{constructor(Te,at,Yt){this._ngEl=Te,this._differs=at,this._renderer=Yt,this._ngStyle=null,this._differ=null}set ngStyle(Te){this._ngStyle=Te,!this._differ&&Te&&(this._differ=this._differs.find(Te).create())}ngDoCheck(){if(this._differ){const Te=this._differ.diff(this._ngStyle);Te&&this._applyChanges(Te)}}_setStyle(Te,at){const[Yt,hn]=Te.split(".");null!=(at=null!=at&&hn?`${at}${hn}`:at)?this._renderer.setStyle(this._ngEl.nativeElement,Yt,at):this._renderer.removeStyle(this._ngEl.nativeElement,Yt)}_applyChanges(Te){Te.forEachRemovedItem(at=>this._setStyle(at.key,null)),Te.forEachAddedItem(at=>this._setStyle(at.key,at.currentValue)),Te.forEachChangedItem(at=>this._setStyle(at.key,at.currentValue))}}return we.\u0275fac=function(Te){return new(Te||we)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))},we.\u0275dir=e.lG2({type:we,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),we})(),jr=(()=>{class we{constructor(Te){this._viewContainerRef=Te,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(Te){if(Te.ngTemplateOutlet){const at=this._viewContainerRef;this._viewRef&&at.remove(at.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?at.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&Te.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return we.\u0275fac=function(Te){return new(Te||we)(e.Y36(e.s_b))},we.\u0275dir=e.lG2({type:we,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[e.TTD]}),we})();function kr(we,Xe){return new e.vHH(2100,"")}class Ho{createSubscription(Xe,Te){return Xe.subscribe({next:Te,error:at=>{throw at}})}dispose(Xe){Xe.unsubscribe()}onDestroy(Xe){Xe.unsubscribe()}}class Hr{createSubscription(Xe,Te){return Xe.then(Te,at=>{throw at})}dispose(Xe){}onDestroy(Xe){}}const Ur=new Hr,Qr=new Ho;let xo=(()=>{class we{constructor(Te){this._ref=Te,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(Te){return this._obj?Te!==this._obj?(this._dispose(),this.transform(Te)):this._latestValue:(Te&&this._subscribe(Te),this._latestValue)}_subscribe(Te){this._obj=Te,this._strategy=this._selectStrategy(Te),this._subscription=this._strategy.createSubscription(Te,at=>this._updateLatestValue(Te,at))}_selectStrategy(Te){if((0,e.QGY)(Te))return Ur;if((0,e.F4k)(Te))return Qr;throw kr()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Te,at){Te===this._obj&&(this._latestValue=at,this._ref.markForCheck())}}return we.\u0275fac=function(Te){return new(Te||we)(e.Y36(e.sBO,16))},we.\u0275pipe=e.Yjl({name:"async",type:we,pure:!1}),we})();const nr=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let fo=(()=>{class we{transform(Te){if(null==Te)return null;if("string"!=typeof Te)throw kr();return Te.replace(nr,at=>at[0].toUpperCase()+at.substr(1).toLowerCase())}}return we.\u0275fac=function(Te){return new(Te||we)},we.\u0275pipe=e.Yjl({name:"titlecase",type:we,pure:!0}),we})(),vr=(()=>{class we{transform(Te){if(null==Te)return null;if("string"!=typeof Te)throw kr();return Te.toUpperCase()}}return we.\u0275fac=function(Te){return new(Te||we)},we.\u0275pipe=e.Yjl({name:"uppercase",type:we,pure:!0}),we})();const wo=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let To=(()=>{class we{constructor(Te,at){this.locale=Te,this.defaultTimezone=at}transform(Te,at="mediumDate",Yt,hn){var Mn;if(null==Te||""===Te||Te!=Te)return null;try{return Ln(Te,at,hn||this.locale,null!==(Mn=null!=Yt?Yt:this.defaultTimezone)&&void 0!==Mn?Mn:void 0)}catch(Zn){throw kr()}}}return we.\u0275fac=function(Te){return new(Te||we)(e.Y36(e.soG,16),e.Y36(wo,24))},we.\u0275pipe=e.Yjl({name:"date",type:we,pure:!0}),we})(),Yr=(()=>{class we{transform(Te){return JSON.stringify(Te,null,2)}}return we.\u0275fac=function(Te){return new(Te||we)},we.\u0275pipe=e.Yjl({name:"json",type:we,pure:!1}),we})(),Ao=(()=>{class we{constructor(Te,at="USD"){this._locale=Te,this._defaultCurrencyCode=at}transform(Te,at=this._defaultCurrencyCode,Yt="symbol",hn,Mn){if(!function to(we){return!(null==we||""===we||we!=we)}(Te))return null;Mn=Mn||this._locale,"boolean"==typeof Yt&&(Yt=Yt?"symbol":"code");let Zn=at||this._defaultCurrencyCode;"code"!==Yt&&(Zn="symbol"===Yt||"symbol-narrow"===Yt?function G(we,Xe,Te="en"){const at=function Ft(we){return(0,e.cg1)(we)[e.wAp.Currencies]}(Te)[we]||de[we]||[],Yt=at[1];return"narrow"===Xe&&"string"==typeof Yt?Yt:at[0]||we}(Zn,"symbol"===Yt?"wide":"narrow",Mn):Yt);try{return Y(function vo(we){if("string"==typeof we&&!isNaN(Number(we)-parseFloat(we)))return Number(we);if("number"!=typeof we)throw new Error(`${we} is not a number`);return we}(Te),Mn,Zn,at,hn)}catch(ir){throw kr()}}}return we.\u0275fac=function(Te){return new(Te||we)(e.Y36(e.soG,16),e.Y36(e.EJc,16))},we.\u0275pipe=e.Yjl({name:"currency",type:we,pure:!0}),we})();let mt=(()=>{class we{transform(Te,at,Yt){if(null==Te)return null;if(!this.supports(Te))throw kr();return Te.slice(at,Yt)}supports(Te){return"string"==typeof Te||Array.isArray(Te)}}return we.\u0275fac=function(Te){return new(Te||we)},we.\u0275pipe=e.Yjl({name:"slice",type:we,pure:!1}),we})(),Oe=(()=>{class we{}return we.\u0275fac=function(Te){return new(Te||we)},we.\u0275mod=e.oAB({type:we}),we.\u0275inj=e.cJS({}),we})();const tt="browser";function Fi(we){return we===tt}let yr=(()=>{class we{}return we.\u0275prov=(0,e.Yz7)({token:we,providedIn:"root",factory:()=>new mr((0,e.LFG)(b),window)}),we})();class mr{constructor(Xe,Te){this.document=Xe,this.window=Te,this.offset=()=>[0,0]}setOffset(Xe){this.offset=Array.isArray(Xe)?()=>Xe:Xe}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Xe){this.supportsScrolling()&&this.window.scrollTo(Xe[0],Xe[1])}scrollToAnchor(Xe){if(!this.supportsScrolling())return;const Te=function io(we,Xe){const Te=we.getElementById(Xe)||we.getElementsByName(Xe)[0];if(Te)return Te;if("function"==typeof we.createTreeWalker&&we.body&&(we.body.createShadowRoot||we.body.attachShadow)){const at=we.createTreeWalker(we.body,NodeFilter.SHOW_ELEMENT);let Yt=at.currentNode;for(;Yt;){const hn=Yt.shadowRoot;if(hn){const Mn=hn.getElementById(Xe)||hn.querySelector(`[name="${Xe}"]`);if(Mn)return Mn}Yt=at.nextNode()}}return null}(this.document,Xe);Te&&(this.scrollToElement(Te),Te.focus())}setHistoryScrollRestoration(Xe){if(this.supportScrollRestoration()){const Te=this.window.history;Te&&Te.scrollRestoration&&(Te.scrollRestoration=Xe)}}scrollToElement(Xe){const Te=Xe.getBoundingClientRect(),at=Te.left+this.window.pageXOffset,Yt=Te.top+this.window.pageYOffset,hn=this.offset();this.window.scrollTo(at-hn[0],Yt-hn[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const Xe=or(this.window.history)||or(Object.getPrototypeOf(this.window.history));return!(!Xe||!Xe.writable&&!Xe.set)}catch(Xe){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(Xe){return!1}}}function or(we){return Object.getOwnPropertyDescriptor(we,"scrollRestoration")}class $i{}},520:(X,N,p)=>{"use strict";p.d(N,{JF:()=>rt,TP:()=>Zt,UA:()=>Ke,WM:()=>I,eN:()=>Be});var e=p(9808),o=p(5e3),u=p(9646),d=p(8306),c=p(4351),g=p(9300),b=p(4004);class k{}class A{}class I{constructor(De){this.normalizedNames=new Map,this.lazyUpdate=null,De?this.lazyInit="string"==typeof De?()=>{this.headers=new Map,De.split("\n").forEach(Ve=>{const Mt=Ve.indexOf(":");if(Mt>0){const Dt=Ve.slice(0,Mt),Et=Dt.toLowerCase(),sn=Ve.slice(Mt+1).trim();this.maybeSetNormalizedName(Dt,Et),this.headers.has(Et)?this.headers.get(Et).push(sn):this.headers.set(Et,[sn])}})}:()=>{this.headers=new Map,Object.keys(De).forEach(Ve=>{let Mt=De[Ve];const Dt=Ve.toLowerCase();"string"==typeof Mt&&(Mt=[Mt]),Mt.length>0&&(this.headers.set(Dt,Mt),this.maybeSetNormalizedName(Ve,Dt))})}:this.headers=new Map}has(De){return this.init(),this.headers.has(De.toLowerCase())}get(De){this.init();const Ve=this.headers.get(De.toLowerCase());return Ve&&Ve.length>0?Ve[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(De){return this.init(),this.headers.get(De.toLowerCase())||null}append(De,Ve){return this.clone({name:De,value:Ve,op:"a"})}set(De,Ve){return this.clone({name:De,value:Ve,op:"s"})}delete(De,Ve){return this.clone({name:De,value:Ve,op:"d"})}maybeSetNormalizedName(De,Ve){this.normalizedNames.has(Ve)||this.normalizedNames.set(Ve,De)}init(){this.lazyInit&&(this.lazyInit instanceof I?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(De=>this.applyUpdate(De)),this.lazyUpdate=null))}copyFrom(De){De.init(),Array.from(De.headers.keys()).forEach(Ve=>{this.headers.set(Ve,De.headers.get(Ve)),this.normalizedNames.set(Ve,De.normalizedNames.get(Ve))})}clone(De){const Ve=new I;return Ve.lazyInit=this.lazyInit&&this.lazyInit instanceof I?this.lazyInit:this,Ve.lazyUpdate=(this.lazyUpdate||[]).concat([De]),Ve}applyUpdate(De){const Ve=De.name.toLowerCase();switch(De.op){case"a":case"s":let Mt=De.value;if("string"==typeof Mt&&(Mt=[Mt]),0===Mt.length)return;this.maybeSetNormalizedName(De.name,Ve);const Dt=("a"===De.op?this.headers.get(Ve):void 0)||[];Dt.push(...Mt),this.headers.set(Ve,Dt);break;case"d":const Et=De.value;if(Et){let sn=this.headers.get(Ve);if(!sn)return;sn=sn.filter(Ln=>-1===Et.indexOf(Ln)),0===sn.length?(this.headers.delete(Ve),this.normalizedNames.delete(Ve)):this.headers.set(Ve,sn)}else this.headers.delete(Ve),this.normalizedNames.delete(Ve)}}forEach(De){this.init(),Array.from(this.normalizedNames.keys()).forEach(Ve=>De(this.normalizedNames.get(Ve),this.headers.get(Ve)))}}class H{encodeKey(De){return q(De)}encodeValue(De){return q(De)}decodeKey(De){return decodeURIComponent(De)}decodeValue(De){return decodeURIComponent(De)}}const O=/%(\d[a-f0-9])/gi,Z={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function q(he){return encodeURIComponent(he).replace(O,(De,Ve)=>{var Mt;return null!==(Mt=Z[Ve])&&void 0!==Mt?Mt:De})}function te(he){return`${he}`}class V{constructor(De={}){if(this.updates=null,this.cloneFrom=null,this.encoder=De.encoder||new H,De.fromString){if(De.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function z(he,De){const Ve=new Map;return he.length>0&&he.replace(/^\?/,"").split("&").forEach(Dt=>{const Et=Dt.indexOf("="),[sn,Ln]=-1==Et?[De.decodeKey(Dt),""]:[De.decodeKey(Dt.slice(0,Et)),De.decodeValue(Dt.slice(Et+1))],Nn=Ve.get(sn)||[];Nn.push(Ln),Ve.set(sn,Nn)}),Ve}(De.fromString,this.encoder)}else De.fromObject?(this.map=new Map,Object.keys(De.fromObject).forEach(Ve=>{const Mt=De.fromObject[Ve];this.map.set(Ve,Array.isArray(Mt)?Mt:[Mt])})):this.map=null}has(De){return this.init(),this.map.has(De)}get(De){this.init();const Ve=this.map.get(De);return Ve?Ve[0]:null}getAll(De){return this.init(),this.map.get(De)||null}keys(){return this.init(),Array.from(this.map.keys())}append(De,Ve){return this.clone({param:De,value:Ve,op:"a"})}appendAll(De){const Ve=[];return Object.keys(De).forEach(Mt=>{const Dt=De[Mt];Array.isArray(Dt)?Dt.forEach(Et=>{Ve.push({param:Mt,value:Et,op:"a"})}):Ve.push({param:Mt,value:Dt,op:"a"})}),this.clone(Ve)}set(De,Ve){return this.clone({param:De,value:Ve,op:"s"})}delete(De,Ve){return this.clone({param:De,value:Ve,op:"d"})}toString(){return this.init(),this.keys().map(De=>{const Ve=this.encoder.encodeKey(De);return this.map.get(De).map(Mt=>Ve+"="+this.encoder.encodeValue(Mt)).join("&")}).filter(De=>""!==De).join("&")}clone(De){const Ve=new V({encoder:this.encoder});return Ve.cloneFrom=this.cloneFrom||this,Ve.updates=(this.updates||[]).concat(De),Ve}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(De=>this.map.set(De,this.cloneFrom.map.get(De))),this.updates.forEach(De=>{switch(De.op){case"a":case"s":const Ve=("a"===De.op?this.map.get(De.param):void 0)||[];Ve.push(te(De.value)),this.map.set(De.param,Ve);break;case"d":if(void 0===De.value){this.map.delete(De.param);break}{let Mt=this.map.get(De.param)||[];const Dt=Mt.indexOf(te(De.value));-1!==Dt&&Mt.splice(Dt,1),Mt.length>0?this.map.set(De.param,Mt):this.map.delete(De.param)}}}),this.cloneFrom=this.updates=null)}}class ue{constructor(){this.map=new Map}set(De,Ve){return this.map.set(De,Ve),this}get(De){return this.map.has(De)||this.map.set(De,De.defaultValue()),this.map.get(De)}delete(De){return this.map.delete(De),this}has(De){return this.map.has(De)}keys(){return this.map.keys()}}function Q(he){return"undefined"!=typeof ArrayBuffer&&he instanceof ArrayBuffer}function se(he){return"undefined"!=typeof Blob&&he instanceof Blob}function je(he){return"undefined"!=typeof FormData&&he instanceof FormData}class He{constructor(De,Ve,Mt,Dt){let Et;if(this.url=Ve,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=De.toUpperCase(),function ee(he){switch(he){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Dt?(this.body=void 0!==Mt?Mt:null,Et=Dt):Et=Mt,Et&&(this.reportProgress=!!Et.reportProgress,this.withCredentials=!!Et.withCredentials,Et.responseType&&(this.responseType=Et.responseType),Et.headers&&(this.headers=Et.headers),Et.context&&(this.context=Et.context),Et.params&&(this.params=Et.params)),this.headers||(this.headers=new I),this.context||(this.context=new ue),this.params){const sn=this.params.toString();if(0===sn.length)this.urlWithParams=Ve;else{const Ln=Ve.indexOf("?");this.urlWithParams=Ve+(-1===Ln?"?":LnJn.set(Tn,De.setHeaders[Tn]),In)),De.setParams&&(Gn=Object.keys(De.setParams).reduce((Jn,Tn)=>Jn.set(Tn,De.setParams[Tn]),Gn)),new He(Mt,Dt,sn,{params:Gn,headers:In,context:Hn,reportProgress:Nn,responseType:Et,withCredentials:Ln})}}var de=(()=>((de=de||{})[de.Sent=0]="Sent",de[de.UploadProgress=1]="UploadProgress",de[de.ResponseHeader=2]="ResponseHeader",de[de.DownloadProgress=3]="DownloadProgress",de[de.Response=4]="Response",de[de.User=5]="User",de))();class Ce{constructor(De,Ve=200,Mt="OK"){this.headers=De.headers||new I,this.status=void 0!==De.status?De.status:Ve,this.statusText=De.statusText||Mt,this.url=De.url||null,this.ok=this.status>=200&&this.status<300}}class Ze extends Ce{constructor(De={}){super(De),this.type=de.ResponseHeader}clone(De={}){return new Ze({headers:De.headers||this.headers,status:void 0!==De.status?De.status:this.status,statusText:De.statusText||this.statusText,url:De.url||this.url||void 0})}}class ot extends Ce{constructor(De={}){super(De),this.type=de.Response,this.body=void 0!==De.body?De.body:null}clone(De={}){return new ot({body:void 0!==De.body?De.body:this.body,headers:De.headers||this.headers,status:void 0!==De.status?De.status:this.status,statusText:De.statusText||this.statusText,url:De.url||this.url||void 0})}}class Ke extends Ce{constructor(De){super(De,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${De.url||"(unknown url)"}`:`Http failure response for ${De.url||"(unknown url)"}: ${De.status} ${De.statusText}`,this.error=De.error||null}}function xt(he,De){return{body:De,headers:he.headers,context:he.context,observe:he.observe,params:he.params,reportProgress:he.reportProgress,responseType:he.responseType,withCredentials:he.withCredentials}}let Be=(()=>{class he{constructor(Ve){this.handler=Ve}request(Ve,Mt,Dt={}){let Et;if(Ve instanceof He)Et=Ve;else{let Nn,In;Nn=Dt.headers instanceof I?Dt.headers:new I(Dt.headers),Dt.params&&(In=Dt.params instanceof V?Dt.params:new V({fromObject:Dt.params})),Et=new He(Ve,Mt,void 0!==Dt.body?Dt.body:null,{headers:Nn,context:Dt.context,params:In,reportProgress:Dt.reportProgress,responseType:Dt.responseType||"json",withCredentials:Dt.withCredentials})}const sn=(0,u.of)(Et).pipe((0,c.b)(Nn=>this.handler.handle(Nn)));if(Ve instanceof He||"events"===Dt.observe)return sn;const Ln=sn.pipe((0,g.h)(Nn=>Nn instanceof ot));switch(Dt.observe||"body"){case"body":switch(Et.responseType){case"arraybuffer":return Ln.pipe((0,b.U)(Nn=>{if(null!==Nn.body&&!(Nn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Nn.body}));case"blob":return Ln.pipe((0,b.U)(Nn=>{if(null!==Nn.body&&!(Nn.body instanceof Blob))throw new Error("Response is not a Blob.");return Nn.body}));case"text":return Ln.pipe((0,b.U)(Nn=>{if(null!==Nn.body&&"string"!=typeof Nn.body)throw new Error("Response is not a string.");return Nn.body}));default:return Ln.pipe((0,b.U)(Nn=>Nn.body))}case"response":return Ln;default:throw new Error(`Unreachable: unhandled observe type ${Dt.observe}}`)}}delete(Ve,Mt={}){return this.request("DELETE",Ve,Mt)}get(Ve,Mt={}){return this.request("GET",Ve,Mt)}head(Ve,Mt={}){return this.request("HEAD",Ve,Mt)}jsonp(Ve,Mt){return this.request("JSONP",Ve,{params:(new V).append(Mt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Ve,Mt={}){return this.request("OPTIONS",Ve,Mt)}patch(Ve,Mt,Dt={}){return this.request("PATCH",Ve,xt(Dt,Mt))}post(Ve,Mt,Dt={}){return this.request("POST",Ve,xt(Dt,Mt))}put(Ve,Mt,Dt={}){return this.request("PUT",Ve,xt(Dt,Mt))}}return he.\u0275fac=function(Ve){return new(Ve||he)(o.LFG(k))},he.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac}),he})();class Tt{constructor(De,Ve){this.next=De,this.interceptor=Ve}handle(De){return this.interceptor.intercept(De,this.next)}}const Zt=new o.OlP("HTTP_INTERCEPTORS");let Sn=(()=>{class he{intercept(Ve,Mt){return Mt.handle(Ve)}}return he.\u0275fac=function(Ve){return new(Ve||he)},he.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac}),he})();const dt=/^\)\]\}',?\n/;let Je=(()=>{class he{constructor(Ve){this.xhrFactory=Ve}handle(Ve){if("JSONP"===Ve.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new d.y(Mt=>{const Dt=this.xhrFactory.build();if(Dt.open(Ve.method,Ve.urlWithParams),Ve.withCredentials&&(Dt.withCredentials=!0),Ve.headers.forEach((Tn,ri)=>Dt.setRequestHeader(Tn,ri.join(","))),Ve.headers.has("Accept")||Dt.setRequestHeader("Accept","application/json, text/plain, */*"),!Ve.headers.has("Content-Type")){const Tn=Ve.detectContentTypeHeader();null!==Tn&&Dt.setRequestHeader("Content-Type",Tn)}if(Ve.responseType){const Tn=Ve.responseType.toLowerCase();Dt.responseType="json"!==Tn?Tn:"text"}const Et=Ve.serializeBody();let sn=null;const Ln=()=>{if(null!==sn)return sn;const Tn=Dt.statusText||"OK",ri=new I(Dt.getAllResponseHeaders()),zn=function ut(he){return"responseURL"in he&&he.responseURL?he.responseURL:/^X-Request-URL:/m.test(he.getAllResponseHeaders())?he.getResponseHeader("X-Request-URL"):null}(Dt)||Ve.url;return sn=new Ze({headers:ri,status:Dt.status,statusText:Tn,url:zn}),sn},Nn=()=>{let{headers:Tn,status:ri,statusText:zn,url:$t}=Ln(),xe=null;204!==ri&&(xe=void 0===Dt.response?Dt.responseText:Dt.response),0===ri&&(ri=xe?200:0);let Se=ri>=200&&ri<300;if("json"===Ve.responseType&&"string"==typeof xe){const j=xe;xe=xe.replace(dt,"");try{xe=""!==xe?JSON.parse(xe):null}catch(Ie){xe=j,Se&&(Se=!1,xe={error:Ie,text:xe})}}Se?(Mt.next(new ot({body:xe,headers:Tn,status:ri,statusText:zn,url:$t||void 0})),Mt.complete()):Mt.error(new Ke({error:xe,headers:Tn,status:ri,statusText:zn,url:$t||void 0}))},In=Tn=>{const{url:ri}=Ln(),zn=new Ke({error:Tn,status:Dt.status||0,statusText:Dt.statusText||"Unknown Error",url:ri||void 0});Mt.error(zn)};let Gn=!1;const Hn=Tn=>{Gn||(Mt.next(Ln()),Gn=!0);let ri={type:de.DownloadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(ri.total=Tn.total),"text"===Ve.responseType&&!!Dt.responseText&&(ri.partialText=Dt.responseText),Mt.next(ri)},Jn=Tn=>{let ri={type:de.UploadProgress,loaded:Tn.loaded};Tn.lengthComputable&&(ri.total=Tn.total),Mt.next(ri)};return Dt.addEventListener("load",Nn),Dt.addEventListener("error",In),Dt.addEventListener("timeout",In),Dt.addEventListener("abort",In),Ve.reportProgress&&(Dt.addEventListener("progress",Hn),null!==Et&&Dt.upload&&Dt.upload.addEventListener("progress",Jn)),Dt.send(Et),Mt.next({type:de.Sent}),()=>{Dt.removeEventListener("error",In),Dt.removeEventListener("abort",In),Dt.removeEventListener("load",Nn),Dt.removeEventListener("timeout",In),Ve.reportProgress&&(Dt.removeEventListener("progress",Hn),null!==Et&&Dt.upload&&Dt.upload.removeEventListener("progress",Jn)),Dt.readyState!==Dt.DONE&&Dt.abort()}})}}return he.\u0275fac=function(Ve){return new(Ve||he)(o.LFG(e.JF))},he.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac}),he})();const kt=new o.OlP("XSRF_COOKIE_NAME"),pt=new o.OlP("XSRF_HEADER_NAME");class Ft{}let tn=(()=>{class he{constructor(Ve,Mt,Dt){this.doc=Ve,this.platform=Mt,this.cookieName=Dt,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Ve=this.doc.cookie||"";return Ve!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,e.Mx)(Ve,this.cookieName),this.lastCookieString=Ve),this.lastToken}}return he.\u0275fac=function(Ve){return new(Ve||he)(o.LFG(e.K0),o.LFG(o.Lbi),o.LFG(kt))},he.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac}),he})(),un=(()=>{class he{constructor(Ve,Mt){this.tokenService=Ve,this.headerName=Mt}intercept(Ve,Mt){const Dt=Ve.url.toLowerCase();if("GET"===Ve.method||"HEAD"===Ve.method||Dt.startsWith("http://")||Dt.startsWith("https://"))return Mt.handle(Ve);const Et=this.tokenService.getToken();return null!==Et&&!Ve.headers.has(this.headerName)&&(Ve=Ve.clone({headers:Ve.headers.set(this.headerName,Et)})),Mt.handle(Ve)}}return he.\u0275fac=function(Ve){return new(Ve||he)(o.LFG(Ft),o.LFG(pt))},he.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac}),he})(),Wn=(()=>{class he{constructor(Ve,Mt){this.backend=Ve,this.injector=Mt,this.chain=null}handle(Ve){if(null===this.chain){const Mt=this.injector.get(Zt,[]);this.chain=Mt.reduceRight((Dt,Et)=>new Tt(Dt,Et),this.backend)}return this.chain.handle(Ve)}}return he.\u0275fac=function(Ve){return new(Ve||he)(o.LFG(A),o.LFG(o.zs3))},he.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac}),he})(),Kt=(()=>{class he{static disable(){return{ngModule:he,providers:[{provide:un,useClass:Sn}]}}static withOptions(Ve={}){return{ngModule:he,providers:[Ve.cookieName?{provide:kt,useValue:Ve.cookieName}:[],Ve.headerName?{provide:pt,useValue:Ve.headerName}:[]]}}}return he.\u0275fac=function(Ve){return new(Ve||he)},he.\u0275mod=o.oAB({type:he}),he.\u0275inj=o.cJS({providers:[un,{provide:Zt,useExisting:un,multi:!0},{provide:Ft,useClass:tn},{provide:kt,useValue:"XSRF-TOKEN"},{provide:pt,useValue:"X-XSRF-TOKEN"}]}),he})(),rt=(()=>{class he{}return he.\u0275fac=function(Ve){return new(Ve||he)},he.\u0275mod=o.oAB({type:he}),he.\u0275inj=o.cJS({providers:[Be,{provide:k,useClass:Wn},Je,{provide:A,useExisting:Je}],imports:[[Kt.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),he})()},5e3:(X,N,p)=>{"use strict";p.d(N,{$8M:()=>ga,$Z:()=>t_,AFp:()=>wy,ALo:()=>Hv,AaK:()=>k,AsE:()=>$m,B6R:()=>Vt,BQk:()=>Lh,CHM:()=>br,CRH:()=>ey,CZH:()=>Tf,CqO:()=>r_,DdM:()=>Pv,Dn7:()=>Vv,EJc:()=>yw,EiD:()=>Du,EpF:()=>n_,F$t:()=>l_,F4k:()=>i_,FAE:()=>Gm,FYo:()=>wv,FiY:()=>Os,G48:()=>Hw,Gf:()=>Qv,GfV:()=>Tv,GkF:()=>Rm,Gpc:()=>H,Gre:()=>R_,HOy:()=>Jm,Hsn:()=>c_,IIB:()=>pw,Ikx:()=>Km,JOm:()=>Fe,JVY:()=>Tp,Jf7:()=>Fu,L6J:()=>fw,L6k:()=>Mp,LAX:()=>xp,LFG:()=>po,LSH:()=>Eu,Lbi:()=>gw,MAs:()=>Vg,MGl:()=>Rh,NdJ:()=>Bm,O4$:()=>yo,OlP:()=>zr,Oqu:()=>Zm,PXZ:()=>Fw,Q6J:()=>Im,QGY:()=>Nm,Qsj:()=>vb,R0b:()=>Ua,RDi:()=>or,Rgc:()=>Qd,SBq:()=>$d,Sil:()=>bw,Suo:()=>Xv,TTD:()=>to,TgZ:()=>Oh,Tol:()=>T_,Udp:()=>Vm,VKq:()=>Ov,VLi:()=>Pw,W1O:()=>ry,WFA:()=>Um,WLB:()=>Iv,XFs:()=>Pn,Xpm:()=>vt,XwF:()=>Vc,Y36:()=>Yd,YKP:()=>Dv,YNc:()=>Gg,Yjl:()=>it,Yz7:()=>Pt,ZZ4:()=>Nf,_Bn:()=>yv,_UZ:()=>Lm,_Vd:()=>Vh,_c5:()=>iT,_uU:()=>E_,aQ5:()=>Ya,aQg:()=>Bf,c2e:()=>_w,cJS:()=>bt,cg1:()=>Xm,d8E:()=>Qm,dDg:()=>ky,deG:()=>Ha,dqk:()=>In,eBb:()=>Sp,eFA:()=>Py,ekj:()=>Wm,evT:()=>Lu,f3M:()=>Sa,g9A:()=>My,gM2:()=>Wv,gxx:()=>Od,h0i:()=>qc,hGG:()=>rT,hYB:()=>Ym,hij:()=>Bh,i9L:()=>Ga,iGM:()=>Kv,ifc:()=>Dt,ip1:()=>by,kEZ:()=>Fv,kL8:()=>z_,kYT:()=>ct,kcU:()=>Or,l5B:()=>Lv,lG2:()=>Re,lcZ:()=>Yv,lnq:()=>qm,mCW:()=>Il,n5z:()=>ll,n_E:()=>zh,oAB:()=>Cn,oJD:()=>Au,oxw:()=>a_,pB0:()=>Dp,q3G:()=>Lo,q4F:()=>Mv,qLn:()=>_d,qOj:()=>wl,qZA:()=>Ih,qzn:()=>Sl,r_U:()=>mw,s9C:()=>Hm,sBO:()=>Yw,sIi:()=>Ud,s_b:()=>$h,soG:()=>Sf,tBr:()=>$o,tb:()=>Sy,tp0:()=>ms,uIk:()=>Am,uOi:()=>Pu,vHH:()=>q,vpe:()=>al,wAp:()=>Yi,xi3:()=>Gv,xp6:()=>Hu,yhl:()=>yu,ynx:()=>Fh,z2F:()=>Pf,z3N:()=>Aa,zSh:()=>_h,zs3:()=>Ls});var e=p(7579),o=p(727),u=p(8306),d=p(6451),c=p(3099);function g(i){for(let r in i)if(i[r]===g)return r;throw Error("Could not find renamed property on target object.")}function b(i,r){for(const s in r)r.hasOwnProperty(s)&&!i.hasOwnProperty(s)&&(i[s]=r[s])}function k(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(k).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const r=i.toString();if(null==r)return""+r;const s=r.indexOf("\n");return-1===s?r:r.substring(0,s)}function A(i,r){return null==i||""===i?null===r?"":r:null==r||""===r?i:i+" "+r}const I=g({__forward_ref__:g});function H(i){return i.__forward_ref__=H,i.toString=function(){return k(this())},i}function z(i){return O(i)?i():i}function O(i){return"function"==typeof i&&i.hasOwnProperty(I)&&i.__forward_ref__===H}class q extends Error{constructor(r,s){super(function te(i,r){return`NG0${Math.abs(i)}${r?": "+r:""}`}(r,s)),this.code=r}}function V(i){return"string"==typeof i?i:null==i?"":String(i)}function ne(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():V(i)}function se(i,r){const s=r?` in ${r}`:"";throw new q(-201,`No provider for ${ne(i)} found${s}`)}function Xt(i,r){null==i&&function nn(i,r,s,m){throw new Error(`ASSERTION ERROR: ${i}`+(null==m?"":` [Expected=> ${s} ${m} ${r} <=Actual]`))}(r,i,null,"!=")}function Pt(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function bt(i){return{providers:i.providers||[],imports:i.imports||[]}}function dt(i){return ut(i,Ft)||ut(i,un)}function ut(i,r){return i.hasOwnProperty(r)?i[r]:null}function pt(i){return i&&(i.hasOwnProperty(tn)||i.hasOwnProperty(Wn))?i[tn]:null}const Ft=g({\u0275prov:g}),tn=g({\u0275inj:g}),un=g({ngInjectableDef:g}),Wn=g({ngInjectorDef:g});var Pn=(()=>((Pn=Pn||{})[Pn.Default=0]="Default",Pn[Pn.Host=1]="Host",Pn[Pn.Self=2]="Self",Pn[Pn.SkipSelf=4]="SkipSelf",Pn[Pn.Optional=8]="Optional",Pn))();let kn;function rt(i){const r=kn;return kn=i,r}function G(i,r,s){const m=dt(i);return m&&"root"==m.providedIn?void 0===m.value?m.value=m.factory():m.value:s&Pn.Optional?null:void 0!==r?r:void se(k(i),"Injector")}function he(i){return{toString:i}.toString()}var De=(()=>((De=De||{})[De.OnPush=0]="OnPush",De[De.Default=1]="Default",De))(),Dt=(()=>{return(i=Dt||(Dt={}))[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom",Dt;var i})();const Et="undefined"!=typeof globalThis&&globalThis,sn="undefined"!=typeof window&&window,Ln="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,In=Et||"undefined"!=typeof global&&global||sn||Ln,Jn={},Tn=[],ri=g({\u0275cmp:g}),zn=g({\u0275dir:g}),$t=g({\u0275pipe:g}),xe=g({\u0275mod:g}),Se=g({\u0275fac:g}),j=g({__NG_ELEMENT_ID__:g});let Ie=0;function vt(i){return he(()=>{const s={},m={type:i.type,providersResolver:null,decls:i.decls,vars:i.vars,factory:null,template:i.template||null,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:s,inputs:null,outputs:null,exportAs:i.exportAs||null,onPush:i.changeDetection===De.OnPush,directiveDefs:null,pipeDefs:null,selectors:i.selectors||Tn,viewQuery:i.viewQuery||null,features:i.features||null,data:i.data||{},encapsulation:i.encapsulation||Dt.Emulated,id:"c",styles:i.styles||Tn,_:null,setInput:null,schemas:i.schemas||null,tView:null},v=i.directives,S=i.features,F=i.pipes;return m.id+=Ie++,m.inputs=ve(i.inputs,s),m.outputs=ve(i.outputs),S&&S.forEach($=>$(m)),m.directiveDefs=v?()=>("function"==typeof v?v():v).map(Fn):null,m.pipeDefs=F?()=>("function"==typeof F?F():F).map(ti):null,m})}function Vt(i,r,s){const m=i.\u0275cmp;m.directiveDefs=()=>r.map(Fn),m.pipeDefs=()=>s.map(ti)}function Fn(i){return Lt(i)||function an(i){return i[zn]||null}(i)}function ti(i){return function Un(i){return i[$t]||null}(i)}const Qt={};function Cn(i){return he(()=>{const r={type:i.type,bootstrap:i.bootstrap||Tn,declarations:i.declarations||Tn,imports:i.imports||Tn,exports:i.exports||Tn,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null};return null!=i.id&&(Qt[i.id]=i.type),r})}function ct(i,r){return he(()=>{const s=Yn(i,!0);s.declarations=r.declarations||Tn,s.imports=r.imports||Tn,s.exports=r.exports||Tn})}function ve(i,r){if(null==i)return Jn;const s={};for(const m in i)if(i.hasOwnProperty(m)){let v=i[m],S=v;Array.isArray(v)&&(S=v[1],v=v[0]),s[v]=m,r&&(r[v]=S)}return s}const Re=vt;function it(i){return{type:i.type,name:i.name,factory:null,pure:!1!==i.pure,onDestroy:i.type.prototype.ngOnDestroy||null}}function Lt(i){return i[ri]||null}function Yn(i,r){const s=i[xe]||null;if(!s&&!0===r)throw new Error(`Type ${k(i)} does not have '\u0275mod' property.`);return s}const W=10;function Pi(i){return Array.isArray(i)&&"object"==typeof i[1]}function qi(i){return Array.isArray(i)&&!0===i[1]}function Pr(i){return 0!=(8&i.flags)}function Dr(i){return 2==(2&i.flags)}function Ji(i){return 1==(1&i.flags)}function fi(i){return null!==i.template}function Mr(i){return 0!=(512&i[2])}function Gr(i,r){return i.hasOwnProperty(Se)?i[Se]:null}class Ao{constructor(r,s,m){this.previousValue=r,this.currentValue=s,this.firstChange=m}isFirstChange(){return this.firstChange}}function to(){return vo}function vo(i){return i.type.prototype.ngOnChanges&&(i.setInput=wt),mt}function mt(){const i=tt(this),r=null==i?void 0:i.current;if(r){const s=i.previous;if(s===Jn)i.previous=r;else for(let m in r)s[m]=r[m];i.current=null,this.ngOnChanges(r)}}function wt(i,r,s,m){const v=tt(i)||function en(i,r){return i[Oe]=r}(i,{previous:Jn,current:null}),S=v.current||(v.current={}),F=v.previous,$=this.declaredInputs[s],le=F[$];S[$]=new Ao(le&&le.currentValue,r,F===Jn),i[m]=r}to.ngInherit=!0;const Oe="__ngSimpleChanges__";function tt(i){return i[Oe]||null}let mr;function or(i){mr=i}function io(){return void 0!==mr?mr:"undefined"!=typeof document?document:void 0}function $i(i){return!!i.listen}const we={createRenderer:(i,r)=>io()};function Te(i){for(;Array.isArray(i);)i=i[0];return i}function hn(i,r){return Te(r[i])}function Mn(i,r){return Te(r[i.index])}function ir(i,r){return i.data[r]}function Hi(i,r){return i[r]}function ui(i,r){const s=r[i];return Pi(s)?s:s[0]}function ji(i){return 4==(4&i[2])}function Sr(i){return 128==(128&i[2])}function lr(i,r){return null==r?null:i[r]}function ke(i){i[18]=0}function me(i,r){i[5]+=r;let s=i,m=i[3];for(;null!==m&&(1===r&&1===s[5]||-1===r&&0===s[5]);)m[5]+=r,s=m,m=m[3]}const oe={lFrame:Ii(null),bindingsEnabled:!0};function Eo(){return oe.bindingsEnabled}function On(){return oe.lFrame.lView}function Ni(){return oe.lFrame.tView}function br(i){return oe.lFrame.contextLView=i,i[8]}function fr(){let i=No();for(;null!==i&&64===i.type;)i=i.parent;return i}function No(){return oe.lFrame.currentTNode}function ro(i,r){const s=oe.lFrame;s.currentTNode=i,s.isParent=r}function Bo(){return oe.lFrame.isParent}function sr(){oe.lFrame.isParent=!1}function Vr(){const i=oe.lFrame;let r=i.bindingRootIndex;return-1===r&&(r=i.bindingRootIndex=i.tView.bindingStartIndex),r}function Oo(){return oe.lFrame.bindingIndex}function L(){return oe.lFrame.bindingIndex++}function B(i){const r=oe.lFrame,s=r.bindingIndex;return r.bindingIndex=r.bindingIndex+i,s}function gt(i,r){const s=oe.lFrame;s.bindingIndex=s.bindingRootIndex=i,Ut(r)}function Ut(i){oe.lFrame.currentDirectiveIndex=i}function rn(i){const r=oe.lFrame.currentDirectiveIndex;return-1===r?null:i[r]}function Dn(){return oe.lFrame.currentQueryIndex}function $n(i){oe.lFrame.currentQueryIndex=i}function hi(i){const r=i[1];return 2===r.type?r.declTNode:1===r.type?i[6]:null}function Ci(i,r,s){if(s&Pn.SkipSelf){let v=r,S=i;for(;!(v=v.parent,null!==v||s&Pn.Host||(v=hi(S),null===v||(S=S[15],10&v.type))););if(null===v)return!1;r=v,i=S}const m=oe.lFrame=_i();return m.currentTNode=r,m.lView=i,!0}function Ui(i){const r=_i(),s=i[1];oe.lFrame=r,r.currentTNode=s.firstChild,r.lView=i,r.tView=s,r.contextLView=i,r.bindingIndex=s.bindingStartIndex,r.inI18n=!1}function _i(){const i=oe.lFrame,r=null===i?null:i.child;return null===r?Ii(i):r}function Ii(i){const r={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:i,child:null,inI18n:!1};return null!==i&&(i.child=r),r}function er(){const i=oe.lFrame;return oe.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const Fr=er;function Ar(){const i=er();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function Lr(){return oe.lFrame.selectedIndex}function Nr(i){oe.lFrame.selectedIndex=i}function Di(){const i=oe.lFrame;return ir(i.tView,i.selectedIndex)}function yo(){oe.lFrame.currentNamespace="svg"}function Or(){!function Io(){oe.lFrame.currentNamespace=null}()}function lo(i,r){for(let s=r.directiveStart,m=r.directiveEnd;s=m)break}else r[le]<0&&(i[18]+=65536),($>11>16&&(3&i[2])===r){i[2]+=2048;try{S.call($)}finally{}}}else try{S.call($)}finally{}}class ie{constructor(r,s,m){this.factory=r,this.resolving=!1,this.canSeeViewProviders=s,this.injectImpl=m}}function wi(i,r,s){const m=$i(i);let v=0;for(;vr){F=S-1;break}}}for(;S>16}(i),m=r;for(;s>0;)m=m[15],s--;return m}let Ms=!0;function Br(i){const r=Ms;return Ms=i,r}let D=0;function P(i,r){const s=Ee(i,r);if(-1!==s)return s;const m=r[1];m.firstCreatePass&&(i.injectorIndex=r.length,J(m.data,i),J(r,null),J(m.blueprint,null));const v=ze(i,r),S=i.injectorIndex;if(so(v)){const F=is(v),$=zo(v,r),le=$[1].data;for(let Le=0;Le<8;Le++)r[S+Le]=$[F+Le]|le[F+Le]}return r[S+8]=v,S}function J(i,r){i.push(0,0,0,0,0,0,0,0,r)}function Ee(i,r){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===r[i.injectorIndex+8]?-1:i.injectorIndex}function ze(i,r){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let s=0,m=null,v=r;for(;null!==v;){const S=v[1],F=S.type;if(m=2===F?S.declTNode:1===F?v[6]:null,null===m)return-1;if(s++,v=v[15],-1!==m.injectorIndex)return m.injectorIndex|s<<16}return-1}function At(i,r,s){!function M(i,r,s){let m;"string"==typeof s?m=s.charCodeAt(0)||0:s.hasOwnProperty(j)&&(m=s[j]),null==m&&(m=s[j]=D++);const v=255&m;r.data[i+(v>>5)]|=1<=0?255&r:Wi:r}(s);if("function"==typeof S){if(!Ci(r,i,m))return m&Pn.Host?vn(v,s,m):An(r,s,m,v);try{const F=S(m);if(null!=F||m&Pn.Optional)return F;se(s)}finally{Fr()}}else if("number"==typeof S){let F=null,$=Ee(i,r),le=-1,Le=m&Pn.Host?r[16][6]:null;for((-1===$||m&Pn.SkipSelf)&&(le=-1===$?ze(i,r):r[$+8],-1!==le&&Qs(m,!1)?(F=r[1],$=is(le),r=zo(le,r)):$=-1);-1!==$;){const Qe=r[1];if(fa(S,$,Qe.data)){const St=gr($,r,s,F,m,Le);if(St!==ai)return St}le=r[$+8],-1!==le&&Qs(m,r[1].data[$+8]===Le)&&fa(S,$,r)?(F=Qe,$=is(le),r=zo(le,r)):$=-1}}}return An(r,s,m,v)}const ai={};function Wi(){return new rs(fr(),On())}function gr(i,r,s,m,v,S){const F=r[1],$=F.data[i+8],Qe=tr($,F,s,null==m?Dr($)&&Ms:m!=F&&0!=(3&$.type),v&Pn.Host&&S===$);return null!==Qe?Si(r,F,Qe,$):ai}function tr(i,r,s,m,v){const S=i.providerIndexes,F=r.data,$=1048575&S,le=i.directiveStart,Qe=S>>20,Gt=v?$+Qe:i.directiveEnd;for(let ln=m?$:$+Qe;ln=le&&En.type===s)return ln}if(v){const ln=F[le];if(ln&&fi(ln)&&ln.type===s)return le}return null}function Si(i,r,s,m){let v=i[s];const S=r.data;if(function Ue(i){return i instanceof ie}(v)){const F=v;F.resolving&&function ue(i,r){const s=r?`. Dependency path: ${r.join(" > ")} > ${i}`:"";throw new q(-200,`Circular dependency in DI detected for ${i}${s}`)}(ne(S[s]));const $=Br(F.canSeeViewProviders);F.resolving=!0;const le=F.injectImpl?rt(F.injectImpl):null;Ci(i,m,Pn.Default);try{v=i[s]=F.factory(void 0,S,i,m),r.firstCreatePass&&s>=m.directiveStart&&function So(i,r,s){const{ngOnChanges:m,ngOnInit:v,ngDoCheck:S}=r.type.prototype;if(m){const F=vo(r);(s.preOrderHooks||(s.preOrderHooks=[])).push(i,F),(s.preOrderCheckHooks||(s.preOrderCheckHooks=[])).push(i,F)}v&&(s.preOrderHooks||(s.preOrderHooks=[])).push(0-i,v),S&&((s.preOrderHooks||(s.preOrderHooks=[])).push(i,S),(s.preOrderCheckHooks||(s.preOrderCheckHooks=[])).push(i,S))}(s,S[s],r)}finally{null!==le&&rt(le),Br($),F.resolving=!1,Fr()}}return v}function fa(i,r,s){return!!(s[r+(i>>5)]&1<{const r=i.prototype.constructor,s=r[Se]||ja(r),m=Object.prototype;let v=Object.getPrototypeOf(i.prototype).constructor;for(;v&&v!==m;){const S=v[Se]||ja(v);if(S&&S!==s)return S;v=Object.getPrototypeOf(v)}return S=>new S})}function ja(i){return O(i)?()=>{const r=ja(z(i));return r&&r()}:Gr(i)}function ga(i){return function cn(i,r){if("class"===r)return i.classes;if("style"===r)return i.styles;const s=i.attrs;if(s){const m=s.length;let v=0;for(;v{const m=Xs(r);function v(...S){if(this instanceof v)return m.apply(this,S),this;const F=new v(...S);return $.annotation=F,$;function $(le,Le,Qe){const St=le.hasOwnProperty(Ss)?le[Ss]:Object.defineProperty(le,Ss,{value:[]})[Ss];for(;St.length<=Qe;)St.push(null);return(St[Qe]=St[Qe]||[]).push(F),le}}return s&&(v.prototype=Object.create(s.prototype)),v.prototype.ngMetadataName=i,v.annotationCls=v,v})}function xs(i,r,s,m){return he(()=>{const v=Xs(r);function S(...F){if(this instanceof S)return v.apply(this,F),this;const $=new S(...F);return function le(Le,Qe){const St=Le.constructor,Gt=St.hasOwnProperty(Bs)?St[Bs]:Object.defineProperty(St,Bs,{value:{}})[Bs];Gt[Qe]=Gt.hasOwnProperty(Qe)&&Gt[Qe]||[],Gt[Qe].unshift($),m&&m(Le,Qe,...F)}}return s&&(S.prototype=Object.create(s.prototype)),S.prototype.ngMetadataName=i,S.annotationCls=S,S})}class zr{constructor(r,s){this._desc=r,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof s?this.__NG_ELEMENT_ID__=s:void 0!==s&&(this.\u0275prov=Pt({token:this,providedIn:s.providedIn||"root",factory:s.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Ha=new zr("AnalyzeForEntryComponents");class Us{}const Ya=xs("ContentChild",(i,r={})=>Object.assign({selector:i,first:!0,isViewQuery:!1,descendants:!0},r),Us),Ga=xs("ViewChild",(i,r)=>Object.assign({selector:i,first:!0,isViewQuery:!0,descendants:!0},r),Us),js=Function;function ks(i){return"function"==typeof i}function Uo(i,r){void 0===r&&(r=i);for(let s=0;sArray.isArray(s)?Zo(s,r):r(s))}function va(i,r,s){r>=i.length?i.push(s):i.splice(r,0,s)}function Yo(i,r){return r>=i.length-1?i.pop():i.splice(r,1)[0]}function hs(i,r){const s=[];for(let m=0;m=0?i[1|m]=s:(m=~m,function Wa(i,r,s,m){let v=i.length;if(v==r)i.push(s,m);else if(1===v)i.push(m,i[0]),i[0]=s;else{for(v--,i.push(i[v-1],i[v]);v>r;)i[v]=i[v-2],v--;i[r]=s,i[r+1]=m}}(i,m,r,s)),m}function _r(i,r){const s=As(i,r);if(s>=0)return i[1|s]}function As(i,r){return function Hs(i,r,s){let m=0,v=i.length>>s;for(;v!==m;){const S=m+(v-m>>1),F=i[S<r?v=S:m=S+1}return~(v<new r(...s)}_zipTypesAndAnnotations(r,s){let m;m=hs(void 0===r?s.length:r.length);for(let v=0;vQe&&Qe.type),Le=$.map(Qe=>Qe&&Tl(Qe.decorators));return this._zipTypesAndAnnotations(le,Le)}const S=r.hasOwnProperty(Ss)&&r[Ss],F=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",r);return F||S?this._zipTypesAndAnnotations(F,S):hs(r.length)}parameters(r){if(!ks(r))return[];const s=Za(r);let m=this._ownParameters(r,s);return!m&&s!==Object&&(m=this.parameters(s)),m||[]}_ownAnnotations(r,s){if(r.annotations&&r.annotations!==s.annotations){let m=r.annotations;return"function"==typeof m&&m.annotations&&(m=m.annotations),m}return r.decorators&&r.decorators!==s.decorators?Tl(r.decorators):r.hasOwnProperty(Ns)?r[Ns]:null}annotations(r){if(!ks(r))return[];const s=Za(r),m=this._ownAnnotations(r,s)||[];return(s!==Object?this.annotations(s):[]).concat(m)}_ownPropMetadata(r,s){if(r.propMetadata&&r.propMetadata!==s.propMetadata){let m=r.propMetadata;return"function"==typeof m&&m.propMetadata&&(m=m.propMetadata),m}if(r.propDecorators&&r.propDecorators!==s.propDecorators){const m=r.propDecorators,v={};return Object.keys(m).forEach(S=>{v[S]=Tl(m[S])}),v}return r.hasOwnProperty(Bs)?r[Bs]:null}propMetadata(r){if(!ks(r))return{};const s=Za(r),m={};if(s!==Object){const S=this.propMetadata(s);Object.keys(S).forEach(F=>{m[F]=S[F]})}const v=this._ownPropMetadata(r,s);return v&&Object.keys(v).forEach(S=>{const F=[];m.hasOwnProperty(S)&&F.push(...m[S]),F.push(...v[S]),m[S]=F}),m}ownPropMetadata(r){return ks(r)&&this._ownPropMetadata(r,Za(r))||{}}hasLifecycleHook(r,s){return r instanceof js&&s in r.prototype}guards(r){return{}}getter(r){return new Function("o","return o."+r+";")}setter(r){return new Function("o","v","return o."+r+" = v;")}method(r){return new Function("o","args",`if (!o.${r}) throw new Error('"${r}" is undefined');\n return o.${r}.apply(o, args);`)}importUri(r){return"object"==typeof r&&r.filePath?r.filePath:`./${k(r)}`}resourceUri(r){return`./${k(r)}`}resolveIdentifier(r,s,m,v){return v}resolveEnum(r,s){return r[s]}}function Tl(i){return i?i.map(r=>new(0,r.type.annotationCls)(...r.args?r.args:[])):[]}function Za(i){const r=i.prototype?Object.getPrototypeOf(i.prototype):null;return(r?r.constructor:null)||Object}const os={},Ys="__NG_DI_FLAG__",Gs="ngTempTokenPath",na=/\n/gm,wa="__source",es=g({provide:String,useValue:g});let Es;function Ta(i){const r=Es;return Es=i,r}function qa(i,r=Pn.Default){if(void 0===Es)throw new q(203,"");return null===Es?G(i,void 0,r):Es.get(i,r&Pn.Optional?null:void 0,r)}function po(i,r=Pn.Default){return(function Kt(){return kn}()||qa)(z(i),r)}const Sa=po;function ia(i){const r=[];for(let s=0;s({token:i})),-1),Os=Ps(us("Optional"),8),ra=Ps(us("Self"),2),ms=Ps(us("SkipSelf"),4);var Fe=(()=>((Fe=Fe||{})[Fe.Important=1]="Important",Fe[Fe.DashCase=2]="DashCase",Fe))();const Wt="__ngContext__";function dn(i,r){i[Wt]=r}function on(i){const r=function Ht(i){return i[Wt]||null}(i);return r?Array.isArray(r)?r:r.lView:null}function zi(i,r){return undefined(i,r)}function Kn(i){const r=i[3];return qi(r)?r[3]:r}function ed(i){return nu(i[13])}function td(i){return nu(i[4])}function nu(i){for(;null!==i&&!qi(i);)i=i[4];return i}function Ml(i,r,s,m,v){if(null!=m){let S,F=!1;qi(m)?S=m:Pi(m)&&(F=!0,m=m[0]);const $=Te(m);0===i&&null!==s?null==v?au(r,s,$):gl(r,s,$,v||null,!0):1===i&&null!==s?gl(r,s,$,v||null,!0):2===i?function ad(i,r,s){const m=oc(i,r);m&&function up(i,r,s,m){$i(i)?i.removeChild(r,s,m):r.removeChild(s)}(i,m,r,s)}(r,$,F):3===i&&r.destroyNode($),null!=S&&function fp(i,r,s,m,v){const S=s[7];S!==Te(s)&&Ml(r,i,m,S,v);for(let $=W;$0&&(i[s-1][4]=m[4]);const S=Yo(i,W+r);!function tp(i,r){Ol(i,r,r[11],2,null,null),r[0]=null,r[6]=null}(m[1],m);const F=S[19];null!==F&&F.detachView(S[1]),m[3]=null,m[4]=null,m[2]&=-129}return m}function lp(i,r){if(!(256&r[2])){const s=r[11];$i(s)&&s.destroyNode&&Ol(i,r,s,3,null,null),function rp(i){let r=i[13];if(!r)return rd(i[1],i);for(;r;){let s=null;if(Pi(r))s=r[13];else{const m=r[W];m&&(s=m)}if(!s){for(;r&&!r[4]&&r!==i;)Pi(r)&&rd(r[1],r),r=r[3];null===r&&(r=i),Pi(r)&&rd(r[1],r),s=r&&r[4]}r=s}}(r)}}function rd(i,r){if(!(256&r[2])){r[2]&=-129,r[2]|=256,function dp(i,r){let s;if(null!=i&&null!=(s=i.destroyHooks))for(let m=0;m=0?m[v=Le]():m[v=-Le].unsubscribe(),S+=2}else{const F=m[v=s[S+1]];s[S].call(F)}if(null!==m){for(let S=v+1;Si,createScript:i=>i,createScriptURL:i=>i})}catch(i){}return lc}())||void 0===r?void 0:r.createHTML(i))||i}function ud(){if(void 0===cc&&(cc=null,In.trustedTypes))try{cc=In.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch(i){}return cc}function fu(i){var r;return(null===(r=ud())||void 0===r?void 0:r.createHTML(i))||i}function _u(i){var r;return(null===(r=ud())||void 0===r?void 0:r.createScriptURL(i))||i}class vl{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Cp extends vl{getTypeName(){return"HTML"}}class vu extends vl{getTypeName(){return"Style"}}class hd extends vl{getTypeName(){return"Script"}}class bp extends vl{getTypeName(){return"URL"}}class wp extends vl{getTypeName(){return"ResourceURL"}}function Aa(i){return i instanceof vl?i.changingThisBreaksApplicationSecurity:i}function Sl(i,r){const s=yu(i);if(null!=s&&s!==r){if("ResourceURL"===s&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${s} (see https://g.co/ng/security#xss)`)}return s===r}function yu(i){return i instanceof vl&&i.getTypeName()||null}function Tp(i){return new Cp(i)}function Mp(i){return new vu(i)}function Sp(i){return new hd(i)}function xp(i){return new bp(i)}function Dp(i){return new wp(i)}class kp{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const s=(new window.DOMParser).parseFromString(_l(r),"text/html").body;return null===s?this.inertDocumentHelper.getInertBodyElement(r):(s.removeChild(s.firstChild),s)}catch(s){return null}}}class Ap{constructor(r){if(this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const s=this.inertDocument.createElement("html");this.inertDocument.appendChild(s);const m=this.inertDocument.createElement("body");s.appendChild(m)}}getInertBodyElement(r){const s=this.inertDocument.createElement("template");if("content"in s)return s.innerHTML=_l(r),s;const m=this.inertDocument.createElement("body");return m.innerHTML=_l(r),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(m),m}stripCustomNsAttrs(r){const s=r.attributes;for(let v=s.length-1;0Il(r.trim())).join(", ")),this.buf.push(" ",F,'="',xu(le),'"')}var i;return this.buf.push(">"),!0}endElement(r){const s=r.nodeName.toLowerCase();pd.hasOwnProperty(s)&&!wu.hasOwnProperty(s)&&(this.buf.push(""))}chars(r){this.buf.push(xu(r))}checkClobberedElement(r,s){if(s&&(r.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${r.outerHTML}`);return s}}const Lp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Rp=/([^\#-~ |!])/g;function xu(i){return i.replace(/&/g,"&").replace(Lp,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(Rp,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let dc;function Du(i,r){let s=null;try{dc=dc||function Cu(i){const r=new Ap(i);return function Ep(){try{return!!(new window.DOMParser).parseFromString(_l(""),"text/html")}catch(i){return!1}}()?new kp(r):r}(i);let m=r?String(r):"";s=dc.getInertBodyElement(m);let v=5,S=m;do{if(0===v)throw new Error("Failed to sanitize html because the input is unstable");v--,m=S,S=s.innerHTML,s=dc.getInertBodyElement(m)}while(m!==S);return _l((new Fp).sanitizeChildren(ku(s)||s))}finally{if(s){const m=ku(s)||s;for(;m.firstChild;)m.removeChild(m.firstChild)}}}function ku(i){return"content"in i&&function ng(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var Lo=(()=>((Lo=Lo||{})[Lo.NONE=0]="NONE",Lo[Lo.HTML=1]="HTML",Lo[Lo.STYLE=2]="STYLE",Lo[Lo.SCRIPT=3]="SCRIPT",Lo[Lo.URL=4]="URL",Lo[Lo.RESOURCE_URL=5]="RESOURCE_URL",Lo))();function Au(i){const r=el();return r?fu(r.sanitize(Lo.HTML,i)||""):Sl(i,"HTML")?fu(Aa(i)):Du(io(),V(i))}function Eu(i){const r=el();return r?r.sanitize(Lo.URL,i)||"":Sl(i,"URL")?Aa(i):Il(V(i))}function Pu(i){const r=el();if(r)return _u(r.sanitize(Lo.RESOURCE_URL,i)||"");if(Sl(i,"ResourceURL"))return _u(Aa(i));throw new q(904,"")}function el(){const i=On();return i&&i[12]}const gd="ngOriginalError";function Iu(i){return i[gd]}function sg(i,...r){i.error(...r)}class _d{constructor(){this._console=console}handleError(r){const s=this._findOriginalError(r),m=function Yp(i){return i&&i.ngErrorLogger||sg}(r);m(this._console,"ERROR",r),s&&m(this._console,"ORIGINAL ERROR",s)}_findOriginalError(r){let s=r&&Iu(r);for(;s&&Iu(s);)s=Iu(s);return s||null}}const Zp=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(In))();function Fu(i){return i.ownerDocument.defaultView}function Lu(i){return i.ownerDocument}function la(i){return i instanceof Function?i():i}function Nl(i,r,s){let m=i.length;for(;;){const v=i.indexOf(r,s);if(-1===v)return v;if(0===v||i.charCodeAt(v-1)<=32){const S=r.length;if(v+S===m||i.charCodeAt(v+S)<=32)return v}s=v+1}}const mc="ng-template";function cg(i,r,s){let m=0;for(;mS?"":v[St+1].toLowerCase();const ln=8&m?Gt:null;if(ln&&-1!==Nl(ln,Le,0)||2&m&&Le!==Gt){if(zs(m))return!1;F=!0}}}}else{if(!F&&!zs(m)&&!zs(le))return!1;if(F&&zs(le))continue;F=!1,m=le|1&m}}return zs(m)||F}function zs(i){return 0==(1&i)}function Nu(i,r,s,m){if(null===r)return-1;let v=0;if(m||!s){let S=!1;for(;v-1)for(s++;s0?'="'+$+'"':"")+"]"}else 8&m?v+="."+F:4&m&&(v+=" "+F);else""!==v&&!zs(F)&&(r+=gc(S,v),v=""),m=F,S=S||!zs(m);s++}return""!==v&&(r+=gc(S,v)),r}const Qi={};function Hu(i){vd(Ni(),On(),Lr()+i,!1)}function vd(i,r,s,m){if(!m)if(3==(3&r[2])){const S=i.preOrderCheckHooks;null!==S&&Wo(r,S,s)}else{const S=i.preOrderHooks;null!==S&&ci(r,S,0,s)}Nr(s)}function kl(i,r){return i<<17|r<<2}function Zs(i){return i>>17&32767}function vc(i){return 2|i}function Pa(i){return(131068&i)>>2}function Bl(i,r){return-131069&i|r<<2}function Cc(i){return 1|i}function Qu(i,r){const s=i.contentQueries;if(null!==s)for(let m=0;m20&&vd(i,r,20,!1),s(m,v)}finally{Nr(S)}}function eh(i,r,s){if(Pr(r)){const v=r.directiveEnd;for(let S=r.directiveStart;S0;){const s=i[--r];if("number"==typeof s&&s<0)return s}return 0})($)!=le&&$.push(le),$.push(m,v,F)}}function dh(i,r){null!==i.hostBindings&&i.hostBindings(1,r)}function uh(i,r){r.flags|=2,(i.components||(i.components=[])).push(r.index)}function hm(i,r,s){if(s){if(r.exportAs)for(let m=0;m0&&mh(s)}}function mh(i){for(let m=ed(i);null!==m;m=td(m))for(let v=W;v0&&mh(S)}const s=i[1].components;if(null!==s)for(let m=0;m0&&mh(v)}}function fm(i,r){const s=ui(r,i),m=s[1];(function xg(i,r){for(let s=r.length;sPromise.resolve(null))();function gm(i){return i[7]||(i[7]=[])}function _m(i){return i.cleanup||(i.cleanup=[])}function gh(i,r,s){return(null===i||fi(i))&&(s=function at(i){for(;Array.isArray(i);){if("object"==typeof i[1])return i;i=i[0]}return null}(s[r.index])),s[11]}function ws(i,r){const s=i[9],m=s?s.get(_d,null):null;m&&m.handleError(r)}function Pd(i,r,s,m,v){for(let S=0;Sthis.processProvider($,r,s)),Zo([r],$=>this.processInjectorType($,[],S)),this.records.set(Od,Cl(void 0,this));const F=this.records.get(_h);this.scope=null!=F?F.value:null,this.source=v||("object"==typeof r?null:k(r))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(r=>r.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(r,s=os,m=Pn.Default){this.assertNotDestroyed();const v=Ta(this),S=rt(void 0);try{if(!(m&Pn.SkipSelf)){let $=this.records.get(r);if(void 0===$){const le=function xh(i){return"function"==typeof i||"object"==typeof i&&i instanceof zr}(r)&&dt(r);$=le&&this.injectableDefInScope(le)?Cl(Ch(r),Wl):null,this.records.set(r,$)}if(null!=$)return this.hydrate(r,$)}return(m&Pn.Self?Cm():this.parent).get(r,s=m&Pn.Optional&&s===os?null:s)}catch(F){if("NullInjectorError"===F.name){if((F[Gs]=F[Gs]||[]).unshift(k(r)),v)throw F;return function Ka(i,r,s,m){const v=i[Gs];throw r[wa]&&v.unshift(r[wa]),i.message=function Qa(i,r,s,m=null){i=i&&"\n"===i.charAt(0)&&"\u0275"==i.charAt(1)?i.substr(2):i;let v=k(r);if(Array.isArray(r))v=r.map(k).join(" -> ");else if("object"==typeof r){let S=[];for(let F in r)if(r.hasOwnProperty(F)){let $=r[F];S.push(F+":"+("string"==typeof $?JSON.stringify($):k($)))}v=`{${S.join(", ")}}`}return`${s}${m?"("+m+")":""}[${v}]: ${i.replace(na,"\n ")}`}("\n"+i.message,v,s,m),i.ngTokenPath=v,i[Gs]=null,i}(F,r,"R3InjectorError",this.source)}throw F}finally{rt(S),Ta(v)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(r=>this.get(r))}toString(){const r=[];return this.records.forEach((m,v)=>r.push(k(v))),`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new q(205,!1)}processInjectorType(r,s,m){if(!(r=z(r)))return!1;let v=pt(r);const S=null==v&&r.ngModule||void 0,F=void 0===S?r:S,$=-1!==m.indexOf(F);if(void 0!==S&&(v=pt(S)),null==v)return!1;if(null!=v.imports&&!$){let Qe;m.push(F);try{Zo(v.imports,St=>{this.processInjectorType(St,s,m)&&(void 0===Qe&&(Qe=[]),Qe.push(St))})}finally{}if(void 0!==Qe)for(let St=0;Stthis.processProvider(En,Gt,ln||Tn))}}this.injectorDefTypes.add(F);const le=Gr(F)||(()=>new F);this.records.set(F,Cl(le,Wl));const Le=v.providers;if(null!=Le&&!$){const Qe=r;Zo(Le,St=>this.processProvider(St,Qe,Le))}return void 0!==S&&void 0!==r.providers}processProvider(r,s,m){let v=ha(r=z(r))?r:z(r&&r.provide);const S=function wm(i,r,s){return bh(i)?Cl(void 0,i.useValue):Cl(Tm(i),Wl)}(r);if(ha(r)||!0!==r.multi)this.records.get(v);else{let F=this.records.get(v);F||(F=Cl(void 0,Wl,!0),F.factory=()=>ia(F.multi),this.records.set(v,F)),v=r,F.multi.push(r)}this.records.set(v,S)}hydrate(r,s){return s.value===Wl&&(s.value=ym,s.value=s.factory()),"object"==typeof s.value&&s.value&&function Sh(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(s.value)&&this.onDestroy.add(s.value),s.value}injectableDefInScope(r){if(!r.providedIn)return!1;const s=z(r.providedIn);return"string"==typeof s?"any"===s||s===this.scope:this.injectorDefTypes.has(s)}}function Ch(i){const r=dt(i),s=null!==r?r.factory:Gr(i);if(null!==s)return s;if(i instanceof zr)throw new q(204,!1);if(i instanceof Function)return function Fc(i){const r=i.length;if(r>0)throw hs(r,"?"),new q(204,!1);const s=function Je(i){const r=i&&(i[Ft]||i[un]);if(r){const s=function kt(i){if(i.hasOwnProperty("name"))return i.name;const r=(""+i).match(/^function\s*([^\s(]+)/);return null===r?"":r[1]}(i);return console.warn(`DEPRECATED: DI is instantiating a token "${s}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${s}" class.`),r}return null}(i);return null!==s?()=>s.factory(i):()=>new i}(i);throw new q(204,!1)}function Tm(i,r,s){let m;if(ha(i)){const v=z(i);return Gr(v)||Ch(v)}if(bh(i))m=()=>z(i.useValue);else if(function bl(i){return!(!i||!i.useFactory)}(i))m=()=>i.useFactory(...ia(i.deps||[]));else if(function wh(i){return!(!i||!i.useExisting)}(i))m=()=>po(z(i.useExisting));else{const v=z(i&&(i.useClass||i.provide));if(!function Mh(i){return!!i.deps}(i))return Gr(v)||Ch(v);m=()=>new v(...ia(i.deps))}return m}function Cl(i,r,s=!1){return{factory:i,value:r,multi:s?[]:void 0}}function bh(i){return null!==i&&"object"==typeof i&&es in i}function ha(i){return"function"==typeof i}let Ls=(()=>{class i{static create(s,m){var v;if(Array.isArray(s))return bm({name:""},m,s,"");{const S=null!==(v=s.name)&&void 0!==v?v:"";return bm({name:S},s.parent,s.providers,S)}}}return i.THROW_IF_NOT_FOUND=os,i.NULL=new Vl,i.\u0275prov=Pt({token:i,providedIn:"any",factory:()=>po(Od)}),i.__NG_ELEMENT_ID__=-1,i})();function ls(i,r){lo(on(i)[1],fr())}function wl(i){let r=function jo(i){return Object.getPrototypeOf(i.prototype).constructor}(i.type),s=!0;const m=[i];for(;r;){let v;if(fi(i))v=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new q(903,"");v=r.\u0275dir}if(v){if(s){m.push(v);const F=i;F.inputs=Rd(i.inputs),F.declaredInputs=Rd(i.declaredInputs),F.outputs=Rd(i.outputs);const $=v.hostBindings;$&&Ig(i,$);const le=v.viewQuery,Le=v.contentQueries;if(le&&xm(i,le),Le&&Nd(i,Le),b(i.inputs,v.inputs),b(i.declaredInputs,v.declaredInputs),b(i.outputs,v.outputs),fi(v)&&v.data.animation){const Qe=i.data;Qe.animation=(Qe.animation||[]).concat(v.data.animation)}}const S=v.features;if(S)for(let F=0;F=0;m--){const v=i[m];v.hostVars=r+=v.hostVars,v.hostAttrs=qr(v.hostAttrs,s=qr(s,v.hostAttrs))}}(m)}function Rd(i){return i===Jn?{}:i===Tn?[]:i}function xm(i,r){const s=i.viewQuery;i.viewQuery=s?(m,v)=>{r(m,v),s(m,v)}:r}function Nd(i,r){const s=i.contentQueries;i.contentQueries=s?(m,v,S)=>{r(m,v,S),s(m,v,S)}:r}function Ig(i,r){const s=i.hostBindings;i.hostBindings=s?(m,v)=>{r(m,v),s(m,v)}:r}let Rs=null;function pa(){if(!Rs){const i=In.Symbol;if(i&&i.iterator)Rs=i.iterator;else{const r=Object.getOwnPropertyNames(Map.prototype);for(let s=0;s1?" ("+function c0(i){const r=[];for(let s=0;s-1)return r.push(i[s]),r;r.push(i[s])}return r}(i.slice().reverse()).map(m=>k(m.token)).join(" -> ")+")":""}function Pm(i,r,s,m){const v=[r],S=s(v),F=m?function og(i,r){const s=`${i} caused by: ${r instanceof Error?r.message:r}`,m=Error(s);return m[gd]=r,m}(S,m):Error(S);return F.addKey=d0,F.keys=v,F.injectors=[i],F.constructResolvingMessage=s,F[gd]=m,F}function d0(i,r){this.injectors.push(i),this.keys.push(r),this.message=this.constructResolvingMessage(this.keys)}function $g(i,r){const s=[];for(let m=0,v=r.length;mm,s=[Ph.fromKey(Pl.get(i.useExisting))]):i.useFactory?(r=i.useFactory,s=function S0(i,r){if(r){const s=r.map(m=>[m]);return r.map(m=>e_(i,m,s))}return Xg(i)}(i.useFactory,i.deps)):(r=()=>i.useValue,s=y0);return new C0(r,s)}function w0(i){return new Kg(Pl.get(i.provide),[b0(i)],i.multi||!1)}function T0(i){const m=function M0(i,r){for(let s=0;s{if(s instanceof js)r.push({provide:s,useClass:s});else if(s&&"object"==typeof s&&void 0!==s.provide)r.push(s);else{if(!Array.isArray(s))throw function m0(i){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${i}`)}(s);Qg(s,r)}}),r}function Xg(i){const r=Jg.parameters(i);if(!r)return[];if(r.some(s=>null==s))throw $g(i,r);return r.map(s=>e_(i,s,r))}function e_(i,r,s){let m=null,v=!1;if(!Array.isArray(r))return Om(r instanceof $o?r.token:r,v,null);let S=null;for(let F=0;F{class i{constructor(s,m){this._constructionCounter=0,this._providers=s,this.parent=m||null;const v=s.length;this.keyIds=[],this.objs=[];for(let S=0;S=this._providers.length)throw function f0(i){return Error(`Index ${i} is out-of-bounds.`)}(s);return this._providers[s]}_new(s){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function h0(i,r){return Pm(i,r,function(s){return`Cannot instantiate cyclic dependency!${Em(s)}`})}(this,s.key);return this._instantiateProvider(s)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(s){if(s.multiProvider){const m=[];for(let v=0;vthis._getByReflectiveDependency($))}catch($){throw $.addKey&&$.addKey(this,s.key),$}try{F=v(...S)}catch($){throw function p0(i,r,s,m){return Pm(i,m,function(v){const S=k(v[0].token);return`${r.message}: Error during instantiation of ${S}!${Em(v)}.`},r)}(this,$,0,s.key)}return F}_getByReflectiveDependency(s){return this._getByKey(s.key,s.visibility,s.optional?null:os)}_getByKey(s,m,v){return s===i.INJECTOR_KEY?this:m instanceof ra?this._getByKeySelf(s,v):this._getByKeyDefault(s,v,m)}_getObjByKeyId(s){for(let m=0;m' "'+m.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return i.INJECTOR_KEY=Pl.get(Ls),i})();function Yd(i,r=Pn.Default){const s=On();return null===s?po(i,r):Rn(fr(),s,z(i),r)}function t_(){throw new Error("invalid")}function Im(i,r,s){const m=On();return ds(m,L(),r)&&bs(Ni(),Di(),m,i,r,m[11],s,!1),Im}function Fm(i,r,s,m,v){const F=v?"class":"style";Pd(i,s,r.inputs[F],F,m)}function Oh(i,r,s,m){const v=On(),S=Ni(),F=20+i,$=v[11],le=v[F]=id($,r,function ho(){return oe.lFrame.currentNamespace}()),Le=S.firstCreatePass?function k0(i,r,s,m,v,S,F){const $=r.consts,Le=Al(r,i,2,v,lr($,S));return Ac(r,s,Le,lr($,F)),null!==Le.attrs&&Ic(Le,Le.attrs,!1),null!==Le.mergedAttrs&&Ic(Le,Le.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,Le),Le}(F,S,v,0,r,s,m):S.data[F];ro(Le,!0);const Qe=Le.mergedAttrs;null!==Qe&&wi($,le,Qe);const St=Le.classes;null!==St&&cd($,le,St);const Gt=Le.styles;return null!==Gt&&mu($,le,Gt),64!=(64&Le.flags)&&sc(S,v,le,Le),0===function ni(){return oe.lFrame.elementDepthCount}()&&dn(le,v),function cr(){oe.lFrame.elementDepthCount++}(),Ji(Le)&&(xc(S,v,Le),eh(S,Le,v)),null!==m&&Md(v,Le),Oh}function Ih(){let i=fr();Bo()?sr():(i=i.parent,ro(i,!1));const r=i;!function Cr(){oe.lFrame.elementDepthCount--}();const s=Ni();return s.firstCreatePass&&(lo(s,i),Pr(i)&&s.queries.elementEnd(i)),null!=r.classesWithoutHost&&function gn(i){return 0!=(16&i.flags)}(r)&&Fm(s,r,On(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function pn(i){return 0!=(32&i.flags)}(r)&&Fm(s,r,On(),r.stylesWithoutHost,!1),Ih}function Lm(i,r,s,m){return Oh(i,r,s,m),Ih(),Lm}function Fh(i,r,s){const m=On(),v=Ni(),S=i+20,F=v.firstCreatePass?function A0(i,r,s,m,v){const S=r.consts,F=lr(S,m),$=Al(r,i,8,"ng-container",F);return null!==F&&Ic($,F,!0),Ac(r,s,$,lr(S,v)),null!==r.queries&&r.queries.elementStart(r,$),$}(S,v,m,r,s):v.data[S];ro(F,!0);const $=m[S]=m[11].createComment("");return sc(v,m,$,F),dn($,m),Ji(F)&&(xc(v,m,F),eh(v,F,m)),null!=s&&Md(m,F),Fh}function Lh(){let i=fr();const r=Ni();return Bo()?sr():(i=i.parent,ro(i,!1)),r.firstCreatePass&&(lo(r,i),Pr(i)&&r.queries.elementEnd(i)),Lh}function Rm(i,r,s){return Fh(i,r,s),Lh(),Rm}function n_(){return On()}function Nm(i){return!!i&&"function"==typeof i.then}function i_(i){return!!i&&"function"==typeof i.subscribe}const r_=i_;function Bm(i,r,s,m){const v=On(),S=Ni(),F=fr();return o_(S,v,v[11],F,i,r,!!s,m),Bm}function Um(i,r){const s=fr(),m=On(),v=Ni();return o_(v,m,gh(rn(v.data),s,m),s,i,r,!1),Um}function o_(i,r,s,m,v,S,F,$){const le=Ji(m),Qe=i.firstCreatePass&&_m(i),St=r[8],Gt=gm(r);let ln=!0;if(3&m.type||$){const li=Mn(m,r),Ti=$?$(li):li,Bn=Gt.length,Bi=$?xr=>$(Te(xr[m.index])):m.index;if($i(s)){let xr=null;if(!$&&le&&(xr=function E0(i,r,s,m){const v=i.cleanup;if(null!=v)for(let S=0;Sle?$[le]:null}"string"==typeof F&&(S+=2)}return null}(i,r,v,m.index)),null!==xr)(xr.__ngLastListenerFn__||xr).__ngNextListenerFn__=S,xr.__ngLastListenerFn__=S,ln=!1;else{S=jm(m,r,St,S,!1);const $r=s.listen(Ti,v,S);Gt.push(S,$r),Qe&&Qe.push(v,Bi,Bn,Bn+1)}}else S=jm(m,r,St,S,!0),Ti.addEventListener(v,S,F),Gt.push(S),Qe&&Qe.push(v,Bi,Bn,F)}else S=jm(m,r,St,S,!1);const En=m.outputs;let Xn;if(ln&&null!==En&&(Xn=En[v])){const li=Xn.length;if(li)for(let Ti=0;Ti0;)r=r[15],i--;return r}(i,oe.lFrame.contextLView))[8]}(i)}function P0(i,r){let s=null;const m=function Dl(i){const r=i.attrs;if(null!=r){const s=r.indexOf(5);if(0==(1&s))return r[s+1]}return null}(i);for(let v=0;v=0}const qo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function __(i){return i.substring(qo.key,qo.keyEnd)}function v_(i,r){const s=qo.textEnd;return s===r?-1:(r=qo.keyEnd=function B0(i,r,s){for(;r32;)r++;return r}(i,qo.key=r,s),Wc(i,r,s))}function Wc(i,r,s){for(;r=0;s=v_(r,s))Co(i,__(r),!0)}function Na(i,r,s,m){const v=On(),S=Ni(),F=B(2);S.firstUpdatePass&&S_(S,i,F,m),r!==Qi&&ds(v,F,r)&&D_(S,S.data[Lr()],v,v[11],i,v[F+1]=function $0(i,r){return null==i||("string"==typeof r?i+=r:"object"==typeof i&&(i=k(Aa(i)))),i}(r,s),m,F)}function Ba(i,r,s,m){const v=Ni(),S=B(2);v.firstUpdatePass&&S_(v,null,S,m);const F=On();if(s!==Qi&&ds(F,S,s)){const $=v.data[Lr()];if(A_($,m)&&!M_(v,S)){let le=m?$.classesWithoutHost:$.stylesWithoutHost;null!==le&&(s=A(le,s||"")),Fm(v,$,F,s,m)}else!function Z0(i,r,s,m,v,S,F,$){v===Qi&&(v=Tn);let le=0,Le=0,Qe=0=i.expandoStartIndex}function S_(i,r,s,m){const v=i.data;if(null===v[s+1]){const S=v[Lr()],F=M_(i,s);A_(S,m)&&null===r&&!F&&(r=!1),r=function Y0(i,r,s,m){const v=rn(i);let S=m?r.residualClasses:r.residualStyles;if(null===v)0===(m?r.classBindings:r.styleBindings)&&(s=Gd(s=zm(null,i,r,s,m),r.attrs,m),S=null);else{const F=r.directiveStylingLast;if(-1===F||i[F]!==v)if(s=zm(v,i,r,s,m),null===S){let le=function G0(i,r,s){const m=s?r.classBindings:r.styleBindings;if(0!==Pa(m))return i[Zs(m)]}(i,r,m);void 0!==le&&Array.isArray(le)&&(le=zm(null,i,r,le[1],m),le=Gd(le,r.attrs,m),function V0(i,r,s,m){i[Zs(s?r.classBindings:r.styleBindings)]=m}(i,r,m,le))}else S=function W0(i,r,s){let m;const v=r.directiveEnd;for(let S=1+r.directiveStylingLast;S0)&&(Le=!0)}else Qe=s;if(v)if(0!==le){const Gt=Zs(i[$+1]);i[m+1]=kl(Gt,$),0!==Gt&&(i[Gt+1]=Bl(i[Gt+1],m)),i[$+1]=function Gu(i,r){return 131071&i|r<<17}(i[$+1],m)}else i[m+1]=kl($,0),0!==$&&(i[$+1]=Bl(i[$+1],m)),$=m;else i[m+1]=kl(le,0),0===$?$=m:i[le+1]=Bl(i[le+1],m),le=m;Le&&(i[m+1]=vc(i[m+1])),g_(i,Qe,m,!0),g_(i,Qe,m,!1),function I0(i,r,s,m,v){const S=v?i.residualClasses:i.residualStyles;null!=S&&"string"==typeof r&&As(S,r)>=0&&(s[m+1]=Cc(s[m+1]))}(r,Qe,i,m,S),F=kl($,le),S?r.classBindings=F:r.styleBindings=F}(v,S,r,s,F,m)}}function zm(i,r,s,m,v){let S=null;const F=s.directiveEnd;let $=s.directiveStylingLast;for(-1===$?$=s.directiveStart:$++;$0;){const le=i[v],Le=Array.isArray(le),Qe=Le?le[1]:le,St=null===Qe;let Gt=s[v+1];Gt===Qi&&(Gt=St?Tn:void 0);let ln=St?_r(Gt,m):Qe===m?Gt:void 0;if(Le&&!Nh(ln)&&(ln=_r(le,m)),Nh(ln)&&($=ln,F))return $;const En=i[v+1];v=F?Zs(En):Pa(En)}if(null!==r){let le=S?r.residualClasses:r.residualStyles;null!=le&&($=_r(le,m))}return $}function Nh(i){return void 0!==i}function A_(i,r){return 0!=(i.flags&(r?16:32))}function E_(i,r=""){const s=On(),m=Ni(),v=i+20,S=m.firstCreatePass?Al(m,v,1,r,null):m.data[v],F=s[v]=function nd(i,r){return $i(i)?i.createText(r):i.createTextNode(r)}(s[11],r);sc(m,s,F,S),ro(S,!1)}function Zm(i){return Bh("",i,""),Zm}function Bh(i,r,s){const m=On(),v=Rc(m,i,r,s);return v!==Qi&&il(m,Lr(),v),Bh}function $m(i,r,s,m,v){const S=On(),F=Nc(S,i,r,s,m,v);return F!==Qi&&il(S,Lr(),F),$m}function qm(i,r,s,m,v,S,F){const $=On(),le=function Bc(i,r,s,m,v,S,F,$){const Le=Eh(i,Oo(),s,v,F);return B(3),Le?r+V(s)+m+V(v)+S+V(F)+$:Qi}($,i,r,s,m,v,S,F);return le!==Qi&&il($,Lr(),le),qm}function Jm(i,r,s,m,v,S,F,$,le){const Le=On(),Qe=Uc(Le,i,r,s,m,v,S,F,$,le);return Qe!==Qi&&il(Le,Lr(),Qe),Jm}function R_(i,r,s){Ba(Co,sl,Rc(On(),i,r,s),!0)}function Km(i,r,s){const m=On();return ds(m,L(),r)&&bs(Ni(),Di(),m,i,r,m[11],s,!0),Km}function Qm(i,r,s){const m=On();if(ds(m,L(),r)){const S=Ni(),F=Di();bs(S,F,m,i,r,gh(rn(S.data),F,m),s,!0)}return Qm}const ql=void 0;var pC=["en",[["a","p"],["AM","PM"],ql],[["AM","PM"],ql,ql],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ql,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ql,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ql,"{1} 'at' {0}",ql],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function hC(i){const s=Math.floor(Math.abs(i)),m=i.toString().replace(/^[^.]*\.?/,"").length;return 1===s&&0===m?1:5}];let zc={};function Xm(i){const r=function mC(i){return i.toLowerCase().replace(/_/g,"-")}(i);let s=Z_(r);if(s)return s;const m=r.split("-")[0];if(s=Z_(m),s)return s;if("en"===m)return pC;throw new Error(`Missing locale data for the locale "${i}".`)}function z_(i){return Xm(i)[Yi.PluralCase]}function Z_(i){return i in zc||(zc[i]=In.ng&&In.ng.common&&In.ng.common.locales&&In.ng.common.locales[i]),zc[i]}var Yi=(()=>((Yi=Yi||{})[Yi.LocaleId=0]="LocaleId",Yi[Yi.DayPeriodsFormat=1]="DayPeriodsFormat",Yi[Yi.DayPeriodsStandalone=2]="DayPeriodsStandalone",Yi[Yi.DaysFormat=3]="DaysFormat",Yi[Yi.DaysStandalone=4]="DaysStandalone",Yi[Yi.MonthsFormat=5]="MonthsFormat",Yi[Yi.MonthsStandalone=6]="MonthsStandalone",Yi[Yi.Eras=7]="Eras",Yi[Yi.FirstDayOfWeek=8]="FirstDayOfWeek",Yi[Yi.WeekendRange=9]="WeekendRange",Yi[Yi.DateFormat=10]="DateFormat",Yi[Yi.TimeFormat=11]="TimeFormat",Yi[Yi.DateTimeFormat=12]="DateTimeFormat",Yi[Yi.NumberSymbols=13]="NumberSymbols",Yi[Yi.NumberFormats=14]="NumberFormats",Yi[Yi.CurrencyCode=15]="CurrencyCode",Yi[Yi.CurrencySymbol=16]="CurrencySymbol",Yi[Yi.CurrencyName=17]="CurrencyName",Yi[Yi.Currencies=18]="Currencies",Yi[Yi.Directionality=19]="Directionality",Yi[Yi.PluralCase=20]="PluralCase",Yi[Yi.ExtraData=21]="ExtraData",Yi))();const Uh="en-US";let $_=Uh;function nf(i,r,s,m,v){if(i=z(i),Array.isArray(i))for(let S=0;S>20;if(ha(i)||!i.multi){const ln=new ie(le,v,Yd),En=sf($,r,v?Qe:Qe+Gt,St);-1===En?(At(P(Le,F),S,$),rf(S,i,r.length),r.push($),Le.directiveStart++,Le.directiveEnd++,v&&(Le.providerIndexes+=1048576),s.push(ln),F.push(ln)):(s[En]=ln,F[En]=ln)}else{const ln=sf($,r,Qe+Gt,St),En=sf($,r,Qe,Qe+Gt),Xn=ln>=0&&s[ln],li=En>=0&&s[En];if(v&&!li||!v&&!Xn){At(P(Le,F),S,$);const Ti=function hb(i,r,s,m,v){const S=new ie(i,s,Yd);return S.multi=[],S.index=r,S.componentProviders=0,vv(S,v,m&&!s),S}(v?ub:db,s.length,v,m,le);!v&&li&&(s[En].providerFactory=Ti),rf(S,i,r.length,0),r.push($),Le.directiveStart++,Le.directiveEnd++,v&&(Le.providerIndexes+=1048576),s.push(Ti),F.push(Ti)}else rf(S,i,ln>-1?ln:En,vv(s[v?En:ln],le,!v&&m));!v&&m&&li&&s[En].componentProviders++}}}function rf(i,r,s,m){const v=ha(r),S=function Th(i){return!!i.useClass}(r);if(v||S){const le=(S?z(r.useClass):r).prototype.ngOnDestroy;if(le){const Le=i.destroyHooks||(i.destroyHooks=[]);if(!v&&r.multi){const Qe=Le.indexOf(s);-1===Qe?Le.push(s,[m,le]):Le[Qe+1].push(m,le)}else Le.push(s,le)}}}function vv(i,r,s){return s&&i.componentProviders++,i.multi.push(r)-1}function sf(i,r,s,m){for(let v=s;v{s.providersResolver=(m,v)=>function cb(i,r,s){const m=Ni();if(m.firstCreatePass){const v=fi(i);nf(s,m.data,m.blueprint,v,!0),nf(r,m.data,m.blueprint,v,!1)}}(m,v?v(i):i,r)}}class Cv{}class fb{resolveComponentFactory(r){throw function mb(i){const r=Error(`No component factory found for ${k(i)}. Did you add it to @NgModule.entryComponents?`);return r.ngComponent=i,r}(r)}}let Vh=(()=>{class i{}return i.NULL=new fb,i})();function gb(){return $c(fr(),On())}function $c(i,r){return new $d(Mn(i,r))}let $d=(()=>{class i{constructor(s){this.nativeElement=s}}return i.__NG_ELEMENT_ID__=gb,i})();function _b(i){return i instanceof $d?i.nativeElement:i}class wv{}let vb=(()=>{class i{}return i.__NG_ELEMENT_ID__=()=>function Cb(){const i=On(),s=ui(fr().index,i);return function yb(i){return i[11]}(Pi(s)?s:i)}(),i})(),bb=(()=>{class i{}return i.\u0275prov=Pt({token:i,providedIn:"root",factory:()=>null}),i})();class Tv{constructor(r){this.full=r,this.major=r.split(".")[0],this.minor=r.split(".")[1],this.patch=r.split(".").slice(2).join(".")}}const Mv=new Tv("13.3.12"),lf={};function Wh(i,r,s,m,v=!1){for(;null!==s;){const S=r[s.index];if(null!==S&&m.push(Te(S)),qi(S))for(let $=W;$-1&&(ru(r,m),Yo(s,m))}this._attachedToViewContainer=!1}lp(this._lView[1],this._lView)}onDestroy(r){ih(this._lView[1],this._lView,null,r)}markForCheck(){Ad(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function Pc(i,r,s){const m=r[10];m.begin&&m.begin();try{El(i,r,i.template,s)}catch(v){throw ws(r,v),v}finally{m.end&&m.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new q(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ip(i,r){Ol(i,r,r[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new q(902,"");this._appRef=r}}class wb extends qd{constructor(r){super(r),this._view=r}detectChanges(){fh(this._view)}checkNoChanges(){}get context(){return null}}class Sv extends Vh{constructor(r){super(),this.ngModule=r}resolveComponentFactory(r){const s=Lt(r);return new cf(s,this.ngModule)}}function xv(i){const r=[];for(let s in i)i.hasOwnProperty(s)&&r.push({propName:i[s],templateName:s});return r}class cf extends Cv{constructor(r,s){super(),this.componentDef=r,this.ngModule=s,this.componentType=r.type,this.selector=function ju(i){return i.map(Uu).join(",")}(r.selectors),this.ngContentSelectors=r.ngContentSelectors?r.ngContentSelectors:[],this.isBoundToModule=!!s}get inputs(){return xv(this.componentDef.inputs)}get outputs(){return xv(this.componentDef.outputs)}create(r,s,m,v){const S=(v=v||this.ngModule)?function Mb(i,r){return{get:(s,m,v)=>{const S=i.get(s,lf,v);return S!==lf||m===lf?S:r.get(s,m,v)}}}(r,v.injector):r,F=S.get(wv,we),$=S.get(bb,null),le=F.createRenderer(null,this.componentDef),Le=this.componentDef.selectors[0][0]||"div",Qe=m?function nh(i,r,s){if($i(i))return i.selectRootElement(r,s===Dt.ShadowDom);let m="string"==typeof r?i.querySelector(r):r;return m.textContent="",m}(le,m,this.componentDef.encapsulation):id(F.createRenderer(null,this.componentDef),Le,function Tb(i){const r=i.toLowerCase();return"svg"===r?"svg":"math"===r?"math":null}(Le)),St=this.componentDef.onPush?576:528,Gt=function Zi(i,r){return{components:[],scheduler:i||Zp,clean:Ag,playerHandler:r||null,flags:0}}(),ln=Dc(0,null,null,1,0,null,null,null,null,null),En=Hl(null,ln,Gt,St,null,null,F,le,$,S);let Xn,li;Ui(En);try{const Ti=function qs(i,r,s,m,v,S){const F=s[1];s[20]=i;const le=Al(F,20,2,"#host",null),Le=le.mergedAttrs=r.hostAttrs;null!==Le&&(Ic(le,Le,!0),null!==i&&(wi(v,i,Le),null!==le.classes&&cd(v,i,le.classes),null!==le.styles&&mu(v,i,le.styles)));const Qe=m.createRenderer(i,r),St=Hl(s,Sd(r),null,r.onPush?64:16,s[20],le,m,Qe,S||null,null);return F.firstCreatePass&&(At(P(le,s),F,r.type),uh(F,le),ns(le,s.length,1)),Gl(s,St),s[20]=St}(Qe,this.componentDef,En,F,le);if(Qe)if(m)wi(le,Qe,["ng-version",Mv.full]);else{const{attrs:Bn,classes:Bi}=function Xp(i){const r=[],s=[];let m=1,v=2;for(;m0&&cd(le,Qe,Bi.join(" "))}if(li=ir(ln,20),void 0!==s){const Bn=li.projection=[];for(let Bi=0;Bile(F,r)),r.contentQueries){const le=fr();r.contentQueries(1,F,le.directiveStart)}const $=fr();return!S.firstCreatePass||null===r.hostBindings&&null===r.hostAttrs||(Nr($.index),lh(s[1],$,0,$.directiveStart,$.directiveEnd,r),dh(r,F)),F}(Ti,this.componentDef,En,Gt,[ls]),Yl(ln,En,null)}finally{Ar()}return new xb(this.componentType,Xn,$c(li,En),En,li)}}class xb extends class pb{}{constructor(r,s,m,v,S){super(),this.location=m,this._rootLView=v,this._tNode=S,this.instance=s,this.hostView=this.changeDetectorRef=new wb(v),this.componentType=r}get injector(){return new rs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(r){this.hostView.onDestroy(r)}}class qc{}class Dv{}const Jc=new Map;class Ev extends qc{constructor(r,s){super(),this._parent=s,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Sv(this);const m=Yn(r);this._bootstrapComponents=la(m.bootstrap),this._r3Injector=yh(r,s,[{provide:qc,useValue:this},{provide:Vh,useValue:this.componentFactoryResolver}],k(r)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(r)}get(r,s=Ls.THROW_IF_NOT_FOUND,m=Pn.Default){return r===Ls||r===qc||r===Od?this:this._r3Injector.get(r,s,m)}destroy(){const r=this._r3Injector;!r.destroyed&&r.destroy(),this.destroyCbs.forEach(s=>s()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class df extends Dv{constructor(r){super(),this.moduleType=r,null!==Yn(r)&&function kb(i){const r=new Set;!function s(m){const v=Yn(m,!0),S=v.id;null!==S&&(function kv(i,r,s){if(r&&r!==s)throw new Error(`Duplicate module registered for ${i} - ${k(r)} vs ${k(r.name)}`)}(S,Jc.get(S),m),Jc.set(S,m));const F=la(v.imports);for(const $ of F)r.has($)||(r.add($),s($))}(i)}(r)}create(r){return new Ev(this.moduleType,r)}}function Pv(i,r,s){const m=Vr()+i,v=On();return v[m]===Qi?rl(v,m,s?r.call(s):r()):function jd(i,r){return i[r]}(v,m)}function Ov(i,r,s,m){return Rv(On(),Vr(),i,r,s,m)}function Iv(i,r,s,m,v){return Nv(On(),Vr(),i,r,s,m,v)}function Fv(i,r,s,m,v,S){return Bv(On(),Vr(),i,r,s,m,v,S)}function Lv(i,r,s,m,v,S,F){return Uv(On(),Vr(),i,r,s,m,v,S,F)}function Jd(i,r){const s=i[r];return s===Qi?void 0:s}function Rv(i,r,s,m,v,S){const F=r+s;return ds(i,F,v)?rl(i,F+1,S?m.call(S,v):m(v)):Jd(i,F+1)}function Nv(i,r,s,m,v,S,F){const $=r+s;return $l(i,$,v,S)?rl(i,$+2,F?m.call(F,v,S):m(v,S)):Jd(i,$+2)}function Bv(i,r,s,m,v,S,F,$){const le=r+s;return Eh(i,le,v,S,F)?rl(i,le+3,$?m.call($,v,S,F):m(v,S,F)):Jd(i,le+3)}function Uv(i,r,s,m,v,S,F,$,le){const Le=r+s;return ma(i,Le,v,S,F,$)?rl(i,Le+4,le?m.call(le,v,S,F,$):m(v,S,F,$)):Jd(i,Le+4)}function Hv(i,r){const s=Ni();let m;const v=i+20;s.firstCreatePass?(m=function Fb(i,r){if(r)for(let s=r.length-1;s>=0;s--){const m=r[s];if(i===m.name)return m}}(r,s.pipeRegistry),s.data[v]=m,m.onDestroy&&(s.destroyHooks||(s.destroyHooks=[])).push(v,m.onDestroy)):m=s.data[v];const S=m.factory||(m.factory=Gr(m.type)),F=rt(Yd);try{const $=Br(!1),le=S();return Br($),function n0(i,r,s,m){s>=i.data.length&&(i.data[s]=null,i.blueprint[s]=null),r[s]=m}(s,On(),v,le),le}finally{rt(F)}}function Yv(i,r,s){const m=i+20,v=On(),S=Hi(v,m);return Kd(v,m)?Rv(v,Vr(),r,S.transform,s,S):S.transform(s)}function Gv(i,r,s,m){const v=i+20,S=On(),F=Hi(S,v);return Kd(S,v)?Nv(S,Vr(),r,F.transform,s,m,F):F.transform(s,m)}function Vv(i,r,s,m,v){const S=i+20,F=On(),$=Hi(F,S);return Kd(F,S)?Bv(F,Vr(),r,$.transform,s,m,v,$):$.transform(s,m,v)}function Wv(i,r,s,m,v,S){const F=i+20,$=On(),le=Hi($,F);return Kd($,F)?Uv($,Vr(),r,le.transform,s,m,v,S,le):le.transform(s,m,v,S)}function Kd(i,r){return i[1].data[r].pure}function uf(i){return r=>{setTimeout(i,void 0,r)}}const al=class Rb extends e.x{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,s,m){var v,S,F;let $=r,le=s||(()=>null),Le=m;if(r&&"object"==typeof r){const St=r;$=null===(v=St.next)||void 0===v?void 0:v.bind(St),le=null===(S=St.error)||void 0===S?void 0:S.bind(St),Le=null===(F=St.complete)||void 0===F?void 0:F.bind(St)}this.__isAsync&&(le=uf(le),$&&($=uf($)),Le&&(Le=uf(Le)));const Qe=super.subscribe({next:$,error:le,complete:Le});return r instanceof o.w0&&r.add(Qe),Qe}};function Nb(){return this._results[pa()]()}class zh{constructor(r=!1){this._emitDistinctChangesOnly=r,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const s=pa(),m=zh.prototype;m[s]||(m[s]=Nb)}get changes(){return this._changes||(this._changes=new al)}get(r){return this._results[r]}map(r){return this._results.map(r)}filter(r){return this._results.filter(r)}find(r){return this._results.find(r)}reduce(r,s){return this._results.reduce(r,s)}forEach(r){this._results.forEach(r)}some(r){return this._results.some(r)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(r,s){const m=this;m.dirty=!1;const v=Uo(r);(this._changesDetected=!function _a(i,r,s){if(i.length!==r.length)return!1;for(let m=0;m{class i{}return i.__NG_ELEMENT_ID__=jb,i})();const Bb=Qd,Ub=class extends Bb{constructor(r,s,m){super(),this._declarationLView=r,this._declarationTContainer=s,this.elementRef=m}createEmbeddedView(r){const s=this._declarationTContainer.tViews,m=Hl(this._declarationLView,s,r,16,null,s.declTNode,null,null,null,null);m[17]=this._declarationLView[this._declarationTContainer.index];const S=this._declarationLView[19];return null!==S&&(m[19]=S.createEmbeddedView(s)),Yl(s,m,r),new qd(m)}};function jb(){return Zh(fr(),On())}function Zh(i,r){return 4&i.type?new Ub(r,i,$c(i,r)):null}let $h=(()=>{class i{}return i.__NG_ELEMENT_ID__=Hb,i})();function Hb(){return $v(fr(),On())}const Yb=$h,zv=class extends Yb{constructor(r,s,m){super(),this._lContainer=r,this._hostTNode=s,this._hostLView=m}get element(){return $c(this._hostTNode,this._hostLView)}get injector(){return new rs(this._hostTNode,this._hostLView)}get parentInjector(){const r=ze(this._hostTNode,this._hostLView);if(so(r)){const s=zo(r,this._hostLView),m=is(r);return new rs(s[1].data[m+8],s)}return new rs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const s=Zv(this._lContainer);return null!==s&&s[r]||null}get length(){return this._lContainer.length-W}createEmbeddedView(r,s,m){const v=r.createEmbeddedView(s||{});return this.insert(v,m),v}createComponent(r,s,m,v,S){const F=r&&!ks(r);let $;if(F)$=s;else{const St=s||{};$=St.index,m=St.injector,v=St.projectableNodes,S=St.ngModuleRef}const le=F?r:new cf(Lt(r)),Le=m||this.parentInjector;if(!S&&null==le.ngModule){const Gt=(F?Le:this.parentInjector).get(qc,null);Gt&&(S=Gt)}const Qe=le.create(Le,v,void 0,S);return this.insert(Qe.hostView,$),Qe}insert(r,s){const m=r._lView,v=m[1];if(function Xi(i){return qi(i[3])}(m)){const Qe=this.indexOf(r);if(-1!==Qe)this.detach(Qe);else{const St=m[3],Gt=new zv(St,St[6],St[3]);Gt.detach(Gt.indexOf(r))}}const S=this._adjustIndex(s),F=this._lContainer;!function op(i,r,s,m){const v=W+m,S=s.length;m>0&&(s[v-1][4]=r),m0)m.push(F[$/2]);else{const Le=S[$+1],Qe=r[-le];for(let St=W;St({bindingPropertyName:i})),mw=xs("Output",i=>({bindingPropertyName:i})),fw=xs("HostListener",(i,r)=>({eventName:i,args:r}));function Kh(...i){}const by=new zr("Application Initializer");let Tf=(()=>{class i{constructor(s){this.appInits=s,this.resolve=Kh,this.reject=Kh,this.initialized=!1,this.done=!1,this.donePromise=new Promise((m,v)=>{this.resolve=m,this.reject=v})}runInitializers(){if(this.initialized)return;const s=[],m=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let v=0;v{S.subscribe({complete:$,error:le})});s.push(F)}}Promise.all(s).then(()=>{m()}).catch(v=>{this.reject(v)}),0===s.length&&m(),this.initialized=!0}}return i.\u0275fac=function(s){return new(s||i)(po(by,8))},i.\u0275prov=Pt({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const wy=new zr("AppId",{providedIn:"root",factory:function Ty(){return`${Mf()}${Mf()}${Mf()}`}});function Mf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const My=new zr("Platform Initializer"),gw=new zr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Sy=new zr("appBootstrapListener");let _w=(()=>{class i{log(s){console.log(s)}warn(s){console.warn(s)}}return i.\u0275fac=function(s){return new(s||i)},i.\u0275prov=Pt({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})();const Sf=new zr("LocaleId",{providedIn:"root",factory:()=>Sa(Sf,Pn.Optional|Pn.SkipSelf)||function vw(){return"undefined"!=typeof $localize&&$localize.locale||Uh}()}),yw=new zr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Cw{constructor(r,s){this.ngModuleFactory=r,this.componentFactories=s}}let bw=(()=>{class i{compileModuleSync(s){return new df(s)}compileModuleAsync(s){return Promise.resolve(this.compileModuleSync(s))}compileModuleAndAllComponentsSync(s){const m=this.compileModuleSync(s),S=la(Yn(s).declarations).reduce((F,$)=>{const le=Lt($);return le&&F.push(new cf(le)),F},[]);return new Cw(m,S)}compileModuleAndAllComponentsAsync(s){return Promise.resolve(this.compileModuleAndAllComponentsSync(s))}clearCache(){}clearCacheFor(s){}getModuleId(s){}}return i.\u0275fac=function(s){return new(s||i)},i.\u0275prov=Pt({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();const Tw=(()=>Promise.resolve(0))();function xf(i){"undefined"==typeof Zone?Tw.then(()=>{i&&i.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",i)}class Ua{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:m=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new al(!1),this.onMicrotaskEmpty=new al(!1),this.onStable=new al(!1),this.onError=new al(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const v=this;v._nesting=0,v._outer=v._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(v._inner=v._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(v._inner=v._inner.fork(Zone.longStackTraceZoneSpec)),v.shouldCoalesceEventChangeDetection=!m&&s,v.shouldCoalesceRunChangeDetection=m,v.lastRequestAnimationFrameId=-1,v.nativeRequestAnimationFrame=function Mw(){let i=In.requestAnimationFrame,r=In.cancelAnimationFrame;if("undefined"!=typeof Zone&&i&&r){const s=i[Zone.__symbol__("OriginalDelegate")];s&&(i=s);const m=r[Zone.__symbol__("OriginalDelegate")];m&&(r=m)}return{nativeRequestAnimationFrame:i,nativeCancelAnimationFrame:r}}().nativeRequestAnimationFrame,function Dw(i){const r=()=>{!function xw(i){i.isCheckStableRunning||-1!==i.lastRequestAnimationFrameId||(i.lastRequestAnimationFrameId=i.nativeRequestAnimationFrame.call(In,()=>{i.fakeTopEventTask||(i.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{i.lastRequestAnimationFrameId=-1,kf(i),i.isCheckStableRunning=!0,Df(i),i.isCheckStableRunning=!1},void 0,()=>{},()=>{})),i.fakeTopEventTask.invoke()}),kf(i))}(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(s,m,v,S,F,$)=>{try{return xy(i),s.invokeTask(v,S,F,$)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===S.type||i.shouldCoalesceRunChangeDetection)&&r(),Dy(i)}},onInvoke:(s,m,v,S,F,$,le)=>{try{return xy(i),s.invoke(v,S,F,$,le)}finally{i.shouldCoalesceRunChangeDetection&&r(),Dy(i)}},onHasTask:(s,m,v,S)=>{s.hasTask(v,S),m===v&&("microTask"==S.change?(i._hasPendingMicrotasks=S.microTask,kf(i),Df(i)):"macroTask"==S.change&&(i.hasPendingMacrotasks=S.macroTask))},onHandleError:(s,m,v,S)=>(s.handleError(v,S),i.runOutsideAngular(()=>i.onError.emit(S)),!1)})}(v)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ua.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ua.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(r,s,m){return this._inner.run(r,s,m)}runTask(r,s,m,v){const S=this._inner,F=S.scheduleEventTask("NgZoneEvent: "+v,r,Sw,Kh,Kh);try{return S.runTask(F,s,m)}finally{S.cancelTask(F)}}runGuarded(r,s,m){return this._inner.runGuarded(r,s,m)}runOutsideAngular(r){return this._outer.run(r)}}const Sw={};function Df(i){if(0==i._nesting&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function kf(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&-1!==i.lastRequestAnimationFrameId)}function xy(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function Dy(i){i._nesting--,Df(i)}class kw{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new al,this.onMicrotaskEmpty=new al,this.onStable=new al,this.onError=new al}run(r,s,m){return r.apply(s,m)}runGuarded(r,s,m){return r.apply(s,m)}runOutsideAngular(r){return r()}runTask(r,s,m,v){return r.apply(s,m)}}let ky=(()=>{class i{constructor(s){this._ngZone=s,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),s.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ua.assertNotInAngularZone(),xf(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())xf(()=>{for(;0!==this._callbacks.length;){let s=this._callbacks.pop();clearTimeout(s.timeoutId),s.doneCb(this._didWork)}this._didWork=!1});else{let s=this.getPendingTasks();this._callbacks=this._callbacks.filter(m=>!m.updateCb||!m.updateCb(s)||(clearTimeout(m.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(s=>({source:s.source,creationLocation:s.creationLocation,data:s.data})):[]}addCallback(s,m,v){let S=-1;m&&m>0&&(S=setTimeout(()=>{this._callbacks=this._callbacks.filter(F=>F.timeoutId!==S),s(this._didWork,this.getPendingTasks())},m)),this._callbacks.push({doneCb:s,timeoutId:S,updateCb:v})}whenStable(s,m,v){if(v&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(s,m,v),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(s,m,v){return[]}}return i.\u0275fac=function(s){return new(s||i)(po(Ua))},i.\u0275prov=Pt({token:i,factory:i.\u0275fac}),i})(),Aw=(()=>{class i{constructor(){this._applications=new Map,Af.addToWindow(this)}registerApplication(s,m){this._applications.set(s,m)}unregisterApplication(s){this._applications.delete(s)}unregisterAllApplications(){this._applications.clear()}getTestability(s){return this._applications.get(s)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(s,m=!0){return Af.findTestabilityInTree(this,s,m)}}return i.\u0275fac=function(s){return new(s||i)},i.\u0275prov=Pt({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})();class Ew{addToWindow(r){}findTestabilityInTree(r,s,m){return null}}function Pw(i){Af=i}let Af=new Ew,Jl=null;const Ay=new zr("AllowMultipleToken"),Ey=new zr("PlatformOnDestroy");class Fw{constructor(r,s){this.name=r,this.token=s}}function Py(i,r,s=[]){const m=`Platform: ${r}`,v=new zr(m);return(S=[])=>{let F=Ef();if(!F||F.injector.get(Ay,!1)){const $=[...s,...S,{provide:v,useValue:!0}];i?i($):function Lw(i){if(Jl&&!Jl.get(Ay,!1))throw new q(400,"");Jl=i;const r=i.get(Oy),s=i.get(My,null);s&&s.forEach(m=>m())}(function Nw(i=[],r){return Ls.create({name:r,providers:[{provide:_h,useValue:"platform"},{provide:Ey,useValue:()=>Jl=null},...i]})}($,m))}return function Rw(i){const r=Ef();if(!r)throw new q(401,"");return r}()}}function Ef(){var i;return null!==(i=null==Jl?void 0:Jl.get(Oy))&&void 0!==i?i:null}let Oy=(()=>{class i{constructor(s){this._injector=s,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(s,m){const $=function Bw(i,r){let s;return s="noop"===i?new kw:("zone.js"===i?void 0:i)||new Ua({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==r?void 0:r.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==r?void 0:r.ngZoneRunCoalescing)}),s}(m?m.ngZone:void 0,{ngZoneEventCoalescing:m&&m.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:m&&m.ngZoneRunCoalescing||!1}),le=[{provide:Ua,useValue:$}];return $.run(()=>{const Le=Ls.create({providers:le,parent:this.injector,name:s.moduleType.name}),Qe=s.create(Le),St=Qe.injector.get(_d,null);if(!St)throw new q(402,"");return $.runOutsideAngular(()=>{const Gt=$.onError.subscribe({next:ln=>{St.handleError(ln)}});Qe.onDestroy(()=>{Of(this._modules,Qe),Gt.unsubscribe()})}),function Uw(i,r,s){try{const m=s();return Nm(m)?m.catch(v=>{throw r.runOutsideAngular(()=>i.handleError(v)),v}):m}catch(m){throw r.runOutsideAngular(()=>i.handleError(m)),m}}(St,$,()=>{const Gt=Qe.injector.get(Tf);return Gt.runInitializers(),Gt.donePromise.then(()=>(function vC(i){Xt(i,"Expected localeId to be defined"),"string"==typeof i&&($_=i.toLowerCase().replace(/_/g,"-"))}(Qe.injector.get(Sf,Uh)||Uh),this._moduleDoBootstrap(Qe),Qe))})})}bootstrapModule(s,m=[]){const v=Iy({},m);return function Ow(i,r,s){const m=new df(s);return Promise.resolve(m)}(0,0,s).then(S=>this.bootstrapModuleFactory(S,v))}_moduleDoBootstrap(s){const m=s.injector.get(Pf);if(s._bootstrapComponents.length>0)s._bootstrapComponents.forEach(v=>m.bootstrap(v));else{if(!s.instance.ngDoBootstrap)throw new q(403,"");s.instance.ngDoBootstrap(m)}this._modules.push(s)}onDestroy(s){this._destroyListeners.push(s)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new q(404,"");this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m());const s=this._injector.get(Ey,null);null==s||s(),this._destroyed=!0}get destroyed(){return this._destroyed}}return i.\u0275fac=function(s){return new(s||i)(po(Ls))},i.\u0275prov=Pt({token:i,factory:i.\u0275fac,providedIn:"platform"}),i})();function Iy(i,r){return Array.isArray(r)?r.reduce(Iy,i):Object.assign(Object.assign({},i),r)}let Pf=(()=>{class i{constructor(s,m,v,S){this._zone=s,this._injector=m,this._exceptionHandler=v,this._initStatus=S,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const F=new u.y(le=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{le.next(this._stable),le.complete()})}),$=new u.y(le=>{let Le;this._zone.runOutsideAngular(()=>{Le=this._zone.onStable.subscribe(()=>{Ua.assertNotInAngularZone(),xf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,le.next(!0))})})});const Qe=this._zone.onUnstable.subscribe(()=>{Ua.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{le.next(!1)}))});return()=>{Le.unsubscribe(),Qe.unsubscribe()}});this.isStable=(0,d.T)(F,$.pipe((0,c.B)()))}bootstrap(s,m){if(!this._initStatus.done)throw new q(405,"");let v;v=s instanceof Cv?s:this._injector.get(Vh).resolveComponentFactory(s),this.componentTypes.push(v.componentType);const S=function Iw(i){return i.isBoundToModule}(v)?void 0:this._injector.get(qc),$=v.create(Ls.NULL,[],m||v.selector,S),le=$.location.nativeElement,Le=$.injector.get(ky,null),Qe=Le&&$.injector.get(Aw);return Le&&Qe&&Qe.registerApplication(le,Le),$.onDestroy(()=>{this.detachView($.hostView),Of(this.components,$),Qe&&Qe.unregisterApplication(le)}),this._loadComponent($),$}tick(){if(this._runningTick)throw new q(101,"");try{this._runningTick=!0;for(let s of this._views)s.detectChanges()}catch(s){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(s))}finally{this._runningTick=!1}}attachView(s){const m=s;this._views.push(m),m.attachToAppRef(this)}detachView(s){const m=s;Of(this._views,m),m.detachFromAppRef()}_loadComponent(s){this.attachView(s.hostView),this.tick(),this.components.push(s),this._injector.get(Sy,[]).concat(this._bootstrapListeners).forEach(v=>v(s))}ngOnDestroy(){this._views.slice().forEach(s=>s.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return i.\u0275fac=function(s){return new(s||i)(po(Ua),po(Ls),po(_d),po(Tf))},i.\u0275prov=Pt({token:i,factory:i.\u0275fac,providedIn:"root"}),i})();function Of(i,r){const s=i.indexOf(r);s>-1&&i.splice(s,1)}let Ly=!0;function Hw(){Ly=!1}let Yw=(()=>{class i{}return i.__NG_ELEMENT_ID__=Gw,i})();function Gw(i){return function Vw(i,r,s){if(Dr(i)&&!s){const m=ui(i.index,r);return new qd(m,m)}return 47&i.type?new qd(r[16],r):null}(fr(),On(),16==(16&i))}class jy{constructor(){}supports(r){return Ud(r)}create(r){return new Jw(r)}}const qw=(i,r)=>r;class Jw{constructor(r){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=r||qw}forEachItem(r){let s;for(s=this._itHead;null!==s;s=s._next)r(s)}forEachOperation(r){let s=this._itHead,m=this._removalsHead,v=0,S=null;for(;s||m;){const F=!m||s&&s.currentIndex{F=this._trackByFn(v,$),null!==s&&Object.is(s.trackById,F)?(m&&(s=this._verifyReinsertion(s,$,F,v)),Object.is(s.item,$)||this._addIdentityChange(s,$)):(s=this._mismatch(s,$,F,v),m=!0),s=s._next,v++}),this.length=v;return this._truncate(s),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,s,m,v){let S;return null===r?S=this._itTail:(S=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(m,null))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._reinsertAfter(r,S,v)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(m,v))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._moveAfter(r,S,v)):r=this._addAfter(new Kw(s,m),S,v),r}_verifyReinsertion(r,s,m,v){let S=null===this._unlinkedRecords?null:this._unlinkedRecords.get(m,null);return null!==S?r=this._reinsertAfter(S,r._prev,v):r.currentIndex!=v&&(r.currentIndex=v,this._addToMoves(r,v)),r}_truncate(r){for(;null!==r;){const s=r._next;this._addToRemovals(this._unlink(r)),r=s}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(r,s,m){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const v=r._prevRemoved,S=r._nextRemoved;return null===v?this._removalsHead=S:v._nextRemoved=S,null===S?this._removalsTail=v:S._prevRemoved=v,this._insertAfter(r,s,m),this._addToMoves(r,m),r}_moveAfter(r,s,m){return this._unlink(r),this._insertAfter(r,s,m),this._addToMoves(r,m),r}_addAfter(r,s,m){return this._insertAfter(r,s,m),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,s,m){const v=null===s?this._itHead:s._next;return r._next=v,r._prev=s,null===v?this._itTail=r:v._prev=r,null===s?this._itHead=r:s._next=r,null===this._linkedRecords&&(this._linkedRecords=new Hy),this._linkedRecords.put(r),r.currentIndex=m,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const s=r._prev,m=r._next;return null===s?this._itHead=m:s._next=m,null===m?this._itTail=s:m._prev=s,r}_addToMoves(r,s){return r.previousIndex===s||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Hy),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,s){return r.item=s,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class Kw{constructor(r,s){this.item=r,this.trackById=s,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Qw{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,s){let m;for(m=this._head;null!==m;m=m._nextDup)if((null===s||s<=m.currentIndex)&&Object.is(m.trackById,r))return m;return null}remove(r){const s=r._prevDup,m=r._nextDup;return null===s?this._head=m:s._nextDup=m,null===m?this._tail=s:m._prevDup=s,null===this._head}}class Hy{constructor(){this.map=new Map}put(r){const s=r.trackById;let m=this.map.get(s);m||(m=new Qw,this.map.set(s,m)),m.add(r)}get(r,s){const v=this.map.get(r);return v?v.get(r,s):null}remove(r){const s=r.trackById;return this.map.get(s).remove(r)&&this.map.delete(s),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Yy(i,r,s){const m=i.previousIndex;if(null===m)return m;let v=0;return s&&m{if(s&&s.key===v)this._maybeAddToChanges(s,m),this._appendAfter=s,s=s._next;else{const S=this._getOrCreateRecordForKey(v,m);s=this._insertBeforeOrAppend(s,S)}}),s){s._prev&&(s._prev._next=null),this._removalsHead=s;for(let m=s;null!==m;m=m._nextRemoved)m===this._mapHead&&(this._mapHead=null),this._records.delete(m.key),m._nextRemoved=m._next,m.previousValue=m.currentValue,m.currentValue=null,m._prev=null,m._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,s){if(r){const m=r._prev;return s._next=r,s._prev=m,r._prev=s,m&&(m._next=s),r===this._mapHead&&(this._mapHead=s),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=s,s._prev=this._appendAfter):this._mapHead=s,this._appendAfter=s,null}_getOrCreateRecordForKey(r,s){if(this._records.has(r)){const v=this._records.get(r);this._maybeAddToChanges(v,s);const S=v._prev,F=v._next;return S&&(S._next=F),F&&(F._prev=S),v._next=null,v._prev=null,v}const m=new eT(r);return this._records.set(r,m),m.currentValue=s,this._addToAdditions(m),m}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,s){Object.is(s,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=s,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,s){r instanceof Map?r.forEach(s):Object.keys(r).forEach(m=>s(r[m],m))}}class eT{constructor(r){this.key=r,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Vy(){return new Nf([new jy])}let Nf=(()=>{class i{constructor(s){this.factories=s}static create(s,m){if(null!=m){const v=m.factories.slice();s=s.concat(v)}return new i(s)}static extend(s){return{provide:i,useFactory:m=>i.create(s,m||Vy()),deps:[[i,new ms,new Os]]}}find(s){const m=this.factories.find(v=>v.supports(s));if(null!=m)return m;throw new q(901,"")}}return i.\u0275prov=Pt({token:i,providedIn:"root",factory:Vy}),i})();function Wy(){return new Bf([new Gy])}let Bf=(()=>{class i{constructor(s){this.factories=s}static create(s,m){if(m){const v=m.factories.slice();s=s.concat(v)}return new i(s)}static extend(s){return{provide:i,useFactory:m=>i.create(s,m||Wy()),deps:[[i,new ms,new Os]]}}find(s){const m=this.factories.find(S=>S.supports(s));if(m)return m;throw new q(901,"")}}return i.\u0275prov=Pt({token:i,providedIn:"root",factory:Wy}),i})();const iT=Py(null,"core",[]);let rT=(()=>{class i{constructor(s){}}return i.\u0275fac=function(s){return new(s||i)(po(Pf))},i.\u0275mod=Cn({type:i}),i.\u0275inj=bt({}),i})()},3075:(X,N,p)=>{"use strict";p.d(N,{Cf:()=>V,EJ:()=>Gr,F:()=>di,Fd:()=>no,Fj:()=>Z,JJ:()=>Pn,JL:()=>kn,JU:()=>k,Kr:()=>tt,NI:()=>wn,On:()=>Dr,Q7:()=>or,UX:()=>ji,YN:()=>Ao,Zs:()=>io,_:()=>Hr,_Y:()=>Ji,a5:()=>pt,c5:()=>hn,kI:()=>ee,nD:()=>at,oH:()=>nr,qQ:()=>oi,sg:()=>vr,u5:()=>ui,wV:()=>Mr});var e=p(5e3),o=p(9808),u=p(2076),d=p(4128),c=p(4004);let g=(()=>{class ke{constructor(oe,lt){this._renderer=oe,this._elementRef=lt,this.onChange=fn=>{},this.onTouched=()=>{}}setProperty(oe,lt){this._renderer.setProperty(this._elementRef.nativeElement,oe,lt)}registerOnTouched(oe){this.onTouched=oe}registerOnChange(oe){this.onChange=oe}setDisabledState(oe){this.setProperty("disabled",oe)}}return ke.\u0275fac=function(oe){return new(oe||ke)(e.Y36(e.Qsj),e.Y36(e.SBq))},ke.\u0275dir=e.lG2({type:ke}),ke})(),b=(()=>{class ke extends g{}return ke.\u0275fac=function(){let me;return function(lt){return(me||(me=e.n5z(ke)))(lt||ke)}}(),ke.\u0275dir=e.lG2({type:ke,features:[e.qOj]}),ke})();const k=new e.OlP("NgValueAccessor"),H={provide:k,useExisting:(0,e.Gpc)(()=>Z),multi:!0},O=new e.OlP("CompositionEventMode");let Z=(()=>{class ke extends g{constructor(oe,lt,fn){super(oe,lt),this._compositionMode=fn,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function z(){const ke=(0,o.q)()?(0,o.q)().getUserAgent():"";return/android (\d+)/.test(ke.toLowerCase())}())}writeValue(oe){this.setProperty("value",null==oe?"":oe)}_handleInput(oe){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(oe)}_compositionStart(){this._composing=!0}_compositionEnd(oe){this._composing=!1,this._compositionMode&&this.onChange(oe)}}return ke.\u0275fac=function(oe){return new(oe||ke)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(O,8))},ke.\u0275dir=e.lG2({type:ke,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(oe,lt){1&oe&&e.NdJ("input",function(ni){return lt._handleInput(ni.target.value)})("blur",function(){return lt.onTouched()})("compositionstart",function(){return lt._compositionStart()})("compositionend",function(ni){return lt._compositionEnd(ni.target.value)})},features:[e._Bn([H]),e.qOj]}),ke})();function q(ke){return null==ke||0===ke.length}function te(ke){return null!=ke&&"number"==typeof ke.length}const V=new e.OlP("NgValidators"),ne=new e.OlP("NgAsyncValidators"),ue=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ee{static min(me){return Q(me)}static max(me){return se(me)}static required(me){return je(me)}static requiredTrue(me){return nt(me)}static email(me){return function He(ke){return q(ke.value)||ue.test(ke.value)?null:{email:!0}}(me)}static minLength(me){return function de(ke){return me=>q(me.value)||!te(me.value)?null:me.value.length{if(q(me.value)||q(ke))return null;const oe=parseFloat(me.value);return!isNaN(oe)&&oe{if(q(me.value)||q(ke))return null;const oe=parseFloat(me.value);return!isNaN(oe)&&oe>ke?{max:{max:ke,actual:me.value}}:null}}function je(ke){return q(ke.value)?{required:!0}:null}function nt(ke){return!0===ke.value?null:{required:!0}}function Ce(ke){return me=>te(me.value)&&me.value.length>ke?{maxlength:{requiredLength:ke,actualLength:me.value.length}}:null}function Ze(ke){if(!ke)return ot;let me,oe;return"string"==typeof ke?(oe="","^"!==ke.charAt(0)&&(oe+="^"),oe+=ke,"$"!==ke.charAt(ke.length-1)&&(oe+="$"),me=new RegExp(oe)):(oe=ke.toString(),me=ke),lt=>{if(q(lt.value))return null;const fn=lt.value;return me.test(fn)?null:{pattern:{requiredPattern:oe,actualValue:fn}}}}function ot(ke){return null}function Ke(ke){return null!=ke}function xt(ke){const me=(0,e.QGY)(ke)?(0,u.D)(ke):ke;return(0,e.CqO)(me),me}function Be(ke){let me={};return ke.forEach(oe=>{me=null!=oe?Object.assign(Object.assign({},me),oe):me}),0===Object.keys(me).length?null:me}function Tt(ke,me){return me.map(oe=>oe(ke))}function Sn(ke){return ke.map(me=>function Zt(ke){return!ke.validate}(me)?me:oe=>me.validate(oe))}function Xt(ke){if(!ke)return null;const me=ke.filter(Ke);return 0==me.length?null:function(oe){return Be(Tt(oe,me))}}function nn(ke){return null!=ke?Xt(Sn(ke)):null}function mn(ke){if(!ke)return null;const me=ke.filter(Ke);return 0==me.length?null:function(oe){const lt=Tt(oe,me).map(xt);return(0,d.D)(lt).pipe((0,c.U)(Be))}}function Jt(ke){return null!=ke?mn(Sn(ke)):null}function et(ke,me){return null===ke?[me]:Array.isArray(ke)?[...ke,me]:[ke,me]}function Pt(ke){return ke._rawValidators}function Ot(ke){return ke._rawAsyncValidators}function bt(ke){return ke?Array.isArray(ke)?ke:[ke]:[]}function dt(ke,me){return Array.isArray(ke)?ke.includes(me):ke===me}function ut(ke,me){const oe=bt(me);return bt(ke).forEach(fn=>{dt(oe,fn)||oe.push(fn)}),oe}function Je(ke,me){return bt(me).filter(oe=>!dt(ke,oe))}class kt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(me){this._rawValidators=me||[],this._composedValidatorFn=nn(this._rawValidators)}_setAsyncValidators(me){this._rawAsyncValidators=me||[],this._composedAsyncValidatorFn=Jt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(me){this._onDestroyCallbacks.push(me)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(me=>me()),this._onDestroyCallbacks=[]}reset(me){this.control&&this.control.reset(me)}hasError(me,oe){return!!this.control&&this.control.hasError(me,oe)}getError(me,oe){return this.control?this.control.getError(me,oe):null}}class pt extends kt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ft extends kt{get formDirective(){return null}get path(){return null}}class tn{constructor(me){this._cd=me}is(me){var oe,lt,fn;return"submitted"===me?!!(null===(oe=this._cd)||void 0===oe?void 0:oe.submitted):!!(null===(fn=null===(lt=this._cd)||void 0===lt?void 0:lt.control)||void 0===fn?void 0:fn[me])}}let Pn=(()=>{class ke extends tn{constructor(oe){super(oe)}}return ke.\u0275fac=function(oe){return new(oe||ke)(e.Y36(pt,2))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(oe,lt){2&oe&&e.ekj("ng-untouched",lt.is("untouched"))("ng-touched",lt.is("touched"))("ng-pristine",lt.is("pristine"))("ng-dirty",lt.is("dirty"))("ng-valid",lt.is("valid"))("ng-invalid",lt.is("invalid"))("ng-pending",lt.is("pending"))},features:[e.qOj]}),ke})(),kn=(()=>{class ke extends tn{constructor(oe){super(oe)}}return ke.\u0275fac=function(oe){return new(oe||ke)(e.Y36(Ft,10))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(oe,lt){2&oe&&e.ekj("ng-untouched",lt.is("untouched"))("ng-touched",lt.is("touched"))("ng-pristine",lt.is("pristine"))("ng-dirty",lt.is("dirty"))("ng-valid",lt.is("valid"))("ng-invalid",lt.is("invalid"))("ng-pending",lt.is("pending"))("ng-submitted",lt.is("submitted"))},features:[e.qOj]}),ke})();function Tn(ke,me){xe(ke,me),me.valueAccessor.writeValue(ke.value),function j(ke,me){me.valueAccessor.registerOnChange(oe=>{ke._pendingValue=oe,ke._pendingChange=!0,ke._pendingDirty=!0,"change"===ke.updateOn&&vt(ke,me)})}(ke,me),function Vt(ke,me){const oe=(lt,fn)=>{me.valueAccessor.writeValue(lt),fn&&me.viewToModelUpdate(lt)};ke.registerOnChange(oe),me._registerOnDestroy(()=>{ke._unregisterOnChange(oe)})}(ke,me),function Ie(ke,me){me.valueAccessor.registerOnTouched(()=>{ke._pendingTouched=!0,"blur"===ke.updateOn&&ke._pendingChange&&vt(ke,me),"submit"!==ke.updateOn&&ke.markAsTouched()})}(ke,me),function $t(ke,me){if(me.valueAccessor.setDisabledState){const oe=lt=>{me.valueAccessor.setDisabledState(lt)};ke.registerOnDisabledChange(oe),me._registerOnDestroy(()=>{ke._unregisterOnDisabledChange(oe)})}}(ke,me)}function ri(ke,me,oe=!0){const lt=()=>{};me.valueAccessor&&(me.valueAccessor.registerOnChange(lt),me.valueAccessor.registerOnTouched(lt)),Se(ke,me),ke&&(me._invokeOnDestroyCallbacks(),ke._registerOnCollectionChange(()=>{}))}function zn(ke,me){ke.forEach(oe=>{oe.registerOnValidatorChange&&oe.registerOnValidatorChange(me)})}function xe(ke,me){const oe=Pt(ke);null!==me.validator?ke.setValidators(et(oe,me.validator)):"function"==typeof oe&&ke.setValidators([oe]);const lt=Ot(ke);null!==me.asyncValidator?ke.setAsyncValidators(et(lt,me.asyncValidator)):"function"==typeof lt&&ke.setAsyncValidators([lt]);const fn=()=>ke.updateValueAndValidity();zn(me._rawValidators,fn),zn(me._rawAsyncValidators,fn)}function Se(ke,me){let oe=!1;if(null!==ke){if(null!==me.validator){const fn=Pt(ke);if(Array.isArray(fn)&&fn.length>0){const ni=fn.filter(cr=>cr!==me.validator);ni.length!==fn.length&&(oe=!0,ke.setValidators(ni))}}if(null!==me.asyncValidator){const fn=Ot(ke);if(Array.isArray(fn)&&fn.length>0){const ni=fn.filter(cr=>cr!==me.asyncValidator);ni.length!==fn.length&&(oe=!0,ke.setAsyncValidators(ni))}}}const lt=()=>{};return zn(me._rawValidators,lt),zn(me._rawAsyncValidators,lt),oe}function vt(ke,me){ke._pendingDirty&&ke.markAsDirty(),ke.setValue(ke._pendingValue,{emitModelToViewChange:!1}),me.viewToModelUpdate(ke._pendingValue),ke._pendingChange=!1}function Fn(ke,me){xe(ke,me)}function Re(ke,me){if(!ke.hasOwnProperty("model"))return!1;const oe=ke.model;return!!oe.isFirstChange()||!Object.is(me,oe.currentValue)}function Lt(ke,me){ke._syncPendingControls(),me.forEach(oe=>{const lt=oe.control;"submit"===lt.updateOn&<._pendingChange&&(oe.viewToModelUpdate(lt._pendingValue),lt._pendingChange=!1)})}function an(ke,me){if(!me)return null;let oe,lt,fn;return Array.isArray(me),me.forEach(ni=>{ni.constructor===Z?oe=ni:function it(ke){return Object.getPrototypeOf(ke.constructor)===b}(ni)?lt=ni:fn=ni}),fn||lt||oe||null}function Un(ke,me){const oe=ke.indexOf(me);oe>-1&&ke.splice(oe,1)}const Li="VALID",Gi="INVALID",ae="PENDING",Pe="DISABLED";function Me(ke){return(_t(ke)?ke.validators:ke)||null}function Y(ke){return Array.isArray(ke)?nn(ke):ke||null}function ce(ke,me){return(_t(me)?me.asyncValidators:ke)||null}function $e(ke){return Array.isArray(ke)?Jt(ke):ke||null}function _t(ke){return null!=ke&&!Array.isArray(ke)&&"object"==typeof ke}const Ge=ke=>ke instanceof wn,qe=ke=>ke instanceof pi;function be(ke){return Ge(ke)?ke.value:ke.getRawValue()}function Ye(ke,me){const oe=qe(ke),lt=ke.controls;if(!(oe?Object.keys(lt):lt).length)throw new e.vHH(1e3,"");if(!lt[me])throw new e.vHH(1001,"")}function Ct(ke,me){qe(ke),ke._forEachChild((lt,fn)=>{if(void 0===me[fn])throw new e.vHH(1002,"")})}class _n{constructor(me,oe){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=me,this._rawAsyncValidators=oe,this._composedValidatorFn=Y(this._rawValidators),this._composedAsyncValidatorFn=$e(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(me){this._rawValidators=this._composedValidatorFn=me}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(me){this._rawAsyncValidators=this._composedAsyncValidatorFn=me}get parent(){return this._parent}get valid(){return this.status===Li}get invalid(){return this.status===Gi}get pending(){return this.status==ae}get disabled(){return this.status===Pe}get enabled(){return this.status!==Pe}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(me){this._rawValidators=me,this._composedValidatorFn=Y(me)}setAsyncValidators(me){this._rawAsyncValidators=me,this._composedAsyncValidatorFn=$e(me)}addValidators(me){this.setValidators(ut(me,this._rawValidators))}addAsyncValidators(me){this.setAsyncValidators(ut(me,this._rawAsyncValidators))}removeValidators(me){this.setValidators(Je(me,this._rawValidators))}removeAsyncValidators(me){this.setAsyncValidators(Je(me,this._rawAsyncValidators))}hasValidator(me){return dt(this._rawValidators,me)}hasAsyncValidator(me){return dt(this._rawAsyncValidators,me)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(me={}){this.touched=!0,this._parent&&!me.onlySelf&&this._parent.markAsTouched(me)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(me=>me.markAllAsTouched())}markAsUntouched(me={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(oe=>{oe.markAsUntouched({onlySelf:!0})}),this._parent&&!me.onlySelf&&this._parent._updateTouched(me)}markAsDirty(me={}){this.pristine=!1,this._parent&&!me.onlySelf&&this._parent.markAsDirty(me)}markAsPristine(me={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(oe=>{oe.markAsPristine({onlySelf:!0})}),this._parent&&!me.onlySelf&&this._parent._updatePristine(me)}markAsPending(me={}){this.status=ae,!1!==me.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!me.onlySelf&&this._parent.markAsPending(me)}disable(me={}){const oe=this._parentMarkedDirty(me.onlySelf);this.status=Pe,this.errors=null,this._forEachChild(lt=>{lt.disable(Object.assign(Object.assign({},me),{onlySelf:!0}))}),this._updateValue(),!1!==me.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},me),{skipPristineCheck:oe})),this._onDisabledChange.forEach(lt=>lt(!0))}enable(me={}){const oe=this._parentMarkedDirty(me.onlySelf);this.status=Li,this._forEachChild(lt=>{lt.enable(Object.assign(Object.assign({},me),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:me.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},me),{skipPristineCheck:oe})),this._onDisabledChange.forEach(lt=>lt(!1))}_updateAncestors(me){this._parent&&!me.onlySelf&&(this._parent.updateValueAndValidity(me),me.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(me){this._parent=me}updateValueAndValidity(me={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Li||this.status===ae)&&this._runAsyncValidator(me.emitEvent)),!1!==me.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!me.onlySelf&&this._parent.updateValueAndValidity(me)}_updateTreeValidity(me={emitEvent:!0}){this._forEachChild(oe=>oe._updateTreeValidity(me)),this.updateValueAndValidity({onlySelf:!0,emitEvent:me.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Pe:Li}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(me){if(this.asyncValidator){this.status=ae,this._hasOwnPendingAsyncValidator=!0;const oe=xt(this.asyncValidator(this));this._asyncValidationSubscription=oe.subscribe(lt=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(lt,{emitEvent:me})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(me,oe={}){this.errors=me,this._updateControlsErrors(!1!==oe.emitEvent)}get(me){return function W(ke,me,oe){if(null==me||(Array.isArray(me)||(me=me.split(oe)),Array.isArray(me)&&0===me.length))return null;let lt=ke;return me.forEach(fn=>{lt=qe(lt)?lt.controls.hasOwnProperty(fn)?lt.controls[fn]:null:(ke=>ke instanceof xi)(lt)&<.at(fn)||null}),lt}(this,me,".")}getError(me,oe){const lt=oe?this.get(oe):this;return lt&<.errors?lt.errors[me]:null}hasError(me,oe){return!!this.getError(me,oe)}get root(){let me=this;for(;me._parent;)me=me._parent;return me}_updateControlsErrors(me){this.status=this._calculateStatus(),me&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(me)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?Pe:this.errors?Gi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ae)?ae:this._anyControlsHaveStatus(Gi)?Gi:Li}_anyControlsHaveStatus(me){return this._anyControls(oe=>oe.status===me)}_anyControlsDirty(){return this._anyControls(me=>me.dirty)}_anyControlsTouched(){return this._anyControls(me=>me.touched)}_updatePristine(me={}){this.pristine=!this._anyControlsDirty(),this._parent&&!me.onlySelf&&this._parent._updatePristine(me)}_updateTouched(me={}){this.touched=this._anyControlsTouched(),this._parent&&!me.onlySelf&&this._parent._updateTouched(me)}_isBoxedValue(me){return"object"==typeof me&&null!==me&&2===Object.keys(me).length&&"value"in me&&"disabled"in me}_registerOnCollectionChange(me){this._onCollectionChange=me}_setUpdateStrategy(me){_t(me)&&null!=me.updateOn&&(this._updateOn=me.updateOn)}_parentMarkedDirty(me){return!me&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class wn extends _n{constructor(me=null,oe,lt){super(Me(oe),ce(lt,oe)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(me),this._setUpdateStrategy(oe),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_t(oe)&&oe.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(me)?me.value:me)}setValue(me,oe={}){this.value=this._pendingValue=me,this._onChange.length&&!1!==oe.emitModelToViewChange&&this._onChange.forEach(lt=>lt(this.value,!1!==oe.emitViewToModelChange)),this.updateValueAndValidity(oe)}patchValue(me,oe={}){this.setValue(me,oe)}reset(me=this.defaultValue,oe={}){this._applyFormState(me),this.markAsPristine(oe),this.markAsUntouched(oe),this.setValue(this.value,oe),this._pendingChange=!1}_updateValue(){}_anyControls(me){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(me){this._onChange.push(me)}_unregisterOnChange(me){Un(this._onChange,me)}registerOnDisabledChange(me){this._onDisabledChange.push(me)}_unregisterOnDisabledChange(me){Un(this._onDisabledChange,me)}_forEachChild(me){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(me){this._isBoxedValue(me)?(this.value=this._pendingValue=me.value,me.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=me}}class pi extends _n{constructor(me,oe,lt){super(Me(oe),ce(lt,oe)),this.controls=me,this._initObservables(),this._setUpdateStrategy(oe),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(me,oe){return this.controls[me]?this.controls[me]:(this.controls[me]=oe,oe.setParent(this),oe._registerOnCollectionChange(this._onCollectionChange),oe)}addControl(me,oe,lt={}){this.registerControl(me,oe),this.updateValueAndValidity({emitEvent:lt.emitEvent}),this._onCollectionChange()}removeControl(me,oe={}){this.controls[me]&&this.controls[me]._registerOnCollectionChange(()=>{}),delete this.controls[me],this.updateValueAndValidity({emitEvent:oe.emitEvent}),this._onCollectionChange()}setControl(me,oe,lt={}){this.controls[me]&&this.controls[me]._registerOnCollectionChange(()=>{}),delete this.controls[me],oe&&this.registerControl(me,oe),this.updateValueAndValidity({emitEvent:lt.emitEvent}),this._onCollectionChange()}contains(me){return this.controls.hasOwnProperty(me)&&this.controls[me].enabled}setValue(me,oe={}){Ct(this,me),Object.keys(me).forEach(lt=>{Ye(this,lt),this.controls[lt].setValue(me[lt],{onlySelf:!0,emitEvent:oe.emitEvent})}),this.updateValueAndValidity(oe)}patchValue(me,oe={}){null!=me&&(Object.keys(me).forEach(lt=>{this.controls[lt]&&this.controls[lt].patchValue(me[lt],{onlySelf:!0,emitEvent:oe.emitEvent})}),this.updateValueAndValidity(oe))}reset(me={},oe={}){this._forEachChild((lt,fn)=>{lt.reset(me[fn],{onlySelf:!0,emitEvent:oe.emitEvent})}),this._updatePristine(oe),this._updateTouched(oe),this.updateValueAndValidity(oe)}getRawValue(){return this._reduceChildren({},(me,oe,lt)=>(me[lt]=be(oe),me))}_syncPendingControls(){let me=this._reduceChildren(!1,(oe,lt)=>!!lt._syncPendingControls()||oe);return me&&this.updateValueAndValidity({onlySelf:!0}),me}_forEachChild(me){Object.keys(this.controls).forEach(oe=>{const lt=this.controls[oe];lt&&me(lt,oe)})}_setUpControls(){this._forEachChild(me=>{me.setParent(this),me._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(me){for(const oe of Object.keys(this.controls)){const lt=this.controls[oe];if(this.contains(oe)&&me(lt))return!0}return!1}_reduceValue(){return this._reduceChildren({},(me,oe,lt)=>((oe.enabled||this.disabled)&&(me[lt]=oe.value),me))}_reduceChildren(me,oe){let lt=me;return this._forEachChild((fn,ni)=>{lt=oe(lt,fn,ni)}),lt}_allControlsDisabled(){for(const me of Object.keys(this.controls))if(this.controls[me].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class xi extends _n{constructor(me,oe,lt){super(Me(oe),ce(lt,oe)),this.controls=me,this._initObservables(),this._setUpdateStrategy(oe),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(me){return this.controls[me]}push(me,oe={}){this.controls.push(me),this._registerControl(me),this.updateValueAndValidity({emitEvent:oe.emitEvent}),this._onCollectionChange()}insert(me,oe,lt={}){this.controls.splice(me,0,oe),this._registerControl(oe),this.updateValueAndValidity({emitEvent:lt.emitEvent})}removeAt(me,oe={}){this.controls[me]&&this.controls[me]._registerOnCollectionChange(()=>{}),this.controls.splice(me,1),this.updateValueAndValidity({emitEvent:oe.emitEvent})}setControl(me,oe,lt={}){this.controls[me]&&this.controls[me]._registerOnCollectionChange(()=>{}),this.controls.splice(me,1),oe&&(this.controls.splice(me,0,oe),this._registerControl(oe)),this.updateValueAndValidity({emitEvent:lt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(me,oe={}){Ct(this,me),me.forEach((lt,fn)=>{Ye(this,fn),this.at(fn).setValue(lt,{onlySelf:!0,emitEvent:oe.emitEvent})}),this.updateValueAndValidity(oe)}patchValue(me,oe={}){null!=me&&(me.forEach((lt,fn)=>{this.at(fn)&&this.at(fn).patchValue(lt,{onlySelf:!0,emitEvent:oe.emitEvent})}),this.updateValueAndValidity(oe))}reset(me=[],oe={}){this._forEachChild((lt,fn)=>{lt.reset(me[fn],{onlySelf:!0,emitEvent:oe.emitEvent})}),this._updatePristine(oe),this._updateTouched(oe),this.updateValueAndValidity(oe)}getRawValue(){return this.controls.map(me=>be(me))}clear(me={}){this.controls.length<1||(this._forEachChild(oe=>oe._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:me.emitEvent}))}_syncPendingControls(){let me=this.controls.reduce((oe,lt)=>!!lt._syncPendingControls()||oe,!1);return me&&this.updateValueAndValidity({onlySelf:!0}),me}_forEachChild(me){this.controls.forEach((oe,lt)=>{me(oe,lt)})}_updateValue(){this.value=this.controls.filter(me=>me.enabled||this.disabled).map(me=>me.value)}_anyControls(me){return this.controls.some(oe=>oe.enabled&&me(oe))}_setUpControls(){this._forEachChild(me=>this._registerControl(me))}_allControlsDisabled(){for(const me of this.controls)if(me.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(me){me.setParent(this),me._registerOnCollectionChange(this._onCollectionChange)}}const Ri={provide:Ft,useExisting:(0,e.Gpc)(()=>di)},mi=(()=>Promise.resolve(null))();let di=(()=>{class ke extends Ft{constructor(oe,lt){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new pi({},nn(oe),Jt(lt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(oe){mi.then(()=>{const lt=this._findContainer(oe.path);oe.control=lt.registerControl(oe.name,oe.control),Tn(oe.control,oe),oe.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(oe)})}getControl(oe){return this.form.get(oe.path)}removeControl(oe){mi.then(()=>{const lt=this._findContainer(oe.path);lt&<.removeControl(oe.name),this._directives.delete(oe)})}addFormGroup(oe){mi.then(()=>{const lt=this._findContainer(oe.path),fn=new pi({});Fn(fn,oe),lt.registerControl(oe.name,fn),fn.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(oe){mi.then(()=>{const lt=this._findContainer(oe.path);lt&<.removeControl(oe.name)})}getFormGroup(oe){return this.form.get(oe.path)}updateModel(oe,lt){mi.then(()=>{this.form.get(oe.path).setValue(lt)})}setValue(oe){this.control.setValue(oe)}onSubmit(oe){return this.submitted=!0,Lt(this.form,this._directives),this.ngSubmit.emit(oe),!1}onReset(){this.resetForm()}resetForm(oe){this.form.reset(oe),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(oe){return oe.pop(),oe.length?this.form.get(oe):this.form}}return ke.\u0275fac=function(oe){return new(oe||ke)(e.Y36(V,10),e.Y36(ne,10))},ke.\u0275dir=e.lG2({type:ke,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(oe,lt){1&oe&&e.NdJ("submit",function(ni){return lt.onSubmit(ni)})("reset",function(){return lt.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Ri]),e.qOj]}),ke})();const qi={provide:pt,useExisting:(0,e.Gpc)(()=>Dr)},Pr=(()=>Promise.resolve(null))();let Dr=(()=>{class ke extends pt{constructor(oe,lt,fn,ni,cr){super(),this._changeDetectorRef=cr,this.control=new wn,this._registered=!1,this.update=new e.vpe,this._parent=oe,this._setValidators(lt),this._setAsyncValidators(fn),this.valueAccessor=an(0,ni)}ngOnChanges(oe){if(this._checkForErrors(),!this._registered||"name"in oe){if(this._registered&&(this._checkName(),this.formDirective)){const lt=oe.name.previousValue;this.formDirective.removeControl({name:lt,path:this._getPath(lt)})}this._setUpControl()}"isDisabled"in oe&&this._updateDisabled(oe),Re(oe,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(oe){this.viewModel=oe,this.update.emit(oe)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Tn(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(oe){Pr.then(()=>{var lt;this.control.setValue(oe,{emitViewToModelChange:!1}),null===(lt=this._changeDetectorRef)||void 0===lt||lt.markForCheck()})}_updateDisabled(oe){const lt=oe.isDisabled.currentValue,fn=""===lt||lt&&"false"!==lt;Pr.then(()=>{var ni;fn&&!this.control.disabled?this.control.disable():!fn&&this.control.disabled&&this.control.enable(),null===(ni=this._changeDetectorRef)||void 0===ni||ni.markForCheck()})}_getPath(oe){return this._parent?function Jn(ke,me){return[...me.path,ke]}(oe,this._parent):[oe]}}return ke.\u0275fac=function(oe){return new(oe||ke)(e.Y36(Ft,9),e.Y36(V,10),e.Y36(ne,10),e.Y36(k,10),e.Y36(e.sBO,8))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([qi]),e.qOj,e.TTD]}),ke})(),Ji=(()=>{class ke{}return ke.\u0275fac=function(oe){return new(oe||ke)},ke.\u0275dir=e.lG2({type:ke,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),ke})();const fi={provide:k,useExisting:(0,e.Gpc)(()=>Mr),multi:!0};let Mr=(()=>{class ke extends b{writeValue(oe){this.setProperty("value",null==oe?"":oe)}registerOnChange(oe){this.onChange=lt=>{oe(""==lt?null:parseFloat(lt))}}}return ke.\u0275fac=function(){let me;return function(lt){return(me||(me=e.n5z(ke)))(lt||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(oe,lt){1&oe&&e.NdJ("input",function(ni){return lt.onChange(ni.target.value)})("blur",function(){return lt.onTouched()})},features:[e._Bn([fi]),e.qOj]}),ke})();const jr={provide:k,useExisting:(0,e.Gpc)(()=>Hr),multi:!0};let kr=(()=>{class ke{}return ke.\u0275fac=function(oe){return new(oe||ke)},ke.\u0275mod=e.oAB({type:ke}),ke.\u0275inj=e.cJS({}),ke})(),Ho=(()=>{class ke{constructor(){this._accessors=[]}add(oe,lt){this._accessors.push([oe,lt])}remove(oe){for(let lt=this._accessors.length-1;lt>=0;--lt)if(this._accessors[lt][1]===oe)return void this._accessors.splice(lt,1)}select(oe){this._accessors.forEach(lt=>{this._isSameGroup(lt,oe)&<[1]!==oe&<[1].fireUncheck(oe.value)})}_isSameGroup(oe,lt){return!!oe[0].control&&oe[0]._parent===lt._control._parent&&oe[1].name===lt.name}}return ke.\u0275fac=function(oe){return new(oe||ke)},ke.\u0275prov=e.Yz7({token:ke,factory:ke.\u0275fac,providedIn:kr}),ke})(),Hr=(()=>{class ke extends b{constructor(oe,lt,fn,ni){super(oe,lt),this._registry=fn,this._injector=ni,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(pt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(oe){this._state=oe===this.value,this.setProperty("checked",this._state)}registerOnChange(oe){this._fn=oe,this.onChange=()=>{oe(this.value),this._registry.select(this)}}fireUncheck(oe){this.writeValue(oe)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return ke.\u0275fac=function(oe){return new(oe||ke)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(Ho),e.Y36(e.zs3))},ke.\u0275dir=e.lG2({type:ke,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(oe,lt){1&oe&&e.NdJ("change",function(){return lt.onChange()})("blur",function(){return lt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[e._Bn([jr]),e.qOj]}),ke})();const xo=new e.OlP("NgModelWithFormControlWarning"),uo={provide:pt,useExisting:(0,e.Gpc)(()=>nr)};let nr=(()=>{class ke extends pt{constructor(oe,lt,fn,ni){super(),this._ngModelWarningConfig=ni,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(oe),this._setAsyncValidators(lt),this.valueAccessor=an(0,fn)}set isDisabled(oe){}ngOnChanges(oe){if(this._isControlChanged(oe)){const lt=oe.form.previousValue;lt&&ri(lt,this,!1),Tn(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Re(oe,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ri(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(oe){this.viewModel=oe,this.update.emit(oe)}_isControlChanged(oe){return oe.hasOwnProperty("form")}}return ke._ngModelWarningSentOnce=!1,ke.\u0275fac=function(oe){return new(oe||ke)(e.Y36(V,10),e.Y36(ne,10),e.Y36(k,10),e.Y36(xo,8))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([uo]),e.qOj,e.TTD]}),ke})();const fo={provide:Ft,useExisting:(0,e.Gpc)(()=>vr)};let vr=(()=>{class ke extends Ft{constructor(oe,lt){super(),this.validators=oe,this.asyncValidators=lt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(oe),this._setAsyncValidators(lt)}ngOnChanges(oe){this._checkFormPresent(),oe.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Se(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(oe){const lt=this.form.get(oe.path);return Tn(lt,oe),lt.updateValueAndValidity({emitEvent:!1}),this.directives.push(oe),lt}getControl(oe){return this.form.get(oe.path)}removeControl(oe){ri(oe.control||null,oe,!1),Un(this.directives,oe)}addFormGroup(oe){this._setUpFormContainer(oe)}removeFormGroup(oe){this._cleanUpFormContainer(oe)}getFormGroup(oe){return this.form.get(oe.path)}addFormArray(oe){this._setUpFormContainer(oe)}removeFormArray(oe){this._cleanUpFormContainer(oe)}getFormArray(oe){return this.form.get(oe.path)}updateModel(oe,lt){this.form.get(oe.path).setValue(lt)}onSubmit(oe){return this.submitted=!0,Lt(this.form,this.directives),this.ngSubmit.emit(oe),!1}onReset(){this.resetForm()}resetForm(oe){this.form.reset(oe),this.submitted=!1}_updateDomValue(){this.directives.forEach(oe=>{const lt=oe.control,fn=this.form.get(oe.path);lt!==fn&&(ri(lt||null,oe),Ge(fn)&&(Tn(fn,oe),oe.control=fn))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(oe){const lt=this.form.get(oe.path);Fn(lt,oe),lt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(oe){if(this.form){const lt=this.form.get(oe.path);lt&&function ti(ke,me){return Se(ke,me)}(lt,oe)&<.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){xe(this.form,this),this._oldForm&&Se(this._oldForm,this)}_checkFormPresent(){}}return ke.\u0275fac=function(oe){return new(oe||ke)(e.Y36(V,10),e.Y36(ne,10))},ke.\u0275dir=e.lG2({type:ke,selectors:[["","formGroup",""]],hostBindings:function(oe,lt){1&oe&&e.NdJ("submit",function(ni){return lt.onSubmit(ni)})("reset",function(){return lt.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([fo]),e.qOj,e.TTD]}),ke})();const eo={provide:k,useExisting:(0,e.Gpc)(()=>Gr),multi:!0};function Mo(ke,me){return null==ke?`${me}`:(me&&"object"==typeof me&&(me="Object"),`${ke}: ${me}`.slice(0,50))}let Gr=(()=>{class ke extends b{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(oe){this._compareWith=oe}writeValue(oe){this.value=oe;const fn=Mo(this._getOptionId(oe),oe);this.setProperty("value",fn)}registerOnChange(oe){this.onChange=lt=>{this.value=this._getOptionValue(lt),oe(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(oe){for(const lt of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(lt),oe))return lt;return null}_getOptionValue(oe){const lt=function _o(ke){return ke.split(":")[0]}(oe);return this._optionMap.has(lt)?this._optionMap.get(lt):oe}}return ke.\u0275fac=function(){let me;return function(lt){return(me||(me=e.n5z(ke)))(lt||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(oe,lt){1&oe&&e.NdJ("change",function(ni){return lt.onChange(ni.target.value)})("blur",function(){return lt.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([eo]),e.qOj]}),ke})(),Ao=(()=>{class ke{constructor(oe,lt,fn){this._element=oe,this._renderer=lt,this._select=fn,this._select&&(this.id=this._select._registerOption())}set ngValue(oe){null!=this._select&&(this._select._optionMap.set(this.id,oe),this._setElementValue(Mo(this.id,oe)),this._select.writeValue(this._select.value))}set value(oe){this._setElementValue(oe),this._select&&this._select.writeValue(this._select.value)}_setElementValue(oe){this._renderer.setProperty(this._element.nativeElement,"value",oe)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return ke.\u0275fac=function(oe){return new(oe||ke)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Gr,9))},ke.\u0275dir=e.lG2({type:ke,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ke})();const to={provide:k,useExisting:(0,e.Gpc)(()=>Oe),multi:!0};function vo(ke,me){return null==ke?`${me}`:("string"==typeof me&&(me=`'${me}'`),me&&"object"==typeof me&&(me="Object"),`${ke}: ${me}`.slice(0,50))}let Oe=(()=>{class ke extends b{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(oe){this._compareWith=oe}writeValue(oe){let lt;if(this.value=oe,Array.isArray(oe)){const fn=oe.map(ni=>this._getOptionId(ni));lt=(ni,cr)=>{ni._setSelected(fn.indexOf(cr.toString())>-1)}}else lt=(fn,ni)=>{fn._setSelected(!1)};this._optionMap.forEach(lt)}registerOnChange(oe){this.onChange=lt=>{const fn=[],ni=lt.selectedOptions;if(void 0!==ni){const cr=ni;for(let Cr=0;Cr{class ke{constructor(oe,lt,fn){this._element=oe,this._renderer=lt,this._select=fn,this._select&&(this.id=this._select._registerOption(this))}set ngValue(oe){null!=this._select&&(this._value=oe,this._setElementValue(vo(this.id,oe)),this._select.writeValue(this._select.value))}set value(oe){this._select?(this._value=oe,this._setElementValue(vo(this.id,oe)),this._select.writeValue(this._select.value)):this._setElementValue(oe)}_setElementValue(oe){this._renderer.setProperty(this._element.nativeElement,"value",oe)}_setSelected(oe){this._renderer.setProperty(this._element.nativeElement,"selected",oe)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return ke.\u0275fac=function(oe){return new(oe||ke)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(Oe,9))},ke.\u0275dir=e.lG2({type:ke,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),ke})();function gi(ke){return"number"==typeof ke?ke:parseFloat(ke)}let Fi=(()=>{class ke{constructor(){this._validator=ot}ngOnChanges(oe){if(this.inputName in oe){const lt=this.normalizeInput(oe[this.inputName].currentValue);this._enabled=this.enabled(lt),this._validator=this._enabled?this.createValidator(lt):ot,this._onChange&&this._onChange()}}validate(oe){return this._validator(oe)}registerOnValidatorChange(oe){this._onChange=oe}enabled(oe){return null!=oe}}return ke.\u0275fac=function(oe){return new(oe||ke)},ke.\u0275dir=e.lG2({type:ke,features:[e.TTD]}),ke})();const Ir={provide:V,useExisting:(0,e.Gpc)(()=>no),multi:!0};let no=(()=>{class ke extends Fi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=oe=>gi(oe),this.createValidator=oe=>se(oe)}}return ke.\u0275fac=function(){let me;return function(lt){return(me||(me=e.n5z(ke)))(lt||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(oe,lt){2&oe&&e.uIk("max",lt._enabled?lt.max:null)},inputs:{max:"max"},features:[e._Bn([Ir]),e.qOj]}),ke})();const pr={provide:V,useExisting:(0,e.Gpc)(()=>oi),multi:!0};let oi=(()=>{class ke extends Fi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=oe=>gi(oe),this.createValidator=oe=>Q(oe)}}return ke.\u0275fac=function(){let me;return function(lt){return(me||(me=e.n5z(ke)))(lt||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(oe,lt){2&oe&&e.uIk("min",lt._enabled?lt.min:null)},inputs:{min:"min"},features:[e._Bn([pr]),e.qOj]}),ke})();const yr={provide:V,useExisting:(0,e.Gpc)(()=>or),multi:!0},mr={provide:V,useExisting:(0,e.Gpc)(()=>io),multi:!0};let or=(()=>{class ke extends Fi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=oe=>function xn(ke){return null!=ke&&!1!==ke&&"false"!=`${ke}`}(oe),this.createValidator=oe=>je}enabled(oe){return oe}}return ke.\u0275fac=function(){let me;return function(lt){return(me||(me=e.n5z(ke)))(lt||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(oe,lt){2&oe&&e.uIk("required",lt._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([yr]),e.qOj]}),ke})(),io=(()=>{class ke extends or{constructor(){super(...arguments),this.createValidator=oe=>nt}}return ke.\u0275fac=function(){let me;return function(lt){return(me||(me=e.n5z(ke)))(lt||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(oe,lt){2&oe&&e.uIk("required",lt._enabled?"":null)},features:[e._Bn([mr]),e.qOj]}),ke})();const Te={provide:V,useExisting:(0,e.Gpc)(()=>at),multi:!0};let at=(()=>{class ke extends Fi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=oe=>function en(ke){return"number"==typeof ke?ke:parseInt(ke,10)}(oe),this.createValidator=oe=>Ce(oe)}}return ke.\u0275fac=function(){let me;return function(lt){return(me||(me=e.n5z(ke)))(lt||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(oe,lt){2&oe&&e.uIk("maxlength",lt._enabled?lt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[e._Bn([Te]),e.qOj]}),ke})();const Yt={provide:V,useExisting:(0,e.Gpc)(()=>hn),multi:!0};let hn=(()=>{class ke extends Fi{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=oe=>oe,this.createValidator=oe=>Ze(oe)}}return ke.\u0275fac=function(){let me;return function(lt){return(me||(me=e.n5z(ke)))(lt||ke)}}(),ke.\u0275dir=e.lG2({type:ke,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(oe,lt){2&oe&&e.uIk("pattern",lt._enabled?lt.pattern:null)},inputs:{pattern:"pattern"},features:[e._Bn([Yt]),e.qOj]}),ke})(),Hi=(()=>{class ke{}return ke.\u0275fac=function(oe){return new(oe||ke)},ke.\u0275mod=e.oAB({type:ke}),ke.\u0275inj=e.cJS({imports:[[kr]]}),ke})(),ui=(()=>{class ke{}return ke.\u0275fac=function(oe){return new(oe||ke)},ke.\u0275mod=e.oAB({type:ke}),ke.\u0275inj=e.cJS({imports:[Hi]}),ke})(),ji=(()=>{class ke{static withConfig(oe){return{ngModule:ke,providers:[{provide:xo,useValue:oe.warnOnNgModelWithFormControl}]}}}return ke.\u0275fac=function(oe){return new(oe||ke)},ke.\u0275mod=e.oAB({type:ke}),ke.\u0275inj=e.cJS({imports:[Hi]}),ke})()},7703:(X,N,p)=>{"use strict";p.d(N,{lW:()=>H,ot:()=>O});var e=p(5e3),o=p(508),u=p(6360),d=p(5664);const c=["mat-button",""],g=["*"],A=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],I=(0,o.pj)((0,o.Id)((0,o.Kr)(class{constructor(Z){this._elementRef=Z}})));let H=(()=>{class Z extends I{constructor(te,V,ne){super(te),this._focusMonitor=V,this._animationMode=ne,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const ue of A)this._hasHostAttributes(ue)&&this._getHostElement().classList.add(ue);te.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(te,V){te?this._focusMonitor.focusVia(this._getHostElement(),te,V):this._getHostElement().focus(V)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...te){return te.some(V=>this._getHostElement().hasAttribute(V))}}return Z.\u0275fac=function(te){return new(te||Z)(e.Y36(e.SBq),e.Y36(d.tE),e.Y36(u.Qb,8))},Z.\u0275cmp=e.Xpm({type:Z,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(te,V){if(1&te&&e.Gf(o.wG,5),2&te){let ne;e.iGM(ne=e.CRH())&&(V.ripple=ne.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(te,V){2&te&&(e.uIk("disabled",V.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===V._animationMode)("mat-button-disabled",V.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:c,ngContentSelectors:g,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(te,V){1&te&&(e.F$t(),e.TgZ(0,"span",0),e.Hsn(1),e.qZA(),e._UZ(2,"span",1)(3,"span",2)),2&te&&(e.xp6(2),e.ekj("mat-button-ripple-round",V.isRoundButton||V.isIconButton),e.Q6J("matRippleDisabled",V._isRippleDisabled())("matRippleCentered",V.isIconButton)("matRippleTrigger",V._getHostElement()))},directives:[o.wG],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),Z})(),O=(()=>{class Z{}return Z.\u0275fac=function(te){return new(te||Z)},Z.\u0275mod=e.oAB({type:Z}),Z.\u0275inj=e.cJS({imports:[[o.si,o.BQ],o.BQ]}),Z})()},7446:(X,N,p)=>{"use strict";p.d(N,{oG:()=>ne,p9:()=>se});var e=p(3191),o=p(5e3),u=p(3075),d=p(508),c=p(6360),g=p(5664),b=p(7144);const k=["input"],A=function(je){return{enterDuration:je}},I=["*"],H=new o.OlP("mat-checkbox-default-options",{providedIn:"root",factory:z});function z(){return{color:"accent",clickAction:"check-indeterminate"}}let O=0;const Z=z(),q={provide:u.JU,useExisting:(0,o.Gpc)(()=>ne),multi:!0};class te{}const V=(0,d.sb)((0,d.pj)((0,d.Kr)((0,d.Id)(class{constructor(je){this._elementRef=je}}))));let ne=(()=>{class je extends V{constructor(He,de,Ce,Ze,ot,Ke,xt){super(He),this._changeDetectorRef=de,this._focusMonitor=Ce,this._ngZone=Ze,this._animationMode=Ke,this._options=xt,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++O,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new o.vpe,this.indeterminateChange=new o.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Z,this.color=this.defaultColor=this._options.color||Z.color,this.tabIndex=parseInt(ot)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(He){this._required=(0,e.Ig)(He)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(He=>{He||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(He){const de=(0,e.Ig)(He);de!=this.checked&&(this._checked=de,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(He){const de=(0,e.Ig)(He);de!==this.disabled&&(this._disabled=de,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(He){const de=He!=this._indeterminate;this._indeterminate=(0,e.Ig)(He),de&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(He){this.checked=!!He}registerOnChange(He){this._controlValueAccessorChangeFn=He}registerOnTouched(He){this._onTouched=He}setDisabledState(He){this.disabled=He}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(He){let de=this._currentCheckState,Ce=this._elementRef.nativeElement;if(de!==He&&(this._currentAnimationClass.length>0&&Ce.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(de,He),this._currentCheckState=He,this._currentAnimationClass.length>0)){Ce.classList.add(this._currentAnimationClass);const Ze=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{Ce.classList.remove(Ze)},1e3)})}}_emitChangeEvent(){const He=new te;He.source=this,He.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(He),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_onInputClick(He){var de;const Ce=null===(de=this._options)||void 0===de?void 0:de.clickAction;He.stopPropagation(),this.disabled||"noop"===Ce?!this.disabled&&"noop"===Ce&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==Ce&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(He,de){He?this._focusMonitor.focusVia(this._inputElement,He,de):this._inputElement.nativeElement.focus(de)}_onInteractionEvent(He){He.stopPropagation()}_getAnimationClassForCheckStateTransition(He,de){if("NoopAnimations"===this._animationMode)return"";let Ce="";switch(He){case 0:if(1===de)Ce="unchecked-checked";else{if(3!=de)return"";Ce="unchecked-indeterminate"}break;case 2:Ce=1===de?"unchecked-checked":"unchecked-indeterminate";break;case 1:Ce=2===de?"checked-unchecked":"checked-indeterminate";break;case 3:Ce=1===de?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${Ce}`}_syncIndeterminate(He){const de=this._inputElement;de&&(de.nativeElement.indeterminate=He)}}return je.\u0275fac=function(He){return new(He||je)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(g.tE),o.Y36(o.R0b),o.$8M("tabindex"),o.Y36(c.Qb,8),o.Y36(H,8))},je.\u0275cmp=o.Xpm({type:je,selectors:[["mat-checkbox"]],viewQuery:function(He,de){if(1&He&&(o.Gf(k,5),o.Gf(d.wG,5)),2&He){let Ce;o.iGM(Ce=o.CRH())&&(de._inputElement=Ce.first),o.iGM(Ce=o.CRH())&&(de.ripple=Ce.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(He,de){2&He&&(o.Ikx("id",de.id),o.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),o.ekj("mat-checkbox-indeterminate",de.indeterminate)("mat-checkbox-checked",de.checked)("mat-checkbox-disabled",de.disabled)("mat-checkbox-label-before","before"==de.labelPosition)("_mat-animation-noopable","NoopAnimations"===de._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[o._Bn([q]),o.qOj],ngContentSelectors:I,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(He,de){if(1&He&&(o.F$t(),o.TgZ(0,"label",0,1)(2,"span",2)(3,"input",3,4),o.NdJ("change",function(Ze){return de._onInteractionEvent(Ze)})("click",function(Ze){return de._onInputClick(Ze)}),o.qZA(),o.TgZ(5,"span",5),o._UZ(6,"span",6),o.qZA(),o._UZ(7,"span",7),o.TgZ(8,"span",8),o.O4$(),o.TgZ(9,"svg",9),o._UZ(10,"path",10),o.qZA(),o.kcU(),o._UZ(11,"span",11),o.qZA()(),o.TgZ(12,"span",12,13),o.NdJ("cdkObserveContent",function(){return de._onLabelTextChange()}),o.TgZ(14,"span",14),o._uU(15,"\xa0"),o.qZA(),o.Hsn(16),o.qZA()()),2&He){const Ce=o.MAs(1),Ze=o.MAs(13);o.uIk("for",de.inputId),o.xp6(2),o.ekj("mat-checkbox-inner-container-no-side-margin",!Ze.textContent||!Ze.textContent.trim()),o.xp6(1),o.Q6J("id",de.inputId)("required",de.required)("checked",de.checked)("disabled",de.disabled)("tabIndex",de.tabIndex),o.uIk("value",de.value)("name",de.name)("aria-label",de.ariaLabel||null)("aria-labelledby",de.ariaLabelledby)("aria-checked",de._getAriaChecked())("aria-describedby",de.ariaDescribedby),o.xp6(2),o.Q6J("matRippleTrigger",Ce)("matRippleDisabled",de._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",o.VKq(19,A,"NoopAnimations"===de._animationMode?0:150))}},directives:[d.wG,b.wD],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),je})(),Q=(()=>{class je{}return je.\u0275fac=function(He){return new(He||je)},je.\u0275mod=o.oAB({type:je}),je.\u0275inj=o.cJS({}),je})(),se=(()=>{class je{}return je.\u0275fac=function(He){return new(He||je)},je.\u0275mod=o.oAB({type:je}),je.\u0275inj=o.cJS({imports:[[d.si,d.BQ,b.Q8,Q],d.BQ,Q]}),je})()},6688:(X,N,p)=>{"use strict";p.d(N,{Hi:()=>nn});var e=p(1159),o=p(5e3),u=p(508);p(3191),p(9808),p(6360),p(7579),p(6451),p(5698),p(2722),p(8675),p(925),p(5664),p(449),p(3075),p(3489),p(226);const ot=new o.OlP("mat-chips-default-options");let nn=(()=>{class mn{}return mn.\u0275fac=function(et){return new(et||mn)},mn.\u0275mod=o.oAB({type:mn}),mn.\u0275inj=o.cJS({providers:[u.rD,{provide:ot,useValue:{separatorKeyCodes:[e.K5]}}],imports:[[u.BQ]]}),mn})()},508:(X,N,p)=>{"use strict";p.d(N,{_A:()=>Zt,rD:()=>bt,sG:()=>Sn,Ad:()=>Be,K7:()=>Ln,HF:()=>Mt,Y2:()=>G,BQ:()=>se,XK:()=>Pt,ey:()=>Jn,Ng:()=>zn,rN:()=>Gn,wG:()=>_e,si:()=>he,IR:()=>kn,CB:()=>Tn,jH:()=>ri,pj:()=>Ce,Kr:()=>Ze,Id:()=>de,FD:()=>Ke,dB:()=>xt,sb:()=>ot});var e=p(5e3),o=p(226),d=p(9808),c=p(925),g=p(5664),b=p(3191),k=p(7579),A=p(8306),I=p(6360),H=p(1159);function Z($t,xe){if(1&$t&&e._UZ(0,"mat-pseudo-checkbox",4),2&$t){const Se=e.oxw();e.Q6J("state",Se.selected?"checked":"unchecked")("disabled",Se.disabled)}}function q($t,xe){if(1&$t&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&$t){const Se=e.oxw();e.xp6(1),e.hij("(",Se.group.label,")")}}const te=["*"],Q=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function ee(){return!0}});let se=(()=>{class $t{constructor(Se,j,Ie){this._sanityChecks=j,this._document=Ie,this._hasDoneGlobalChecks=!1,Se._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Se){return!(0,c.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Se])}}return $t.\u0275fac=function(Se){return new(Se||$t)(e.LFG(g.qm),e.LFG(Q,8),e.LFG(d.K0))},$t.\u0275mod=e.oAB({type:$t}),$t.\u0275inj=e.cJS({imports:[[o.vT],o.vT]}),$t})();function de($t){return class extends $t{constructor(...xe){super(...xe),this._disabled=!1}get disabled(){return this._disabled}set disabled(xe){this._disabled=(0,b.Ig)(xe)}}}function Ce($t,xe){return class extends $t{constructor(...Se){super(...Se),this.defaultColor=xe,this.color=xe}get color(){return this._color}set color(Se){const j=Se||this.defaultColor;j!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),j&&this._elementRef.nativeElement.classList.add(`mat-${j}`),this._color=j)}}}function Ze($t){return class extends $t{constructor(...xe){super(...xe),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(xe){this._disableRipple=(0,b.Ig)(xe)}}}function ot($t,xe=0){return class extends $t{constructor(...Se){super(...Se),this._tabIndex=xe,this.defaultTabIndex=xe}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(Se){this._tabIndex=null!=Se?(0,b.su)(Se):this.defaultTabIndex}}}function Ke($t){return class extends $t{constructor(...xe){super(...xe),this.stateChanges=new k.x,this.errorState=!1}updateErrorState(){const xe=this.errorState,vt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);vt!==xe&&(this.errorState=vt,this.stateChanges.next())}}}function xt($t){return class extends $t{constructor(...xe){super(...xe),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new A.y(Se=>{this._isInitialized?this._notifySubscriber(Se):this._pendingSubscribers.push(Se)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(xe){xe.next(),xe.complete()}}}const Be=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function Tt(){return(0,e.f3M)(e.soG)}});class Zt{constructor(){this._localeChanges=new k.x,this.localeChanges=this._localeChanges}getValidDateOrNull(xe){return this.isDateInstance(xe)&&this.isValid(xe)?xe:null}deserialize(xe){return null==xe||this.isDateInstance(xe)&&this.isValid(xe)?xe:this.invalid()}setLocale(xe){this.locale=xe,this._localeChanges.next()}compareDate(xe,Se){return this.getYear(xe)-this.getYear(Se)||this.getMonth(xe)-this.getMonth(Se)||this.getDate(xe)-this.getDate(Se)}sameDate(xe,Se){if(xe&&Se){let j=this.isValid(xe),Ie=this.isValid(Se);return j&&Ie?!this.compareDate(xe,Se):j==Ie}return xe==Se}clampDate(xe,Se,j){return Se&&this.compareDate(xe,Se)<0?Se:j&&this.compareDate(xe,j)>0?j:xe}}const Sn=new e.OlP("mat-date-formats"),Xt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function nn($t,xe){const Se=Array($t);for(let j=0;j<$t;j++)Se[j]=xe(j);return Se}let mn=(()=>{class $t extends Zt{constructor(Se,j){super(),this.useUtcForDisplay=!1,super.setLocale(Se)}getYear(Se){return Se.getFullYear()}getMonth(Se){return Se.getMonth()}getDate(Se){return Se.getDate()}getDayOfWeek(Se){return Se.getDay()}getMonthNames(Se){const j=new Intl.DateTimeFormat(this.locale,{month:Se,timeZone:"utc"});return nn(12,Ie=>this._format(j,new Date(2017,Ie,1)))}getDateNames(){const Se=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return nn(31,j=>this._format(Se,new Date(2017,0,j+1)))}getDayOfWeekNames(Se){const j=new Intl.DateTimeFormat(this.locale,{weekday:Se,timeZone:"utc"});return nn(7,Ie=>this._format(j,new Date(2017,0,Ie+1)))}getYearName(Se){const j=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(j,Se)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Se){return this.getDate(this._createDateWithOverflow(this.getYear(Se),this.getMonth(Se)+1,0))}clone(Se){return new Date(Se.getTime())}createDate(Se,j,Ie){let vt=this._createDateWithOverflow(Se,j,Ie);return vt.getMonth(),vt}today(){return new Date}parse(Se){return"number"==typeof Se?new Date(Se):Se?new Date(Date.parse(Se)):null}format(Se,j){if(!this.isValid(Se))throw Error("NativeDateAdapter: Cannot format invalid date.");const Ie=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},j),{timeZone:"utc"}));return this._format(Ie,Se)}addCalendarYears(Se,j){return this.addCalendarMonths(Se,12*j)}addCalendarMonths(Se,j){let Ie=this._createDateWithOverflow(this.getYear(Se),this.getMonth(Se)+j,this.getDate(Se));return this.getMonth(Ie)!=((this.getMonth(Se)+j)%12+12)%12&&(Ie=this._createDateWithOverflow(this.getYear(Ie),this.getMonth(Ie),0)),Ie}addCalendarDays(Se,j){return this._createDateWithOverflow(this.getYear(Se),this.getMonth(Se),this.getDate(Se)+j)}toIso8601(Se){return[Se.getUTCFullYear(),this._2digit(Se.getUTCMonth()+1),this._2digit(Se.getUTCDate())].join("-")}deserialize(Se){if("string"==typeof Se){if(!Se)return null;if(Xt.test(Se)){let j=new Date(Se);if(this.isValid(j))return j}}return super.deserialize(Se)}isDateInstance(Se){return Se instanceof Date}isValid(Se){return!isNaN(Se.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Se,j,Ie){const vt=new Date;return vt.setFullYear(Se,j,Ie),vt.setHours(0,0,0,0),vt}_2digit(Se){return("00"+Se).slice(-2)}_format(Se,j){const Ie=new Date;return Ie.setUTCFullYear(j.getFullYear(),j.getMonth(),j.getDate()),Ie.setUTCHours(j.getHours(),j.getMinutes(),j.getSeconds(),j.getMilliseconds()),Se.format(Ie)}}return $t.\u0275fac=function(Se){return new(Se||$t)(e.LFG(Be,8),e.LFG(c.t4))},$t.\u0275prov=e.Yz7({token:$t,factory:$t.\u0275fac}),$t})();const Jt={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let et=(()=>{class $t{}return $t.\u0275fac=function(Se){return new(Se||$t)},$t.\u0275mod=e.oAB({type:$t}),$t.\u0275inj=e.cJS({providers:[{provide:Zt,useClass:mn}]}),$t})(),Pt=(()=>{class $t{}return $t.\u0275fac=function(Se){return new(Se||$t)},$t.\u0275mod=e.oAB({type:$t}),$t.\u0275inj=e.cJS({providers:[{provide:Sn,useValue:Jt}],imports:[[et]]}),$t})(),bt=(()=>{class $t{isErrorState(Se,j){return!!(Se&&Se.invalid&&(Se.touched||j&&j.submitted))}}return $t.\u0275fac=function(Se){return new(Se||$t)},$t.\u0275prov=e.Yz7({token:$t,factory:$t.\u0275fac,providedIn:"root"}),$t})();class pt{constructor(xe,Se,j){this._renderer=xe,this.element=Se,this.config=j,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ft={enterDuration:225,exitDuration:150},un=(0,c.i$)({passive:!0}),Wn=["mousedown","touchstart"],Pn=["mouseup","mouseleave","touchend","touchcancel"];class kn{constructor(xe,Se,j,Ie){this._target=xe,this._ngZone=Se,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,Ie.isBrowser&&(this._containerElement=(0,b.fI)(j))}fadeInRipple(xe,Se,j={}){const Ie=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),vt=Object.assign(Object.assign({},Ft),j.animation);j.centered&&(xe=Ie.left+Ie.width/2,Se=Ie.top+Ie.height/2);const Vt=j.radius||function rt($t,xe,Se){const j=Math.max(Math.abs($t-Se.left),Math.abs($t-Se.right)),Ie=Math.max(Math.abs(xe-Se.top),Math.abs(xe-Se.bottom));return Math.sqrt(j*j+Ie*Ie)}(xe,Se,Ie),Fn=xe-Ie.left,ti=Se-Ie.top,Qt=vt.enterDuration,Cn=document.createElement("div");Cn.classList.add("mat-ripple-element"),Cn.style.left=Fn-Vt+"px",Cn.style.top=ti-Vt+"px",Cn.style.height=2*Vt+"px",Cn.style.width=2*Vt+"px",null!=j.color&&(Cn.style.backgroundColor=j.color),Cn.style.transitionDuration=`${Qt}ms`,this._containerElement.appendChild(Cn),function Kt($t){window.getComputedStyle($t).getPropertyValue("opacity")}(Cn),Cn.style.transform="scale(1)";const ct=new pt(this,Cn,j);return ct.state=0,this._activeRipples.add(ct),j.persistent||(this._mostRecentTransientRipple=ct),this._runTimeoutOutsideZone(()=>{const ve=ct===this._mostRecentTransientRipple;ct.state=1,!j.persistent&&(!ve||!this._isPointerDown)&&ct.fadeOut()},Qt),ct}fadeOutRipple(xe){const Se=this._activeRipples.delete(xe);if(xe===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!Se)return;const j=xe.element,Ie=Object.assign(Object.assign({},Ft),xe.config.animation);j.style.transitionDuration=`${Ie.exitDuration}ms`,j.style.opacity="0",xe.state=2,this._runTimeoutOutsideZone(()=>{xe.state=3,j.remove()},Ie.exitDuration)}fadeOutAll(){this._activeRipples.forEach(xe=>xe.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(xe=>{xe.config.persistent||xe.fadeOut()})}setupTriggerEvents(xe){const Se=(0,b.fI)(xe);!Se||Se===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Se,this._registerEvents(Wn))}handleEvent(xe){"mousedown"===xe.type?this._onMousedown(xe):"touchstart"===xe.type?this._onTouchStart(xe):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Pn),this._pointerUpEventsRegistered=!0)}_onMousedown(xe){const Se=(0,g.X6)(xe),j=this._lastTouchStartEvent&&Date.now(){!xe.config.persistent&&(1===xe.state||xe.config.terminateOnPointerUp&&0===xe.state)&&xe.fadeOut()}))}_runTimeoutOutsideZone(xe,Se=0){this._ngZone.runOutsideAngular(()=>setTimeout(xe,Se))}_registerEvents(xe){this._ngZone.runOutsideAngular(()=>{xe.forEach(Se=>{this._triggerElement.addEventListener(Se,this,un)})})}_removeTriggerEvents(){this._triggerElement&&(Wn.forEach(xe=>{this._triggerElement.removeEventListener(xe,this,un)}),this._pointerUpEventsRegistered&&Pn.forEach(xe=>{this._triggerElement.removeEventListener(xe,this,un)}))}}const G=new e.OlP("mat-ripple-global-options");let _e=(()=>{class $t{constructor(Se,j,Ie,vt,Vt){this._elementRef=Se,this._animationMode=Vt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=vt||{},this._rippleRenderer=new kn(this,j,Se,Ie)}get disabled(){return this._disabled}set disabled(Se){Se&&this.fadeOutAllNonPersistent(),this._disabled=Se,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Se){this._trigger=Se,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(Se,j=0,Ie){return"number"==typeof Se?this._rippleRenderer.fadeInRipple(Se,j,Object.assign(Object.assign({},this.rippleConfig),Ie)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),Se))}}return $t.\u0275fac=function(Se){return new(Se||$t)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(c.t4),e.Y36(G,8),e.Y36(I.Qb,8))},$t.\u0275dir=e.lG2({type:$t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(Se,j){2&Se&&e.ekj("mat-ripple-unbounded",j.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),$t})(),he=(()=>{class $t{}return $t.\u0275fac=function(Se){return new(Se||$t)},$t.\u0275mod=e.oAB({type:$t}),$t.\u0275inj=e.cJS({imports:[[se],se]}),$t})(),De=(()=>{class $t{constructor(Se){this._animationMode=Se,this.state="unchecked",this.disabled=!1}}return $t.\u0275fac=function(Se){return new(Se||$t)(e.Y36(I.Qb,8))},$t.\u0275cmp=e.Xpm({type:$t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(Se,j){2&Se&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===j.state)("mat-pseudo-checkbox-checked","checked"===j.state)("mat-pseudo-checkbox-disabled",j.disabled)("_mat-animation-noopable","NoopAnimations"===j._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(Se,j){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),$t})(),Ve=(()=>{class $t{}return $t.\u0275fac=function(Se){return new(Se||$t)},$t.\u0275mod=e.oAB({type:$t}),$t.\u0275inj=e.cJS({imports:[[se]]}),$t})();const Mt=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),Ln=new e.OlP("MatOptgroup");let In=0;class Gn{constructor(xe,Se=!1){this.source=xe,this.isUserInput=Se}}let Hn=(()=>{class $t{constructor(Se,j,Ie,vt){this._element=Se,this._changeDetectorRef=j,this._parent=Ie,this.group=vt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+In++,this.onSelectionChange=new e.vpe,this._stateChanges=new k.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(Se){this._disabled=(0,b.Ig)(Se)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(Se,j){const Ie=this._getHostElement();"function"==typeof Ie.focus&&Ie.focus(j)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Se){(Se.keyCode===H.K5||Se.keyCode===H.L_)&&!(0,H.Vb)(Se)&&(this._selectViaInteraction(),Se.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const Se=this.viewValue;Se!==this._mostRecentViewValue&&(this._mostRecentViewValue=Se,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Se=!1){this.onSelectionChange.emit(new Gn(this,Se))}}return $t.\u0275fac=function(Se){e.$Z()},$t.\u0275dir=e.lG2({type:$t,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),$t})(),Jn=(()=>{class $t extends Hn{constructor(Se,j,Ie,vt){super(Se,j,Ie,vt)}}return $t.\u0275fac=function(Se){return new(Se||$t)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Mt,8),e.Y36(Ln,8))},$t.\u0275cmp=e.Xpm({type:$t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(Se,j){1&Se&&e.NdJ("click",function(){return j._selectViaInteraction()})("keydown",function(vt){return j._handleKeydown(vt)}),2&Se&&(e.Ikx("id",j.id),e.uIk("tabindex",j._getTabIndex())("aria-selected",j._getAriaSelected())("aria-disabled",j.disabled.toString()),e.ekj("mat-selected",j.selected)("mat-option-multiple",j.multiple)("mat-active",j.active)("mat-option-disabled",j.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:te,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(Se,j){1&Se&&(e.F$t(),e.YNc(0,Z,1,2,"mat-pseudo-checkbox",0),e.TgZ(1,"span",1),e.Hsn(2),e.qZA(),e.YNc(3,q,2,1,"span",2),e._UZ(4,"div",3)),2&Se&&(e.Q6J("ngIf",j.multiple),e.xp6(3),e.Q6J("ngIf",j.group&&j.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",j._getHostElement())("matRippleDisabled",j.disabled||j.disableRipple))},directives:[De,d.O5,_e],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),$t})();function Tn($t,xe,Se){if(Se.length){let j=xe.toArray(),Ie=Se.toArray(),vt=0;for(let Vt=0;Vt<$t+1;Vt++)j[Vt].group&&j[Vt].group===Ie[vt]&&vt++;return vt}return 0}function ri($t,xe,Se,j){return $tSe+j?Math.max(0,$t-j+xe):Se}let zn=(()=>{class $t{}return $t.\u0275fac=function(Se){return new(Se||$t)},$t.\u0275mod=e.oAB({type:$t}),$t.\u0275inj=e.cJS({imports:[[he,d.ez,se,Ve]]}),$t})()},6856:(X,N,p)=>{"use strict";p.d(N,{FA:()=>_t,Mq:()=>Qt,hl:()=>Lt,nW:()=>Un});var e=p(5664),o=p(9776),u=p(7429),d=p(9808),c=p(5e3),g=p(7703),b=p(495),k=p(508),A=p(7579),I=p(727),H=p(6451),z=p(9646),O=p(1159),Z=p(5698),q=p(8675),te=p(9300),V=p(226),ne=p(3191),ue=p(925),ee=p(1777),Q=p(3075),se=p(3489),je=p(7531);const nt=["mat-calendar-body",""];function He(Ge,qe){if(1&Ge&&(c.TgZ(0,"tr",2)(1,"td",3),c._uU(2),c.qZA()()),2&Ge){const R=c.oxw();c.xp6(1),c.Udp("padding-top",R._cellPadding)("padding-bottom",R._cellPadding),c.uIk("colspan",R.numCols),c.xp6(1),c.hij(" ",R.label," ")}}function de(Ge,qe){if(1&Ge&&(c.TgZ(0,"td",3),c._uU(1),c.qZA()),2&Ge){const R=c.oxw(2);c.Udp("padding-top",R._cellPadding)("padding-bottom",R._cellPadding),c.uIk("colspan",R._firstRowOffset),c.xp6(1),c.hij(" ",R._firstRowOffset>=R.labelMinRequiredCells?R.label:""," ")}}function Ce(Ge,qe){if(1&Ge){const R=c.EpF();c.TgZ(0,"td",7)(1,"button",8),c.NdJ("click",function(Ye){const _n=c.CHM(R).$implicit;return c.oxw(2)._cellClicked(_n,Ye)}),c.TgZ(2,"div",9),c._uU(3),c.qZA(),c._UZ(4,"div",10),c.qZA()()}if(2&Ge){const R=qe.$implicit,be=qe.index,Ye=c.oxw().index,Ct=c.oxw();c.Udp("width",Ct._cellWidth)("padding-top",Ct._cellPadding)("padding-bottom",Ct._cellPadding),c.uIk("data-mat-row",Ye)("data-mat-col",be),c.xp6(1),c.ekj("mat-calendar-body-disabled",!R.enabled)("mat-calendar-body-active",Ct._isActiveCell(Ye,be))("mat-calendar-body-range-start",Ct._isRangeStart(R.compareValue))("mat-calendar-body-range-end",Ct._isRangeEnd(R.compareValue))("mat-calendar-body-in-range",Ct._isInRange(R.compareValue))("mat-calendar-body-comparison-bridge-start",Ct._isComparisonBridgeStart(R.compareValue,Ye,be))("mat-calendar-body-comparison-bridge-end",Ct._isComparisonBridgeEnd(R.compareValue,Ye,be))("mat-calendar-body-comparison-start",Ct._isComparisonStart(R.compareValue))("mat-calendar-body-comparison-end",Ct._isComparisonEnd(R.compareValue))("mat-calendar-body-in-comparison-range",Ct._isInComparisonRange(R.compareValue))("mat-calendar-body-preview-start",Ct._isPreviewStart(R.compareValue))("mat-calendar-body-preview-end",Ct._isPreviewEnd(R.compareValue))("mat-calendar-body-in-preview",Ct._isInPreview(R.compareValue)),c.Q6J("ngClass",R.cssClasses)("tabindex",Ct._isActiveCell(Ye,be)?0:-1),c.uIk("aria-label",R.ariaLabel)("aria-disabled",!R.enabled||null)("aria-pressed",Ct._isSelected(R.compareValue))("aria-current",Ct.todayValue===R.compareValue?"date":null),c.xp6(1),c.ekj("mat-calendar-body-selected",Ct._isSelected(R.compareValue))("mat-calendar-body-comparison-identical",Ct._isComparisonIdentical(R.compareValue))("mat-calendar-body-today",Ct.todayValue===R.compareValue),c.xp6(1),c.hij(" ",R.displayValue," ")}}function Ze(Ge,qe){if(1&Ge&&(c.TgZ(0,"tr",4),c.YNc(1,de,2,6,"td",5),c.YNc(2,Ce,5,47,"td",6),c.qZA()),2&Ge){const R=qe.$implicit,be=qe.index,Ye=c.oxw();c.xp6(1),c.Q6J("ngIf",0===be&&Ye._firstRowOffset),c.xp6(1),c.Q6J("ngForOf",R)}}function ot(Ge,qe){if(1&Ge&&(c.TgZ(0,"th",5)(1,"span",6),c._uU(2),c.qZA(),c.TgZ(3,"span",7),c._uU(4),c.qZA()()),2&Ge){const R=qe.$implicit;c.xp6(2),c.Oqu(R.long),c.xp6(2),c.Oqu(R.narrow)}}const Ke=["*"];function xt(Ge,qe){}function Be(Ge,qe){if(1&Ge){const R=c.EpF();c.TgZ(0,"mat-month-view",5),c.NdJ("activeDateChange",function(Ye){return c.CHM(R),c.oxw().activeDate=Ye})("_userSelection",function(Ye){return c.CHM(R),c.oxw()._dateSelected(Ye)}),c.qZA()}if(2&Ge){const R=c.oxw();c.Q6J("activeDate",R.activeDate)("selected",R.selected)("dateFilter",R.dateFilter)("maxDate",R.maxDate)("minDate",R.minDate)("dateClass",R.dateClass)("comparisonStart",R.comparisonStart)("comparisonEnd",R.comparisonEnd)}}function Tt(Ge,qe){if(1&Ge){const R=c.EpF();c.TgZ(0,"mat-year-view",6),c.NdJ("activeDateChange",function(Ye){return c.CHM(R),c.oxw().activeDate=Ye})("monthSelected",function(Ye){return c.CHM(R),c.oxw()._monthSelectedInYearView(Ye)})("selectedChange",function(Ye){return c.CHM(R),c.oxw()._goToDateInView(Ye,"month")}),c.qZA()}if(2&Ge){const R=c.oxw();c.Q6J("activeDate",R.activeDate)("selected",R.selected)("dateFilter",R.dateFilter)("maxDate",R.maxDate)("minDate",R.minDate)("dateClass",R.dateClass)}}function Zt(Ge,qe){if(1&Ge){const R=c.EpF();c.TgZ(0,"mat-multi-year-view",7),c.NdJ("activeDateChange",function(Ye){return c.CHM(R),c.oxw().activeDate=Ye})("yearSelected",function(Ye){return c.CHM(R),c.oxw()._yearSelectedInMultiYearView(Ye)})("selectedChange",function(Ye){return c.CHM(R),c.oxw()._goToDateInView(Ye,"year")}),c.qZA()}if(2&Ge){const R=c.oxw();c.Q6J("activeDate",R.activeDate)("selected",R.selected)("dateFilter",R.dateFilter)("maxDate",R.maxDate)("minDate",R.minDate)("dateClass",R.dateClass)}}function Sn(Ge,qe){}const Xt=["button"];function nn(Ge,qe){1&Ge&&(c.O4$(),c.TgZ(0,"svg",3),c._UZ(1,"path",4),c.qZA())}const mn=[[["","matDatepickerToggleIcon",""]]],Jt=["[matDatepickerToggleIcon]"];class dt{constructor(qe,R,be,Ye,Ct={},_n=qe,wn){this.value=qe,this.displayValue=R,this.ariaLabel=be,this.enabled=Ye,this.cssClasses=Ct,this.compareValue=_n,this.rawValue=wn}}let ut=(()=>{class Ge{constructor(R,be){this._elementRef=R,this._ngZone=be,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new c.vpe,this.previewChange=new c.vpe,this._enterHandler=Ye=>{if(this._skipNextFocus&&"focus"===Ye.type)this._skipNextFocus=!1;else if(Ye.target&&this.isRange){const Ct=this._getCellFromElement(Ye.target);Ct&&this._ngZone.run(()=>this.previewChange.emit({value:Ct.enabled?Ct:null,event:Ye}))}},this._leaveHandler=Ye=>{null!==this.previewEnd&&this.isRange&&Ye.target&&this._getCellFromElement(Ye.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ye}))},be.runOutsideAngular(()=>{const Ye=R.nativeElement;Ye.addEventListener("mouseenter",this._enterHandler,!0),Ye.addEventListener("focus",this._enterHandler,!0),Ye.addEventListener("mouseleave",this._leaveHandler,!0),Ye.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(R,be){R.enabled&&this.selectedValueChange.emit({value:R.value,event:be})}_isSelected(R){return this.startValue===R||this.endValue===R}ngOnChanges(R){const be=R.numCols,{rows:Ye,numCols:Ct}=this;(R.rows||be)&&(this._firstRowOffset=Ye&&Ye.length&&Ye[0].length?Ct-Ye[0].length:0),(R.cellAspectRatio||be||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Ct+"%"),(be||!this._cellWidth)&&(this._cellWidth=100/Ct+"%")}ngOnDestroy(){const R=this._elementRef.nativeElement;R.removeEventListener("mouseenter",this._enterHandler,!0),R.removeEventListener("focus",this._enterHandler,!0),R.removeEventListener("mouseleave",this._leaveHandler,!0),R.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(R,be){let Ye=R*this.numCols+be;return R&&(Ye-=this._firstRowOffset),Ye==this.activeCell}_focusActiveCell(R=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Z.q)(1)).subscribe(()=>{setTimeout(()=>{const be=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");be&&(R||(this._skipNextFocus=!0),be.focus())})})})}_isRangeStart(R){return kt(R,this.startValue,this.endValue)}_isRangeEnd(R){return pt(R,this.startValue,this.endValue)}_isInRange(R){return Ft(R,this.startValue,this.endValue,this.isRange)}_isComparisonStart(R){return kt(R,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(R,be,Ye){if(!this._isComparisonStart(R)||this._isRangeStart(R)||!this._isInRange(R))return!1;let Ct=this.rows[be][Ye-1];if(!Ct){const _n=this.rows[be-1];Ct=_n&&_n[_n.length-1]}return Ct&&!this._isRangeEnd(Ct.compareValue)}_isComparisonBridgeEnd(R,be,Ye){if(!this._isComparisonEnd(R)||this._isRangeEnd(R)||!this._isInRange(R))return!1;let Ct=this.rows[be][Ye+1];if(!Ct){const _n=this.rows[be+1];Ct=_n&&_n[0]}return Ct&&!this._isRangeStart(Ct.compareValue)}_isComparisonEnd(R){return pt(R,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(R){return Ft(R,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(R){return this.comparisonStart===this.comparisonEnd&&R===this.comparisonStart}_isPreviewStart(R){return kt(R,this.previewStart,this.previewEnd)}_isPreviewEnd(R){return pt(R,this.previewStart,this.previewEnd)}_isInPreview(R){return Ft(R,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(R){let be;if(Je(R)?be=R:Je(R.parentNode)&&(be=R.parentNode),be){const Ye=be.getAttribute("data-mat-row"),Ct=be.getAttribute("data-mat-col");if(Ye&&Ct)return this.rows[parseInt(Ye)][parseInt(Ct)]}return null}}return Ge.\u0275fac=function(R){return new(R||Ge)(c.Y36(c.SBq),c.Y36(c.R0b))},Ge.\u0275cmp=c.Xpm({type:Ge,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[c.TTD],attrs:nt,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(R,be){1&R&&(c.YNc(0,He,3,6,"tr",0),c.YNc(1,Ze,3,2,"tr",1)),2&R&&(c.Q6J("ngIf",be._firstRowOffset.mat-calendar-body-cell-content,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content{outline:dotted 2px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected{outline:solid 3px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),Ge})();function Je(Ge){return"TD"===Ge.nodeName}function kt(Ge,qe,R){return null!==R&&qe!==R&&Ge=qe&&Ge===R}function Ft(Ge,qe,R,be){return be&&null!==qe&&null!==R&&qe!==R&&Ge>=qe&&Ge<=R}class tn{constructor(qe,R){this.start=qe,this.end=R}}let un=(()=>{class Ge{constructor(R,be){this.selection=R,this._adapter=be,this._selectionChanged=new A.x,this.selectionChanged=this._selectionChanged,this.selection=R}updateSelection(R,be){const Ye=this.selection;this.selection=R,this._selectionChanged.next({selection:R,source:be,oldValue:Ye})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(R){return this._adapter.isDateInstance(R)&&this._adapter.isValid(R)}}return Ge.\u0275fac=function(R){c.$Z()},Ge.\u0275prov=c.Yz7({token:Ge,factory:Ge.\u0275fac}),Ge})(),Wn=(()=>{class Ge extends un{constructor(R){super(null,R)}add(R){super.updateSelection(R,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const R=new Ge(this._adapter);return R.updateSelection(this.selection,this),R}}return Ge.\u0275fac=function(R){return new(R||Ge)(c.LFG(k._A))},Ge.\u0275prov=c.Yz7({token:Ge,factory:Ge.\u0275fac}),Ge})();const Kt={provide:un,deps:[[new c.FiY,new c.tp0,un],k._A],useFactory:function kn(Ge,qe){return Ge||new Wn(qe)}},_e=new c.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let Dt=(()=>{class Ge{constructor(R,be,Ye,Ct,_n){this._changeDetectorRef=R,this._dateFormats=be,this._dateAdapter=Ye,this._dir=Ct,this._rangeStrategy=_n,this._rerenderSubscription=I.w0.EMPTY,this.selectedChange=new c.vpe,this._userSelection=new c.vpe,this.activeDateChange=new c.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(R){const be=this._activeDate,Ye=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ye,this.minDate,this.maxDate),this._hasSameMonthAndYear(be,this._activeDate)||this._init()}get selected(){return this._selected}set selected(R){this._selected=R instanceof tn?R:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(R){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))}get maxDate(){return this._maxDate}set maxDate(R){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,q.O)(null)).subscribe(()=>this._init())}ngOnChanges(R){const be=R.comparisonStart||R.comparisonEnd;be&&!be.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(R){const be=R.value,Ye=this._dateAdapter.getYear(this.activeDate),Ct=this._dateAdapter.getMonth(this.activeDate),_n=this._dateAdapter.createDate(Ye,Ct,be);let wn,pi;this._selected instanceof tn?(wn=this._getDateInCurrentMonth(this._selected.start),pi=this._getDateInCurrentMonth(this._selected.end)):wn=pi=this._getDateInCurrentMonth(this._selected),(wn!==be||pi!==be)&&this.selectedChange.emit(_n),this._userSelection.emit({value:_n,event:R.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(R){const be=this._activeDate,Ye=this._isRtl();switch(R.keyCode){case O.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ye?1:-1);break;case O.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ye?-1:1);break;case O.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case O.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case O.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case O.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case O.Ku:this.activeDate=R.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case O.VM:this.activeDate=R.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case O.K5:case O.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&R.preventDefault());case O.hY:return void(null!=this._previewEnd&&!(0,O.Vb)(R)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:R}),R.preventDefault(),R.stopPropagation()));default:return}this._dateAdapter.compareDate(be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),R.preventDefault()}_handleCalendarBodyKeyup(R){(R.keyCode===O.L_||R.keyCode===O.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:R}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let R=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(R)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(R){this._matCalendarBody._focusActiveCell(R)}_previewChanged({event:R,value:be}){if(this._rangeStrategy){const Ct=this._rangeStrategy.createPreview(be?be.rawValue:null,this.selected,R);this._previewStart=this._getCellCompareValue(Ct.start),this._previewEnd=this._getCellCompareValue(Ct.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const R=this._dateAdapter.getFirstDayOfWeek(),be=this._dateAdapter.getDayOfWeekNames("narrow");let Ct=this._dateAdapter.getDayOfWeekNames("long").map((_n,wn)=>({long:_n,narrow:be[wn]}));this._weekdays=Ct.slice(R).concat(Ct.slice(0,R))}_createWeekCells(){const R=this._dateAdapter.getNumDaysInMonth(this.activeDate),be=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ye=0,Ct=this._firstWeekOffset;Ye=0)&&(!this.maxDate||this._dateAdapter.compareDate(R,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(R))}_getDateInCurrentMonth(R){return R&&this._hasSameMonthAndYear(R,this.activeDate)?this._dateAdapter.getDate(R):null}_hasSameMonthAndYear(R,be){return!(!R||!be||this._dateAdapter.getMonth(R)!=this._dateAdapter.getMonth(be)||this._dateAdapter.getYear(R)!=this._dateAdapter.getYear(be))}_getCellCompareValue(R){if(R){const be=this._dateAdapter.getYear(R),Ye=this._dateAdapter.getMonth(R),Ct=this._dateAdapter.getDate(R);return new Date(be,Ye,Ct).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(R){R instanceof tn?(this._rangeStart=this._getCellCompareValue(R.start),this._rangeEnd=this._getCellCompareValue(R.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(R),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(R){return!this.dateFilter||this.dateFilter(R)}}return Ge.\u0275fac=function(R){return new(R||Ge)(c.Y36(c.sBO),c.Y36(k.sG,8),c.Y36(k._A,8),c.Y36(V.Is,8),c.Y36(_e,8))},Ge.\u0275cmp=c.Xpm({type:Ge,selectors:[["mat-month-view"]],viewQuery:function(R,be){if(1&R&&c.Gf(ut,5),2&R){let Ye;c.iGM(Ye=c.CRH())&&(be._matCalendarBody=Ye.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[c.TTD],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(R,be){1&R&&(c.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),c.YNc(3,ot,5,2,"th",2),c.qZA(),c.TgZ(4,"tr"),c._UZ(5,"th",3),c.qZA()(),c.TgZ(6,"tbody",4),c.NdJ("selectedValueChange",function(Ct){return be._dateSelected(Ct)})("previewChange",function(Ct){return be._previewChanged(Ct)})("keyup",function(Ct){return be._handleCalendarBodyKeyup(Ct)})("keydown",function(Ct){return be._handleCalendarBodyKeydown(Ct)}),c.qZA()()),2&R&&(c.xp6(3),c.Q6J("ngForOf",be._weekdays),c.xp6(3),c.Q6J("label",be._monthLabel)("rows",be._weeks)("todayValue",be._todayDate)("startValue",be._rangeStart)("endValue",be._rangeEnd)("comparisonStart",be._comparisonRangeStart)("comparisonEnd",be._comparisonRangeEnd)("previewStart",be._previewStart)("previewEnd",be._previewEnd)("isRange",be._isRange)("labelMinRequiredCells",3)("activeCell",be._dateAdapter.getDate(be.activeDate)-1))},directives:[ut,d.sg],encapsulation:2,changeDetection:0}),Ge})(),Ln=(()=>{class Ge{constructor(R,be,Ye){this._changeDetectorRef=R,this._dateAdapter=be,this._dir=Ye,this._rerenderSubscription=I.w0.EMPTY,this.selectedChange=new c.vpe,this.yearSelected=new c.vpe,this.activeDateChange=new c.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(R){let be=this._activeDate;const Ye=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ye,this.minDate,this.maxDate),Nn(this._dateAdapter,be,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(R){this._selected=R instanceof tn?R:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R)),this._setSelectedYear(R)}get minDate(){return this._minDate}set minDate(R){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))}get maxDate(){return this._maxDate}set maxDate(R){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,q.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const be=this._dateAdapter.getYear(this._activeDate)-In(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Ye=0,Ct=[];Ye<24;Ye++)Ct.push(be+Ye),4==Ct.length&&(this._years.push(Ct.map(_n=>this._createCellForYear(_n))),Ct=[]);this._changeDetectorRef.markForCheck()}_yearSelected(R){const be=R.value;this.yearSelected.emit(this._dateAdapter.createDate(be,0,1));let Ye=this._dateAdapter.getMonth(this.activeDate),Ct=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(be,Ye,1));this.selectedChange.emit(this._dateAdapter.createDate(be,Ye,Math.min(this._dateAdapter.getDate(this.activeDate),Ct)))}_handleCalendarBodyKeydown(R){const be=this._activeDate,Ye=this._isRtl();switch(R.keyCode){case O.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ye?1:-1);break;case O.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ye?-1:1);break;case O.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case O.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case O.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-In(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case O.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-In(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case O.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,R.altKey?-240:-24);break;case O.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,R.altKey?240:24);break;case O.K5:case O.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),R.preventDefault()}_handleCalendarBodyKeyup(R){(R.keyCode===O.L_||R.keyCode===O.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:R}),this._selectionKeyPressed=!1)}_getActiveCell(){return In(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(R){const be=this._dateAdapter.createDate(R,0,1),Ye=this._dateAdapter.getYearName(be),Ct=this.dateClass?this.dateClass(be,"multi-year"):void 0;return new dt(R,Ye,Ye,this._shouldEnableYear(R),Ct)}_shouldEnableYear(R){if(null==R||this.maxDate&&R>this._dateAdapter.getYear(this.maxDate)||this.minDate&&R{class Ge{constructor(R,be,Ye,Ct){this._changeDetectorRef=R,this._dateFormats=be,this._dateAdapter=Ye,this._dir=Ct,this._rerenderSubscription=I.w0.EMPTY,this.selectedChange=new c.vpe,this.monthSelected=new c.vpe,this.activeDateChange=new c.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(R){let be=this._activeDate;const Ye=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ye,this.minDate,this.maxDate),this._dateAdapter.getYear(be)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(R){this._selected=R instanceof tn?R:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R)),this._setSelectedMonth(R)}get minDate(){return this._minDate}set minDate(R){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))}get maxDate(){return this._maxDate}set maxDate(R){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,q.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(R){const be=R.value,Ye=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),be,1);this.monthSelected.emit(Ye);const Ct=this._dateAdapter.getNumDaysInMonth(Ye);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),be,Math.min(this._dateAdapter.getDate(this.activeDate),Ct)))}_handleCalendarBodyKeydown(R){const be=this._activeDate,Ye=this._isRtl();switch(R.keyCode){case O.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ye?1:-1);break;case O.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ye?-1:1);break;case O.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case O.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case O.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case O.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case O.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,R.altKey?-10:-1);break;case O.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,R.altKey?10:1);break;case O.K5:case O.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(be,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),R.preventDefault()}_handleCalendarBodyKeyup(R){(R.keyCode===O.L_||R.keyCode===O.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:R}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let R=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(be=>be.map(Ye=>this._createCellForMonth(Ye,R[Ye]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(R){return R&&this._dateAdapter.getYear(R)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(R):null}_createCellForMonth(R,be){const Ye=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),R,1),Ct=this._dateAdapter.format(Ye,this._dateFormats.display.monthYearA11yLabel),_n=this.dateClass?this.dateClass(Ye,"year"):void 0;return new dt(R,be.toLocaleUpperCase(),Ct,this._shouldEnableMonth(R),_n)}_shouldEnableMonth(R){const be=this._dateAdapter.getYear(this.activeDate);if(null==R||this._isYearAndMonthAfterMaxDate(be,R)||this._isYearAndMonthBeforeMinDate(be,R))return!1;if(!this.dateFilter)return!0;for(let Ct=this._dateAdapter.createDate(be,R,1);this._dateAdapter.getMonth(Ct)==R;Ct=this._dateAdapter.addCalendarDays(Ct,1))if(this.dateFilter(Ct))return!0;return!1}_isYearAndMonthAfterMaxDate(R,be){if(this.maxDate){const Ye=this._dateAdapter.getYear(this.maxDate),Ct=this._dateAdapter.getMonth(this.maxDate);return R>Ye||R===Ye&&be>Ct}return!1}_isYearAndMonthBeforeMinDate(R,be){if(this.minDate){const Ye=this._dateAdapter.getYear(this.minDate),Ct=this._dateAdapter.getMonth(this.minDate);return R{class Ge{constructor(){this.changes=new A.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(R,be){return`${R} \u2013 ${be}`}}return Ge.\u0275fac=function(R){return new(R||Ge)},Ge.\u0275prov=c.Yz7({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})(),ri=0,zn=(()=>{class Ge{constructor(R,be,Ye,Ct,_n){this._intl=R,this.calendar=be,this._dateAdapter=Ye,this._dateFormats=Ct,this._buttonDescriptionId="mat-calendar-button-"+ri++,this.calendar.stateChanges.subscribe(()=>_n.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const be=this._dateAdapter.getYear(this.calendar.activeDate)-In(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Ye=be+24-1,Ct=this._dateAdapter.getYearName(this._dateAdapter.createDate(be,0,1)),_n=this._dateAdapter.getYearName(this._dateAdapter.createDate(Ye,0,1));return this._intl.formatYearRange(Ct,_n)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(R,be){return"month"==this.calendar.currentView?this._dateAdapter.getYear(R)==this._dateAdapter.getYear(be)&&this._dateAdapter.getMonth(R)==this._dateAdapter.getMonth(be):"year"==this.calendar.currentView?this._dateAdapter.getYear(R)==this._dateAdapter.getYear(be):Nn(this._dateAdapter,R,be,this.calendar.minDate,this.calendar.maxDate)}}return Ge.\u0275fac=function(R){return new(R||Ge)(c.Y36(Tn),c.Y36((0,c.Gpc)(()=>$t)),c.Y36(k._A,8),c.Y36(k.sG,8),c.Y36(c.sBO))},Ge.\u0275cmp=c.Xpm({type:Ge,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Ke,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(R,be){1&R&&(c.F$t(),c.TgZ(0,"div",0)(1,"div",1)(2,"button",2),c.NdJ("click",function(){return be.currentPeriodClicked()}),c.TgZ(3,"span"),c._uU(4),c.qZA(),c.O4$(),c.TgZ(5,"svg",3),c._UZ(6,"polygon",4),c.qZA()(),c.kcU(),c._UZ(7,"div",5),c.Hsn(8),c.TgZ(9,"button",6),c.NdJ("click",function(){return be.previousClicked()}),c.qZA(),c.TgZ(10,"button",7),c.NdJ("click",function(){return be.nextClicked()}),c.qZA()()()),2&R&&(c.xp6(2),c.uIk("aria-label",be.periodButtonLabel)("aria-describedby",be._buttonDescriptionId),c.xp6(1),c.uIk("id",be._buttonDescriptionId),c.xp6(1),c.Oqu(be.periodButtonText),c.xp6(1),c.ekj("mat-calendar-invert","month"!==be.calendar.currentView),c.xp6(4),c.Q6J("disabled",!be.previousEnabled()),c.uIk("aria-label",be.prevButtonLabel),c.xp6(1),c.Q6J("disabled",!be.nextEnabled()),c.uIk("aria-label",be.nextButtonLabel))},directives:[g.lW],encapsulation:2,changeDetection:0}),Ge})(),$t=(()=>{class Ge{constructor(R,be,Ye,Ct){this._dateAdapter=be,this._dateFormats=Ye,this._changeDetectorRef=Ct,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new c.vpe,this.yearSelected=new c.vpe,this.monthSelected=new c.vpe,this.viewChanged=new c.vpe(!0),this._userSelection=new c.vpe,this.stateChanges=new A.x,this._intlChanges=R.changes.subscribe(()=>{Ct.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(R){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))}get selected(){return this._selected}set selected(R){this._selected=R instanceof tn?R:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))}get minDate(){return this._minDate}set minDate(R){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))}get maxDate(){return this._maxDate}set maxDate(R){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))}get activeDate(){return this._clampedActiveDate}set activeDate(R){this._clampedActiveDate=this._dateAdapter.clampDate(R,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(R){const be=this._currentView!==R?R:null;this._currentView=R,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),be&&this.viewChanged.emit(be)}ngAfterContentInit(){this._calendarHeaderPortal=new u.C5(this.headerComponent||zn),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(R){const be=R.minDate&&!this._dateAdapter.sameDate(R.minDate.previousValue,R.minDate.currentValue)?R.minDate:void 0,Ye=R.maxDate&&!this._dateAdapter.sameDate(R.maxDate.previousValue,R.maxDate.currentValue)?R.maxDate:void 0,Ct=be||Ye||R.dateFilter;if(Ct&&!Ct.firstChange){const _n=this._getCurrentViewComponent();_n&&(this._changeDetectorRef.detectChanges(),_n._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(R){const be=R.value;(this.selected instanceof tn||be&&!this._dateAdapter.sameDate(be,this.selected))&&this.selectedChange.emit(be),this._userSelection.emit(R)}_yearSelectedInMultiYearView(R){this.yearSelected.emit(R)}_monthSelectedInYearView(R){this.monthSelected.emit(R)}_goToDateInView(R,be){this.activeDate=R,this.currentView=be}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Ge.\u0275fac=function(R){return new(R||Ge)(c.Y36(Tn),c.Y36(k._A,8),c.Y36(k.sG,8),c.Y36(c.sBO))},Ge.\u0275cmp=c.Xpm({type:Ge,selectors:[["mat-calendar"]],viewQuery:function(R,be){if(1&R&&(c.Gf(Dt,5),c.Gf(Jn,5),c.Gf(Ln,5)),2&R){let Ye;c.iGM(Ye=c.CRH())&&(be.monthView=Ye.first),c.iGM(Ye=c.CRH())&&(be.yearView=Ye.first),c.iGM(Ye=c.CRH())&&(be.multiYearView=Ye.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[c._Bn([Kt]),c.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(R,be){1&R&&(c.YNc(0,xt,0,0,"ng-template",0),c.TgZ(1,"div",1),c.YNc(2,Be,1,8,"mat-month-view",2),c.YNc(3,Tt,1,6,"mat-year-view",3),c.YNc(4,Zt,1,6,"mat-multi-year-view",4),c.qZA()),2&R&&(c.Q6J("cdkPortalOutlet",be._calendarHeaderPortal),c.xp6(1),c.Q6J("ngSwitch",be.currentView),c.xp6(1),c.Q6J("ngSwitchCase","month"),c.xp6(1),c.Q6J("ngSwitchCase","year"),c.xp6(1),c.Q6J("ngSwitchCase","multi-year"))},directives:[Dt,Jn,Ln,u.Pl,e.kH,d.RF,d.n9],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),Ge})();const xe={transformPanel:(0,ee.X$)("transformPanel",[(0,ee.eR)("void => enter-dropdown",(0,ee.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.F4)([(0,ee.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ee.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ee.eR)("void => enter-dialog",(0,ee.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.F4)([(0,ee.oB)({opacity:0,transform:"scale(0.7)"}),(0,ee.oB)({transform:"none",opacity:1})]))),(0,ee.eR)("* => void",(0,ee.jt)("100ms linear",(0,ee.oB)({opacity:0})))]),fadeInCalendar:(0,ee.X$)("fadeInCalendar",[(0,ee.SB)("void",(0,ee.oB)({opacity:0})),(0,ee.SB)("enter",(0,ee.oB)({opacity:1})),(0,ee.eR)("void => *",(0,ee.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Se=0;const j=new c.OlP("mat-datepicker-scroll-strategy"),vt={provide:j,deps:[o.aV],useFactory:function Ie(Ge){return()=>Ge.scrollStrategies.reposition()}},Vt=(0,k.pj)(class{constructor(Ge){this._elementRef=Ge}});let Fn=(()=>{class Ge extends Vt{constructor(R,be,Ye,Ct,_n,wn){super(R),this._changeDetectorRef=be,this._globalModel=Ye,this._dateAdapter=Ct,this._rangeSelectionStrategy=_n,this._subscriptions=new I.w0,this._animationDone=new A.x,this._actionsPortal=null,this._closeButtonText=wn.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(R){const be=this._model.selection,Ye=R.value,Ct=be instanceof tn;if(Ct&&this._rangeSelectionStrategy){const _n=this._rangeSelectionStrategy.selectionFinished(Ye,be,R.event);this._model.updateSelection(_n,this)}else Ye&&(Ct||!this._dateAdapter.sameDate(Ye,be))&&this._model.add(Ye);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return Ge.\u0275fac=function(R){return new(R||Ge)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(un),c.Y36(k._A),c.Y36(_e,8),c.Y36(Tn))},Ge.\u0275cmp=c.Xpm({type:Ge,selectors:[["mat-datepicker-content"]],viewQuery:function(R,be){if(1&R&&c.Gf($t,5),2&R){let Ye;c.iGM(Ye=c.CRH())&&(be._calendar=Ye.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(R,be){1&R&&c.WFA("@transformPanel.done",function(){return be._animationDone.next()}),2&R&&(c.d8E("@transformPanel",be._animationState),c.ekj("mat-datepicker-content-touch",be.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[c.qOj],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(R,be){if(1&R&&(c.TgZ(0,"div",0)(1,"mat-calendar",1),c.NdJ("yearSelected",function(Ct){return be.datepicker._selectYear(Ct)})("monthSelected",function(Ct){return be.datepicker._selectMonth(Ct)})("viewChanged",function(Ct){return be.datepicker._viewChanged(Ct)})("_userSelection",function(Ct){return be._handleUserSelection(Ct)}),c.qZA(),c.YNc(2,Sn,0,0,"ng-template",2),c.TgZ(3,"button",3),c.NdJ("focus",function(){return be._closeButtonFocused=!0})("blur",function(){return be._closeButtonFocused=!1})("click",function(){return be.datepicker.close()}),c._uU(4),c.qZA()()),2&R){let Ye;c.ekj("mat-datepicker-content-container-with-custom-header",be.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",be._actionsPortal),c.uIk("aria-modal",!0)("aria-labelledby",null!==(Ye=be._dialogLabelId)&&void 0!==Ye?Ye:void 0),c.xp6(1),c.Q6J("id",be.datepicker.id)("ngClass",be.datepicker.panelClass)("startAt",be.datepicker.startAt)("startView",be.datepicker.startView)("minDate",be.datepicker._getMinDate())("maxDate",be.datepicker._getMaxDate())("dateFilter",be.datepicker._getDateFilter())("headerComponent",be.datepicker.calendarHeaderComponent)("selected",be._getSelected())("dateClass",be.datepicker.dateClass)("comparisonStart",be.comparisonStart)("comparisonEnd",be.comparisonEnd)("@fadeInCalendar","enter"),c.xp6(1),c.Q6J("cdkPortalOutlet",be._actionsPortal),c.xp6(1),c.ekj("cdk-visually-hidden",!be._closeButtonFocused),c.Q6J("color",be.color||"primary"),c.xp6(1),c.Oqu(be._closeButtonText)}},directives:[$t,g.lW,e.mK,d.mk,u.Pl],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[xe.transformPanel,xe.fadeInCalendar]},changeDetection:0}),Ge})(),ti=(()=>{class Ge{constructor(R,be,Ye,Ct,_n,wn,pi){this._overlay=R,this._ngZone=be,this._viewContainerRef=Ye,this._dateAdapter=_n,this._dir=wn,this._model=pi,this._inputStateChanges=I.w0.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new c.vpe,this.monthSelected=new c.vpe,this.viewChanged=new c.vpe(!0),this.openedStream=new c.vpe,this.closedStream=new c.vpe,this._opened=!1,this.id="mat-datepicker-"+Se++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new A.x,this._scrollStrategy=Ct}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(R){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(R){this._color=R}get touchUi(){return this._touchUi}set touchUi(R){this._touchUi=(0,ne.Ig)(R)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(R){const be=(0,ne.Ig)(R);be!==this._disabled&&(this._disabled=be,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(R){this._restoreFocus=(0,ne.Ig)(R)}get panelClass(){return this._panelClass}set panelClass(R){this._panelClass=(0,ne.du)(R)}get opened(){return this._opened}set opened(R){(0,ne.Ig)(R)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(R){const be=R.xPosition||R.yPosition;if(be&&!be.firstChange&&this._overlayRef){const Ye=this._overlayRef.getConfig().positionStrategy;Ye instanceof o._G&&(this._setConnectedPositions(Ye),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(R){this._model.add(R)}_selectYear(R){this.yearSelected.emit(R)}_selectMonth(R){this.monthSelected.emit(R)}_viewChanged(R){this.viewChanged.emit(R)}registerInput(R){return this._inputStateChanges.unsubscribe(),this.datepickerInput=R,this._inputStateChanges=R.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(R){this._actionsPortal=R}removeActions(R){R===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,ue.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const be=this._componentRef.instance;be._startExitAnimation(),be._animationDone.pipe((0,Z.q)(1)).subscribe(()=>this._destroyOverlay())}const R=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(R)):R()}_applyPendingSelection(){var R,be;null===(be=null===(R=this._componentRef)||void 0===R?void 0:R.instance)||void 0===be||be._applyPendingSelection()}_forwardContentValues(R){R.datepicker=this,R.color=this.color,R._actionsPortal=this._actionsPortal,R._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const R=this.touchUi,be=new u.C5(Fn,this._viewContainerRef),Ye=this._overlayRef=this._overlay.create(new o.X_({positionStrategy:R?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[R?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:R?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(R?"dialog":"popup")}));this._getCloseStream(Ye).subscribe(Ct=>{Ct&&Ct.preventDefault(),this.close()}),Ye.keydownEvents().subscribe(Ct=>{const _n=Ct.keyCode;(_n===O.LH||_n===O.JH||_n===O.oh||_n===O.SV||_n===O.Ku||_n===O.VM)&&Ct.preventDefault()}),this._componentRef=Ye.attach(be),this._forwardContentValues(this._componentRef.instance),R||this._ngZone.onStable.pipe((0,Z.q)(1)).subscribe(()=>Ye.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const R=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(R)}_setConnectedPositions(R){const be="end"===this.xPosition?"end":"start",Ye="start"===be?"end":"start",Ct="above"===this.yPosition?"bottom":"top",_n="top"===Ct?"bottom":"top";return R.withPositions([{originX:be,originY:_n,overlayX:be,overlayY:Ct},{originX:be,originY:Ct,overlayX:be,overlayY:_n},{originX:Ye,originY:_n,overlayX:Ye,overlayY:Ct},{originX:Ye,originY:Ct,overlayX:Ye,overlayY:_n}])}_getCloseStream(R){return(0,H.T)(R.backdropClick(),R.detachments(),R.keydownEvents().pipe((0,te.h)(be=>be.keyCode===O.hY&&!(0,O.Vb)(be)||this.datepickerInput&&(0,O.Vb)(be,"altKey")&&be.keyCode===O.LH)))}}return Ge.\u0275fac=function(R){return new(R||Ge)(c.Y36(o.aV),c.Y36(c.R0b),c.Y36(c.s_b),c.Y36(j),c.Y36(k._A,8),c.Y36(V.Is,8),c.Y36(un))},Ge.\u0275dir=c.lG2({type:Ge,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[c.TTD]}),Ge})(),Qt=(()=>{class Ge extends ti{}return Ge.\u0275fac=function(){let qe;return function(be){return(qe||(qe=c.n5z(Ge)))(be||Ge)}}(),Ge.\u0275cmp=c.Xpm({type:Ge,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[c._Bn([Kt,{provide:ti,useExisting:Ge}]),c.qOj],decls:0,vars:0,template:function(R,be){},encapsulation:2,changeDetection:0}),Ge})();class Cn{constructor(qe,R){this.target=qe,this.targetElement=R,this.value=this.target.value}}let ct=(()=>{class Ge{constructor(R,be,Ye){this._elementRef=R,this._dateAdapter=be,this._dateFormats=Ye,this.dateChange=new c.vpe,this.dateInput=new c.vpe,this.stateChanges=new A.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=I.w0.EMPTY,this._localeSubscription=I.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Ct=>{const _n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ct.value));return!_n||this._matchesFilter(_n)?null:{matDatepickerFilter:!0}},this._minValidator=Ct=>{const _n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ct.value)),wn=this._getMinDate();return!wn||!_n||this._dateAdapter.compareDate(wn,_n)<=0?null:{matDatepickerMin:{min:wn,actual:_n}}},this._maxValidator=Ct=>{const _n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ct.value)),wn=this._getMaxDate();return!wn||!_n||this._dateAdapter.compareDate(wn,_n)>=0?null:{matDatepickerMax:{max:wn,actual:_n}}},this._lastValueValid=!1,this._localeSubscription=be.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(R){this._assignValueProgrammatically(R)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(R){const be=(0,ne.Ig)(R),Ye=this._elementRef.nativeElement;this._disabled!==be&&(this._disabled=be,this.stateChanges.next(void 0)),be&&this._isInitialized&&Ye.blur&&Ye.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(R){this._model=R,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(be=>{if(this._shouldHandleChangeEvent(be)){const Ye=this._getValueFromModel(be.selection);this._lastValueValid=this._isValidValue(Ye),this._cvaOnChange(Ye),this._onTouched(),this._formatValue(Ye),this.dateInput.emit(new Cn(this,this._elementRef.nativeElement)),this.dateChange.emit(new Cn(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(R){(function ve(Ge,qe){const R=Object.keys(Ge);for(let be of R){const{previousValue:Ye,currentValue:Ct}=Ge[be];if(!qe.isDateInstance(Ye)||!qe.isDateInstance(Ct))return!0;if(!qe.sameDate(Ye,Ct))return!0}return!1})(R,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(R){this._validatorOnChange=R}validate(R){return this._validator?this._validator(R):null}writeValue(R){this._assignValueProgrammatically(R)}registerOnChange(R){this._cvaOnChange=R}registerOnTouched(R){this._onTouched=R}setDisabledState(R){this.disabled=R}_onKeydown(R){R.altKey&&R.keyCode===O.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),R.preventDefault())}_onInput(R){const be=this._lastValueValid;let Ye=this._dateAdapter.parse(R,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ye),Ye=this._dateAdapter.getValidDateOrNull(Ye);const Ct=!this._dateAdapter.sameDate(Ye,this.value);!Ye||Ct?this._cvaOnChange(Ye):(R&&!this.value&&this._cvaOnChange(Ye),be!==this._lastValueValid&&this._validatorOnChange()),Ct&&(this._assignValue(Ye),this.dateInput.emit(new Cn(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Cn(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(R){this._elementRef.nativeElement.value=null!=R?this._dateAdapter.format(R,this._dateFormats.display.dateInput):""}_assignValue(R){this._model?(this._assignValueToModel(R),this._pendingValue=null):this._pendingValue=R}_isValidValue(R){return!R||this._dateAdapter.isValid(R)}_parentDisabled(){return!1}_assignValueProgrammatically(R){R=this._dateAdapter.deserialize(R),this._lastValueValid=this._isValidValue(R),R=this._dateAdapter.getValidDateOrNull(R),this._assignValue(R),this._formatValue(R)}_matchesFilter(R){const be=this._getDateFilter();return!be||be(R)}}return Ge.\u0275fac=function(R){return new(R||Ge)(c.Y36(c.SBq),c.Y36(k._A,8),c.Y36(k.sG,8))},Ge.\u0275dir=c.lG2({type:Ge,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[c.TTD]}),Ge})();const Re={provide:Q.JU,useExisting:(0,c.Gpc)(()=>Lt),multi:!0},it={provide:Q.Cf,useExisting:(0,c.Gpc)(()=>Lt),multi:!0};let Lt=(()=>{class Ge extends ct{constructor(R,be,Ye,Ct){super(R,be,Ye),this._formField=Ct,this._closedSubscription=I.w0.EMPTY,this._validator=Q.kI.compose(super._getValidators())}set matDatepicker(R){R&&(this._datepicker=R,this._closedSubscription=R.closedStream.subscribe(()=>this._onTouched()),this._registerModel(R.registerInput(this)))}get min(){return this._min}set min(R){const be=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R));this._dateAdapter.sameDate(be,this._min)||(this._min=be,this._validatorOnChange())}get max(){return this._max}set max(R){const be=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(R));this._dateAdapter.sameDate(be,this._max)||(this._max=be,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(R){const be=this._matchesFilter(this.value);this._dateFilter=R,this._matchesFilter(this.value)!==be&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(R){return R}_assignValueToModel(R){this._model&&this._model.updateSelection(R,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(R){return R.source!==this}}return Ge.\u0275fac=function(R){return new(R||Ge)(c.Y36(c.SBq),c.Y36(k._A,8),c.Y36(k.sG,8),c.Y36(se.G_,8))},Ge.\u0275dir=c.lG2({type:Ge,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(R,be){1&R&&c.NdJ("input",function(Ct){return be._onInput(Ct.target.value)})("change",function(){return be._onChange()})("blur",function(){return be._onBlur()})("keydown",function(Ct){return be._onKeydown(Ct)}),2&R&&(c.Ikx("disabled",be.disabled),c.uIk("aria-haspopup",be._datepicker?"dialog":null)("aria-owns",(null==be._datepicker?null:be._datepicker.opened)&&be._datepicker.id||null)("min",be.min?be._dateAdapter.toIso8601(be.min):null)("max",be.max?be._dateAdapter.toIso8601(be.max):null)("data-mat-calendar",be._datepicker?be._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[c._Bn([Re,it,{provide:je.Jk,useExisting:Ge}]),c.qOj]}),Ge})(),an=(()=>{class Ge{}return Ge.\u0275fac=function(R){return new(R||Ge)},Ge.\u0275dir=c.lG2({type:Ge,selectors:[["","matDatepickerToggleIcon",""]]}),Ge})(),Un=(()=>{class Ge{constructor(R,be,Ye){this._intl=R,this._changeDetectorRef=be,this._stateChanges=I.w0.EMPTY;const Ct=Number(Ye);this.tabIndex=Ct||0===Ct?Ct:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(R){this._disabled=(0,ne.Ig)(R)}ngOnChanges(R){R.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(R){this.datepicker&&!this.disabled&&(this.datepicker.open(),R.stopPropagation())}_watchStateChanges(){const R=this.datepicker?this.datepicker.stateChanges:(0,z.of)(),be=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,z.of)(),Ye=this.datepicker?(0,H.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,z.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,H.T)(this._intl.changes,R,be,Ye).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Ge.\u0275fac=function(R){return new(R||Ge)(c.Y36(Tn),c.Y36(c.sBO),c.$8M("tabindex"))},Ge.\u0275cmp=c.Xpm({type:Ge,selectors:[["mat-datepicker-toggle"]],contentQueries:function(R,be,Ye){if(1&R&&c.Suo(Ye,an,5),2&R){let Ct;c.iGM(Ct=c.CRH())&&(be._customIcon=Ct.first)}},viewQuery:function(R,be){if(1&R&&c.Gf(Xt,5),2&R){let Ye;c.iGM(Ye=c.CRH())&&(be._button=Ye.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(R,be){1&R&&c.NdJ("click",function(Ct){return be._open(Ct)}),2&R&&(c.uIk("tabindex",null)("data-mat-calendar",be.datepicker?be.datepicker.id:null),c.ekj("mat-datepicker-toggle-active",be.datepicker&&be.datepicker.opened)("mat-accent",be.datepicker&&"accent"===be.datepicker.color)("mat-warn",be.datepicker&&"warn"===be.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[c.TTD],ngContentSelectors:Jt,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(R,be){1&R&&(c.F$t(mn),c.TgZ(0,"button",0,1),c.YNc(2,nn,2,0,"svg",2),c.Hsn(3),c.qZA()),2&R&&(c.Q6J("disabled",be.disabled)("disableRipple",be.disableRipple),c.uIk("aria-haspopup",be.datepicker?"dialog":null)("aria-label",be.ariaLabel||be._intl.openCalendarLabel)("tabindex",be.disabled?-1:be.tabIndex),c.xp6(2),c.Q6J("ngIf",!be._customIcon))},directives:[g.lW,d.O5],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),Ge})(),_t=(()=>{class Ge{}return Ge.\u0275fac=function(R){return new(R||Ge)},Ge.\u0275mod=c.oAB({type:Ge}),Ge.\u0275inj=c.cJS({providers:[Tn,vt],imports:[[d.ez,g.ot,o.U8,e.rt,u.eL,k.BQ],b.ZD]}),Ge})()},8966:(X,N,p)=>{"use strict";p.d(N,{Is:()=>Ot,WI:()=>Ce});var e=p(9776),o=p(7429),u=p(5e3),d=p(508),c=p(226),g=p(7579),b=p(9770),k=p(9646),A=p(9300),I=p(5698),H=p(8675),z=p(925),O=p(9808),Z=p(1777),q=p(5664),te=p(1159),V=p(6360);function ne(bt,dt){}class ue{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const ee={dialogContainer:(0,Z.X$)("dialogContainer",[(0,Z.SB)("void, exit",(0,Z.oB)({opacity:0,transform:"scale(0.7)"})),(0,Z.SB)("enter",(0,Z.oB)({transform:"none"})),(0,Z.eR)("* => enter",(0,Z.ru)([(0,Z.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,Z.oB)({transform:"none",opacity:1})),(0,Z.IO)("@*",(0,Z.pV)(),{optional:!0})])),(0,Z.eR)("* => void, * => exit",(0,Z.ru)([(0,Z.jt)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",(0,Z.oB)({opacity:0})),(0,Z.IO)("@*",(0,Z.pV)(),{optional:!0})]))])};let se=(()=>{class bt extends o.en{constructor(ut,Je,kt,pt,Ft,tn,un,Wn){super(),this._elementRef=ut,this._focusTrapFactory=Je,this._changeDetectorRef=kt,this._config=Ft,this._interactivityChecker=tn,this._ngZone=un,this._focusMonitor=Wn,this._animationStateChanged=new u.vpe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Pn=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(Pn)),this._ariaLabelledBy=Ft.ariaLabelledBy||null,this._document=pt}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,z.ht)())}attachComponentPortal(ut){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(ut)}attachTemplatePortal(ut){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(ut)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ut,Je){this._interactivityChecker.isFocusable(ut)||(ut.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const kt=()=>{ut.removeEventListener("blur",kt),ut.removeEventListener("mousedown",kt),ut.removeAttribute("tabindex")};ut.addEventListener("blur",kt),ut.addEventListener("mousedown",kt)})),ut.focus(Je)}_focusByCssSelector(ut,Je){let kt=this._elementRef.nativeElement.querySelector(ut);kt&&this._forceFocus(kt,Je)}_trapFocus(){const ut=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||ut.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Je=>{Je||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const ut=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&ut&&"function"==typeof ut.focus){const Je=(0,z.ht)(),kt=this._elementRef.nativeElement;(!Je||Je===this._document.body||Je===kt||kt.contains(Je))&&(this._focusMonitor?(this._focusMonitor.focusVia(ut,this._closeInteractionType),this._closeInteractionType=null):ut.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ut=this._elementRef.nativeElement,Je=(0,z.ht)();return ut===Je||ut.contains(Je)}}return bt.\u0275fac=function(ut){return new(ut||bt)(u.Y36(u.SBq),u.Y36(q.qV),u.Y36(u.sBO),u.Y36(O.K0,8),u.Y36(ue),u.Y36(q.ic),u.Y36(u.R0b),u.Y36(q.tE))},bt.\u0275dir=u.lG2({type:bt,viewQuery:function(ut,Je){if(1&ut&&u.Gf(o.Pl,7),2&ut){let kt;u.iGM(kt=u.CRH())&&(Je._portalOutlet=kt.first)}},features:[u.qOj]}),bt})(),je=(()=>{class bt extends se{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:ut,totalTime:Je}){"enter"===ut?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:Je})):"exit"===ut&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:Je}))}_onAnimationStart({toState:ut,totalTime:Je}){"enter"===ut?this._animationStateChanged.next({state:"opening",totalTime:Je}):("exit"===ut||"void"===ut)&&this._animationStateChanged.next({state:"closing",totalTime:Je})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return bt.\u0275fac=function(){let dt;return function(Je){return(dt||(dt=u.n5z(bt)))(Je||bt)}}(),bt.\u0275cmp=u.Xpm({type:bt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(ut,Je){1&ut&&u.WFA("@dialogContainer.start",function(pt){return Je._onAnimationStart(pt)})("@dialogContainer.done",function(pt){return Je._onAnimationDone(pt)}),2&ut&&(u.Ikx("id",Je._id),u.uIk("role",Je._config.role)("aria-labelledby",Je._config.ariaLabel?null:Je._ariaLabelledBy)("aria-label",Je._config.ariaLabel)("aria-describedby",Je._config.ariaDescribedBy||null),u.d8E("@dialogContainer",Je._state))},features:[u.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ut,Je){1&ut&&u.YNc(0,ne,0,0,"ng-template",0)},directives:[o.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[ee.dialogContainer]}}),bt})(),nt=0;class He{constructor(dt,ut,Je="mat-dialog-"+nt++){this._overlayRef=dt,this._containerInstance=ut,this.id=Je,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new g.x,this._afterClosed=new g.x,this._beforeClosed=new g.x,this._state=0,ut._id=Je,ut._animationStateChanged.pipe((0,A.h)(kt=>"opened"===kt.state),(0,I.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),ut._animationStateChanged.pipe((0,A.h)(kt=>"closed"===kt.state),(0,I.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),dt.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),dt.keydownEvents().pipe((0,A.h)(kt=>kt.keyCode===te.hY&&!this.disableClose&&!(0,te.Vb)(kt))).subscribe(kt=>{kt.preventDefault(),de(this,"keyboard")}),dt.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():de(this,"mouse")})}close(dt){this._result=dt,this._containerInstance._animationStateChanged.pipe((0,A.h)(ut=>"closing"===ut.state),(0,I.q)(1)).subscribe(ut=>{this._beforeClosed.next(dt),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ut.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(dt){let ut=this._getPositionStrategy();return dt&&(dt.left||dt.right)?dt.left?ut.left(dt.left):ut.right(dt.right):ut.centerHorizontally(),dt&&(dt.top||dt.bottom)?dt.top?ut.top(dt.top):ut.bottom(dt.bottom):ut.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(dt="",ut=""){return this._overlayRef.updateSize({width:dt,height:ut}),this._overlayRef.updatePosition(),this}addPanelClass(dt){return this._overlayRef.addPanelClass(dt),this}removePanelClass(dt){return this._overlayRef.removePanelClass(dt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function de(bt,dt,ut){return void 0!==bt._containerInstance&&(bt._containerInstance._closeInteractionType=dt),bt.close(ut)}const Ce=new u.OlP("MatDialogData"),Ze=new u.OlP("mat-dialog-default-options"),ot=new u.OlP("mat-dialog-scroll-strategy"),Be={provide:ot,deps:[e.aV],useFactory:function xt(bt){return()=>bt.scrollStrategies.block()}};let Tt=(()=>{class bt{constructor(ut,Je,kt,pt,Ft,tn,un,Wn,Pn,kn){this._overlay=ut,this._injector=Je,this._defaultOptions=kt,this._parentDialog=pt,this._overlayContainer=Ft,this._dialogRefConstructor=un,this._dialogContainerType=Wn,this._dialogDataToken=Pn,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new g.x,this._afterOpenedAtThisLevel=new g.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,b.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,H.O)(void 0))),this._scrollStrategy=tn}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ut=this._parentDialog;return ut?ut._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(ut,Je){Je=function Sn(bt,dt){return Object.assign(Object.assign({},dt),bt)}(Je,this._defaultOptions||new ue),Je.id&&this.getDialogById(Je.id);const kt=this._createOverlay(Je),pt=this._attachDialogContainer(kt,Je),Ft=this._attachDialogContent(ut,pt,kt,Je);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ft),Ft.afterClosed().subscribe(()=>this._removeOpenDialog(Ft)),this.afterOpened.next(Ft),pt._initializeWithAttachedContent(),Ft}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ut){return this.openDialogs.find(Je=>Je.id===ut)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(ut){const Je=this._getOverlayConfig(ut);return this._overlay.create(Je)}_getOverlayConfig(ut){const Je=new e.X_({positionStrategy:this._overlay.position().global(),scrollStrategy:ut.scrollStrategy||this._scrollStrategy(),panelClass:ut.panelClass,hasBackdrop:ut.hasBackdrop,direction:ut.direction,minWidth:ut.minWidth,minHeight:ut.minHeight,maxWidth:ut.maxWidth,maxHeight:ut.maxHeight,disposeOnNavigation:ut.closeOnNavigation});return ut.backdropClass&&(Je.backdropClass=ut.backdropClass),Je}_attachDialogContainer(ut,Je){const pt=u.zs3.create({parent:Je&&Je.viewContainerRef&&Je.viewContainerRef.injector||this._injector,providers:[{provide:ue,useValue:Je}]}),Ft=new o.C5(this._dialogContainerType,Je.viewContainerRef,pt,Je.componentFactoryResolver);return ut.attach(Ft).instance}_attachDialogContent(ut,Je,kt,pt){const Ft=new this._dialogRefConstructor(kt,Je,pt.id);if(ut instanceof u.Rgc)Je.attachTemplatePortal(new o.UE(ut,null,{$implicit:pt.data,dialogRef:Ft}));else{const tn=this._createInjector(pt,Ft,Je),un=Je.attachComponentPortal(new o.C5(ut,pt.viewContainerRef,tn,pt.componentFactoryResolver));Ft.componentInstance=un.instance}return Ft.updateSize(pt.width,pt.height).updatePosition(pt.position),Ft}_createInjector(ut,Je,kt){const pt=ut&&ut.viewContainerRef&&ut.viewContainerRef.injector,Ft=[{provide:this._dialogContainerType,useValue:kt},{provide:this._dialogDataToken,useValue:ut.data},{provide:this._dialogRefConstructor,useValue:Je}];return ut.direction&&(!pt||!pt.get(c.Is,null,u.XFs.Optional))&&Ft.push({provide:c.Is,useValue:{value:ut.direction,change:(0,k.of)()}}),u.zs3.create({parent:pt||this._injector,providers:Ft})}_removeOpenDialog(ut){const Je=this.openDialogs.indexOf(ut);Je>-1&&(this.openDialogs.splice(Je,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((kt,pt)=>{kt?pt.setAttribute("aria-hidden",kt):pt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ut=this._overlayContainer.getContainerElement();if(ut.parentElement){const Je=ut.parentElement.children;for(let kt=Je.length-1;kt>-1;kt--){let pt=Je[kt];pt!==ut&&"SCRIPT"!==pt.nodeName&&"STYLE"!==pt.nodeName&&!pt.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(pt,pt.getAttribute("aria-hidden")),pt.setAttribute("aria-hidden","true"))}}}_closeDialogs(ut){let Je=ut.length;for(;Je--;)ut[Je].close()}}return bt.\u0275fac=function(ut){u.$Z()},bt.\u0275dir=u.lG2({type:bt}),bt})(),Zt=(()=>{class bt extends Tt{constructor(ut,Je,kt,pt,Ft,tn,un,Wn){super(ut,Je,pt,tn,un,Ft,He,je,Ce,Wn)}}return bt.\u0275fac=function(ut){return new(ut||bt)(u.LFG(e.aV),u.LFG(u.zs3),u.LFG(O.Ye,8),u.LFG(Ze,8),u.LFG(ot),u.LFG(bt,12),u.LFG(e.Xj),u.LFG(V.Qb,8))},bt.\u0275prov=u.Yz7({token:bt,factory:bt.\u0275fac}),bt})(),Ot=(()=>{class bt{}return bt.\u0275fac=function(ut){return new(ut||bt)},bt.\u0275mod=u.oAB({type:bt}),bt.\u0275inj=u.cJS({providers:[Zt,Be],imports:[[e.U8,o.eL,d.BQ],d.BQ]}),bt})()},3489:(X,N,p)=>{"use strict";p.d(N,{Eo:()=>Xt,G_:()=>kn,KE:()=>Kt,R9:()=>pt,TO:()=>Zt,hX:()=>bt,lN:()=>rt});var e=p(7144),o=p(9808),u=p(5e3),d=p(508),c=p(3191),g=p(7579),b=p(6451),k=p(4968),A=p(8675),I=p(2722),H=p(5698),z=p(1777),O=p(6360),Z=p(226),q=p(925);const te=["connectionContainer"],V=["inputContainer"],ne=["label"];function ue(G,_e){1&G&&(u.ynx(0),u.TgZ(1,"div",14),u._UZ(2,"div",15)(3,"div",16)(4,"div",17),u.qZA(),u.TgZ(5,"div",18),u._UZ(6,"div",15)(7,"div",16)(8,"div",17),u.qZA(),u.BQk())}function ee(G,_e){if(1&G){const he=u.EpF();u.TgZ(0,"div",19),u.NdJ("cdkObserveContent",function(){return u.CHM(he),u.oxw().updateOutlineGap()}),u.Hsn(1,1),u.qZA()}if(2&G){const he=u.oxw();u.Q6J("cdkObserveContentDisabled","outline"!=he.appearance)}}function Q(G,_e){if(1&G&&(u.ynx(0),u.Hsn(1,2),u.TgZ(2,"span"),u._uU(3),u.qZA(),u.BQk()),2&G){const he=u.oxw(2);u.xp6(3),u.Oqu(he._control.placeholder)}}function se(G,_e){1&G&&u.Hsn(0,3,["*ngSwitchCase","true"])}function je(G,_e){1&G&&(u.TgZ(0,"span",23),u._uU(1," *"),u.qZA())}function nt(G,_e){if(1&G){const he=u.EpF();u.TgZ(0,"label",20,21),u.NdJ("cdkObserveContent",function(){return u.CHM(he),u.oxw().updateOutlineGap()}),u.YNc(2,Q,4,1,"ng-container",12),u.YNc(3,se,1,0,"ng-content",12),u.YNc(4,je,2,0,"span",22),u.qZA()}if(2&G){const he=u.oxw();u.ekj("mat-empty",he._control.empty&&!he._shouldAlwaysFloat())("mat-form-field-empty",he._control.empty&&!he._shouldAlwaysFloat())("mat-accent","accent"==he.color)("mat-warn","warn"==he.color),u.Q6J("cdkObserveContentDisabled","outline"!=he.appearance)("id",he._labelId)("ngSwitch",he._hasLabel()),u.uIk("for",he._control.id)("aria-owns",he._control.id),u.xp6(2),u.Q6J("ngSwitchCase",!1),u.xp6(1),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngIf",!he.hideRequiredMarker&&he._control.required&&!he._control.disabled)}}function He(G,_e){1&G&&(u.TgZ(0,"div",24),u.Hsn(1,4),u.qZA())}function de(G,_e){if(1&G&&(u.TgZ(0,"div",25),u._UZ(1,"span",26),u.qZA()),2&G){const he=u.oxw();u.xp6(1),u.ekj("mat-accent","accent"==he.color)("mat-warn","warn"==he.color)}}function Ce(G,_e){if(1&G&&(u.TgZ(0,"div"),u.Hsn(1,5),u.qZA()),2&G){const he=u.oxw();u.Q6J("@transitionMessages",he._subscriptAnimationState)}}function Ze(G,_e){if(1&G&&(u.TgZ(0,"div",30),u._uU(1),u.qZA()),2&G){const he=u.oxw(2);u.Q6J("id",he._hintLabelId),u.xp6(1),u.Oqu(he.hintLabel)}}function ot(G,_e){if(1&G&&(u.TgZ(0,"div",27),u.YNc(1,Ze,2,2,"div",28),u.Hsn(2,6),u._UZ(3,"div",29),u.Hsn(4,7),u.qZA()),2&G){const he=u.oxw();u.Q6J("@transitionMessages",he._subscriptAnimationState),u.xp6(1),u.Q6J("ngIf",he.hintLabel)}}const Ke=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],xt=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let Be=0;const Tt=new u.OlP("MatError");let Zt=(()=>{class G{constructor(he,De){this.id="mat-error-"+Be++,he||De.nativeElement.setAttribute("aria-live","polite")}}return G.\u0275fac=function(he){return new(he||G)(u.$8M("aria-live"),u.Y36(u.SBq))},G.\u0275dir=u.lG2({type:G,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(he,De){2&he&&u.uIk("id",De.id)},inputs:{id:"id"},features:[u._Bn([{provide:Tt,useExisting:G}])]}),G})();const Sn={transitionMessages:(0,z.X$)("transitionMessages",[(0,z.SB)("enter",(0,z.oB)({opacity:1,transform:"translateY(0%)"})),(0,z.eR)("void => enter",[(0,z.oB)({opacity:0,transform:"translateY(-5px)"}),(0,z.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Xt=(()=>{class G{}return G.\u0275fac=function(he){return new(he||G)},G.\u0275dir=u.lG2({type:G}),G})();const Pt=new u.OlP("MatHint");let bt=(()=>{class G{}return G.\u0275fac=function(he){return new(he||G)},G.\u0275dir=u.lG2({type:G,selectors:[["mat-label"]]}),G})(),dt=(()=>{class G{}return G.\u0275fac=function(he){return new(he||G)},G.\u0275dir=u.lG2({type:G,selectors:[["mat-placeholder"]]}),G})();const ut=new u.OlP("MatPrefix"),kt=new u.OlP("MatSuffix");let pt=(()=>{class G{}return G.\u0275fac=function(he){return new(he||G)},G.\u0275dir=u.lG2({type:G,selectors:[["","matSuffix",""]],features:[u._Bn([{provide:kt,useExisting:G}])]}),G})(),Ft=0;const Wn=(0,d.pj)(class{constructor(G){this._elementRef=G}},"primary"),Pn=new u.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS"),kn=new u.OlP("MatFormField");let Kt=(()=>{class G extends Wn{constructor(he,De,Ve,Mt,Dt,Et,sn){super(he),this._changeDetectorRef=De,this._dir=Ve,this._defaults=Mt,this._platform=Dt,this._ngZone=Et,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new g.x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Ft++,this._labelId="mat-form-field-label-"+Ft++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==sn,this.appearance=Mt&&Mt.appearance?Mt.appearance:"legacy",this._hideRequiredMarker=!(!Mt||null==Mt.hideRequiredMarker)&&Mt.hideRequiredMarker}get appearance(){return this._appearance}set appearance(he){const De=this._appearance;this._appearance=he||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&De!==he&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(he){this._hideRequiredMarker=(0,c.Ig)(he)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(he){this._hintLabel=he,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(he){he!==this._floatLabel&&(this._floatLabel=he||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(he){this._explicitFormFieldControl=he}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const he=this._control;he.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${he.controlType}`),he.stateChanges.pipe((0,A.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),he.ngControl&&he.ngControl.valueChanges&&he.ngControl.valueChanges.pipe((0,I.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,b.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,A.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,A.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,I.R)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(he){const De=this._control?this._control.ngControl:null;return De&&De[he]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,k.R)(this._label.nativeElement,"transitionend").pipe((0,H.q)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let he=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&he.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const De=this._hintChildren?this._hintChildren.find(Mt=>"start"===Mt.align):null,Ve=this._hintChildren?this._hintChildren.find(Mt=>"end"===Mt.align):null;De?he.push(De.id):this._hintLabel&&he.push(this._hintLabelId),Ve&&he.push(Ve.id)}else this._errorChildren&&he.push(...this._errorChildren.map(De=>De.id));this._control.setDescribedByIds(he)}}_validateControlChild(){}updateOutlineGap(){const he=this._label?this._label.nativeElement:null,De=this._connectionContainerRef.nativeElement,Ve=".mat-form-field-outline-start",Mt=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!he||!he.children.length||!he.textContent.trim()){const Nn=De.querySelectorAll(`${Ve}, ${Mt}`);for(let In=0;In0?.75*Jn+10:0}for(let Nn=0;Nn{class G{}return G.\u0275fac=function(he){return new(he||G)},G.\u0275mod=u.oAB({type:G}),G.\u0275inj=u.cJS({imports:[[o.ez,d.BQ,e.Q8],d.BQ]}),G})()},5245:(X,N,p)=>{"use strict";p.d(N,{Hw:()=>mn,Ps:()=>Jt});var e=p(5e3),o=p(508),u=p(3191),d=p(9808),c=p(9646),g=p(2843),b=p(4128),k=p(727),A=p(8505),I=p(4004),H=p(262),z=p(8746),O=p(3099),Z=p(5698),q=p(520),te=p(2313);const V=["*"];let ne;function ee(et){var Pt;return(null===(Pt=function ue(){if(void 0===ne&&(ne=null,"undefined"!=typeof window)){const et=window;void 0!==et.trustedTypes&&(ne=et.trustedTypes.createPolicy("angular#components",{createHTML:Pt=>Pt}))}return ne}())||void 0===Pt?void 0:Pt.createHTML(et))||et}function Q(et){return Error(`Unable to find icon with the name "${et}"`)}function je(et){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${et}".`)}function nt(et){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${et}".`)}class He{constructor(Pt,Ot,bt){this.url=Pt,this.svgText=Ot,this.options=bt}}let de=(()=>{class et{constructor(Ot,bt,dt,ut){this._httpClient=Ot,this._sanitizer=bt,this._errorHandler=ut,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=dt}addSvgIcon(Ot,bt,dt){return this.addSvgIconInNamespace("",Ot,bt,dt)}addSvgIconLiteral(Ot,bt,dt){return this.addSvgIconLiteralInNamespace("",Ot,bt,dt)}addSvgIconInNamespace(Ot,bt,dt,ut){return this._addSvgIconConfig(Ot,bt,new He(dt,null,ut))}addSvgIconResolver(Ot){return this._resolvers.push(Ot),this}addSvgIconLiteralInNamespace(Ot,bt,dt,ut){const Je=this._sanitizer.sanitize(e.q3G.HTML,dt);if(!Je)throw nt(dt);const kt=ee(Je);return this._addSvgIconConfig(Ot,bt,new He("",kt,ut))}addSvgIconSet(Ot,bt){return this.addSvgIconSetInNamespace("",Ot,bt)}addSvgIconSetLiteral(Ot,bt){return this.addSvgIconSetLiteralInNamespace("",Ot,bt)}addSvgIconSetInNamespace(Ot,bt,dt){return this._addSvgIconSetConfig(Ot,new He(bt,null,dt))}addSvgIconSetLiteralInNamespace(Ot,bt,dt){const ut=this._sanitizer.sanitize(e.q3G.HTML,bt);if(!ut)throw nt(bt);const Je=ee(ut);return this._addSvgIconSetConfig(Ot,new He("",Je,dt))}registerFontClassAlias(Ot,bt=Ot){return this._fontCssClassesByAlias.set(Ot,bt),this}classNameForFontAlias(Ot){return this._fontCssClassesByAlias.get(Ot)||Ot}setDefaultFontSetClass(Ot){return this._defaultFontSetClass=Ot,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ot){const bt=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Ot);if(!bt)throw je(Ot);const dt=this._cachedIconsByUrl.get(bt);return dt?(0,c.of)(ot(dt)):this._loadSvgIconFromConfig(new He(Ot,null)).pipe((0,A.b)(ut=>this._cachedIconsByUrl.set(bt,ut)),(0,I.U)(ut=>ot(ut)))}getNamedSvgIcon(Ot,bt=""){const dt=Ke(bt,Ot);let ut=this._svgIconConfigs.get(dt);if(ut)return this._getSvgFromConfig(ut);if(ut=this._getIconConfigFromResolvers(bt,Ot),ut)return this._svgIconConfigs.set(dt,ut),this._getSvgFromConfig(ut);const Je=this._iconSetConfigs.get(bt);return Je?this._getSvgFromIconSetConfigs(Ot,Je):(0,g._)(Q(dt))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ot){return Ot.svgText?(0,c.of)(ot(this._svgElementFromConfig(Ot))):this._loadSvgIconFromConfig(Ot).pipe((0,I.U)(bt=>ot(bt)))}_getSvgFromIconSetConfigs(Ot,bt){const dt=this._extractIconWithNameFromAnySet(Ot,bt);if(dt)return(0,c.of)(dt);const ut=bt.filter(Je=>!Je.svgText).map(Je=>this._loadSvgIconSetFromConfig(Je).pipe((0,H.K)(kt=>{const Ft=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,Je.url)} failed: ${kt.message}`;return this._errorHandler.handleError(new Error(Ft)),(0,c.of)(null)})));return(0,b.D)(ut).pipe((0,I.U)(()=>{const Je=this._extractIconWithNameFromAnySet(Ot,bt);if(!Je)throw Q(Ot);return Je}))}_extractIconWithNameFromAnySet(Ot,bt){for(let dt=bt.length-1;dt>=0;dt--){const ut=bt[dt];if(ut.svgText&&ut.svgText.toString().indexOf(Ot)>-1){const Je=this._svgElementFromConfig(ut),kt=this._extractSvgIconFromSet(Je,Ot,ut.options);if(kt)return kt}}return null}_loadSvgIconFromConfig(Ot){return this._fetchIcon(Ot).pipe((0,A.b)(bt=>Ot.svgText=bt),(0,I.U)(()=>this._svgElementFromConfig(Ot)))}_loadSvgIconSetFromConfig(Ot){return Ot.svgText?(0,c.of)(null):this._fetchIcon(Ot).pipe((0,A.b)(bt=>Ot.svgText=bt))}_extractSvgIconFromSet(Ot,bt,dt){const ut=Ot.querySelector(`[id="${bt}"]`);if(!ut)return null;const Je=ut.cloneNode(!0);if(Je.removeAttribute("id"),"svg"===Je.nodeName.toLowerCase())return this._setSvgAttributes(Je,dt);if("symbol"===Je.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Je),dt);const kt=this._svgElementFromString(ee(""));return kt.appendChild(Je),this._setSvgAttributes(kt,dt)}_svgElementFromString(Ot){const bt=this._document.createElement("DIV");bt.innerHTML=Ot;const dt=bt.querySelector("svg");if(!dt)throw Error(" tag not found");return dt}_toSvgElement(Ot){const bt=this._svgElementFromString(ee("")),dt=Ot.attributes;for(let ut=0;utee(tn)),(0,z.x)(()=>this._inProgressUrlFetches.delete(kt)),(0,O.B)());return this._inProgressUrlFetches.set(kt,Ft),Ft}_addSvgIconConfig(Ot,bt,dt){return this._svgIconConfigs.set(Ke(Ot,bt),dt),this}_addSvgIconSetConfig(Ot,bt){const dt=this._iconSetConfigs.get(Ot);return dt?dt.push(bt):this._iconSetConfigs.set(Ot,[bt]),this}_svgElementFromConfig(Ot){if(!Ot.svgElement){const bt=this._svgElementFromString(Ot.svgText);this._setSvgAttributes(bt,Ot.options),Ot.svgElement=bt}return Ot.svgElement}_getIconConfigFromResolvers(Ot,bt){for(let dt=0;dtPt?Pt.pathname+Pt.search:""}}}),Sn=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Xt=Sn.map(et=>`[${et}]`).join(", "),nn=/^url\(['"]?#(.*?)['"]?\)$/;let mn=(()=>{class et extends Be{constructor(Ot,bt,dt,ut,Je){super(Ot),this._iconRegistry=bt,this._location=ut,this._errorHandler=Je,this._inline=!1,this._currentIconFetch=k.w0.EMPTY,dt||Ot.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ot){this._inline=(0,u.Ig)(Ot)}get svgIcon(){return this._svgIcon}set svgIcon(Ot){Ot!==this._svgIcon&&(Ot?this._updateSvgIcon(Ot):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ot)}get fontSet(){return this._fontSet}set fontSet(Ot){const bt=this._cleanupFontValue(Ot);bt!==this._fontSet&&(this._fontSet=bt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ot){const bt=this._cleanupFontValue(Ot);bt!==this._fontIcon&&(this._fontIcon=bt,this._updateFontIconClasses())}_splitIconName(Ot){if(!Ot)return["",""];const bt=Ot.split(":");switch(bt.length){case 1:return["",bt[0]];case 2:return bt;default:throw Error(`Invalid icon name: "${Ot}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ot=this._elementsWithExternalReferences;if(Ot&&Ot.size){const bt=this._location.getPathname();bt!==this._previousPath&&(this._previousPath=bt,this._prependPathToReferences(bt))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ot){this._clearSvgElement();const bt=this._location.getPathname();this._previousPath=bt,this._cacheChildrenWithExternalReferences(Ot),this._prependPathToReferences(bt),this._elementRef.nativeElement.appendChild(Ot)}_clearSvgElement(){const Ot=this._elementRef.nativeElement;let bt=Ot.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();bt--;){const dt=Ot.childNodes[bt];(1!==dt.nodeType||"svg"===dt.nodeName.toLowerCase())&&dt.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ot=this._elementRef.nativeElement,bt=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();bt!=this._previousFontSetClass&&(this._previousFontSetClass&&Ot.classList.remove(this._previousFontSetClass),bt&&Ot.classList.add(bt),this._previousFontSetClass=bt),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&Ot.classList.remove(this._previousFontIconClass),this.fontIcon&&Ot.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ot){return"string"==typeof Ot?Ot.trim().split(" ")[0]:Ot}_prependPathToReferences(Ot){const bt=this._elementsWithExternalReferences;bt&&bt.forEach((dt,ut)=>{dt.forEach(Je=>{ut.setAttribute(Je.name,`url('${Ot}#${Je.value}')`)})})}_cacheChildrenWithExternalReferences(Ot){const bt=Ot.querySelectorAll(Xt),dt=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let ut=0;ut{const kt=bt[ut],pt=kt.getAttribute(Je),Ft=pt?pt.match(nn):null;if(Ft){let tn=dt.get(kt);tn||(tn=[],dt.set(kt,tn)),tn.push({name:Je,value:Ft[1]})}})}_updateSvgIcon(Ot){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ot){const[bt,dt]=this._splitIconName(Ot);bt&&(this._svgNamespace=bt),dt&&(this._svgName=dt),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(dt,bt).pipe((0,Z.q)(1)).subscribe(ut=>this._setSvgElement(ut),ut=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${bt}:${dt}! ${ut.message}`))})}}}return et.\u0275fac=function(Ot){return new(Ot||et)(e.Y36(e.SBq),e.Y36(de),e.$8M("aria-hidden"),e.Y36(Tt),e.Y36(e.qLn))},et.\u0275cmp=e.Xpm({type:et,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(Ot,bt){2&Ot&&(e.uIk("data-mat-icon-type",bt._usingFontIcon()?"font":"svg")("data-mat-icon-name",bt._svgName||bt.fontIcon)("data-mat-icon-namespace",bt._svgNamespace||bt.fontSet),e.ekj("mat-icon-inline",bt.inline)("mat-icon-no-color","primary"!==bt.color&&"accent"!==bt.color&&"warn"!==bt.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:V,decls:1,vars:0,template:function(Ot,bt){1&Ot&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),et})(),Jt=(()=>{class et{}return et.\u0275fac=function(Ot){return new(Ot||et)},et.\u0275mod=e.oAB({type:et}),et.\u0275inj=e.cJS({imports:[[o.BQ],o.BQ]}),et})()},7531:(X,N,p)=>{"use strict";p.d(N,{Jk:()=>q,Nt:()=>ue,c:()=>ee});var e=p(3191),o=p(925),u=p(5e3),d=p(3075),c=p(508),g=p(3489),b=p(7579),k=p(515);const A=(0,o.i$)({passive:!0});let I=(()=>{class Q{constructor(je,nt){this._platform=je,this._ngZone=nt,this._monitoredElements=new Map}monitor(je){if(!this._platform.isBrowser)return k.E;const nt=(0,e.fI)(je),He=this._monitoredElements.get(nt);if(He)return He.subject;const de=new b.x,Ce="cdk-text-field-autofilled",Ze=ot=>{"cdk-text-field-autofill-start"!==ot.animationName||nt.classList.contains(Ce)?"cdk-text-field-autofill-end"===ot.animationName&&nt.classList.contains(Ce)&&(nt.classList.remove(Ce),this._ngZone.run(()=>de.next({target:ot.target,isAutofilled:!1}))):(nt.classList.add(Ce),this._ngZone.run(()=>de.next({target:ot.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{nt.addEventListener("animationstart",Ze,A),nt.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(nt,{subject:de,unlisten:()=>{nt.removeEventListener("animationstart",Ze,A)}}),de}stopMonitoring(je){const nt=(0,e.fI)(je),He=this._monitoredElements.get(nt);He&&(He.unlisten(),He.subject.complete(),nt.classList.remove("cdk-text-field-autofill-monitored"),nt.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(nt))}ngOnDestroy(){this._monitoredElements.forEach((je,nt)=>this.stopMonitoring(nt))}}return Q.\u0275fac=function(je){return new(je||Q)(u.LFG(o.t4),u.LFG(u.R0b))},Q.\u0275prov=u.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),O=(()=>{class Q{}return Q.\u0275fac=function(je){return new(je||Q)},Q.\u0275mod=u.oAB({type:Q}),Q.\u0275inj=u.cJS({}),Q})();const q=new u.OlP("MAT_INPUT_VALUE_ACCESSOR"),te=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let V=0;const ne=(0,c.FD)(class{constructor(Q,se,je,nt){this._defaultErrorStateMatcher=Q,this._parentForm=se,this._parentFormGroup=je,this.ngControl=nt}});let ue=(()=>{class Q extends ne{constructor(je,nt,He,de,Ce,Ze,ot,Ke,xt,Be){super(Ze,de,Ce,He),this._elementRef=je,this._platform=nt,this._autofillMonitor=Ke,this._formField=Be,this._uid="mat-input-"+V++,this.focused=!1,this.stateChanges=new b.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(Sn=>(0,o.qK)().has(Sn)),this._iOSKeyupListener=Sn=>{const Xt=Sn.target;!Xt.value&&0===Xt.selectionStart&&0===Xt.selectionEnd&&(Xt.setSelectionRange(1,1),Xt.setSelectionRange(0,0))};const Tt=this._elementRef.nativeElement,Zt=Tt.nodeName.toLowerCase();this._inputValueAccessor=ot||Tt,this._previousNativeValue=this.value,this.id=this.id,nt.IOS&&xt.runOutsideAngular(()=>{je.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===Zt,this._isTextarea="textarea"===Zt,this._isInFormField=!!Be,this._isNativeSelect&&(this.controlType=Tt.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(je){this._disabled=(0,e.Ig)(je),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(je){this._id=je||this._uid}get required(){var je,nt,He,de;return null!==(de=null!==(je=this._required)&&void 0!==je?je:null===(He=null===(nt=this.ngControl)||void 0===nt?void 0:nt.control)||void 0===He?void 0:He.hasValidator(d.kI.required))&&void 0!==de&&de}set required(je){this._required=(0,e.Ig)(je)}get type(){return this._type}set type(je){this._type=je||"text",this._validateType(),!this._isTextarea&&(0,o.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(je){je!==this.value&&(this._inputValueAccessor.value=je,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(je){this._readonly=(0,e.Ig)(je)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(je=>{this.autofilled=je.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(je){this._elementRef.nativeElement.focus(je)}_focusChanged(je){je!==this.focused&&(this.focused=je,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var je,nt;const He=(null===(nt=null===(je=this._formField)||void 0===je?void 0:je._hideControlPlaceholder)||void 0===nt?void 0:nt.call(je))?null:this.placeholder;if(He!==this._previousPlaceholder){const de=this._elementRef.nativeElement;this._previousPlaceholder=He,He?de.setAttribute("placeholder",He):de.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const je=this._elementRef.nativeElement.value;this._previousNativeValue!==je&&(this._previousNativeValue=je,this.stateChanges.next())}_validateType(){te.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let je=this._elementRef.nativeElement.validity;return je&&je.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const je=this._elementRef.nativeElement,nt=je.options[0];return this.focused||je.multiple||!this.empty||!!(je.selectedIndex>-1&&nt&&nt.label)}return this.focused||!this.empty}setDescribedByIds(je){je.length?this._elementRef.nativeElement.setAttribute("aria-describedby",je.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const je=this._elementRef.nativeElement;return this._isNativeSelect&&(je.multiple||je.size>1)}}return Q.\u0275fac=function(je){return new(je||Q)(u.Y36(u.SBq),u.Y36(o.t4),u.Y36(d.a5,10),u.Y36(d.F,8),u.Y36(d.sg,8),u.Y36(c.rD),u.Y36(q,10),u.Y36(I),u.Y36(u.R0b),u.Y36(g.G_,8))},Q.\u0275dir=u.lG2({type:Q,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(je,nt){1&je&&u.NdJ("focus",function(){return nt._focusChanged(!0)})("blur",function(){return nt._focusChanged(!1)})("input",function(){return nt._onInput()}),2&je&&(u.Ikx("disabled",nt.disabled)("required",nt.required),u.uIk("id",nt.id)("data-placeholder",nt.placeholder)("name",nt.name||null)("readonly",nt.readonly&&!nt._isNativeSelect||null)("aria-invalid",nt.empty&&nt.required?null:nt.errorState)("aria-required",nt.required),u.ekj("mat-input-server",nt._isServer)("mat-native-select-inline",nt._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[u._Bn([{provide:g.Eo,useExisting:Q}]),u.qOj,u.TTD]}),Q})(),ee=(()=>{class Q{}return Q.\u0275fac=function(je){return new(je||Q)},Q.\u0275mod=u.oAB({type:Q}),Q.\u0275inj=u.cJS({providers:[c.rD],imports:[[O,g.lN,c.BQ],O,g.lN]}),Q})()},2181:(X,N,p)=>{"use strict";p.d(N,{CP:()=>Je,Tx:()=>Pn,VK:()=>ut,p6:()=>Wn});var e=p(5664),o=p(3191),u=p(1159),d=p(5e3),c=p(7579),g=p(727),b=p(6451),k=p(9646),A=p(3101),I=p(8675),H=p(3900),z=p(5698),O=p(2722),Z=p(9300),q=p(1005),te=p(1777),V=p(7429),ne=p(9808),ue=p(508),ee=p(9776),Q=p(925),se=p(226),je=p(495);const nt=["mat-menu-item",""];function He(kn,Kt){1&kn&&(d.O4$(),d.TgZ(0,"svg",2),d._UZ(1,"polygon",3),d.qZA())}const de=["*"];function Ce(kn,Kt){if(1&kn){const rt=d.EpF();d.TgZ(0,"div",0),d.NdJ("keydown",function(_e){return d.CHM(rt),d.oxw()._handleKeydown(_e)})("click",function(){return d.CHM(rt),d.oxw().closed.emit("click")})("@transformMenu.start",function(_e){return d.CHM(rt),d.oxw()._onAnimationStart(_e)})("@transformMenu.done",function(_e){return d.CHM(rt),d.oxw()._onAnimationDone(_e)}),d.TgZ(1,"div",1),d.Hsn(2),d.qZA()()}if(2&kn){const rt=d.oxw();d.Q6J("id",rt.panelId)("ngClass",rt._classList)("@transformMenu",rt._panelAnimationState),d.uIk("aria-label",rt.ariaLabel||null)("aria-labelledby",rt.ariaLabelledby||null)("aria-describedby",rt.ariaDescribedby||null)}}const Ze={transformMenu:(0,te.X$)("transformMenu",[(0,te.SB)("void",(0,te.oB)({opacity:0,transform:"scale(0.8)"})),(0,te.eR)("void => enter",(0,te.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,te.oB)({opacity:1,transform:"scale(1)"}))),(0,te.eR)("* => void",(0,te.jt)("100ms 25ms linear",(0,te.oB)({opacity:0})))]),fadeInItems:(0,te.X$)("fadeInItems",[(0,te.SB)("showing",(0,te.oB)({opacity:1})),(0,te.eR)("void => *",[(0,te.oB)({opacity:0}),(0,te.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},xt=new d.OlP("MatMenuContent"),mn=new d.OlP("MAT_MENU_PANEL"),Jt=(0,ue.Kr)((0,ue.Id)(class{}));let et=(()=>{class kn extends Jt{constructor(rt,G,_e,he,De){var Ve;super(),this._elementRef=rt,this._document=G,this._focusMonitor=_e,this._parentMenu=he,this._changeDetectorRef=De,this.role="menuitem",this._hovered=new c.x,this._focused=new c.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(Ve=null==he?void 0:he.addItem)||void 0===Ve||Ve.call(he,this)}focus(rt,G){this._focusMonitor&&rt?this._focusMonitor.focusVia(this._getHostElement(),rt,G):this._getHostElement().focus(G),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(rt){this.disabled&&(rt.preventDefault(),rt.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var rt;const G=this._elementRef.nativeElement.cloneNode(!0),_e=G.querySelectorAll("mat-icon, .material-icons");for(let he=0;he<_e.length;he++)_e[he].remove();return(null===(rt=G.textContent)||void 0===rt?void 0:rt.trim())||""}_setHighlighted(rt){var G;this._highlighted=rt,null===(G=this._changeDetectorRef)||void 0===G||G.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return kn.\u0275fac=function(rt){return new(rt||kn)(d.Y36(d.SBq),d.Y36(ne.K0),d.Y36(e.tE),d.Y36(mn,8),d.Y36(d.sBO))},kn.\u0275cmp=d.Xpm({type:kn,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(rt,G){1&rt&&d.NdJ("click",function(he){return G._checkDisabled(he)})("mouseenter",function(){return G._handleMouseEnter()}),2&rt&&(d.uIk("role",G.role)("tabindex",G._getTabIndex())("aria-disabled",G.disabled.toString())("disabled",G.disabled||null),d.ekj("mat-menu-item",!0)("mat-menu-item-highlighted",G._highlighted)("mat-menu-item-submenu-trigger",G._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[d.qOj],attrs:nt,ngContentSelectors:de,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(rt,G){1&rt&&(d.F$t(),d.Hsn(0),d._UZ(1,"div",0),d.YNc(2,He,2,0,"svg",1)),2&rt&&(d.xp6(1),d.Q6J("matRippleDisabled",G.disableRipple||G.disabled)("matRippleTrigger",G._getHostElement()),d.xp6(1),d.Q6J("ngIf",G._triggersSubmenu))},directives:[ue.wG,ne.O5],encapsulation:2,changeDetection:0}),kn})();const Pt=new d.OlP("mat-menu-default-options",{providedIn:"root",factory:function Ot(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let bt=0,dt=(()=>{class kn{constructor(rt,G,_e,he){this._elementRef=rt,this._ngZone=G,this._defaultOptions=_e,this._changeDetectorRef=he,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new d.n_E,this._tabSubscription=g.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new c.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new d.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+bt++}get xPosition(){return this._xPosition}set xPosition(rt){this._xPosition=rt,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(rt){this._yPosition=rt,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(rt){this._overlapTrigger=(0,o.Ig)(rt)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(rt){this._hasBackdrop=(0,o.Ig)(rt)}set panelClass(rt){const G=this._previousPanelClass;G&&G.length&&G.split(" ").forEach(_e=>{this._classList[_e]=!1}),this._previousPanelClass=rt,rt&&rt.length&&(rt.split(" ").forEach(_e=>{this._classList[_e]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(rt){this.panelClass=rt}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new e.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,I.O)(this._directDescendantItems),(0,H.w)(rt=>(0,b.T)(...rt.map(G=>G._focused)))).subscribe(rt=>this._keyManager.updateActiveItem(rt)),this._directDescendantItems.changes.subscribe(rt=>{var G;const _e=this._keyManager;if("enter"===this._panelAnimationState&&(null===(G=_e.activeItem)||void 0===G?void 0:G._hasFocus())){const he=rt.toArray(),De=Math.max(0,Math.min(he.length-1,_e.activeItemIndex||0));he[De]&&!he[De].disabled?_e.setActiveItem(De):_e.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,I.O)(this._directDescendantItems),(0,H.w)(G=>(0,b.T)(...G.map(_e=>_e._hovered))))}addItem(rt){}removeItem(rt){}_handleKeydown(rt){const G=rt.keyCode,_e=this._keyManager;switch(G){case u.hY:(0,u.Vb)(rt)||(rt.preventDefault(),this.closed.emit("keydown"));break;case u.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case u.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(G===u.LH||G===u.JH)&&_e.setFocusOrigin("keyboard"),void _e.onKeydown(rt)}rt.stopPropagation()}focusFirstItem(rt="program"){this._ngZone.onStable.pipe((0,z.q)(1)).subscribe(()=>{let G=null;if(this._directDescendantItems.length&&(G=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!G||!G.contains(document.activeElement)){const _e=this._keyManager;_e.setFocusOrigin(rt).setFirstItemActive(),!_e.activeItem&&G&&G.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(rt){const G=Math.min(this._baseElevation+rt,24),_e=`${this._elevationPrefix}${G}`,he=Object.keys(this._classList).find(De=>De.startsWith(this._elevationPrefix));(!he||he===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[_e]=!0,this._previousElevation=_e)}setPositionClasses(rt=this.xPosition,G=this.yPosition){var _e;const he=this._classList;he["mat-menu-before"]="before"===rt,he["mat-menu-after"]="after"===rt,he["mat-menu-above"]="above"===G,he["mat-menu-below"]="below"===G,null===(_e=this._changeDetectorRef)||void 0===_e||_e.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(rt){this._animationDone.next(rt),this._isAnimating=!1}_onAnimationStart(rt){this._isAnimating=!0,"enter"===rt.toState&&0===this._keyManager.activeItemIndex&&(rt.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,I.O)(this._allItems)).subscribe(rt=>{this._directDescendantItems.reset(rt.filter(G=>G._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return kn.\u0275fac=function(rt){return new(rt||kn)(d.Y36(d.SBq),d.Y36(d.R0b),d.Y36(Pt),d.Y36(d.sBO))},kn.\u0275dir=d.lG2({type:kn,contentQueries:function(rt,G,_e){if(1&rt&&(d.Suo(_e,xt,5),d.Suo(_e,et,5),d.Suo(_e,et,4)),2&rt){let he;d.iGM(he=d.CRH())&&(G.lazyContent=he.first),d.iGM(he=d.CRH())&&(G._allItems=he),d.iGM(he=d.CRH())&&(G.items=he)}},viewQuery:function(rt,G){if(1&rt&&d.Gf(d.Rgc,5),2&rt){let _e;d.iGM(_e=d.CRH())&&(G.templateRef=_e.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),kn})(),ut=(()=>{class kn extends dt{constructor(rt,G,_e,he){super(rt,G,_e,he),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return kn.\u0275fac=function(rt){return new(rt||kn)(d.Y36(d.SBq),d.Y36(d.R0b),d.Y36(Pt),d.Y36(d.sBO))},kn.\u0275cmp=d.Xpm({type:kn,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(rt,G){2&rt&&d.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[d._Bn([{provide:mn,useExisting:kn}]),d.qOj],ngContentSelectors:de,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(rt,G){1&rt&&(d.F$t(),d.YNc(0,Ce,3,6,"ng-template"))},directives:[ne.mk],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[Ze.transformMenu,Ze.fadeInItems]},changeDetection:0}),kn})();const Je=new d.OlP("mat-menu-scroll-strategy"),pt={provide:Je,deps:[ee.aV],useFactory:function kt(kn){return()=>kn.scrollStrategies.reposition()}},tn=(0,Q.i$)({passive:!0});let un=(()=>{class kn{constructor(rt,G,_e,he,De,Ve,Mt,Dt,Et){this._overlay=rt,this._element=G,this._viewContainerRef=_e,this._menuItemInstance=Ve,this._dir=Mt,this._focusMonitor=Dt,this._ngZone=Et,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=g.w0.EMPTY,this._hoverSubscription=g.w0.EMPTY,this._menuCloseSubscription=g.w0.EMPTY,this._handleTouchStart=sn=>{(0,e.yG)(sn)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new d.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new d.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=he,this._parentMaterialMenu=De instanceof dt?De:void 0,G.nativeElement.addEventListener("touchstart",this._handleTouchStart,tn),Ve&&(Ve._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(rt){this.menu=rt}get menu(){return this._menu}set menu(rt){rt!==this._menu&&(this._menu=rt,this._menuCloseSubscription.unsubscribe(),rt&&(this._menuCloseSubscription=rt.close.subscribe(G=>{this._destroyMenu(G),("click"===G||"tab"===G)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(G)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,tn),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const rt=this._createOverlay(),G=rt.getConfig(),_e=G.positionStrategy;this._setPosition(_e),G.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,rt.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof dt&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe((0,O.R)(this.menu.close)).subscribe(()=>{_e.withLockedPosition(!1).reapplyLastPosition(),_e.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(rt,G){this._focusMonitor&&rt?this._focusMonitor.focusVia(this._element,rt,G):this._element.nativeElement.focus(G)}updatePosition(){var rt;null===(rt=this._overlayRef)||void 0===rt||rt.updatePosition()}_destroyMenu(rt){if(!this._overlayRef||!this.menuOpen)return;const G=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===rt||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,G instanceof dt?(G._resetAnimation(),G.lazyContent?G._animationDone.pipe((0,Z.h)(_e=>"void"===_e.toState),(0,z.q)(1),(0,O.R)(G.lazyContent._attached)).subscribe({next:()=>G.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),G.lazyContent&&G.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let rt=0,G=this.menu.parentMenu;for(;G;)rt++,G=G.parentMenu;this.menu.setElevation(rt)}}_setIsMenuOpen(rt){this._menuOpen=rt,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(rt)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const rt=this._getOverlayConfig();this._subscribeToPositions(rt.positionStrategy),this._overlayRef=this._overlay.create(rt),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new ee.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(rt){this.menu.setPositionClasses&&rt.positionChanges.subscribe(G=>{const _e="start"===G.connectionPair.overlayX?"after":"before",he="top"===G.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(_e,he)):this.menu.setPositionClasses(_e,he)})}_setPosition(rt){let[G,_e]="before"===this.menu.xPosition?["end","start"]:["start","end"],[he,De]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[Ve,Mt]=[he,De],[Dt,Et]=[G,_e],sn=0;this.triggersSubmenu()?(Et=G="before"===this.menu.xPosition?"start":"end",_e=Dt="end"===G?"start":"end",sn="bottom"===he?8:-8):this.menu.overlapTrigger||(Ve="top"===he?"bottom":"top",Mt="top"===De?"bottom":"top"),rt.withPositions([{originX:G,originY:Ve,overlayX:Dt,overlayY:he,offsetY:sn},{originX:_e,originY:Ve,overlayX:Et,overlayY:he,offsetY:sn},{originX:G,originY:Mt,overlayX:Dt,overlayY:De,offsetY:-sn},{originX:_e,originY:Mt,overlayX:Et,overlayY:De,offsetY:-sn}])}_menuClosingActions(){const rt=this._overlayRef.backdropClick(),G=this._overlayRef.detachments(),_e=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,k.of)(),he=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Z.h)(De=>De!==this._menuItemInstance),(0,Z.h)(()=>this._menuOpen)):(0,k.of)();return(0,b.T)(rt,_e,he,G)}_handleMousedown(rt){(0,e.X6)(rt)||(this._openedBy=0===rt.button?"mouse":void 0,this.triggersSubmenu()&&rt.preventDefault())}_handleKeydown(rt){const G=rt.keyCode;(G===u.K5||G===u.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(G===u.SV&&"ltr"===this.dir||G===u.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(rt){this.triggersSubmenu()?(rt.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Z.h)(rt=>rt===this._menuItemInstance&&!rt.disabled),(0,q.g)(0,A.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof dt&&this.menu._isAnimating?this.menu._animationDone.pipe((0,z.q)(1),(0,q.g)(0,A.E),(0,O.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new V.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return kn.\u0275fac=function(rt){return new(rt||kn)(d.Y36(ee.aV),d.Y36(d.SBq),d.Y36(d.s_b),d.Y36(Je),d.Y36(mn,8),d.Y36(et,10),d.Y36(se.Is,8),d.Y36(e.tE),d.Y36(d.R0b))},kn.\u0275dir=d.lG2({type:kn,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(rt,G){1&rt&&d.NdJ("click",function(he){return G._handleClick(he)})("mousedown",function(he){return G._handleMousedown(he)})("keydown",function(he){return G._handleKeydown(he)}),2&rt&&d.uIk("aria-expanded",G.menuOpen||null)("aria-controls",G.menuOpen?G.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),kn})(),Wn=(()=>{class kn extends un{}return kn.\u0275fac=function(){let Kt;return function(G){return(Kt||(Kt=d.n5z(kn)))(G||kn)}}(),kn.\u0275dir=d.lG2({type:kn,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[d.qOj]}),kn})(),Pn=(()=>{class kn{}return kn.\u0275fac=function(rt){return new(rt||kn)},kn.\u0275mod=d.oAB({type:kn}),kn.\u0275inj=d.cJS({providers:[pt],imports:[[ne.ez,ue.BQ,ue.si,ee.U8],je.ZD,ue.BQ]}),kn})()},773:(X,N,p)=>{"use strict";p.d(N,{Cq:()=>ne,Ou:()=>V});var e=p(3191),o=p(925),u=p(9808),d=p(5e3),c=p(508),g=p(6360),b=p(727),k=p(495);function A(ee,Q){if(1&ee&&(d.O4$(),d._UZ(0,"circle",4)),2&ee){const se=d.oxw(),je=d.MAs(1);d.Udp("animation-name","mat-progress-spinner-stroke-rotate-"+se._spinnerAnimationLabel)("stroke-dashoffset",se._getStrokeDashOffset(),"px")("stroke-dasharray",se._getStrokeCircumference(),"px")("stroke-width",se._getCircleStrokeWidth(),"%")("transform-origin",se._getCircleTransformOrigin(je)),d.uIk("r",se._getCircleRadius())}}function I(ee,Q){if(1&ee&&(d.O4$(),d._UZ(0,"circle",4)),2&ee){const se=d.oxw(),je=d.MAs(1);d.Udp("stroke-dashoffset",se._getStrokeDashOffset(),"px")("stroke-dasharray",se._getStrokeCircumference(),"px")("stroke-width",se._getCircleStrokeWidth(),"%")("transform-origin",se._getCircleTransformOrigin(je)),d.uIk("r",se._getCircleRadius())}}const O=(0,c.pj)(class{constructor(ee){this._elementRef=ee}},"primary"),Z=new d.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function q(){return{diameter:100}}});class V extends O{constructor(Q,se,je,nt,He,de,Ce,Ze){super(Q),this._document=je,this._diameter=100,this._value=0,this._resizeSubscription=b.w0.EMPTY,this.mode="determinate";const ot=V._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),ot.has(je.head)||ot.set(je.head,new Set([100])),this._noopAnimations="NoopAnimations"===nt&&!!He&&!He._forceAnimations,"mat-spinner"===Q.nativeElement.nodeName.toLowerCase()&&(this.mode="indeterminate"),He&&(He.diameter&&(this.diameter=He.diameter),He.strokeWidth&&(this.strokeWidth=He.strokeWidth)),se.isBrowser&&se.SAFARI&&Ce&&de&&Ze&&(this._resizeSubscription=Ce.change(150).subscribe(()=>{"indeterminate"===this.mode&&Ze.run(()=>de.markForCheck())}))}get diameter(){return this._diameter}set diameter(Q){this._diameter=(0,e.su)(Q),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(Q){this._strokeWidth=(0,e.su)(Q)}get value(){return"determinate"===this.mode?this._value:0}set value(Q){this._value=Math.max(0,Math.min(100,(0,e.su)(Q)))}ngOnInit(){const Q=this._elementRef.nativeElement;this._styleRoot=(0,o.kV)(Q)||this._document.head,this._attachStyleNode(),Q.classList.add("mat-progress-spinner-indeterminate-animation")}ngOnDestroy(){this._resizeSubscription.unsubscribe()}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const Q=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${Q} ${Q}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_getCircleTransformOrigin(Q){var se;const je=50*(null!==(se=Q.currentScale)&&void 0!==se?se:1);return`${je}% ${je}%`}_attachStyleNode(){const Q=this._styleRoot,se=this._diameter,je=V._diameters;let nt=je.get(Q);if(!nt||!nt.has(se)){const He=this._document.createElement("style");He.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),He.textContent=this._getAnimationText(),Q.appendChild(He),nt||(nt=new Set,je.set(Q,nt)),nt.add(se)}}_getAnimationText(){const Q=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*Q).replace(/END_VALUE/g,""+.2*Q).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}V._diameters=new WeakMap,V.\u0275fac=function(Q){return new(Q||V)(d.Y36(d.SBq),d.Y36(o.t4),d.Y36(u.K0,8),d.Y36(g.Qb,8),d.Y36(Z),d.Y36(d.sBO),d.Y36(k.rL),d.Y36(d.R0b))},V.\u0275cmp=d.Xpm({type:V,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(Q,se){2&Q&&(d.uIk("aria-valuemin","determinate"===se.mode?0:null)("aria-valuemax","determinate"===se.mode?100:null)("aria-valuenow","determinate"===se.mode?se.value:null)("mode",se.mode),d.Udp("width",se.diameter,"px")("height",se.diameter,"px"),d.ekj("_mat-animation-noopable",se._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[d.qOj],decls:4,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["svg",""],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width","transform-origin",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(Q,se){1&Q&&(d.O4$(),d.TgZ(0,"svg",0,1),d.YNc(2,A,1,11,"circle",2),d.YNc(3,I,1,9,"circle",3),d.qZA()),2&Q&&(d.Udp("width",se.diameter,"px")("height",se.diameter,"px"),d.Q6J("ngSwitch","indeterminate"===se.mode),d.uIk("viewBox",se._getViewBox()),d.xp6(2),d.Q6J("ngSwitchCase",!0),d.xp6(1),d.Q6J("ngSwitchCase",!1))},directives:[u.RF,u.n9],styles:[".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}\n"],encapsulation:2,changeDetection:0});let ne=(()=>{class ee{}return ee.\u0275fac=function(se){return new(se||ee)},ee.\u0275mod=d.oAB({type:ee}),ee.\u0275inj=d.cJS({imports:[[c.BQ,u.ez],c.BQ]}),ee})()},9814:(X,N,p)=>{"use strict";p.d(N,{Fk:()=>je,U0:()=>se,VQ:()=>ne});var e=p(5e3),o=p(508),u=p(3191),d=p(3075),c=p(6360),g=p(5664),b=p(449);const k=["input"],A=function(nt){return{enterDuration:nt}},I=["*"],H=new e.OlP("mat-radio-default-options",{providedIn:"root",factory:function z(){return{color:"accent"}}});let O=0;const Z={provide:d.JU,useExisting:(0,e.Gpc)(()=>ne),multi:!0};class q{constructor(He,de){this.source=He,this.value=de}}const te=new e.OlP("MatRadioGroup");let V=(()=>{class nt{constructor(de){this._changeDetector=de,this._value=null,this._name="mat-radio-group-"+O++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new e.vpe}get name(){return this._name}set name(de){this._name=de,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(de){this._labelPosition="before"===de?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(de){this._value!==de&&(this._value=de,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(de){this._selected=de,this.value=de?de.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(de){this._disabled=(0,u.Ig)(de),this._markRadiosForCheck()}get required(){return this._required}set required(de){this._required=(0,u.Ig)(de),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(de=>{de.name=this.name,de._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(Ce=>{Ce.checked=this.value===Ce.value,Ce.checked&&(this._selected=Ce)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new q(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(de=>de._markForCheck())}writeValue(de){this.value=de,this._changeDetector.markForCheck()}registerOnChange(de){this._controlValueAccessorChangeFn=de}registerOnTouched(de){this.onTouched=de}setDisabledState(de){this.disabled=de,this._changeDetector.markForCheck()}}return nt.\u0275fac=function(de){return new(de||nt)(e.Y36(e.sBO))},nt.\u0275dir=e.lG2({type:nt,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),nt})(),ne=(()=>{class nt extends V{}return nt.\u0275fac=function(){let He;return function(Ce){return(He||(He=e.n5z(nt)))(Ce||nt)}}(),nt.\u0275dir=e.lG2({type:nt,selectors:[["mat-radio-group"]],contentQueries:function(de,Ce,Ze){if(1&de&&e.Suo(Ze,se,5),2&de){let ot;e.iGM(ot=e.CRH())&&(Ce._radios=ot)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[e._Bn([Z,{provide:te,useExisting:nt}]),e.qOj]}),nt})();class ue{constructor(He){this._elementRef=He}}const ee=(0,o.Kr)((0,o.sb)(ue));let Q=(()=>{class nt extends ee{constructor(de,Ce,Ze,ot,Ke,xt,Be,Tt){super(Ce),this._changeDetector=Ze,this._focusMonitor=ot,this._radioDispatcher=Ke,this._providerOverride=Be,this._uniqueId="mat-radio-"+ ++O,this.id=this._uniqueId,this.change=new e.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=de,this._noopAnimations="NoopAnimations"===xt,Tt&&(this.tabIndex=(0,u.su)(Tt,0)),this._removeUniqueSelectionListener=Ke.listen((Zt,Sn)=>{Zt!==this.id&&Sn===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(de){const Ce=(0,u.Ig)(de);this._checked!==Ce&&(this._checked=Ce,Ce&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!Ce&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),Ce&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(de){this._value!==de&&(this._value=de,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===de),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(de){this._labelPosition=de}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(de){this._setDisabled((0,u.Ig)(de))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(de){this._required=(0,u.Ig)(de)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(de){this._color=de}get inputId(){return`${this.id||this._uniqueId}-input`}focus(de,Ce){Ce?this._focusMonitor.focusVia(this._inputElement,Ce,de):this._inputElement.nativeElement.focus(de)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(de=>{!de&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new q(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(de){de.stopPropagation()}_onInputInteraction(de){if(de.stopPropagation(),!this.checked&&!this.disabled){const Ce=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),Ce&&this.radioGroup._emitChangeEvent())}}_setDisabled(de){this._disabled!==de&&(this._disabled=de,this._changeDetector.markForCheck())}_updateTabIndex(){var de;const Ce=this.radioGroup;let Ze;if(Ze=Ce&&Ce.selected&&!this.disabled?Ce.selected===this?this.tabIndex:-1:this.tabIndex,Ze!==this._previousTabIndex){const ot=null===(de=this._inputElement)||void 0===de?void 0:de.nativeElement;ot&&(ot.setAttribute("tabindex",Ze+""),this._previousTabIndex=Ze)}}}return nt.\u0275fac=function(de){e.$Z()},nt.\u0275dir=e.lG2({type:nt,viewQuery:function(de,Ce){if(1&de&&e.Gf(k,5),2&de){let Ze;e.iGM(Ze=e.CRH())&&(Ce._inputElement=Ze.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[e.qOj]}),nt})(),se=(()=>{class nt extends Q{constructor(de,Ce,Ze,ot,Ke,xt,Be,Tt){super(de,Ce,Ze,ot,Ke,xt,Be,Tt)}}return nt.\u0275fac=function(de){return new(de||nt)(e.Y36(te,8),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(g.tE),e.Y36(b.A8),e.Y36(c.Qb,8),e.Y36(H,8),e.$8M("tabindex"))},nt.\u0275cmp=e.Xpm({type:nt,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(de,Ce){1&de&&e.NdJ("focus",function(){return Ce._inputElement.nativeElement.focus()}),2&de&&(e.uIk("tabindex",null)("id",Ce.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),e.ekj("mat-radio-checked",Ce.checked)("mat-radio-disabled",Ce.disabled)("_mat-animation-noopable",Ce._noopAnimations)("mat-primary","primary"===Ce.color)("mat-accent","accent"===Ce.color)("mat-warn","warn"===Ce.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[e.qOj],ngContentSelectors:I,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(de,Ce){if(1&de&&(e.F$t(),e.TgZ(0,"label",0,1)(2,"span",2),e._UZ(3,"span",3)(4,"span",4),e.TgZ(5,"input",5,6),e.NdJ("change",function(ot){return Ce._onInputInteraction(ot)})("click",function(ot){return Ce._onInputClick(ot)}),e.qZA(),e.TgZ(7,"span",7),e._UZ(8,"span",8),e.qZA()(),e.TgZ(9,"span",9)(10,"span",10),e._uU(11,"\xa0"),e.qZA(),e.Hsn(12),e.qZA()()),2&de){const Ze=e.MAs(1);e.uIk("for",Ce.inputId),e.xp6(5),e.Q6J("id",Ce.inputId)("checked",Ce.checked)("disabled",Ce.disabled)("required",Ce.required),e.uIk("name",Ce.name)("value",Ce.value)("aria-label",Ce.ariaLabel)("aria-labelledby",Ce.ariaLabelledby)("aria-describedby",Ce.ariaDescribedby),e.xp6(2),e.Q6J("matRippleTrigger",Ze)("matRippleDisabled",Ce._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",e.VKq(17,A,Ce._noopAnimations?0:150)),e.xp6(2),e.ekj("mat-radio-label-before","before"==Ce.labelPosition)}},directives:[o.wG],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),nt})(),je=(()=>{class nt{}return nt.\u0275fac=function(de){return new(de||nt)},nt.\u0275mod=e.oAB({type:nt}),nt.\u0275inj=e.cJS({imports:[[o.si,o.BQ],o.BQ]}),nt})()},4107:(X,N,p)=>{"use strict";p.d(N,{$L:()=>un,LD:()=>kn,gD:()=>Pn});var e=p(9776),o=p(9808),u=p(5e3),d=p(508),c=p(3489),g=p(495),b=p(5664),k=p(3191),A=p(449),I=p(1159),H=p(3075),z=p(7579),O=p(9770),Z=p(6451),q=p(8675),te=p(3900),V=p(5698),ne=p(9300),ue=p(4004),ee=p(1884),Q=p(2722),se=p(1777),je=p(226);const nt=["trigger"],He=["panel"];function de(Kt,rt){if(1&Kt&&(u.TgZ(0,"span",8),u._uU(1),u.qZA()),2&Kt){const G=u.oxw();u.xp6(1),u.Oqu(G.placeholder)}}function Ce(Kt,rt){if(1&Kt&&(u.TgZ(0,"span",12),u._uU(1),u.qZA()),2&Kt){const G=u.oxw(2);u.xp6(1),u.Oqu(G.triggerValue)}}function Ze(Kt,rt){1&Kt&&u.Hsn(0,0,["*ngSwitchCase","true"])}function ot(Kt,rt){if(1&Kt&&(u.TgZ(0,"span",9),u.YNc(1,Ce,2,1,"span",10),u.YNc(2,Ze,1,0,"ng-content",11),u.qZA()),2&Kt){const G=u.oxw();u.Q6J("ngSwitch",!!G.customTrigger),u.xp6(2),u.Q6J("ngSwitchCase",!0)}}function Ke(Kt,rt){if(1&Kt){const G=u.EpF();u.TgZ(0,"div",13)(1,"div",14,15),u.NdJ("@transformPanel.done",function(he){return u.CHM(G),u.oxw()._panelDoneAnimatingStream.next(he.toState)})("keydown",function(he){return u.CHM(G),u.oxw()._handleKeydown(he)}),u.Hsn(3,1),u.qZA()()}if(2&Kt){const G=u.oxw();u.Q6J("@transformPanelWrap",void 0),u.xp6(1),u.Gre("mat-select-panel ",G._getPanelTheme(),""),u.Udp("transform-origin",G._transformOrigin)("font-size",G._triggerFontSize,"px"),u.Q6J("ngClass",G.panelClass)("@transformPanel",G.multiple?"showing-multiple":"showing"),u.uIk("id",G.id+"-panel")("aria-multiselectable",G.multiple)("aria-label",G.ariaLabel||null)("aria-labelledby",G._getPanelAriaLabelledby())}}const xt=[[["mat-select-trigger"]],"*"],Be=["mat-select-trigger","*"],Tt={transformPanelWrap:(0,se.X$)("transformPanelWrap",[(0,se.eR)("* => void",(0,se.IO)("@transformPanel",[(0,se.pV)()],{optional:!0}))]),transformPanel:(0,se.X$)("transformPanel",[(0,se.SB)("void",(0,se.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,se.SB)("showing",(0,se.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,se.SB)("showing-multiple",(0,se.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,se.eR)("void => *",(0,se.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,se.eR)("* => void",(0,se.jt)("100ms 25ms linear",(0,se.oB)({opacity:0})))])};let nn=0;const dt=new u.OlP("mat-select-scroll-strategy"),Je=new u.OlP("MAT_SELECT_CONFIG"),kt={provide:dt,deps:[e.aV],useFactory:function ut(Kt){return()=>Kt.scrollStrategies.reposition()}};class pt{constructor(rt,G){this.source=rt,this.value=G}}const Ft=(0,d.Kr)((0,d.sb)((0,d.Id)((0,d.FD)(class{constructor(Kt,rt,G,_e,he){this._elementRef=Kt,this._defaultErrorStateMatcher=rt,this._parentForm=G,this._parentFormGroup=_e,this.ngControl=he}})))),tn=new u.OlP("MatSelectTrigger");let un=(()=>{class Kt{}return Kt.\u0275fac=function(G){return new(G||Kt)},Kt.\u0275dir=u.lG2({type:Kt,selectors:[["mat-select-trigger"]],features:[u._Bn([{provide:tn,useExisting:Kt}])]}),Kt})(),Wn=(()=>{class Kt extends Ft{constructor(G,_e,he,De,Ve,Mt,Dt,Et,sn,Ln,Nn,In,Gn,Hn){var Jn,Tn,ri;super(Ve,De,Dt,Et,Ln),this._viewportRuler=G,this._changeDetectorRef=_e,this._ngZone=he,this._dir=Mt,this._parentFormField=sn,this._liveAnnouncer=Gn,this._defaultOptions=Hn,this._panelOpen=!1,this._compareWith=(zn,$t)=>zn===$t,this._uid="mat-select-"+nn++,this._triggerAriaLabelledBy=null,this._destroy=new z.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+nn++,this._panelDoneAnimatingStream=new z.x,this._overlayPanelClass=(null===(Jn=this._defaultOptions)||void 0===Jn?void 0:Jn.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(ri=null===(Tn=this._defaultOptions)||void 0===Tn?void 0:Tn.disableOptionCentering)&&void 0!==ri&&ri,this.ariaLabel="",this.optionSelectionChanges=(0,O.P)(()=>{const zn=this.options;return zn?zn.changes.pipe((0,q.O)(zn),(0,te.w)(()=>(0,Z.T)(...zn.map($t=>$t.onSelectionChange)))):this._ngZone.onStable.pipe((0,V.q)(1),(0,te.w)(()=>this.optionSelectionChanges))}),this.openedChange=new u.vpe,this._openedStream=this.openedChange.pipe((0,ne.h)(zn=>zn),(0,ue.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,ne.h)(zn=>!zn),(0,ue.U)(()=>{})),this.selectionChange=new u.vpe,this.valueChange=new u.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==Hn?void 0:Hn.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=Hn.typeaheadDebounceInterval),this._scrollStrategyFactory=In,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Nn)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(G){this._placeholder=G,this.stateChanges.next()}get required(){var G,_e,he,De;return null!==(De=null!==(G=this._required)&&void 0!==G?G:null===(he=null===(_e=this.ngControl)||void 0===_e?void 0:_e.control)||void 0===he?void 0:he.hasValidator(H.kI.required))&&void 0!==De&&De}set required(G){this._required=(0,k.Ig)(G),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(G){this._multiple=(0,k.Ig)(G)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(G){this._disableOptionCentering=(0,k.Ig)(G)}get compareWith(){return this._compareWith}set compareWith(G){this._compareWith=G,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(G){this._assignValue(G)&&this._onChange(G)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(G){this._typeaheadDebounceInterval=(0,k.su)(G)}get id(){return this._id}set id(G){this._id=G||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new A.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ee.x)(),(0,Q.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,Q.R)(this._destroy)).subscribe(G=>{G.added.forEach(_e=>_e.select()),G.removed.forEach(_e=>_e.deselect())}),this.options.changes.pipe((0,q.O)(null),(0,Q.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const G=this._getTriggerAriaLabelledby(),_e=this.ngControl;if(G!==this._triggerAriaLabelledBy){const he=this._elementRef.nativeElement;this._triggerAriaLabelledBy=G,G?he.setAttribute("aria-labelledby",G):he.removeAttribute("aria-labelledby")}_e&&(this._previousControl!==_e.control&&(void 0!==this._previousControl&&null!==_e.disabled&&_e.disabled!==this.disabled&&(this.disabled=_e.disabled),this._previousControl=_e.control),this.updateErrorState())}ngOnChanges(G){G.disabled&&this.stateChanges.next(),G.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(G){this._assignValue(G)}registerOnChange(G){this._onChange=G}registerOnTouched(G){this._onTouched=G}setDisabledState(G){this.disabled=G,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var G,_e;return this.multiple?(null===(G=this._selectionModel)||void 0===G?void 0:G.selected)||[]:null===(_e=this._selectionModel)||void 0===_e?void 0:_e.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const G=this._selectionModel.selected.map(_e=>_e.viewValue);return this._isRtl()&&G.reverse(),G.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(G){this.disabled||(this.panelOpen?this._handleOpenKeydown(G):this._handleClosedKeydown(G))}_handleClosedKeydown(G){const _e=G.keyCode,he=_e===I.JH||_e===I.LH||_e===I.oh||_e===I.SV,De=_e===I.K5||_e===I.L_,Ve=this._keyManager;if(!Ve.isTyping()&&De&&!(0,I.Vb)(G)||(this.multiple||G.altKey)&&he)G.preventDefault(),this.open();else if(!this.multiple){const Mt=this.selected;Ve.onKeydown(G);const Dt=this.selected;Dt&&Mt!==Dt&&this._liveAnnouncer.announce(Dt.viewValue,1e4)}}_handleOpenKeydown(G){const _e=this._keyManager,he=G.keyCode,De=he===I.JH||he===I.LH,Ve=_e.isTyping();if(De&&G.altKey)G.preventDefault(),this.close();else if(Ve||he!==I.K5&&he!==I.L_||!_e.activeItem||(0,I.Vb)(G))if(!Ve&&this._multiple&&he===I.A&&G.ctrlKey){G.preventDefault();const Mt=this.options.some(Dt=>!Dt.disabled&&!Dt.selected);this.options.forEach(Dt=>{Dt.disabled||(Mt?Dt.select():Dt.deselect())})}else{const Mt=_e.activeItemIndex;_e.onKeydown(G),this._multiple&&De&&G.shiftKey&&_e.activeItem&&_e.activeItemIndex!==Mt&&_e.activeItem._selectViaInteraction()}else G.preventDefault(),_e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,V.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(G){if(this._selectionModel.selected.forEach(_e=>_e.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&G)Array.isArray(G),G.forEach(_e=>this._selectOptionByValue(_e)),this._sortValues();else{const _e=this._selectOptionByValue(G);_e?this._keyManager.updateActiveItem(_e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(G){const _e=this.options.find(he=>{if(this._selectionModel.isSelected(he))return!1;try{return null!=he.value&&this._compareWith(he.value,G)}catch(De){return!1}});return _e&&this._selectionModel.select(_e),_e}_assignValue(G){return!!(G!==this._value||this._multiple&&Array.isArray(G))&&(this.options&&this._setSelectionByValue(G),this._value=G,!0)}_initKeyManager(){this._keyManager=new b.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,Q.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,Q.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const G=(0,Z.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,Q.R)(G)).subscribe(_e=>{this._onSelect(_e.source,_e.isUserInput),_e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Z.T)(...this.options.map(_e=>_e._stateChanges)).pipe((0,Q.R)(G)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(G,_e){const he=this._selectionModel.isSelected(G);null!=G.value||this._multiple?(he!==G.selected&&(G.selected?this._selectionModel.select(G):this._selectionModel.deselect(G)),_e&&this._keyManager.setActiveItem(G),this.multiple&&(this._sortValues(),_e&&this.focus())):(G.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(G.value)),he!==this._selectionModel.isSelected(G)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const G=this.options.toArray();this._selectionModel.sort((_e,he)=>this.sortComparator?this.sortComparator(_e,he,G):G.indexOf(_e)-G.indexOf(he)),this.stateChanges.next()}}_propagateChanges(G){let _e=null;_e=this.multiple?this.selected.map(he=>he.value):this.selected?this.selected.value:G,this._value=_e,this.valueChange.emit(_e),this._onChange(_e),this.selectionChange.emit(this._getChangeEvent(_e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var G;return!this._panelOpen&&!this.disabled&&(null===(G=this.options)||void 0===G?void 0:G.length)>0}focus(G){this._elementRef.nativeElement.focus(G)}_getPanelAriaLabelledby(){var G;if(this.ariaLabel)return null;const _e=null===(G=this._parentFormField)||void 0===G?void 0:G.getLabelId();return this.ariaLabelledby?(_e?_e+" ":"")+this.ariaLabelledby:_e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var G;if(this.ariaLabel)return null;const _e=null===(G=this._parentFormField)||void 0===G?void 0:G.getLabelId();let he=(_e?_e+" ":"")+this._valueId;return this.ariaLabelledby&&(he+=" "+this.ariaLabelledby),he}_panelDoneAnimating(G){this.openedChange.emit(G)}setDescribedByIds(G){this._ariaDescribedby=G.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Kt.\u0275fac=function(G){return new(G||Kt)(u.Y36(g.rL),u.Y36(u.sBO),u.Y36(u.R0b),u.Y36(d.rD),u.Y36(u.SBq),u.Y36(je.Is,8),u.Y36(H.F,8),u.Y36(H.sg,8),u.Y36(c.G_,8),u.Y36(H.a5,10),u.$8M("tabindex"),u.Y36(dt),u.Y36(b.Kd),u.Y36(Je,8))},Kt.\u0275dir=u.lG2({type:Kt,viewQuery:function(G,_e){if(1&G&&(u.Gf(nt,5),u.Gf(He,5),u.Gf(e.pI,5)),2&G){let he;u.iGM(he=u.CRH())&&(_e.trigger=he.first),u.iGM(he=u.CRH())&&(_e.panel=he.first),u.iGM(he=u.CRH())&&(_e._overlayDir=he.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[u.qOj,u.TTD]}),Kt})(),Pn=(()=>{class Kt extends Wn{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(G,_e,he){const De=this._getItemHeight();return Math.min(Math.max(0,De*G-_e+De/2),he)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,Q.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe((0,V.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(G){const _e=(0,d.CB)(G,this.options,this.optionGroups),he=this._getItemHeight();this.panel.nativeElement.scrollTop=0===G&&1===_e?0:(0,d.jH)((G+_e)*he,he,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(G){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(G)}_getChangeEvent(G){return new pt(this,G)}_calculateOverlayOffsetX(){const G=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),_e=this._viewportRuler.getViewportSize(),he=this._isRtl(),De=this.multiple?56:32;let Ve;if(this.multiple)Ve=40;else if(this.disableOptionCentering)Ve=16;else{let Et=this._selectionModel.selected[0]||this.options.first;Ve=Et&&Et.group?32:16}he||(Ve*=-1);const Mt=0-(G.left+Ve-(he?De:0)),Dt=G.right+Ve-_e.width+(he?0:De);Mt>0?Ve+=Mt+8:Dt>0&&(Ve-=Dt+8),this._overlayDir.offsetX=Math.round(Ve),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(G,_e,he){const De=this._getItemHeight(),Ve=(De-this._triggerRect.height)/2,Mt=Math.floor(256/De);let Dt;return this.disableOptionCentering?0:(Dt=0===this._scrollTop?G*De:this._scrollTop===he?(G-(this._getItemCount()-Mt))*De+(De-(this._getItemCount()*De-256)%De):_e-De/2,Math.round(-1*Dt-Ve))}_checkOverlayWithinViewport(G){const _e=this._getItemHeight(),he=this._viewportRuler.getViewportSize(),De=this._triggerRect.top-8,Ve=he.height-this._triggerRect.bottom-8,Mt=Math.abs(this._offsetY),Et=Math.min(this._getItemCount()*_e,256)-Mt-this._triggerRect.height;Et>Ve?this._adjustPanelUp(Et,Ve):Mt>De?this._adjustPanelDown(Mt,De,G):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(G,_e){const he=Math.round(G-_e);this._scrollTop-=he,this._offsetY-=he,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(G,_e,he){const De=Math.round(G-_e);if(this._scrollTop+=De,this._offsetY+=De,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=he)return this._scrollTop=he,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const G=this._getItemHeight(),_e=this._getItemCount(),he=Math.min(_e*G,256),Ve=_e*G-he;let Mt;Mt=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Mt+=(0,d.CB)(Mt,this.options,this.optionGroups);const Dt=he/2;this._scrollTop=this._calculateOverlayScroll(Mt,Dt,Ve),this._offsetY=this._calculateOverlayOffsetY(Mt,Dt,Ve),this._checkOverlayWithinViewport(Ve)}_getOriginBasedOnOption(){const G=this._getItemHeight(),_e=(G-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-_e+G/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Kt.\u0275fac=function(){let rt;return function(_e){return(rt||(rt=u.n5z(Kt)))(_e||Kt)}}(),Kt.\u0275cmp=u.Xpm({type:Kt,selectors:[["mat-select"]],contentQueries:function(G,_e,he){if(1&G&&(u.Suo(he,tn,5),u.Suo(he,d.ey,5),u.Suo(he,d.K7,5)),2&G){let De;u.iGM(De=u.CRH())&&(_e.customTrigger=De.first),u.iGM(De=u.CRH())&&(_e.options=De),u.iGM(De=u.CRH())&&(_e.optionGroups=De)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(G,_e){1&G&&u.NdJ("keydown",function(De){return _e._handleKeydown(De)})("focus",function(){return _e._onFocus()})("blur",function(){return _e._onBlur()}),2&G&&(u.uIk("id",_e.id)("tabindex",_e.tabIndex)("aria-controls",_e.panelOpen?_e.id+"-panel":null)("aria-expanded",_e.panelOpen)("aria-label",_e.ariaLabel||null)("aria-required",_e.required.toString())("aria-disabled",_e.disabled.toString())("aria-invalid",_e.errorState)("aria-describedby",_e._ariaDescribedby||null)("aria-activedescendant",_e._getAriaActiveDescendant()),u.ekj("mat-select-disabled",_e.disabled)("mat-select-invalid",_e.errorState)("mat-select-required",_e.required)("mat-select-empty",_e.empty)("mat-select-multiple",_e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[u._Bn([{provide:c.Eo,useExisting:Kt},{provide:d.HF,useExisting:Kt}]),u.qOj],ngContentSelectors:Be,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(G,_e){if(1&G&&(u.F$t(xt),u.TgZ(0,"div",0,1),u.NdJ("click",function(){return _e.toggle()}),u.TgZ(3,"div",2),u.YNc(4,de,2,1,"span",3),u.YNc(5,ot,3,2,"span",4),u.qZA(),u.TgZ(6,"div",5),u._UZ(7,"div",6),u.qZA()(),u.YNc(8,Ke,4,14,"ng-template",7),u.NdJ("backdropClick",function(){return _e.close()})("attach",function(){return _e._onAttached()})("detach",function(){return _e.close()})),2&G){const he=u.MAs(1);u.uIk("aria-owns",_e.panelOpen?_e.id+"-panel":null),u.xp6(3),u.Q6J("ngSwitch",_e.empty),u.uIk("id",_e._valueId),u.xp6(1),u.Q6J("ngSwitchCase",!0),u.xp6(1),u.Q6J("ngSwitchCase",!1),u.xp6(3),u.Q6J("cdkConnectedOverlayPanelClass",_e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",_e._scrollStrategy)("cdkConnectedOverlayOrigin",he)("cdkConnectedOverlayOpen",_e.panelOpen)("cdkConnectedOverlayPositions",_e._positions)("cdkConnectedOverlayMinWidth",null==_e._triggerRect?null:_e._triggerRect.width)("cdkConnectedOverlayOffsetY",_e._offsetY)}},directives:[e.xu,o.RF,o.n9,o.ED,e.pI,o.mk],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}\n'],encapsulation:2,data:{animation:[Tt.transformPanelWrap,Tt.transformPanel]},changeDetection:0}),Kt})(),kn=(()=>{class Kt{}return Kt.\u0275fac=function(G){return new(G||Kt)},Kt.\u0275mod=u.oAB({type:Kt}),Kt.\u0275inj=u.cJS({providers:[kt],imports:[[o.ez,e.U8,d.Ng,d.BQ],g.ZD,c.lN,d.Ng,d.BQ]}),Kt})()},3251:(X,N,p)=>{"use strict";p.d(N,{BU:()=>j,Nh:()=>ti,Nj:()=>Vt,SP:()=>$t,uX:()=>rt});var e=p(5664),o=p(7144),u=p(7429),d=p(9808),c=p(5e3),g=p(508),b=p(6360),k=p(5698),A=p(8675),I=p(1884),H=p(2722),z=p(3900),O=p(5684),Z=p(7579),q=p(727),te=p(4968),V=p(9646),ne=p(6451),ue=p(515),ee=p(8306),Q=p(2805),se=p(1777),je=p(226),nt=p(3191),He=p(1159),de=p(925),Ce=p(495);function Ze(Qt,Cn){1&Qt&&c.Hsn(0)}const ot=["*"];function Ke(Qt,Cn){}const xt=function(Qt){return{animationDuration:Qt}},Be=function(Qt,Cn){return{value:Qt,params:Cn}},Tt=["tabListContainer"],Zt=["tabList"],Sn=["tabListInner"],Xt=["nextPaginator"],nn=["previousPaginator"],mn=["tabBodyWrapper"],Jt=["tabHeader"];function et(Qt,Cn){}function Pt(Qt,Cn){if(1&Qt&&c.YNc(0,et,0,0,"ng-template",10),2&Qt){const ct=c.oxw().$implicit;c.Q6J("cdkPortalOutlet",ct.templateLabel)}}function Ot(Qt,Cn){if(1&Qt&&c._uU(0),2&Qt){const ct=c.oxw().$implicit;c.Oqu(ct.textLabel)}}function bt(Qt,Cn){if(1&Qt){const ct=c.EpF();c.TgZ(0,"div",6),c.NdJ("click",function(){const Re=c.CHM(ct),it=Re.$implicit,Lt=Re.index,an=c.oxw(),Un=c.MAs(1);return an._handleClick(it,Un,Lt)})("cdkFocusChange",function(Re){const Lt=c.CHM(ct).index;return c.oxw()._tabFocusChanged(Re,Lt)}),c.TgZ(1,"div",7),c.YNc(2,Pt,1,1,"ng-template",8),c.YNc(3,Ot,1,1,"ng-template",null,9,c.W1O),c.qZA()()}if(2&Qt){const ct=Cn.$implicit,ve=Cn.index,Re=c.MAs(4),it=c.oxw();c.ekj("mat-tab-label-active",it.selectedIndex===ve),c.Q6J("id",it._getTabLabelId(ve))("ngClass",ct.labelClass)("disabled",ct.disabled)("matRippleDisabled",ct.disabled||it.disableRipple),c.uIk("tabIndex",it._getTabIndex(ct,ve))("aria-posinset",ve+1)("aria-setsize",it._tabs.length)("aria-controls",it._getTabContentId(ve))("aria-selected",it.selectedIndex===ve)("aria-label",ct.ariaLabel||null)("aria-labelledby",!ct.ariaLabel&&ct.ariaLabelledby?ct.ariaLabelledby:null),c.xp6(2),c.Q6J("ngIf",ct.templateLabel)("ngIfElse",Re)}}function dt(Qt,Cn){if(1&Qt){const ct=c.EpF();c.TgZ(0,"mat-tab-body",11),c.NdJ("_onCentered",function(){return c.CHM(ct),c.oxw()._removeTabBodyWrapperHeight()})("_onCentering",function(Re){return c.CHM(ct),c.oxw()._setTabBodyWrapperHeight(Re)}),c.qZA()}if(2&Qt){const ct=Cn.$implicit,ve=Cn.index,Re=c.oxw();c.ekj("mat-tab-body-active",Re.selectedIndex===ve),c.Q6J("id",Re._getTabContentId(ve))("ngClass",ct.bodyClass)("content",ct.content)("position",ct.position)("origin",ct.origin)("animationDuration",Re.animationDuration),c.uIk("tabindex",null!=Re.contentTabIndex&&Re.selectedIndex===ve?Re.contentTabIndex:null)("aria-labelledby",Re._getTabLabelId(ve))}}const ut=["mat-tab-nav-bar",""],Je=new c.OlP("MatInkBarPositioner",{providedIn:"root",factory:function kt(){return Cn=>({left:Cn?(Cn.offsetLeft||0)+"px":"0",width:Cn?(Cn.offsetWidth||0)+"px":"0"})}});let pt=(()=>{class Qt{constructor(ct,ve,Re,it){this._elementRef=ct,this._ngZone=ve,this._inkBarPositioner=Re,this._animationMode=it}alignToElement(ct){this.show(),this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(()=>{const ve=this._inkBarPositioner(ct),Re=this._elementRef.nativeElement;Re.style.left=ve.left,Re.style.width=ve.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(Je),c.Y36(b.Qb,8))},Qt.\u0275dir=c.lG2({type:Qt,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(ct,ve){2&ct&&c.ekj("_mat-animation-noopable","NoopAnimations"===ve._animationMode)}}),Qt})();const Ft=new c.OlP("MatTabContent"),un=new c.OlP("MatTabLabel"),Wn=new c.OlP("MAT_TAB"),kn=(0,g.Id)(class{}),Kt=new c.OlP("MAT_TAB_GROUP");let rt=(()=>{class Qt extends kn{constructor(ct,ve){super(),this._viewContainerRef=ct,this._closestTabGroup=ve,this.textLabel="",this._contentPortal=null,this._stateChanges=new Z.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(ct){this._setTemplateLabelInput(ct)}get content(){return this._contentPortal}ngOnChanges(ct){(ct.hasOwnProperty("textLabel")||ct.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new u.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(ct){ct&&ct._closestTab===this&&(this._templateLabel=ct)}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(c.s_b),c.Y36(Kt,8))},Qt.\u0275cmp=c.Xpm({type:Qt,selectors:[["mat-tab"]],contentQueries:function(ct,ve,Re){if(1&ct&&(c.Suo(Re,un,5),c.Suo(Re,Ft,7,c.Rgc)),2&ct){let it;c.iGM(it=c.CRH())&&(ve.templateLabel=it.first),c.iGM(it=c.CRH())&&(ve._explicitContent=it.first)}},viewQuery:function(ct,ve){if(1&ct&&c.Gf(c.Rgc,7),2&ct){let Re;c.iGM(Re=c.CRH())&&(ve._implicitContent=Re.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[c._Bn([{provide:Wn,useExisting:Qt}]),c.qOj,c.TTD],ngContentSelectors:ot,decls:1,vars:0,template:function(ct,ve){1&ct&&(c.F$t(),c.YNc(0,Ze,1,0,"ng-template"))},encapsulation:2}),Qt})();const G={translateTab:(0,se.X$)("translateTab",[(0,se.SB)("center, void, left-origin-center, right-origin-center",(0,se.oB)({transform:"none"})),(0,se.SB)("left",(0,se.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,se.SB)("right",(0,se.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,se.eR)("* => left, * => right, left => center, right => center",(0,se.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,se.eR)("void => left-origin-center",[(0,se.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,se.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,se.eR)("void => right-origin-center",[(0,se.oB)({transform:"translate3d(100%, 0, 0)"}),(0,se.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let _e=(()=>{class Qt extends u.Pl{constructor(ct,ve,Re,it){super(ct,ve,it),this._host=Re,this._centeringSub=q.w0.EMPTY,this._leavingSub=q.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,A.O)(this._host._isCenterPosition(this._host._position))).subscribe(ct=>{ct&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(c._Vd),c.Y36(c.s_b),c.Y36((0,c.Gpc)(()=>De)),c.Y36(d.K0))},Qt.\u0275dir=c.lG2({type:Qt,selectors:[["","matTabBodyHost",""]],features:[c.qOj]}),Qt})(),he=(()=>{class Qt{constructor(ct,ve,Re){this._elementRef=ct,this._dir=ve,this._dirChangeSubscription=q.w0.EMPTY,this._translateTabComplete=new Z.x,this._onCentering=new c.vpe,this._beforeCentering=new c.vpe,this._afterLeavingCenter=new c.vpe,this._onCentered=new c.vpe(!0),this.animationDuration="500ms",ve&&(this._dirChangeSubscription=ve.change.subscribe(it=>{this._computePositionAnimationState(it),Re.markForCheck()})),this._translateTabComplete.pipe((0,I.x)((it,Lt)=>it.fromState===Lt.fromState&&it.toState===Lt.toState)).subscribe(it=>{this._isCenterPosition(it.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(it.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(ct){this._positionIndex=ct,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(ct){const ve=this._isCenterPosition(ct.toState);this._beforeCentering.emit(ve),ve&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(ct){return"center"==ct||"left-origin-center"==ct||"right-origin-center"==ct}_computePositionAnimationState(ct=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==ct?"left":"right":this._positionIndex>0?"ltr"==ct?"right":"left":"center"}_computePositionFromOrigin(ct){const ve=this._getLayoutDirection();return"ltr"==ve&&ct<=0||"rtl"==ve&&ct>0?"left-origin-center":"right-origin-center"}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(c.SBq),c.Y36(je.Is,8),c.Y36(c.sBO))},Qt.\u0275dir=c.lG2({type:Qt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Qt})(),De=(()=>{class Qt extends he{constructor(ct,ve,Re){super(ct,ve,Re)}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(c.SBq),c.Y36(je.Is,8),c.Y36(c.sBO))},Qt.\u0275cmp=c.Xpm({type:Qt,selectors:[["mat-tab-body"]],viewQuery:function(ct,ve){if(1&ct&&c.Gf(u.Pl,5),2&ct){let Re;c.iGM(Re=c.CRH())&&(ve._portalHost=Re.first)}},hostAttrs:[1,"mat-tab-body"],features:[c.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ct,ve){1&ct&&(c.TgZ(0,"div",0,1),c.NdJ("@translateTab.start",function(it){return ve._onTranslateTabStarted(it)})("@translateTab.done",function(it){return ve._translateTabComplete.next(it)}),c.YNc(2,Ke,0,0,"ng-template",2),c.qZA()),2&ct&&c.Q6J("@translateTab",c.WLB(3,Be,ve._position,c.VKq(1,xt,ve.animationDuration)))},directives:[_e],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[G.translateTab]}}),Qt})();const Ve=new c.OlP("MAT_TABS_CONFIG"),Mt=(0,g.Id)(class{});let Dt=(()=>{class Qt extends Mt{constructor(ct){super(),this.elementRef=ct}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(c.SBq))},Qt.\u0275dir=c.lG2({type:Qt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(ct,ve){2&ct&&(c.uIk("aria-disabled",!!ve.disabled),c.ekj("mat-tab-disabled",ve.disabled))},inputs:{disabled:"disabled"},features:[c.qOj]}),Qt})();const Et=(0,de.i$)({passive:!0});let In=(()=>{class Qt{constructor(ct,ve,Re,it,Lt,an,Un){this._elementRef=ct,this._changeDetectorRef=ve,this._viewportRuler=Re,this._dir=it,this._ngZone=Lt,this._platform=an,this._animationMode=Un,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Z.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Z.x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new c.vpe,this.indexFocused=new c.vpe,Lt.runOutsideAngular(()=>{(0,te.R)(ct.nativeElement,"mouseleave").pipe((0,H.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(ct){ct=(0,nt.su)(ct),this._selectedIndex!=ct&&(this._selectedIndexChanged=!0,this._selectedIndex=ct,this._keyManager&&this._keyManager.updateActiveItem(ct))}ngAfterViewInit(){(0,te.R)(this._previousPaginator.nativeElement,"touchstart",Et).pipe((0,H.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,te.R)(this._nextPaginator.nativeElement,"touchstart",Et).pipe((0,H.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const ct=this._dir?this._dir.change:(0,V.of)("ltr"),ve=this._viewportRuler.change(150),Re=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new e.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(Re),(0,ne.T)(ct,ve,this._items.changes,this._itemsResized()).pipe((0,H.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Re()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,H.R)(this._destroyed)).subscribe(it=>{this.indexFocused.emit(it),this._setTabFocus(it)})}_itemsResized(){return"function"!=typeof ResizeObserver?ue.E:this._items.changes.pipe((0,A.O)(this._items),(0,z.w)(ct=>new ee.y(ve=>this._ngZone.runOutsideAngular(()=>{const Re=new ResizeObserver(()=>{ve.next()});return ct.forEach(it=>{Re.observe(it.elementRef.nativeElement)}),()=>{Re.disconnect()}}))),(0,O.T)(1))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(ct){if(!(0,He.Vb)(ct))switch(ct.keyCode){case He.K5:case He.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(ct));break;default:this._keyManager.onKeydown(ct)}}_onContentChanges(){const ct=this._elementRef.nativeElement.textContent;ct!==this._currentTextContent&&(this._currentTextContent=ct||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(ct){!this._isValidIndex(ct)||this.focusIndex===ct||!this._keyManager||this._keyManager.setActiveItem(ct)}_isValidIndex(ct){if(!this._items)return!0;const ve=this._items?this._items.toArray()[ct]:null;return!!ve&&!ve.disabled}_setTabFocus(ct){if(this._showPaginationControls&&this._scrollToLabel(ct),this._items&&this._items.length){this._items.toArray()[ct].focus();const ve=this._tabListContainer.nativeElement;ve.scrollLeft="ltr"==this._getLayoutDirection()?0:ve.scrollWidth-ve.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const ct=this.scrollDistance,ve="ltr"===this._getLayoutDirection()?-ct:ct;this._tabList.nativeElement.style.transform=`translateX(${Math.round(ve)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(ct){this._scrollTo(ct)}_scrollHeader(ct){return this._scrollTo(this._scrollDistance+("before"==ct?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(ct){this._stopInterval(),this._scrollHeader(ct)}_scrollToLabel(ct){if(this.disablePagination)return;const ve=this._items?this._items.toArray()[ct]:null;if(!ve)return;const Re=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:it,offsetWidth:Lt}=ve.elementRef.nativeElement;let an,Un;"ltr"==this._getLayoutDirection()?(an=it,Un=an+Lt):(Un=this._tabListInner.nativeElement.offsetWidth-it,an=Un-Lt);const Yn=this.scrollDistance,Oi=this.scrollDistance+Re;anOi&&(this.scrollDistance+=Un-Oi+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const ct=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;ct||(this.scrollDistance=0),ct!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=ct}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const ct=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,ve=ct?ct.elementRef.nativeElement:null;ve?this._inkBar.alignToElement(ve):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(ct,ve){ve&&null!=ve.button&&0!==ve.button||(this._stopInterval(),(0,Q.H)(650,100).pipe((0,H.R)((0,ne.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Re,distance:it}=this._scrollHeader(ct);(0===it||it>=Re)&&this._stopInterval()}))}_scrollTo(ct){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const ve=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(ve,ct)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:ve,distance:this._scrollDistance}}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(Ce.rL),c.Y36(je.Is,8),c.Y36(c.R0b),c.Y36(de.t4),c.Y36(b.Qb,8))},Qt.\u0275dir=c.lG2({type:Qt,inputs:{disablePagination:"disablePagination"}}),Qt})(),Gn=(()=>{class Qt extends In{constructor(ct,ve,Re,it,Lt,an,Un){super(ct,ve,Re,it,Lt,an,Un),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(ct){this._disableRipple=(0,nt.Ig)(ct)}_itemSelected(ct){ct.preventDefault()}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(Ce.rL),c.Y36(je.Is,8),c.Y36(c.R0b),c.Y36(de.t4),c.Y36(b.Qb,8))},Qt.\u0275dir=c.lG2({type:Qt,inputs:{disableRipple:"disableRipple"},features:[c.qOj]}),Qt})(),Hn=(()=>{class Qt extends Gn{constructor(ct,ve,Re,it,Lt,an,Un){super(ct,ve,Re,it,Lt,an,Un)}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(Ce.rL),c.Y36(je.Is,8),c.Y36(c.R0b),c.Y36(de.t4),c.Y36(b.Qb,8))},Qt.\u0275cmp=c.Xpm({type:Qt,selectors:[["mat-tab-header"]],contentQueries:function(ct,ve,Re){if(1&ct&&c.Suo(Re,Dt,4),2&ct){let it;c.iGM(it=c.CRH())&&(ve._items=it)}},viewQuery:function(ct,ve){if(1&ct&&(c.Gf(pt,7),c.Gf(Tt,7),c.Gf(Zt,7),c.Gf(Sn,7),c.Gf(Xt,5),c.Gf(nn,5)),2&ct){let Re;c.iGM(Re=c.CRH())&&(ve._inkBar=Re.first),c.iGM(Re=c.CRH())&&(ve._tabListContainer=Re.first),c.iGM(Re=c.CRH())&&(ve._tabList=Re.first),c.iGM(Re=c.CRH())&&(ve._tabListInner=Re.first),c.iGM(Re=c.CRH())&&(ve._nextPaginator=Re.first),c.iGM(Re=c.CRH())&&(ve._previousPaginator=Re.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(ct,ve){2&ct&&c.ekj("mat-tab-header-pagination-controls-enabled",ve._showPaginationControls)("mat-tab-header-rtl","rtl"==ve._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[c.qOj],ngContentSelectors:ot,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ct,ve){1&ct&&(c.F$t(),c.TgZ(0,"button",0,1),c.NdJ("click",function(){return ve._handlePaginatorClick("before")})("mousedown",function(it){return ve._handlePaginatorPress("before",it)})("touchend",function(){return ve._stopInterval()}),c._UZ(2,"div",2),c.qZA(),c.TgZ(3,"div",3,4),c.NdJ("keydown",function(it){return ve._handleKeydown(it)}),c.TgZ(5,"div",5,6),c.NdJ("cdkObserveContent",function(){return ve._onContentChanges()}),c.TgZ(7,"div",7,8),c.Hsn(9),c.qZA(),c._UZ(10,"mat-ink-bar"),c.qZA()(),c.TgZ(11,"button",9,10),c.NdJ("mousedown",function(it){return ve._handlePaginatorPress("after",it)})("click",function(){return ve._handlePaginatorClick("after")})("touchend",function(){return ve._stopInterval()}),c._UZ(13,"div",2),c.qZA()),2&ct&&(c.ekj("mat-tab-header-pagination-disabled",ve._disableScrollBefore),c.Q6J("matRippleDisabled",ve._disableScrollBefore||ve.disableRipple)("disabled",ve._disableScrollBefore||null),c.xp6(5),c.ekj("_mat-animation-noopable","NoopAnimations"===ve._animationMode),c.xp6(6),c.ekj("mat-tab-header-pagination-disabled",ve._disableScrollAfter),c.Q6J("matRippleDisabled",ve._disableScrollAfter||ve.disableRipple)("disabled",ve._disableScrollAfter||null))},directives:[g.wG,o.wD,pt],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),Qt})(),Jn=0;class Tn{}const ri=(0,g.pj)((0,g.Kr)(class{constructor(Qt){this._elementRef=Qt}}),"primary");let zn=(()=>{class Qt extends ri{constructor(ct,ve,Re,it){var Lt;super(ct),this._changeDetectorRef=ve,this._animationMode=it,this._tabs=new c.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=q.w0.EMPTY,this._tabLabelSubscription=q.w0.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new c.vpe,this.focusChange=new c.vpe,this.animationDone=new c.vpe,this.selectedTabChange=new c.vpe(!0),this._groupId=Jn++,this.animationDuration=Re&&Re.animationDuration?Re.animationDuration:"500ms",this.disablePagination=!(!Re||null==Re.disablePagination)&&Re.disablePagination,this.dynamicHeight=!(!Re||null==Re.dynamicHeight)&&Re.dynamicHeight,this.contentTabIndex=null!==(Lt=null==Re?void 0:Re.contentTabIndex)&&void 0!==Lt?Lt:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(ct){this._dynamicHeight=(0,nt.Ig)(ct)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ct){this._indexToSelect=(0,nt.su)(ct,null)}get animationDuration(){return this._animationDuration}set animationDuration(ct){this._animationDuration=/^\d+$/.test(ct+"")?ct+"ms":ct}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(ct){this._contentTabIndex=(0,nt.su)(ct,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(ct){const ve=this._elementRef.nativeElement;ve.classList.remove(`mat-background-${this.backgroundColor}`),ct&&ve.classList.add(`mat-background-${ct}`),this._backgroundColor=ct}ngAfterContentChecked(){const ct=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=ct){const ve=null==this._selectedIndex;if(!ve){this.selectedTabChange.emit(this._createChangeEvent(ct));const Re=this._tabBodyWrapper.nativeElement;Re.style.minHeight=Re.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Re,it)=>Re.isActive=it===ct),ve||(this.selectedIndexChange.emit(ct),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((ve,Re)=>{ve.position=Re-ct,null!=this._selectedIndex&&0==ve.position&&!ve.origin&&(ve.origin=ct-this._selectedIndex)}),this._selectedIndex!==ct&&(this._selectedIndex=ct,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const ct=this._clampTabIndex(this._indexToSelect);if(ct===this._selectedIndex){const ve=this._tabs.toArray();let Re;for(let it=0;it{ve[ct].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(ct))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,A.O)(this._allTabs)).subscribe(ct=>{this._tabs.reset(ct.filter(ve=>ve._closestTabGroup===this||!ve._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(ct){const ve=this._tabHeader;ve&&(ve.focusIndex=ct)}_focusChanged(ct){this._lastFocusedTabIndex=ct,this.focusChange.emit(this._createChangeEvent(ct))}_createChangeEvent(ct){const ve=new Tn;return ve.index=ct,this._tabs&&this._tabs.length&&(ve.tab=this._tabs.toArray()[ct]),ve}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,ne.T)(...this._tabs.map(ct=>ct._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(ct){return Math.min(this._tabs.length-1,Math.max(ct||0,0))}_getTabLabelId(ct){return`mat-tab-label-${this._groupId}-${ct}`}_getTabContentId(ct){return`mat-tab-content-${this._groupId}-${ct}`}_setTabBodyWrapperHeight(ct){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const ve=this._tabBodyWrapper.nativeElement;ve.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(ve.style.height=ct+"px")}_removeTabBodyWrapperHeight(){const ct=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=ct.clientHeight,ct.style.height="",this.animationDone.emit()}_handleClick(ct,ve,Re){ct.disabled||(this.selectedIndex=ve.focusIndex=Re)}_getTabIndex(ct,ve){var Re;return ct.disabled?null:ve===(null!==(Re=this._lastFocusedTabIndex)&&void 0!==Re?Re:this.selectedIndex)?0:-1}_tabFocusChanged(ct,ve){ct&&"mouse"!==ct&&"touch"!==ct&&(this._tabHeader.focusIndex=ve)}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(Ve,8),c.Y36(b.Qb,8))},Qt.\u0275dir=c.lG2({type:Qt,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[c.qOj]}),Qt})(),$t=(()=>{class Qt extends zn{constructor(ct,ve,Re,it){super(ct,ve,Re,it)}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(c.SBq),c.Y36(c.sBO),c.Y36(Ve,8),c.Y36(b.Qb,8))},Qt.\u0275cmp=c.Xpm({type:Qt,selectors:[["mat-tab-group"]],contentQueries:function(ct,ve,Re){if(1&ct&&c.Suo(Re,rt,5),2&ct){let it;c.iGM(it=c.CRH())&&(ve._allTabs=it)}},viewQuery:function(ct,ve){if(1&ct&&(c.Gf(mn,5),c.Gf(Jt,5)),2&ct){let Re;c.iGM(Re=c.CRH())&&(ve._tabBodyWrapper=Re.first),c.iGM(Re=c.CRH())&&(ve._tabHeader=Re.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(ct,ve){2&ct&&c.ekj("mat-tab-group-dynamic-height",ve.dynamicHeight)("mat-tab-group-inverted-header","below"===ve.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[c._Bn([{provide:Kt,useExisting:Qt}]),c.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(ct,ve){1&ct&&(c.TgZ(0,"mat-tab-header",0,1),c.NdJ("indexFocused",function(it){return ve._focusChanged(it)})("selectFocusedIndex",function(it){return ve.selectedIndex=it}),c.YNc(2,bt,5,15,"div",2),c.qZA(),c.TgZ(3,"div",3,4),c.YNc(5,dt,1,10,"mat-tab-body",5),c.qZA()),2&ct&&(c.Q6J("selectedIndex",ve.selectedIndex||0)("disableRipple",ve.disableRipple)("disablePagination",ve.disablePagination),c.xp6(2),c.Q6J("ngForOf",ve._tabs),c.xp6(1),c.ekj("_mat-animation-noopable","NoopAnimations"===ve._animationMode),c.xp6(2),c.Q6J("ngForOf",ve._tabs))},directives:[Hn,De,d.sg,Dt,g.wG,e.kH,d.mk,d.O5,u.Pl],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),Qt})(),xe=0,Se=(()=>{class Qt extends In{constructor(ct,ve,Re,it,Lt,an,Un){super(ct,it,Lt,ve,Re,an,Un),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(ct){const ve=this._elementRef.nativeElement.classList;ve.remove(`mat-background-${this.backgroundColor}`),ct&&ve.add(`mat-background-${ct}`),this._backgroundColor=ct}get disableRipple(){return this._disableRipple}set disableRipple(ct){this._disableRipple=(0,nt.Ig)(ct)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,A.O)(null),(0,H.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const ct=this._items.toArray();for(let ve=0;ve{class Qt extends Se{constructor(ct,ve,Re,it,Lt,an,Un){super(ct,ve,Re,it,Lt,an,Un)}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(c.SBq),c.Y36(je.Is,8),c.Y36(c.R0b),c.Y36(c.sBO),c.Y36(Ce.rL),c.Y36(de.t4),c.Y36(b.Qb,8))},Qt.\u0275cmp=c.Xpm({type:Qt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ct,ve,Re){if(1&ct&&c.Suo(Re,Vt,5),2&ct){let it;c.iGM(it=c.CRH())&&(ve._items=it)}},viewQuery:function(ct,ve){if(1&ct&&(c.Gf(pt,7),c.Gf(Tt,7),c.Gf(Zt,7),c.Gf(Sn,7),c.Gf(Xt,5),c.Gf(nn,5)),2&ct){let Re;c.iGM(Re=c.CRH())&&(ve._inkBar=Re.first),c.iGM(Re=c.CRH())&&(ve._tabListContainer=Re.first),c.iGM(Re=c.CRH())&&(ve._tabList=Re.first),c.iGM(Re=c.CRH())&&(ve._tabListInner=Re.first),c.iGM(Re=c.CRH())&&(ve._nextPaginator=Re.first),c.iGM(Re=c.CRH())&&(ve._previousPaginator=Re.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(ct,ve){2&ct&&(c.uIk("role",ve._getRole()),c.ekj("mat-tab-header-pagination-controls-enabled",ve._showPaginationControls)("mat-tab-header-rtl","rtl"==ve._getLayoutDirection())("mat-primary","warn"!==ve.color&&"accent"!==ve.color)("mat-accent","accent"===ve.color)("mat-warn","warn"===ve.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[c.qOj],attrs:ut,ngContentSelectors:ot,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ct,ve){1&ct&&(c.F$t(),c.TgZ(0,"button",0,1),c.NdJ("click",function(){return ve._handlePaginatorClick("before")})("mousedown",function(it){return ve._handlePaginatorPress("before",it)})("touchend",function(){return ve._stopInterval()}),c._UZ(2,"div",2),c.qZA(),c.TgZ(3,"div",3,4),c.NdJ("keydown",function(it){return ve._handleKeydown(it)}),c.TgZ(5,"div",5,6),c.NdJ("cdkObserveContent",function(){return ve._onContentChanges()}),c.TgZ(7,"div",7,8),c.Hsn(9),c.qZA(),c._UZ(10,"mat-ink-bar"),c.qZA()(),c.TgZ(11,"button",9,10),c.NdJ("mousedown",function(it){return ve._handlePaginatorPress("after",it)})("click",function(){return ve._handlePaginatorClick("after")})("touchend",function(){return ve._stopInterval()}),c._UZ(13,"div",2),c.qZA()),2&ct&&(c.ekj("mat-tab-header-pagination-disabled",ve._disableScrollBefore),c.Q6J("matRippleDisabled",ve._disableScrollBefore||ve.disableRipple)("disabled",ve._disableScrollBefore||null),c.xp6(5),c.ekj("_mat-animation-noopable","NoopAnimations"===ve._animationMode),c.xp6(6),c.ekj("mat-tab-header-pagination-disabled",ve._disableScrollAfter),c.Q6J("matRippleDisabled",ve._disableScrollAfter||ve.disableRipple)("disabled",ve._disableScrollAfter||null))},directives:[g.wG,o.wD,pt],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n"],encapsulation:2}),Qt})();const Ie=(0,g.sb)((0,g.Kr)((0,g.Id)(class{})));let vt=(()=>{class Qt extends Ie{constructor(ct,ve,Re,it,Lt,an){super(),this._tabNavBar=ct,this.elementRef=ve,this._focusMonitor=Lt,this._isActive=!1,this.id="mat-tab-link-"+xe++,this.rippleConfig=Re||{},this.tabIndex=parseInt(it)||0,"NoopAnimations"===an&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(ct){const ve=(0,nt.Ig)(ct);ve!==this._isActive&&(this._isActive=ve,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(ct){this._tabNavBar.tabPanel&&ct.keyCode===He.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){var ct;return this._tabNavBar.tabPanel?null===(ct=this._tabNavBar.tabPanel)||void 0===ct?void 0:ct.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive?0:-1:this.tabIndex}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(Se),c.Y36(c.SBq),c.Y36(g.Y2,8),c.$8M("tabindex"),c.Y36(e.tE),c.Y36(b.Qb,8))},Qt.\u0275dir=c.lG2({type:Qt,inputs:{active:"active",id:"id"},features:[c.qOj]}),Qt})(),Vt=(()=>{class Qt extends vt{constructor(ct,ve,Re,it,Lt,an,Un,Yn){super(ct,ve,Lt,an,Un,Yn),this._tabLinkRipple=new g.IR(this,Re,ve,it),this._tabLinkRipple.setupTriggerEvents(ve.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Qt.\u0275fac=function(ct){return new(ct||Qt)(c.Y36(j),c.Y36(c.SBq),c.Y36(c.R0b),c.Y36(de.t4),c.Y36(g.Y2,8),c.$8M("tabindex"),c.Y36(e.tE),c.Y36(b.Qb,8))},Qt.\u0275dir=c.lG2({type:Qt,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(ct,ve){1&ct&&c.NdJ("focus",function(){return ve._handleFocus()})("keydown",function(it){return ve._handleKeydown(it)}),2&ct&&(c.uIk("aria-controls",ve._getAriaControls())("aria-current",ve._getAriaCurrent())("aria-disabled",ve.disabled)("aria-selected",ve._getAriaSelected())("id",ve.id)("tabIndex",ve._getTabIndex())("role",ve._getRole()),c.ekj("mat-tab-disabled",ve.disabled)("mat-tab-label-active",ve.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[c.qOj]}),Qt})(),ti=(()=>{class Qt{}return Qt.\u0275fac=function(ct){return new(ct||Qt)},Qt.\u0275mod=c.oAB({type:Qt}),Qt.\u0275inj=c.cJS({imports:[[d.ez,g.BQ,u.eL,g.si,o.Q8,e.rt],g.BQ]}),Qt})()},6360:(X,N,p)=>{"use strict";p.d(N,{Qb:()=>Jo,PW:()=>Vr});var e=p(5e3),o=p(2313),u=p(1777);const d=!1;function g(Ne){return new e.vHH(3e3,d)}function Ot(){return"undefined"!=typeof window&&void 0!==window.document}function bt(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function dt(Ne){switch(Ne.length){case 0:return new u.ZN;case 1:return Ne[0];default:return new u.ZE(Ne)}}function ut(Ne,L,B,fe,We={},gt={}){const Rt=[],Ut=[];let rn=-1,Dn=null;if(fe.forEach($n=>{const hi=$n.offset,Ci=hi==rn,Ui=Ci&&Dn||{};Object.keys($n).forEach(_i=>{let Ii=_i,er=$n[_i];if("offset"!==_i)switch(Ii=L.normalizePropertyName(Ii,Rt),er){case u.k1:er=We[_i];break;case u.l3:er=gt[_i];break;default:er=L.normalizeStyleValue(_i,Ii,er,Rt)}Ui[Ii]=er}),Ci||Ut.push(Ui),Dn=Ui,rn=hi}),Rt.length)throw function Ke(Ne){return new e.vHH(3502,d)}();return Ut}function Je(Ne,L,B,fe){switch(L){case"start":Ne.onStart(()=>fe(B&&kt(B,"start",Ne)));break;case"done":Ne.onDone(()=>fe(B&&kt(B,"done",Ne)));break;case"destroy":Ne.onDestroy(()=>fe(B&&kt(B,"destroy",Ne)))}}function kt(Ne,L,B){const fe=B.totalTime,gt=pt(Ne.element,Ne.triggerName,Ne.fromState,Ne.toState,L||Ne.phaseName,null==fe?Ne.totalTime:fe,!!B.disabled),Rt=Ne._data;return null!=Rt&&(gt._data=Rt),gt}function pt(Ne,L,B,fe,We="",gt=0,Rt){return{element:Ne,triggerName:L,fromState:B,toState:fe,phaseName:We,totalTime:gt,disabled:!!Rt}}function Ft(Ne,L,B){let fe;return Ne instanceof Map?(fe=Ne.get(L),fe||Ne.set(L,fe=B)):(fe=Ne[L],fe||(fe=Ne[L]=B)),fe}function tn(Ne){const L=Ne.indexOf(":");return[Ne.substring(1,L),Ne.substr(L+1)]}let un=(Ne,L)=>!1,Wn=(Ne,L,B)=>[],Pn=null;function kn(Ne){const L=Ne.parentNode||Ne.host;return L===Pn?null:L}(bt()||"undefined"!=typeof Element)&&(Ot()?(Pn=(()=>document.documentElement)(),un=(Ne,L)=>{for(;L;){if(L===Ne)return!0;L=kn(L)}return!1}):un=(Ne,L)=>Ne.contains(L),Wn=(Ne,L,B)=>{if(B)return Array.from(Ne.querySelectorAll(L));const fe=Ne.querySelector(L);return fe?[fe]:[]});let G=null,_e=!1;function he(Ne){G||(G=function De(){return"undefined"!=typeof document?document.body:null}()||{},_e=!!G.style&&"WebkitAppearance"in G.style);let L=!0;return G.style&&!function rt(Ne){return"ebkit"==Ne.substring(1,6)}(Ne)&&(L=Ne in G.style,!L&&_e&&(L="Webkit"+Ne.charAt(0).toUpperCase()+Ne.substr(1)in G.style)),L}const Ve=un,Mt=Wn;let Et=(()=>{class Ne{validateStyleProperty(B){return he(B)}matchesElement(B,fe){return!1}containsElement(B,fe){return Ve(B,fe)}getParentElement(B){return kn(B)}query(B,fe,We){return Mt(B,fe,We)}computeStyle(B,fe,We){return We||""}animate(B,fe,We,gt,Rt,Ut=[],rn){return new u.ZN(We,gt)}}return Ne.\u0275fac=function(B){return new(B||Ne)},Ne.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})(),sn=(()=>{class Ne{}return Ne.NOOP=new Et,Ne})();const Gn="ng-enter",Hn="ng-leave",Jn="ng-trigger",Tn=".ng-trigger",ri="ng-animating",zn=".ng-animating";function $t(Ne){if("number"==typeof Ne)return Ne;const L=Ne.match(/^(-?[\.\d]+)(m?s)/);return!L||L.length<2?0:xe(parseFloat(L[1]),L[2])}function xe(Ne,L){return"s"===L?1e3*Ne:Ne}function Se(Ne,L,B){return Ne.hasOwnProperty("duration")?Ne:function j(Ne,L,B){let We,gt=0,Rt="";if("string"==typeof Ne){const Ut=Ne.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ut)return L.push(g()),{duration:0,delay:0,easing:""};We=xe(parseFloat(Ut[1]),Ut[2]);const rn=Ut[3];null!=rn&&(gt=xe(parseFloat(rn),Ut[4]));const Dn=Ut[5];Dn&&(Rt=Dn)}else We=Ne;if(!B){let Ut=!1,rn=L.length;We<0&&(L.push(function b(){return new e.vHH(3100,d)}()),Ut=!0),gt<0&&(L.push(function k(){return new e.vHH(3101,d)}()),Ut=!0),Ut&&L.splice(rn,0,g())}return{duration:We,delay:gt,easing:Rt}}(Ne,L,B)}function Ie(Ne,L={}){return Object.keys(Ne).forEach(B=>{L[B]=Ne[B]}),L}function Vt(Ne,L,B={}){if(L)for(let fe in Ne)B[fe]=Ne[fe];else Ie(Ne,B);return B}function Fn(Ne,L,B){return B?L+":"+B+";":""}function ti(Ne){let L="";for(let B=0;B{const We=Yn(fe);B&&!B.hasOwnProperty(fe)&&(B[fe]=Ne.style[We]),Ne.style[We]=L[fe]}),bt()&&ti(Ne))}function Cn(Ne,L){Ne.style&&(Object.keys(L).forEach(B=>{const fe=Yn(B);Ne.style[fe]=""}),bt()&&ti(Ne))}function ct(Ne){return Array.isArray(Ne)?1==Ne.length?Ne[0]:(0,u.vP)(Ne):Ne}const Re=new RegExp("{{\\s*(.+?)\\s*}}","g");function it(Ne){let L=[];if("string"==typeof Ne){let B;for(;B=Re.exec(Ne);)L.push(B[1]);Re.lastIndex=0}return L}function Lt(Ne,L,B){const fe=Ne.toString(),We=fe.replace(Re,(gt,Rt)=>{let Ut=L[Rt];return L.hasOwnProperty(Rt)||(B.push(function I(Ne){return new e.vHH(3003,d)}()),Ut=""),Ut.toString()});return We==fe?Ne:We}function an(Ne){const L=[];let B=Ne.next();for(;!B.done;)L.push(B.value),B=Ne.next();return L}const Un=/-+([a-z0-9])/g;function Yn(Ne){return Ne.replace(Un,(...L)=>L[1].toUpperCase())}function Oi(Ne){return Ne.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ae(Ne,L,B){switch(L.type){case 7:return Ne.visitTrigger(L,B);case 0:return Ne.visitState(L,B);case 1:return Ne.visitTransition(L,B);case 2:return Ne.visitSequence(L,B);case 3:return Ne.visitGroup(L,B);case 4:return Ne.visitAnimate(L,B);case 5:return Ne.visitKeyframes(L,B);case 6:return Ne.visitStyle(L,B);case 8:return Ne.visitReference(L,B);case 9:return Ne.visitAnimateChild(L,B);case 10:return Ne.visitAnimateRef(L,B);case 11:return Ne.visitQuery(L,B);case 12:return Ne.visitStagger(L,B);default:throw function H(Ne){return new e.vHH(3004,d)}()}}function Pe(Ne,L){return window.getComputedStyle(Ne)[L]}function R(Ne,L){const B=[];return"string"==typeof Ne?Ne.split(/\s*,\s*/).forEach(fe=>function be(Ne,L,B){if(":"==Ne[0]){const rn=function Ye(Ne,L){switch(Ne){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(B,fe)=>parseFloat(fe)>parseFloat(B);case":decrement":return(B,fe)=>parseFloat(fe) *"}}(Ne,B);if("function"==typeof rn)return void L.push(rn);Ne=rn}const fe=Ne.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==fe||fe.length<4)return B.push(function He(Ne){return new e.vHH(3015,d)}()),L;const We=fe[1],gt=fe[2],Rt=fe[3];L.push(wn(We,Rt));"<"==gt[0]&&!("*"==We&&"*"==Rt)&&L.push(wn(Rt,We))}(fe,B,L)):B.push(Ne),B}const Ct=new Set(["true","1"]),_n=new Set(["false","0"]);function wn(Ne,L){const B=Ct.has(Ne)||_n.has(Ne),fe=Ct.has(L)||_n.has(L);return(We,gt)=>{let Rt="*"==Ne||Ne==We,Ut="*"==L||L==gt;return!Rt&&B&&"boolean"==typeof We&&(Rt=We?Ct.has(Ne):_n.has(Ne)),!Ut&&fe&&"boolean"==typeof gt&&(Ut=gt?Ct.has(L):_n.has(L)),Rt&&Ut}}const xi=new RegExp("s*:selfs*,?","g");function Ri(Ne,L,B,fe){return new di(Ne).build(L,B,fe)}class di{constructor(L){this._driver=L}build(L,B,fe){const We=new rr(B);this._resetContextStyleTimingState(We);const gt=ae(this,ct(L),We);return We.unsupportedCSSPropertiesFound.size&&We.unsupportedCSSPropertiesFound.keys(),gt}_resetContextStyleTimingState(L){L.currentQuerySelector="",L.collectedStyles={},L.collectedStyles[""]={},L.currentTime=0}visitTrigger(L,B){let fe=B.queryCount=0,We=B.depCount=0;const gt=[],Rt=[];return"@"==L.name.charAt(0)&&B.errors.push(function O(){return new e.vHH(3006,d)}()),L.definitions.forEach(Ut=>{if(this._resetContextStyleTimingState(B),0==Ut.type){const rn=Ut,Dn=rn.name;Dn.toString().split(/\s*,\s*/).forEach($n=>{rn.name=$n,gt.push(this.visitState(rn,B))}),rn.name=Dn}else if(1==Ut.type){const rn=this.visitTransition(Ut,B);fe+=rn.queryCount,We+=rn.depCount,Rt.push(rn)}else B.errors.push(function Z(){return new e.vHH(3007,d)}())}),{type:7,name:L.name,states:gt,transitions:Rt,queryCount:fe,depCount:We,options:null}}visitState(L,B){const fe=this.visitStyle(L.styles,B),We=L.options&&L.options.params||null;if(fe.containsDynamicStyles){const gt=new Set,Rt=We||{};fe.styles.forEach(Ut=>{if(Ei(Ut)){const rn=Ut;Object.keys(rn).forEach(Dn=>{it(rn[Dn]).forEach($n=>{Rt.hasOwnProperty($n)||gt.add($n)})})}}),gt.size&&(an(gt.values()),B.errors.push(function q(Ne,L){return new e.vHH(3008,d)}()))}return{type:0,name:L.name,style:fe,options:We?{params:We}:null}}visitTransition(L,B){B.queryCount=0,B.depCount=0;const fe=ae(this,ct(L.animation),B);return{type:1,matchers:R(L.expr,B.errors),animation:fe,queryCount:B.queryCount,depCount:B.depCount,options:Pi(L.options)}}visitSequence(L,B){return{type:2,steps:L.steps.map(fe=>ae(this,fe,B)),options:Pi(L.options)}}visitGroup(L,B){const fe=B.currentTime;let We=0;const gt=L.steps.map(Rt=>{B.currentTime=fe;const Ut=ae(this,Rt,B);return We=Math.max(We,B.currentTime),Ut});return B.currentTime=We,{type:3,steps:gt,options:Pi(L.options)}}visitAnimate(L,B){const fe=function Tr(Ne,L){if(Ne.hasOwnProperty("duration"))return Ne;if("number"==typeof Ne)return qi(Se(Ne,L).duration,0,"");const B=Ne;if(B.split(/\s+/).some(gt=>"{"==gt.charAt(0)&&"{"==gt.charAt(1))){const gt=qi(0,0,"");return gt.dynamic=!0,gt.strValue=B,gt}const We=Se(B,L);return qi(We.duration,We.delay,We.easing)}(L.timings,B.errors);B.currentAnimateTimings=fe;let We,gt=L.styles?L.styles:(0,u.oB)({});if(5==gt.type)We=this.visitKeyframes(gt,B);else{let Rt=L.styles,Ut=!1;if(!Rt){Ut=!0;const Dn={};fe.easing&&(Dn.easing=fe.easing),Rt=(0,u.oB)(Dn)}B.currentTime+=fe.duration+fe.delay;const rn=this.visitStyle(Rt,B);rn.isEmptyStep=Ut,We=rn}return B.currentAnimateTimings=null,{type:4,timings:fe,style:We,options:null}}visitStyle(L,B){const fe=this._makeStyleAst(L,B);return this._validateStyleAst(fe,B),fe}_makeStyleAst(L,B){const fe=[];Array.isArray(L.styles)?L.styles.forEach(Rt=>{"string"==typeof Rt?Rt==u.l3?fe.push(Rt):B.errors.push(function te(Ne){return new e.vHH(3002,d)}()):fe.push(Rt)}):fe.push(L.styles);let We=!1,gt=null;return fe.forEach(Rt=>{if(Ei(Rt)){const Ut=Rt,rn=Ut.easing;if(rn&&(gt=rn,delete Ut.easing),!We)for(let Dn in Ut)if(Ut[Dn].toString().indexOf("{{")>=0){We=!0;break}}}),{type:6,styles:fe,easing:gt,offset:L.offset,containsDynamicStyles:We,options:null}}_validateStyleAst(L,B){const fe=B.currentAnimateTimings;let We=B.currentTime,gt=B.currentTime;fe&>>0&&(gt-=fe.duration+fe.delay),L.styles.forEach(Rt=>{"string"!=typeof Rt&&Object.keys(Rt).forEach(Ut=>{if(!this._driver.validateStyleProperty(Ut))return delete Rt[Ut],void B.unsupportedCSSPropertiesFound.add(Ut);const rn=B.collectedStyles[B.currentQuerySelector],Dn=rn[Ut];let $n=!0;Dn&&(gt!=We&>>=Dn.startTime&&We<=Dn.endTime&&(B.errors.push(function ne(Ne,L,B,fe,We){return new e.vHH(3010,d)}()),$n=!1),gt=Dn.startTime),$n&&(rn[Ut]={startTime:gt,endTime:We}),B.options&&function ve(Ne,L,B){const fe=L.params||{},We=it(Ne);We.length&&We.forEach(gt=>{fe.hasOwnProperty(gt)||B.push(function A(Ne){return new e.vHH(3001,d)}())})}(Rt[Ut],B.options,B.errors)})})}visitKeyframes(L,B){const fe={type:5,styles:[],options:null};if(!B.currentAnimateTimings)return B.errors.push(function ue(){return new e.vHH(3011,d)}()),fe;let gt=0;const Rt=[];let Ut=!1,rn=!1,Dn=0;const $n=L.steps.map(Fr=>{const Ar=this._makeStyleAst(Fr,B);let oo=null!=Ar.offset?Ar.offset:function Ai(Ne){if("string"==typeof Ne)return null;let L=null;if(Array.isArray(Ne))Ne.forEach(B=>{if(Ei(B)&&B.hasOwnProperty("offset")){const fe=B;L=parseFloat(fe.offset),delete fe.offset}});else if(Ei(Ne)&&Ne.hasOwnProperty("offset")){const B=Ne;L=parseFloat(B.offset),delete B.offset}return L}(Ar.styles),Wr=0;return null!=oo&&(gt++,Wr=Ar.offset=oo),rn=rn||Wr<0||Wr>1,Ut=Ut||Wr0&>{const oo=Ci>0?Ar==Ui?1:Ci*Ar:Rt[Ar],Wr=oo*er;B.currentTime=_i+Ii.delay+Wr,Ii.duration=Wr,this._validateStyleAst(Fr,B),Fr.offset=oo,fe.styles.push(Fr)}),fe}visitReference(L,B){return{type:8,animation:ae(this,ct(L.animation),B),options:Pi(L.options)}}visitAnimateChild(L,B){return B.depCount++,{type:9,options:Pi(L.options)}}visitAnimateRef(L,B){return{type:10,animation:this.visitReference(L.animation,B),options:Pi(L.options)}}visitQuery(L,B){const fe=B.currentQuerySelector,We=L.options||{};B.queryCount++,B.currentQuery=L;const[gt,Rt]=function Ki(Ne){const L=!!Ne.split(/\s*,\s*/).find(B=>":self"==B);return L&&(Ne=Ne.replace(xi,"")),Ne=Ne.replace(/@\*/g,Tn).replace(/@\w+/g,B=>Tn+"-"+B.substr(1)).replace(/:animating/g,zn),[Ne,L]}(L.selector);B.currentQuerySelector=fe.length?fe+" "+gt:gt,Ft(B.collectedStyles,B.currentQuerySelector,{});const Ut=ae(this,ct(L.animation),B);return B.currentQuery=null,B.currentQuerySelector=fe,{type:11,selector:gt,limit:We.limit||0,optional:!!We.optional,includeSelf:Rt,animation:Ut,originalSelector:L.selector,options:Pi(L.options)}}visitStagger(L,B){B.currentQuery||B.errors.push(function je(){return new e.vHH(3013,d)}());const fe="full"===L.timings?{duration:0,delay:0,easing:"full"}:Se(L.timings,B.errors,!0);return{type:12,animation:ae(this,ct(L.animation),B),timings:fe,options:null}}}class rr{constructor(L){this.errors=L,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ei(Ne){return!Array.isArray(Ne)&&"object"==typeof Ne}function Pi(Ne){return Ne?(Ne=Ie(Ne)).params&&(Ne.params=function hr(Ne){return Ne?Ie(Ne):null}(Ne.params)):Ne={},Ne}function qi(Ne,L,B){return{duration:Ne,delay:L,easing:B}}function Pr(Ne,L,B,fe,We,gt,Rt=null,Ut=!1){return{type:1,element:Ne,keyframes:L,preStyleProps:B,postStyleProps:fe,duration:We,delay:gt,totalTime:We+gt,easing:Rt,subTimeline:Ut}}class Dr{constructor(){this._map=new Map}get(L){return this._map.get(L)||[]}append(L,B){let fe=this._map.get(L);fe||this._map.set(L,fe=[]),fe.push(...B)}has(L){return this._map.has(L)}clear(){this._map.clear()}}const Mr=new RegExp(":enter","g"),bo=new RegExp(":leave","g");function kr(Ne,L,B,fe,We,gt={},Rt={},Ut,rn,Dn=[]){return(new Ho).buildKeyframes(Ne,L,B,fe,We,gt,Rt,Ut,rn,Dn)}class Ho{buildKeyframes(L,B,fe,We,gt,Rt,Ut,rn,Dn,$n=[]){Dn=Dn||new Dr;const hi=new Ur(L,B,Dn,We,gt,$n,[]);hi.options=rn,hi.currentTimeline.setStyles([Rt],null,hi.errors,rn),ae(this,fe,hi);const Ci=hi.timelines.filter(Ui=>Ui.containsAnimation());if(Object.keys(Ut).length){let Ui;for(let _i=Ci.length-1;_i>=0;_i--){const Ii=Ci[_i];if(Ii.element===B){Ui=Ii;break}}Ui&&!Ui.allowOnlyTimelineStyles()&&Ui.setStyles([Ut],null,hi.errors,rn)}return Ci.length?Ci.map(Ui=>Ui.buildKeyframes()):[Pr(B,[],[],[],0,0,"",!1)]}visitTrigger(L,B){}visitState(L,B){}visitTransition(L,B){}visitAnimateChild(L,B){const fe=B.subInstructions.get(B.element);if(fe){const We=B.createSubContext(L.options),gt=B.currentTimeline.currentTime,Rt=this._visitSubInstructions(fe,We,We.options);gt!=Rt&&B.transformIntoNewTimeline(Rt)}B.previousNode=L}visitAnimateRef(L,B){const fe=B.createSubContext(L.options);fe.transformIntoNewTimeline(),this.visitReference(L.animation,fe),B.transformIntoNewTimeline(fe.currentTimeline.currentTime),B.previousNode=L}_visitSubInstructions(L,B,fe){let gt=B.currentTimeline.currentTime;const Rt=null!=fe.duration?$t(fe.duration):null,Ut=null!=fe.delay?$t(fe.delay):null;return 0!==Rt&&L.forEach(rn=>{const Dn=B.appendInstructionToTimeline(rn,Rt,Ut);gt=Math.max(gt,Dn.duration+Dn.delay)}),gt}visitReference(L,B){B.updateOptions(L.options,!0),ae(this,L.animation,B),B.previousNode=L}visitSequence(L,B){const fe=B.subContextCount;let We=B;const gt=L.options;if(gt&&(gt.params||gt.delay)&&(We=B.createSubContext(gt),We.transformIntoNewTimeline(),null!=gt.delay)){6==We.previousNode.type&&(We.currentTimeline.snapshotCurrentStyles(),We.previousNode=Hr);const Rt=$t(gt.delay);We.delayNextStep(Rt)}L.steps.length&&(L.steps.forEach(Rt=>ae(this,Rt,We)),We.currentTimeline.applyStylesToKeyframe(),We.subContextCount>fe&&We.transformIntoNewTimeline()),B.previousNode=L}visitGroup(L,B){const fe=[];let We=B.currentTimeline.currentTime;const gt=L.options&&L.options.delay?$t(L.options.delay):0;L.steps.forEach(Rt=>{const Ut=B.createSubContext(L.options);gt&&Ut.delayNextStep(gt),ae(this,Rt,Ut),We=Math.max(We,Ut.currentTimeline.currentTime),fe.push(Ut.currentTimeline)}),fe.forEach(Rt=>B.currentTimeline.mergeTimelineCollectedStyles(Rt)),B.transformIntoNewTimeline(We),B.previousNode=L}_visitTiming(L,B){if(L.dynamic){const fe=L.strValue;return Se(B.params?Lt(fe,B.params,B.errors):fe,B.errors)}return{duration:L.duration,delay:L.delay,easing:L.easing}}visitAnimate(L,B){const fe=B.currentAnimateTimings=this._visitTiming(L.timings,B),We=B.currentTimeline;fe.delay&&(B.incrementTime(fe.delay),We.snapshotCurrentStyles());const gt=L.style;5==gt.type?this.visitKeyframes(gt,B):(B.incrementTime(fe.duration),this.visitStyle(gt,B),We.applyStylesToKeyframe()),B.currentAnimateTimings=null,B.previousNode=L}visitStyle(L,B){const fe=B.currentTimeline,We=B.currentAnimateTimings;!We&&fe.getCurrentStyleProperties().length&&fe.forwardFrame();const gt=We&&We.easing||L.easing;L.isEmptyStep?fe.applyEmptyStep(gt):fe.setStyles(L.styles,gt,B.errors,B.options),B.previousNode=L}visitKeyframes(L,B){const fe=B.currentAnimateTimings,We=B.currentTimeline.duration,gt=fe.duration,Ut=B.createSubContext().currentTimeline;Ut.easing=fe.easing,L.styles.forEach(rn=>{Ut.forwardTime((rn.offset||0)*gt),Ut.setStyles(rn.styles,rn.easing,B.errors,B.options),Ut.applyStylesToKeyframe()}),B.currentTimeline.mergeTimelineCollectedStyles(Ut),B.transformIntoNewTimeline(We+gt),B.previousNode=L}visitQuery(L,B){const fe=B.currentTimeline.currentTime,We=L.options||{},gt=We.delay?$t(We.delay):0;gt&&(6===B.previousNode.type||0==fe&&B.currentTimeline.getCurrentStyleProperties().length)&&(B.currentTimeline.snapshotCurrentStyles(),B.previousNode=Hr);let Rt=fe;const Ut=B.invokeQuery(L.selector,L.originalSelector,L.limit,L.includeSelf,!!We.optional,B.errors);B.currentQueryTotal=Ut.length;let rn=null;Ut.forEach((Dn,$n)=>{B.currentQueryIndex=$n;const hi=B.createSubContext(L.options,Dn);gt&&hi.delayNextStep(gt),Dn===B.element&&(rn=hi.currentTimeline),ae(this,L.animation,hi),hi.currentTimeline.applyStylesToKeyframe(),Rt=Math.max(Rt,hi.currentTimeline.currentTime)}),B.currentQueryIndex=0,B.currentQueryTotal=0,B.transformIntoNewTimeline(Rt),rn&&(B.currentTimeline.mergeTimelineCollectedStyles(rn),B.currentTimeline.snapshotCurrentStyles()),B.previousNode=L}visitStagger(L,B){const fe=B.parentContext,We=B.currentTimeline,gt=L.timings,Rt=Math.abs(gt.duration),Ut=Rt*(B.currentQueryTotal-1);let rn=Rt*B.currentQueryIndex;switch(gt.duration<0?"reverse":gt.easing){case"reverse":rn=Ut-rn;break;case"full":rn=fe.currentStaggerTime}const $n=B.currentTimeline;rn&&$n.delayNextStep(rn);const hi=$n.currentTime;ae(this,L.animation,B),B.previousNode=L,fe.currentStaggerTime=We.currentTime-hi+(We.startTime-fe.currentTimeline.startTime)}}const Hr={};class Ur{constructor(L,B,fe,We,gt,Rt,Ut,rn){this._driver=L,this.element=B,this.subInstructions=fe,this._enterClassName=We,this._leaveClassName=gt,this.errors=Rt,this.timelines=Ut,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Hr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=rn||new Qr(this._driver,B,0),Ut.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(L,B){if(!L)return;const fe=L;let We=this.options;null!=fe.duration&&(We.duration=$t(fe.duration)),null!=fe.delay&&(We.delay=$t(fe.delay));const gt=fe.params;if(gt){let Rt=We.params;Rt||(Rt=this.options.params={}),Object.keys(gt).forEach(Ut=>{(!B||!Rt.hasOwnProperty(Ut))&&(Rt[Ut]=Lt(gt[Ut],Rt,this.errors))})}}_copyOptions(){const L={};if(this.options){const B=this.options.params;if(B){const fe=L.params={};Object.keys(B).forEach(We=>{fe[We]=B[We]})}}return L}createSubContext(L=null,B,fe){const We=B||this.element,gt=new Ur(this._driver,We,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(We,fe||0));return gt.previousNode=this.previousNode,gt.currentAnimateTimings=this.currentAnimateTimings,gt.options=this._copyOptions(),gt.updateOptions(L),gt.currentQueryIndex=this.currentQueryIndex,gt.currentQueryTotal=this.currentQueryTotal,gt.parentContext=this,this.subContextCount++,gt}transformIntoNewTimeline(L){return this.previousNode=Hr,this.currentTimeline=this.currentTimeline.fork(this.element,L),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(L,B,fe){const We={duration:null!=B?B:L.duration,delay:this.currentTimeline.currentTime+(null!=fe?fe:0)+L.delay,easing:""},gt=new xo(this._driver,L.element,L.keyframes,L.preStyleProps,L.postStyleProps,We,L.stretchStartingKeyframe);return this.timelines.push(gt),We}incrementTime(L){this.currentTimeline.forwardTime(this.currentTimeline.duration+L)}delayNextStep(L){L>0&&this.currentTimeline.delayNextStep(L)}invokeQuery(L,B,fe,We,gt,Rt){let Ut=[];if(We&&Ut.push(this.element),L.length>0){L=(L=L.replace(Mr,"."+this._enterClassName)).replace(bo,"."+this._leaveClassName);let Dn=this._driver.query(this.element,L,1!=fe);0!==fe&&(Dn=fe<0?Dn.slice(Dn.length+fe,Dn.length):Dn.slice(0,fe)),Ut.push(...Dn)}return!gt&&0==Ut.length&&Rt.push(function nt(Ne){return new e.vHH(3014,d)}()),Ut}}class Qr{constructor(L,B,fe,We){this._driver=L,this.element=B,this.startTime=fe,this._elementTimelineStylesLookup=We,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(B),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(B,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(L){const B=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||B?(this.forwardTime(this.currentTime+L),B&&this.snapshotCurrentStyles()):this.startTime+=L}fork(L,B){return this.applyStylesToKeyframe(),new Qr(this._driver,L,B||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(L){this.applyStylesToKeyframe(),this.duration=L,this._loadKeyframe()}_updateStyle(L,B){this._localTimelineStyles[L]=B,this._globalTimelineStyles[L]=B,this._styleSummary[L]={time:this.currentTime,value:B}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(L){L&&(this._previousKeyframe.easing=L),Object.keys(this._globalTimelineStyles).forEach(B=>{this._backFill[B]=this._globalTimelineStyles[B]||u.l3,this._currentKeyframe[B]=u.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(L,B,fe,We){B&&(this._previousKeyframe.easing=B);const gt=We&&We.params||{},Rt=function nr(Ne,L){const B={};let fe;return Ne.forEach(We=>{"*"===We?(fe=fe||Object.keys(L),fe.forEach(gt=>{B[gt]=u.l3})):Vt(We,!1,B)}),B}(L,this._globalTimelineStyles);Object.keys(Rt).forEach(Ut=>{const rn=Lt(Rt[Ut],gt,fe);this._pendingStyles[Ut]=rn,this._localTimelineStyles.hasOwnProperty(Ut)||(this._backFill[Ut]=this._globalTimelineStyles.hasOwnProperty(Ut)?this._globalTimelineStyles[Ut]:u.l3),this._updateStyle(Ut,rn)})}applyStylesToKeyframe(){const L=this._pendingStyles,B=Object.keys(L);0!=B.length&&(this._pendingStyles={},B.forEach(fe=>{this._currentKeyframe[fe]=L[fe]}),Object.keys(this._localTimelineStyles).forEach(fe=>{this._currentKeyframe.hasOwnProperty(fe)||(this._currentKeyframe[fe]=this._localTimelineStyles[fe])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(L=>{const B=this._localTimelineStyles[L];this._pendingStyles[L]=B,this._updateStyle(L,B)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const L=[];for(let B in this._currentKeyframe)L.push(B);return L}mergeTimelineCollectedStyles(L){Object.keys(L._styleSummary).forEach(B=>{const fe=this._styleSummary[B],We=L._styleSummary[B];(!fe||We.time>fe.time)&&this._updateStyle(B,We.value)})}buildKeyframes(){this.applyStylesToKeyframe();const L=new Set,B=new Set,fe=1===this._keyframes.size&&0===this.duration;let We=[];this._keyframes.forEach((Ut,rn)=>{const Dn=Vt(Ut,!0);Object.keys(Dn).forEach($n=>{const hi=Dn[$n];hi==u.k1?L.add($n):hi==u.l3&&B.add($n)}),fe||(Dn.offset=rn/this.duration),We.push(Dn)});const gt=L.size?an(L.values()):[],Rt=B.size?an(B.values()):[];if(fe){const Ut=We[0],rn=Ie(Ut);Ut.offset=0,rn.offset=1,We=[Ut,rn]}return Pr(this.element,We,gt,Rt,this.duration,this.startTime,this.easing,!1)}}class xo extends Qr{constructor(L,B,fe,We,gt,Rt,Ut=!1){super(L,B,Rt.delay),this.keyframes=fe,this.preStyleProps=We,this.postStyleProps=gt,this._stretchStartingKeyframe=Ut,this.timings={duration:Rt.duration,delay:Rt.delay,easing:Rt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let L=this.keyframes,{delay:B,duration:fe,easing:We}=this.timings;if(this._stretchStartingKeyframe&&B){const gt=[],Rt=fe+B,Ut=B/Rt,rn=Vt(L[0],!1);rn.offset=0,gt.push(rn);const Dn=Vt(L[0],!1);Dn.offset=uo(Ut),gt.push(Dn);const $n=L.length-1;for(let hi=1;hi<=$n;hi++){let Ci=Vt(L[hi],!1);Ci.offset=uo((B+Ci.offset*fe)/Rt),gt.push(Ci)}fe=Rt,B=0,We="",L=gt}return Pr(this.element,L,this.preStyleProps,this.postStyleProps,fe,B,We,!0)}}function uo(Ne,L=3){const B=Math.pow(10,L-1);return Math.round(Ne*B)/B}class vr{}class To extends vr{normalizePropertyName(L,B){return Yn(L)}normalizeStyleValue(L,B,fe,We){let gt="";const Rt=fe.toString().trim();if(Do[B]&&0!==fe&&"0"!==fe)if("number"==typeof fe)gt="px";else{const Ut=fe.match(/^[+-]?[\d\.]+([a-z]*)$/);Ut&&0==Ut[1].length&&We.push(function z(Ne,L){return new e.vHH(3005,d)}())}return Rt+gt}}const Do=(()=>function ko(Ne){const L={};return Ne.forEach(B=>L[B]=!0),L}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function go(Ne,L,B,fe,We,gt,Rt,Ut,rn,Dn,$n,hi,Ci){return{type:0,element:Ne,triggerName:L,isRemovalTransition:We,fromState:B,fromStyles:gt,toState:fe,toStyles:Rt,timelines:Ut,queriedElements:rn,preStyleProps:Dn,postStyleProps:$n,totalTime:hi,errors:Ci}}const Yr={};class Xr{constructor(L,B,fe){this._triggerName=L,this.ast=B,this._stateStyles=fe}match(L,B,fe,We){return function eo(Ne,L,B,fe,We){return Ne.some(gt=>gt(L,B,fe,We))}(this.ast.matchers,L,B,fe,We)}buildStyles(L,B,fe){const We=this._stateStyles["*"],gt=this._stateStyles[L],Rt=We?We.buildStyles(B,fe):{};return gt?gt.buildStyles(B,fe):Rt}build(L,B,fe,We,gt,Rt,Ut,rn,Dn,$n){const hi=[],Ci=this.ast.options&&this.ast.options.params||Yr,_i=this.buildStyles(fe,Ut&&Ut.params||Yr,hi),Ii=rn&&rn.params||Yr,er=this.buildStyles(We,Ii,hi),Fr=new Set,Ar=new Map,oo=new Map,Wr="void"===We,Lr={params:Object.assign(Object.assign({},Ci),Ii)},Nr=$n?[]:kr(L,B,this.ast.animation,gt,Rt,_i,er,Lr,Dn,hi);let Di=0;if(Nr.forEach(wr=>{Di=Math.max(wr.duration+wr.delay,Di)}),hi.length)return go(B,this._triggerName,fe,We,Wr,_i,er,[],[],Ar,oo,Di,hi);Nr.forEach(wr=>{const Or=wr.element,Io=Ft(Ar,Or,{});wr.preStyleProps.forEach(So=>Io[So]=!0);const ho=Ft(oo,Or,{});wr.postStyleProps.forEach(So=>ho[So]=!0),Or!==B&&Fr.add(Or)});const yo=an(Fr.values());return go(B,this._triggerName,fe,We,Wr,_i,er,Nr,yo,Ar,oo,Di)}}class Mo{constructor(L,B,fe){this.styles=L,this.defaultParams=B,this.normalizer=fe}buildStyles(L,B){const fe={},We=Ie(this.defaultParams);return Object.keys(L).forEach(gt=>{const Rt=L[gt];null!=Rt&&(We[gt]=Rt)}),this.styles.styles.forEach(gt=>{if("string"!=typeof gt){const Rt=gt;Object.keys(Rt).forEach(Ut=>{let rn=Rt[Ut];rn.length>1&&(rn=Lt(rn,We,B));const Dn=this.normalizer.normalizePropertyName(Ut,B);rn=this.normalizer.normalizeStyleValue(Ut,Dn,rn,B),fe[Dn]=rn})}}),fe}}class Gr{constructor(L,B,fe){this.name=L,this.ast=B,this._normalizer=fe,this.transitionFactories=[],this.states={},B.states.forEach(We=>{this.states[We.name]=new Mo(We.style,We.options&&We.options.params||{},fe)}),to(this.states,"true","1"),to(this.states,"false","0"),B.transitions.forEach(We=>{this.transitionFactories.push(new Xr(L,We,this.states))}),this.fallbackTransition=function Ao(Ne,L,B){return new Xr(Ne,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Rt,Ut)=>!0],options:null,queryCount:0,depCount:0},L)}(L,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(L,B,fe,We){return this.transitionFactories.find(Rt=>Rt.match(L,B,fe,We))||null}matchStyles(L,B,fe){return this.fallbackTransition.buildStyles(L,B,fe)}}function to(Ne,L,B){Ne.hasOwnProperty(L)?Ne.hasOwnProperty(B)||(Ne[B]=Ne[L]):Ne.hasOwnProperty(B)&&(Ne[L]=Ne[B])}const vo=new Dr;class mt{constructor(L,B,fe){this.bodyNode=L,this._driver=B,this._normalizer=fe,this._animations={},this._playersById={},this.players=[]}register(L,B){const fe=[],gt=Ri(this._driver,B,fe,[]);if(fe.length)throw function xt(Ne){return new e.vHH(3503,d)}();this._animations[L]=gt}_buildPlayer(L,B,fe){const We=L.element,gt=ut(0,this._normalizer,0,L.keyframes,B,fe);return this._driver.animate(We,gt,L.duration,L.delay,L.easing,[],!0)}create(L,B,fe={}){const We=[],gt=this._animations[L];let Rt;const Ut=new Map;if(gt?(Rt=kr(this._driver,B,gt,Gn,Hn,{},{},fe,vo,We),Rt.forEach($n=>{const hi=Ft(Ut,$n.element,{});$n.postStyleProps.forEach(Ci=>hi[Ci]=null)})):(We.push(function Be(){return new e.vHH(3300,d)}()),Rt=[]),We.length)throw function Tt(Ne){return new e.vHH(3504,d)}();Ut.forEach(($n,hi)=>{Object.keys($n).forEach(Ci=>{$n[Ci]=this._driver.computeStyle(hi,Ci,u.l3)})});const Dn=dt(Rt.map($n=>{const hi=Ut.get($n.element);return this._buildPlayer($n,{},hi)}));return this._playersById[L]=Dn,Dn.onDestroy(()=>this.destroy(L)),this.players.push(Dn),Dn}destroy(L){const B=this._getPlayer(L);B.destroy(),delete this._playersById[L];const fe=this.players.indexOf(B);fe>=0&&this.players.splice(fe,1)}_getPlayer(L){const B=this._playersById[L];if(!B)throw function Zt(Ne){return new e.vHH(3301,d)}();return B}listen(L,B,fe,We){const gt=pt(B,"","","");return Je(this._getPlayer(L),fe,gt,We),()=>{}}command(L,B,fe,We){if("register"==fe)return void this.register(L,We[0]);if("create"==fe)return void this.create(L,B,We[0]||{});const gt=this._getPlayer(L);switch(fe){case"play":gt.play();break;case"pause":gt.pause();break;case"reset":gt.reset();break;case"restart":gt.restart();break;case"finish":gt.finish();break;case"init":gt.init();break;case"setPosition":gt.setPosition(parseFloat(We[0]));break;case"destroy":this.destroy(L)}}}const wt="ng-animate-queued",tt="ng-animate-disabled",Fi=[],Ir={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},no={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},pr="__ng_removed";class oi{constructor(L,B=""){this.namespaceId=B;const fe=L&&L.hasOwnProperty("value");if(this.value=function we(Ne){return null!=Ne?Ne:null}(fe?L.value:L),fe){const gt=Ie(L);delete gt.value,this.options=gt}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(L){const B=L.params;if(B){const fe=this.options.params;Object.keys(B).forEach(We=>{null==fe[We]&&(fe[We]=B[We])})}}}const yr="void",mr=new oi(yr);class or{constructor(L,B,fe){this.id=L,this.hostElement=B,this._engine=fe,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+L,Mn(B,this._hostClassName)}listen(L,B,fe,We){if(!this._triggers.hasOwnProperty(B))throw function Sn(Ne,L){return new e.vHH(3302,d)}();if(null==fe||0==fe.length)throw function Xt(Ne){return new e.vHH(3303,d)}();if(!function Te(Ne){return"start"==Ne||"done"==Ne}(fe))throw function nn(Ne,L){return new e.vHH(3400,d)}();const gt=Ft(this._elementListeners,L,[]),Rt={name:B,phase:fe,callback:We};gt.push(Rt);const Ut=Ft(this._engine.statesByElement,L,{});return Ut.hasOwnProperty(B)||(Mn(L,Jn),Mn(L,Jn+"-"+B),Ut[B]=mr),()=>{this._engine.afterFlush(()=>{const rn=gt.indexOf(Rt);rn>=0&>.splice(rn,1),this._triggers[B]||delete Ut[B]})}}register(L,B){return!this._triggers[L]&&(this._triggers[L]=B,!0)}_getTrigger(L){const B=this._triggers[L];if(!B)throw function mn(Ne){return new e.vHH(3401,d)}();return B}trigger(L,B,fe,We=!0){const gt=this._getTrigger(B),Rt=new dr(this.id,B,L);let Ut=this._engine.statesByElement.get(L);Ut||(Mn(L,Jn),Mn(L,Jn+"-"+B),this._engine.statesByElement.set(L,Ut={}));let rn=Ut[B];const Dn=new oi(fe,this.id);if(!(fe&&fe.hasOwnProperty("value"))&&rn&&Dn.absorbOptions(rn.options),Ut[B]=Dn,rn||(rn=mr),Dn.value!==yr&&rn.value===Dn.value){if(!function ji(Ne,L){const B=Object.keys(Ne),fe=Object.keys(L);if(B.length!=fe.length)return!1;for(let We=0;We{Cn(L,er),Qt(L,Fr)})}return}const Ci=Ft(this._engine.playersByElement,L,[]);Ci.forEach(Ii=>{Ii.namespaceId==this.id&&Ii.triggerName==B&&Ii.queued&&Ii.destroy()});let Ui=gt.matchTransition(rn.value,Dn.value,L,Dn.params),_i=!1;if(!Ui){if(!We)return;Ui=gt.fallbackTransition,_i=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:L,triggerName:B,transition:Ui,fromState:rn,toState:Dn,player:Rt,isFallbackTransition:_i}),_i||(Mn(L,wt),Rt.onStart(()=>{Zn(L,wt)})),Rt.onDone(()=>{let Ii=this.players.indexOf(Rt);Ii>=0&&this.players.splice(Ii,1);const er=this._engine.playersByElement.get(L);if(er){let Fr=er.indexOf(Rt);Fr>=0&&er.splice(Fr,1)}}),this.players.push(Rt),Ci.push(Rt),Rt}deregister(L){delete this._triggers[L],this._engine.statesByElement.forEach((B,fe)=>{delete B[L]}),this._elementListeners.forEach((B,fe)=>{this._elementListeners.set(fe,B.filter(We=>We.name!=L))})}clearElementCache(L){this._engine.statesByElement.delete(L),this._elementListeners.delete(L);const B=this._engine.playersByElement.get(L);B&&(B.forEach(fe=>fe.destroy()),this._engine.playersByElement.delete(L))}_signalRemovalForInnerTriggers(L,B){const fe=this._engine.driver.query(L,Tn,!0);fe.forEach(We=>{if(We[pr])return;const gt=this._engine.fetchNamespacesByElement(We);gt.size?gt.forEach(Rt=>Rt.triggerLeaveAnimation(We,B,!1,!0)):this.clearElementCache(We)}),this._engine.afterFlushAnimationsDone(()=>fe.forEach(We=>this.clearElementCache(We)))}triggerLeaveAnimation(L,B,fe,We){const gt=this._engine.statesByElement.get(L),Rt=new Map;if(gt){const Ut=[];if(Object.keys(gt).forEach(rn=>{if(Rt.set(rn,gt[rn].value),this._triggers[rn]){const Dn=this.trigger(L,rn,yr,We);Dn&&Ut.push(Dn)}}),Ut.length)return this._engine.markElementAsRemoved(this.id,L,!0,B,Rt),fe&&dt(Ut).onDone(()=>this._engine.processLeaveNode(L)),!0}return!1}prepareLeaveAnimationListeners(L){const B=this._elementListeners.get(L),fe=this._engine.statesByElement.get(L);if(B&&fe){const We=new Set;B.forEach(gt=>{const Rt=gt.name;if(We.has(Rt))return;We.add(Rt);const rn=this._triggers[Rt].fallbackTransition,Dn=fe[Rt]||mr,$n=new oi(yr),hi=new dr(this.id,Rt,L);this._engine.totalQueuedPlayers++,this._queue.push({element:L,triggerName:Rt,transition:rn,fromState:Dn,toState:$n,player:hi,isFallbackTransition:!0})})}}removeNode(L,B){const fe=this._engine;if(L.childElementCount&&this._signalRemovalForInnerTriggers(L,B),this.triggerLeaveAnimation(L,B,!0))return;let We=!1;if(fe.totalAnimations){const gt=fe.players.length?fe.playersByQueriedElement.get(L):[];if(gt&>.length)We=!0;else{let Rt=L;for(;Rt=Rt.parentNode;)if(fe.statesByElement.get(Rt)){We=!0;break}}}if(this.prepareLeaveAnimationListeners(L),We)fe.markElementAsRemoved(this.id,L,!1,B);else{const gt=L[pr];(!gt||gt===Ir)&&(fe.afterFlush(()=>this.clearElementCache(L)),fe.destroyInnerAnimations(L),fe._onRemovalComplete(L,B))}}insertNode(L,B){Mn(L,this._hostClassName)}drainQueuedTransitions(L){const B=[];return this._queue.forEach(fe=>{const We=fe.player;if(We.destroyed)return;const gt=fe.element,Rt=this._elementListeners.get(gt);Rt&&Rt.forEach(Ut=>{if(Ut.name==fe.triggerName){const rn=pt(gt,fe.triggerName,fe.fromState.value,fe.toState.value);rn._data=L,Je(fe.player,Ut.phase,rn,Ut.callback)}}),We.markedForDestroy?this._engine.afterFlush(()=>{We.destroy()}):B.push(fe)}),this._queue=[],B.sort((fe,We)=>{const gt=fe.transition.ast.depCount,Rt=We.transition.ast.depCount;return 0==gt||0==Rt?gt-Rt:this._engine.driver.containsElement(fe.element,We.element)?1:-1})}destroy(L){this.players.forEach(B=>B.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,L)}elementContainsData(L){let B=!1;return this._elementListeners.has(L)&&(B=!0),B=!!this._queue.find(fe=>fe.element===L)||B,B}}class io{constructor(L,B,fe){this.bodyNode=L,this.driver=B,this._normalizer=fe,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(We,gt)=>{}}_onRemovalComplete(L,B){this.onRemovalComplete(L,B)}get queuedPlayers(){const L=[];return this._namespaceList.forEach(B=>{B.players.forEach(fe=>{fe.queued&&L.push(fe)})}),L}createNamespace(L,B){const fe=new or(L,B,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,B)?this._balanceNamespaceList(fe,B):(this.newHostElements.set(B,fe),this.collectEnterElement(B)),this._namespaceLookup[L]=fe}_balanceNamespaceList(L,B){const fe=this._namespaceList,We=this.namespacesByHostElement,gt=fe.length-1;if(gt>=0){let Rt=!1;if(void 0!==this.driver.getParentElement){let Ut=this.driver.getParentElement(B);for(;Ut;){const rn=We.get(Ut);if(rn){const Dn=fe.indexOf(rn);fe.splice(Dn+1,0,L),Rt=!0;break}Ut=this.driver.getParentElement(Ut)}}else for(let Ut=gt;Ut>=0;Ut--)if(this.driver.containsElement(fe[Ut].hostElement,B)){fe.splice(Ut+1,0,L),Rt=!0;break}Rt||fe.unshift(L)}else fe.push(L);return We.set(B,L),L}register(L,B){let fe=this._namespaceLookup[L];return fe||(fe=this.createNamespace(L,B)),fe}registerTrigger(L,B,fe){let We=this._namespaceLookup[L];We&&We.register(B,fe)&&this.totalAnimations++}destroy(L,B){if(!L)return;const fe=this._fetchNamespace(L);this.afterFlush(()=>{this.namespacesByHostElement.delete(fe.hostElement),delete this._namespaceLookup[L];const We=this._namespaceList.indexOf(fe);We>=0&&this._namespaceList.splice(We,1)}),this.afterFlushAnimationsDone(()=>fe.destroy(B))}_fetchNamespace(L){return this._namespaceLookup[L]}fetchNamespacesByElement(L){const B=new Set,fe=this.statesByElement.get(L);if(fe){const We=Object.keys(fe);for(let gt=0;gt=0&&this.collectedLeaveElements.splice(Rt,1)}if(L){const Rt=this._fetchNamespace(L);Rt&&Rt.insertNode(B,fe)}We&&this.collectEnterElement(B)}collectEnterElement(L){this.collectedEnterElements.push(L)}markElementAsDisabled(L,B){B?this.disabledNodes.has(L)||(this.disabledNodes.add(L),Mn(L,tt)):this.disabledNodes.has(L)&&(this.disabledNodes.delete(L),Zn(L,tt))}removeNode(L,B,fe,We){if(Xe(B)){const gt=L?this._fetchNamespace(L):null;if(gt?gt.removeNode(B,We):this.markElementAsRemoved(L,B,!1,We),fe){const Rt=this.namespacesByHostElement.get(B);Rt&&Rt.id!==L&&Rt.removeNode(B,We)}}else this._onRemovalComplete(B,We)}markElementAsRemoved(L,B,fe,We,gt){this.collectedLeaveElements.push(B),B[pr]={namespaceId:L,setForRemoval:We,hasAnimation:fe,removedBeforeQueried:!1,previousTriggersValues:gt}}listen(L,B,fe,We,gt){return Xe(B)?this._fetchNamespace(L).listen(B,fe,We,gt):()=>{}}_buildInstruction(L,B,fe,We,gt){return L.transition.build(this.driver,L.element,L.fromState.value,L.toState.value,fe,We,L.fromState.options,L.toState.options,B,gt)}destroyInnerAnimations(L){let B=this.driver.query(L,Tn,!0);B.forEach(fe=>this.destroyActiveAnimationsForElement(fe)),0!=this.playersByQueriedElement.size&&(B=this.driver.query(L,zn,!0),B.forEach(fe=>this.finishActiveQueriedAnimationOnElement(fe)))}destroyActiveAnimationsForElement(L){const B=this.playersByElement.get(L);B&&B.forEach(fe=>{fe.queued?fe.markedForDestroy=!0:fe.destroy()})}finishActiveQueriedAnimationOnElement(L){const B=this.playersByQueriedElement.get(L);B&&B.forEach(fe=>fe.finish())}whenRenderingDone(){return new Promise(L=>{if(this.players.length)return dt(this.players).onDone(()=>L());L()})}processLeaveNode(L){var B;const fe=L[pr];if(fe&&fe.setForRemoval){if(L[pr]=Ir,fe.namespaceId){this.destroyInnerAnimations(L);const We=this._fetchNamespace(fe.namespaceId);We&&We.clearElementCache(L)}this._onRemovalComplete(L,fe.setForRemoval)}(null===(B=L.classList)||void 0===B?void 0:B.contains(tt))&&this.markElementAsDisabled(L,!1),this.driver.query(L,".ng-animate-disabled",!0).forEach(We=>{this.markElementAsDisabled(We,!1)})}flush(L=-1){let B=[];if(this.newHostElements.size&&(this.newHostElements.forEach((fe,We)=>this._balanceNamespaceList(fe,We)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let fe=0;fefe()),this._flushFns=[],this._whenQuietFns.length){const fe=this._whenQuietFns;this._whenQuietFns=[],B.length?dt(B).onDone(()=>{fe.forEach(We=>We())}):fe.forEach(We=>We())}}reportError(L){throw function Jt(Ne){return new e.vHH(3402,d)}()}_flushAnimations(L,B){const fe=new Dr,We=[],gt=new Map,Rt=[],Ut=new Map,rn=new Map,Dn=new Map,$n=new Set;this.disabledNodes.forEach(ci=>{$n.add(ci);const vi=this.driver.query(ci,".ng-animate-queued",!0);for(let bi=0;bi{const bi=Gn+Ii++;_i.set(vi,bi),ci.forEach(Vi=>Mn(Vi,bi))});const er=[],Fr=new Set,Ar=new Set;for(let ci=0;ciFr.add(Vi)):Ar.add(vi))}const oo=new Map,Wr=hn(Ci,Array.from(Fr));Wr.forEach((ci,vi)=>{const bi=Hn+Ii++;oo.set(vi,bi),ci.forEach(Vi=>Mn(Vi,bi))}),L.push(()=>{Ui.forEach((ci,vi)=>{const bi=_i.get(vi);ci.forEach(Vi=>Zn(Vi,bi))}),Wr.forEach((ci,vi)=>{const bi=oo.get(vi);ci.forEach(Vi=>Zn(Vi,bi))}),er.forEach(ci=>{this.processLeaveNode(ci)})});const Lr=[],Nr=[];for(let ci=this._namespaceList.length-1;ci>=0;ci--)this._namespaceList[ci].drainQueuedTransitions(B).forEach(bi=>{const Vi=bi.player,pe=bi.element;if(Lr.push(Vi),this.collectedEnterElements.length){const pn=pe[pr];if(pn&&pn.setForMove){if(pn.previousTriggersValues&&pn.previousTriggersValues.has(bi.triggerName)){const Vn=pn.previousTriggersValues.get(bi.triggerName),ii=this.statesByElement.get(bi.element);ii&&ii[bi.triggerName]&&(ii[bi.triggerName].value=Vn)}return void Vi.destroy()}}const ie=!hi||!this.driver.containsElement(hi,pe),Ue=oo.get(pe),st=_i.get(pe),yt=this._buildInstruction(bi,fe,st,Ue,ie);if(yt.errors&&yt.errors.length)return void Nr.push(yt);if(ie)return Vi.onStart(()=>Cn(pe,yt.fromStyles)),Vi.onDestroy(()=>Qt(pe,yt.toStyles)),void We.push(Vi);if(bi.isFallbackTransition)return Vi.onStart(()=>Cn(pe,yt.fromStyles)),Vi.onDestroy(()=>Qt(pe,yt.toStyles)),void We.push(Vi);const Nt=[];yt.timelines.forEach(pn=>{pn.stretchStartingKeyframe=!0,this.disabledNodes.has(pn.element)||Nt.push(pn)}),yt.timelines=Nt,fe.append(pe,yt.timelines),Rt.push({instruction:yt,player:Vi,element:pe}),yt.queriedElements.forEach(pn=>Ft(Ut,pn,[]).push(Vi)),yt.preStyleProps.forEach((pn,Vn)=>{const ii=Object.keys(pn);if(ii.length){let wi=rn.get(Vn);wi||rn.set(Vn,wi=new Set),ii.forEach(Mi=>wi.add(Mi))}}),yt.postStyleProps.forEach((pn,Vn)=>{const ii=Object.keys(pn);let wi=Dn.get(Vn);wi||Dn.set(Vn,wi=new Set),ii.forEach(Mi=>wi.add(Mi))})});if(Nr.length){const ci=[];Nr.forEach(vi=>{ci.push(function Pt(Ne,L){return new e.vHH(3505,d)}())}),Lr.forEach(vi=>vi.destroy()),this.reportError(ci)}const Di=new Map,yo=new Map;Rt.forEach(ci=>{const vi=ci.element;fe.has(vi)&&(yo.set(vi,vi),this._beforeAnimationBuild(ci.player.namespaceId,ci.instruction,Di))}),We.forEach(ci=>{const vi=ci.element;this._getPreviousPlayers(vi,!1,ci.namespaceId,ci.triggerName,null).forEach(Vi=>{Ft(Di,vi,[]).push(Vi),Vi.destroy()})});const wr=er.filter(ci=>Sr(ci,rn,Dn)),Or=new Map;Yt(Or,this.driver,Ar,Dn,u.l3).forEach(ci=>{Sr(ci,rn,Dn)&&wr.push(ci)});const ho=new Map;Ui.forEach((ci,vi)=>{Yt(ho,this.driver,new Set(ci),rn,u.k1)}),wr.forEach(ci=>{const vi=Or.get(ci),bi=ho.get(ci);Or.set(ci,Object.assign(Object.assign({},vi),bi))});const So=[],lo=[],Wo={};Rt.forEach(ci=>{const{element:vi,player:bi,instruction:Vi}=ci;if(fe.has(vi)){if($n.has(vi))return bi.onDestroy(()=>Qt(vi,Vi.toStyles)),bi.disabled=!0,bi.overrideTotalTime(Vi.totalTime),void We.push(bi);let pe=Wo;if(yo.size>1){let Ue=vi;const st=[];for(;Ue=Ue.parentNode;){const yt=yo.get(Ue);if(yt){pe=yt;break}st.push(Ue)}st.forEach(yt=>yo.set(yt,pe))}const ie=this._buildAnimation(bi.namespaceId,Vi,Di,gt,ho,Or);if(bi.setRealPlayer(ie),pe===Wo)So.push(bi);else{const Ue=this.playersByElement.get(pe);Ue&&Ue.length&&(bi.parentPlayer=dt(Ue)),We.push(bi)}}else Cn(vi,Vi.fromStyles),bi.onDestroy(()=>Qt(vi,Vi.toStyles)),lo.push(bi),$n.has(vi)&&We.push(bi)}),lo.forEach(ci=>{const vi=gt.get(ci.element);if(vi&&vi.length){const bi=dt(vi);ci.setRealPlayer(bi)}}),We.forEach(ci=>{ci.parentPlayer?ci.syncPlayerEvents(ci.parentPlayer):ci.destroy()});for(let ci=0;ci!ie.destroyed);pe.length?ir(this,vi,pe):this.processLeaveNode(vi)}return er.length=0,So.forEach(ci=>{this.players.push(ci),ci.onDone(()=>{ci.destroy();const vi=this.players.indexOf(ci);this.players.splice(vi,1)}),ci.play()}),So}elementContainsData(L,B){let fe=!1;const We=B[pr];return We&&We.setForRemoval&&(fe=!0),this.playersByElement.has(B)&&(fe=!0),this.playersByQueriedElement.has(B)&&(fe=!0),this.statesByElement.has(B)&&(fe=!0),this._fetchNamespace(L).elementContainsData(B)||fe}afterFlush(L){this._flushFns.push(L)}afterFlushAnimationsDone(L){this._whenQuietFns.push(L)}_getPreviousPlayers(L,B,fe,We,gt){let Rt=[];if(B){const Ut=this.playersByQueriedElement.get(L);Ut&&(Rt=Ut)}else{const Ut=this.playersByElement.get(L);if(Ut){const rn=!gt||gt==yr;Ut.forEach(Dn=>{Dn.queued||!rn&&Dn.triggerName!=We||Rt.push(Dn)})}}return(fe||We)&&(Rt=Rt.filter(Ut=>!(fe&&fe!=Ut.namespaceId||We&&We!=Ut.triggerName))),Rt}_beforeAnimationBuild(L,B,fe){const gt=B.element,Rt=B.isRemovalTransition?void 0:L,Ut=B.isRemovalTransition?void 0:B.triggerName;for(const rn of B.timelines){const Dn=rn.element,$n=Dn!==gt,hi=Ft(fe,Dn,[]);this._getPreviousPlayers(Dn,$n,Rt,Ut,B.toState).forEach(Ui=>{const _i=Ui.getRealPlayer();_i.beforeDestroy&&_i.beforeDestroy(),Ui.destroy(),hi.push(Ui)})}Cn(gt,B.fromStyles)}_buildAnimation(L,B,fe,We,gt,Rt){const Ut=B.triggerName,rn=B.element,Dn=[],$n=new Set,hi=new Set,Ci=B.timelines.map(_i=>{const Ii=_i.element;$n.add(Ii);const er=Ii[pr];if(er&&er.removedBeforeQueried)return new u.ZN(_i.duration,_i.delay);const Fr=Ii!==rn,Ar=function Hi(Ne){const L=[];return ui(Ne,L),L}((fe.get(Ii)||Fi).map(Di=>Di.getRealPlayer())).filter(Di=>!!Di.element&&Di.element===Ii),oo=gt.get(Ii),Wr=Rt.get(Ii),Lr=ut(0,this._normalizer,0,_i.keyframes,oo,Wr),Nr=this._buildPlayer(_i,Lr,Ar);if(_i.subTimeline&&We&&hi.add(Ii),Fr){const Di=new dr(L,Ut,Ii);Di.setRealPlayer(Nr),Dn.push(Di)}return Nr});Dn.forEach(_i=>{Ft(this.playersByQueriedElement,_i.element,[]).push(_i),_i.onDone(()=>function $i(Ne,L,B){let fe;if(Ne instanceof Map){if(fe=Ne.get(L),fe){if(fe.length){const We=fe.indexOf(B);fe.splice(We,1)}0==fe.length&&Ne.delete(L)}}else if(fe=Ne[L],fe){if(fe.length){const We=fe.indexOf(B);fe.splice(We,1)}0==fe.length&&delete Ne[L]}return fe}(this.playersByQueriedElement,_i.element,_i))}),$n.forEach(_i=>Mn(_i,ri));const Ui=dt(Ci);return Ui.onDestroy(()=>{$n.forEach(_i=>Zn(_i,ri)),Qt(rn,B.toStyles)}),hi.forEach(_i=>{Ft(We,_i,[]).push(Ui)}),Ui}_buildPlayer(L,B,fe){return B.length>0?this.driver.animate(L.element,B,L.duration,L.delay,L.easing,fe):new u.ZN(L.duration,L.delay)}}class dr{constructor(L,B,fe){this.namespaceId=L,this.triggerName=B,this.element=fe,this._player=new u.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(L){this._containsRealPlayer||(this._player=L,Object.keys(this._queuedCallbacks).forEach(B=>{this._queuedCallbacks[B].forEach(fe=>Je(L,B,void 0,fe))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(L.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(L){this.totalTime=L}syncPlayerEvents(L){const B=this._player;B.triggerCallback&&L.onStart(()=>B.triggerCallback("start")),L.onDone(()=>this.finish()),L.onDestroy(()=>this.destroy())}_queueEvent(L,B){Ft(this._queuedCallbacks,L,[]).push(B)}onDone(L){this.queued&&this._queueEvent("done",L),this._player.onDone(L)}onStart(L){this.queued&&this._queueEvent("start",L),this._player.onStart(L)}onDestroy(L){this.queued&&this._queueEvent("destroy",L),this._player.onDestroy(L)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(L){this.queued||this._player.setPosition(L)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(L){const B=this._player;B.triggerCallback&&B.triggerCallback(L)}}function Xe(Ne){return Ne&&1===Ne.nodeType}function at(Ne,L){const B=Ne.style.display;return Ne.style.display=null!=L?L:"none",B}function Yt(Ne,L,B,fe,We){const gt=[];B.forEach(rn=>gt.push(at(rn)));const Rt=[];fe.forEach((rn,Dn)=>{const $n={};rn.forEach(hi=>{const Ci=$n[hi]=L.computeStyle(Dn,hi,We);(!Ci||0==Ci.length)&&(Dn[pr]=no,Rt.push(Dn))}),Ne.set(Dn,$n)});let Ut=0;return B.forEach(rn=>at(rn,gt[Ut++])),Rt}function hn(Ne,L){const B=new Map;if(Ne.forEach(Ut=>B.set(Ut,[])),0==L.length)return B;const We=new Set(L),gt=new Map;function Rt(Ut){if(!Ut)return 1;let rn=gt.get(Ut);if(rn)return rn;const Dn=Ut.parentNode;return rn=B.has(Dn)?Dn:We.has(Dn)?1:Rt(Dn),gt.set(Ut,rn),rn}return L.forEach(Ut=>{const rn=Rt(Ut);1!==rn&&B.get(rn).push(Ut)}),B}function Mn(Ne,L){var B;null===(B=Ne.classList)||void 0===B||B.add(L)}function Zn(Ne,L){var B;null===(B=Ne.classList)||void 0===B||B.remove(L)}function ir(Ne,L,B){dt(B).onDone(()=>Ne.processLeaveNode(L))}function ui(Ne,L){for(let B=0;BWe.add(gt)):L.set(Ne,fe),B.delete(Ne),!0}class Xi{constructor(L,B,fe){this.bodyNode=L,this._driver=B,this._normalizer=fe,this._triggerCache={},this.onRemovalComplete=(We,gt)=>{},this._transitionEngine=new io(L,B,fe),this._timelineEngine=new mt(L,B,fe),this._transitionEngine.onRemovalComplete=(We,gt)=>this.onRemovalComplete(We,gt)}registerTrigger(L,B,fe,We,gt){const Rt=L+"-"+We;let Ut=this._triggerCache[Rt];if(!Ut){const rn=[],$n=Ri(this._driver,gt,rn,[]);if(rn.length)throw function ot(Ne,L){return new e.vHH(3404,d)}();Ut=function _o(Ne,L,B){return new Gr(Ne,L,B)}(We,$n,this._normalizer),this._triggerCache[Rt]=Ut}this._transitionEngine.registerTrigger(B,We,Ut)}register(L,B){this._transitionEngine.register(L,B)}destroy(L,B){this._transitionEngine.destroy(L,B)}onInsert(L,B,fe,We){this._transitionEngine.insertNode(L,B,fe,We)}onRemove(L,B,fe,We){this._transitionEngine.removeNode(L,B,We||!1,fe)}disableAnimations(L,B){this._transitionEngine.markElementAsDisabled(L,B)}process(L,B,fe,We){if("@"==fe.charAt(0)){const[gt,Rt]=tn(fe);this._timelineEngine.command(gt,B,Rt,We)}else this._transitionEngine.trigger(L,B,fe,We)}listen(L,B,fe,We,gt){if("@"==fe.charAt(0)){const[Rt,Ut]=tn(fe);return this._timelineEngine.listen(Rt,B,Ut,gt)}return this._transitionEngine.listen(L,B,fe,We,gt)}flush(L=-1){this._transitionEngine.flush(L)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ke=(()=>{class Ne{constructor(B,fe,We){this._element=B,this._startStyles=fe,this._endStyles=We,this._state=0;let gt=Ne.initialStylesByElement.get(B);gt||Ne.initialStylesByElement.set(B,gt={}),this._initialStyles=gt}start(){this._state<1&&(this._startStyles&&Qt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Qt(this._element,this._initialStyles),this._endStyles&&(Qt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ne.initialStylesByElement.delete(this._element),this._startStyles&&(Cn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Cn(this._element,this._endStyles),this._endStyles=null),Qt(this._element,this._initialStyles),this._state=3)}}return Ne.initialStylesByElement=new WeakMap,Ne})();function me(Ne){let L=null;const B=Object.keys(Ne);for(let fe=0;feL()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const L=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,L,this.options),this._finalKeyframe=L.length?L[L.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(L,B,fe){return L.animate(B,fe)}onStart(L){this._onStartFns.push(L)}onDone(L){this._onDoneFns.push(L)}onDestroy(L){this._onDestroyFns.push(L)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(L=>L()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(L=>L()),this._onDestroyFns=[])}setPosition(L){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=L*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const L={};if(this.hasStarted()){const B=this._finalKeyframe;Object.keys(B).forEach(fe=>{"offset"!=fe&&(L[fe]=this._finished?B[fe]:Pe(this.element,fe))})}this.currentSnapshot=L}triggerCallback(L){const B="start"==L?this._onStartFns:this._onDoneFns;B.forEach(fe=>fe()),B.length=0}}class fn{validateStyleProperty(L){return he(L)}matchesElement(L,B){return!1}containsElement(L,B){return Ve(L,B)}getParentElement(L){return kn(L)}query(L,B,fe){return Mt(L,B,fe)}computeStyle(L,B,fe){return window.getComputedStyle(L)[B]}animate(L,B,fe,We,gt,Rt=[]){const rn={duration:fe,delay:We,fill:0==We?"both":"forwards"};gt&&(rn.easing=gt);const Dn={},$n=Rt.filter(Ci=>Ci instanceof lt);(function Li(Ne,L){return 0===Ne||0===L})(fe,We)&&$n.forEach(Ci=>{let Ui=Ci.currentSnapshot;Object.keys(Ui).forEach(_i=>Dn[_i]=Ui[_i])}),B=function Gi(Ne,L,B){const fe=Object.keys(B);if(fe.length&&L.length){let gt=L[0],Rt=[];if(fe.forEach(Ut=>{gt.hasOwnProperty(Ut)||Rt.push(Ut),gt[Ut]=B[Ut]}),Rt.length)for(var We=1;WeVt(Ci,!1)),Dn);const hi=function lr(Ne,L){let B=null,fe=null;return Array.isArray(L)&&L.length?(B=me(L[0]),L.length>1&&(fe=me(L[L.length-1]))):L&&(B=me(L)),B||fe?new ke(Ne,B,fe):null}(L,B);return new lt(L,B,rn,hi)}}var ni=p(9808);let cr=(()=>{class Ne extends u._j{constructor(B,fe){super(),this._nextAnimationId=0,this._renderer=B.createRenderer(fe.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(B){const fe=this._nextAnimationId.toString();this._nextAnimationId++;const We=Array.isArray(B)?(0,u.vP)(B):B;return Zr(this._renderer,null,fe,"register",[We]),new Cr(fe,this._renderer)}}return Ne.\u0275fac=function(B){return new(B||Ne)(e.LFG(e.FYo),e.LFG(ni.K0))},Ne.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})();class Cr extends u.LC{constructor(L,B){super(),this._id=L,this._renderer=B}create(L,B){return new Eo(this._id,L,B||{},this._renderer)}}class Eo{constructor(L,B,fe,We){this.id=L,this.element=B,this._renderer=We,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",fe)}_listen(L,B){return this._renderer.listen(this.element,`@@${this.id}:${L}`,B)}_command(L,...B){return Zr(this._renderer,this.element,this.id,L,B)}onDone(L){this._listen("done",L)}onStart(L){this._listen("start",L)}onDestroy(L){this._listen("destroy",L)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(L){this._command("setPosition",L)}getPosition(){var L,B;return null!==(B=null===(L=this._renderer.engine.players[+this.id])||void 0===L?void 0:L.getPosition())&&void 0!==B?B:0}}function Zr(Ne,L,B,fe,We){return Ne.setProperty(L,`@@${B}:${fe}`,We)}const On="@.disabled";let Ni=(()=>{class Ne{constructor(B,fe,We){this.delegate=B,this.engine=fe,this._zone=We,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),fe.onRemovalComplete=(gt,Rt)=>{const Ut=null==Rt?void 0:Rt.parentNode(gt);Ut&&Rt.removeChild(Ut,gt)}}createRenderer(B,fe){const gt=this.delegate.createRenderer(B,fe);if(!(B&&fe&&fe.data&&fe.data.animation)){let $n=this._rendererCache.get(gt);return $n||($n=new br("",gt,this.engine),this._rendererCache.set(gt,$n)),$n}const Rt=fe.id,Ut=fe.id+"-"+this._currentId;this._currentId++,this.engine.register(Ut,B);const rn=$n=>{Array.isArray($n)?$n.forEach(rn):this.engine.registerTrigger(Rt,Ut,B,$n.name,$n)};return fe.data.animation.forEach(rn),new fr(this,Ut,gt,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(B,fe,We){B>=0&&Bfe(We)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(gt=>{const[Rt,Ut]=gt;Rt(Ut)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([fe,We]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return Ne.\u0275fac=function(B){return new(B||Ne)(e.LFG(e.FYo),e.LFG(Xi),e.LFG(e.R0b))},Ne.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})();class br{constructor(L,B,fe){this.namespaceId=L,this.delegate=B,this.engine=fe,this.destroyNode=this.delegate.destroyNode?We=>B.destroyNode(We):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(L,B){return this.delegate.createElement(L,B)}createComment(L){return this.delegate.createComment(L)}createText(L){return this.delegate.createText(L)}appendChild(L,B){this.delegate.appendChild(L,B),this.engine.onInsert(this.namespaceId,B,L,!1)}insertBefore(L,B,fe,We=!0){this.delegate.insertBefore(L,B,fe),this.engine.onInsert(this.namespaceId,B,L,We)}removeChild(L,B,fe){this.engine.onRemove(this.namespaceId,B,this.delegate,fe)}selectRootElement(L,B){return this.delegate.selectRootElement(L,B)}parentNode(L){return this.delegate.parentNode(L)}nextSibling(L){return this.delegate.nextSibling(L)}setAttribute(L,B,fe,We){this.delegate.setAttribute(L,B,fe,We)}removeAttribute(L,B,fe){this.delegate.removeAttribute(L,B,fe)}addClass(L,B){this.delegate.addClass(L,B)}removeClass(L,B){this.delegate.removeClass(L,B)}setStyle(L,B,fe,We){this.delegate.setStyle(L,B,fe,We)}removeStyle(L,B,fe){this.delegate.removeStyle(L,B,fe)}setProperty(L,B,fe){"@"==B.charAt(0)&&B==On?this.disableAnimations(L,!!fe):this.delegate.setProperty(L,B,fe)}setValue(L,B){this.delegate.setValue(L,B)}listen(L,B,fe){return this.delegate.listen(L,B,fe)}disableAnimations(L,B){this.engine.disableAnimations(L,B)}}class fr extends br{constructor(L,B,fe,We){super(B,fe,We),this.factory=L,this.namespaceId=B}setProperty(L,B,fe){"@"==B.charAt(0)?"."==B.charAt(1)&&B==On?this.disableAnimations(L,fe=void 0===fe||!!fe):this.engine.process(this.namespaceId,L,B.substr(1),fe):this.delegate.setProperty(L,B,fe)}listen(L,B,fe){if("@"==B.charAt(0)){const We=function No(Ne){switch(Ne){case"body":return document.body;case"document":return document;case"window":return window;default:return Ne}}(L);let gt=B.substr(1),Rt="";return"@"!=gt.charAt(0)&&([gt,Rt]=function ur(Ne){const L=Ne.indexOf(".");return[Ne.substring(0,L),Ne.substr(L+1)]}(gt)),this.engine.listen(this.namespaceId,We,gt,Rt,Ut=>{this.factory.scheduleListenerCallback(Ut._data||-1,fe,Ut)})}return this.delegate.listen(L,B,fe)}}let ro=(()=>{class Ne extends Xi{constructor(B,fe,We){super(B.body,fe,We)}ngOnDestroy(){this.flush()}}return Ne.\u0275fac=function(B){return new(B||Ne)(e.LFG(ni.K0),e.LFG(sn),e.LFG(vr))},Ne.\u0275prov=e.Yz7({token:Ne,factory:Ne.\u0275fac}),Ne})();const Jo=new e.OlP("AnimationModuleType"),Vo=[{provide:u._j,useClass:cr},{provide:vr,useFactory:function Bo(){return new To}},{provide:Xi,useClass:ro},{provide:e.FYo,useFactory:function sr(Ne,L,B){return new Ni(Ne,L,B)},deps:[o.se,Xi,e.R0b]}],Ko=[{provide:sn,useFactory:()=>new fn},{provide:Jo,useValue:"BrowserAnimations"},...Vo],Qo=[{provide:sn,useClass:Et},{provide:Jo,useValue:"NoopAnimations"},...Vo];let Vr=(()=>{class Ne{static withConfig(B){return{ngModule:Ne,providers:B.disableAnimations?Qo:Ko}}}return Ne.\u0275fac=function(B){return new(B||Ne)},Ne.\u0275mod=e.oAB({type:Ne}),Ne.\u0275inj=e.cJS({providers:Ko,imports:[o.b2]}),Ne})()},2313:(X,N,p)=>{"use strict";p.d(N,{Dx:()=>rt,H7:()=>ti,b2:()=>un,q6:()=>Ft,se:()=>xt});var e=p(9808),o=p(5e3);class u extends e.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class d extends u{static makeCurrent(){(0,e.HT)(new d)}onAndCancel(Re,it,Lt){return Re.addEventListener(it,Lt,!1),()=>{Re.removeEventListener(it,Lt,!1)}}dispatchEvent(Re,it){Re.dispatchEvent(it)}remove(Re){Re.parentNode&&Re.parentNode.removeChild(Re)}createElement(Re,it){return(it=it||this.getDefaultDocument()).createElement(Re)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Re){return Re.nodeType===Node.ELEMENT_NODE}isShadowRoot(Re){return Re instanceof DocumentFragment}getGlobalEventTarget(Re,it){return"window"===it?window:"document"===it?Re:"body"===it?Re.body:null}getBaseHref(Re){const it=function g(){return c=c||document.querySelector("base"),c?c.getAttribute("href"):null}();return null==it?null:function k(ve){b=b||document.createElement("a"),b.setAttribute("href",ve);const Re=b.pathname;return"/"===Re.charAt(0)?Re:`/${Re}`}(it)}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}getCookie(Re){return(0,e.Mx)(document.cookie,Re)}}let b,c=null;const A=new o.OlP("TRANSITION_ID"),H=[{provide:o.ip1,useFactory:function I(ve,Re,it){return()=>{it.get(o.CZH).donePromise.then(()=>{const Lt=(0,e.q)(),an=Re.querySelectorAll(`style[ng-transition="${ve}"]`);for(let Un=0;Un{const Un=Re.findTestabilityInTree(Lt,an);if(null==Un)throw new Error("Could not find testability for element.");return Un},o.dqk.getAllAngularTestabilities=()=>Re.getAllTestabilities(),o.dqk.getAllAngularRootElements=()=>Re.getAllRootElements(),o.dqk.frameworkStabilizers||(o.dqk.frameworkStabilizers=[]),o.dqk.frameworkStabilizers.push(Lt=>{const an=o.dqk.getAllAngularTestabilities();let Un=an.length,Yn=!1;const Oi=function(Li){Yn=Yn||Li,Un--,0==Un&&Lt(Yn)};an.forEach(function(Li){Li.whenStable(Oi)})})}findTestabilityInTree(Re,it,Lt){if(null==it)return null;const an=Re.getTestability(it);return null!=an?an:Lt?(0,e.q)().isShadowRoot(it)?this.findTestabilityInTree(Re,it.host,!0):this.findTestabilityInTree(Re,it.parentElement,!0):null}}let O=(()=>{class ve{build(){return new XMLHttpRequest}}return ve.\u0275fac=function(it){return new(it||ve)},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const Z=new o.OlP("EventManagerPlugins");let q=(()=>{class ve{constructor(it,Lt){this._zone=Lt,this._eventNameToPlugin=new Map,it.forEach(an=>an.manager=this),this._plugins=it.slice().reverse()}addEventListener(it,Lt,an){return this._findPluginFor(Lt).addEventListener(it,Lt,an)}addGlobalEventListener(it,Lt,an){return this._findPluginFor(Lt).addGlobalEventListener(it,Lt,an)}getZone(){return this._zone}_findPluginFor(it){const Lt=this._eventNameToPlugin.get(it);if(Lt)return Lt;const an=this._plugins;for(let Un=0;Un{class ve{constructor(){this._stylesSet=new Set}addStyles(it){const Lt=new Set;it.forEach(an=>{this._stylesSet.has(an)||(this._stylesSet.add(an),Lt.add(an))}),this.onStylesAdded(Lt)}onStylesAdded(it){}getAllStyles(){return Array.from(this._stylesSet)}}return ve.\u0275fac=function(it){return new(it||ve)},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),ne=(()=>{class ve extends V{constructor(it){super(),this._doc=it,this._hostNodes=new Map,this._hostNodes.set(it.head,[])}_addStylesToHost(it,Lt,an){it.forEach(Un=>{const Yn=this._doc.createElement("style");Yn.textContent=Un,an.push(Lt.appendChild(Yn))})}addHost(it){const Lt=[];this._addStylesToHost(this._stylesSet,it,Lt),this._hostNodes.set(it,Lt)}removeHost(it){const Lt=this._hostNodes.get(it);Lt&&Lt.forEach(ue),this._hostNodes.delete(it)}onStylesAdded(it){this._hostNodes.forEach((Lt,an)=>{this._addStylesToHost(it,an,Lt)})}ngOnDestroy(){this._hostNodes.forEach(it=>it.forEach(ue))}}return ve.\u0275fac=function(it){return new(it||ve)(o.LFG(e.K0))},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();function ue(ve){(0,e.q)().remove(ve)}const ee={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Q=/%COMP%/g;function Ze(ve,Re,it){for(let Lt=0;Lt{if("__ngUnwrap__"===Re)return ve;!1===ve(Re)&&(Re.preventDefault(),Re.returnValue=!1)}}let xt=(()=>{class ve{constructor(it,Lt,an){this.eventManager=it,this.sharedStylesHost=Lt,this.appId=an,this.rendererByCompId=new Map,this.defaultRenderer=new Be(it)}createRenderer(it,Lt){if(!it||!Lt)return this.defaultRenderer;switch(Lt.encapsulation){case o.ifc.Emulated:{let an=this.rendererByCompId.get(Lt.id);return an||(an=new Sn(this.eventManager,this.sharedStylesHost,Lt,this.appId),this.rendererByCompId.set(Lt.id,an)),an.applyToHost(it),an}case 1:case o.ifc.ShadowDom:return new Xt(this.eventManager,this.sharedStylesHost,it,Lt);default:if(!this.rendererByCompId.has(Lt.id)){const an=Ze(Lt.id,Lt.styles,[]);this.sharedStylesHost.addStyles(an),this.rendererByCompId.set(Lt.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ve.\u0275fac=function(it){return new(it||ve)(o.LFG(q),o.LFG(ne),o.LFG(o.AFp))},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class Be{constructor(Re){this.eventManager=Re,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Re,it){return it?document.createElementNS(ee[it]||it,Re):document.createElement(Re)}createComment(Re){return document.createComment(Re)}createText(Re){return document.createTextNode(Re)}appendChild(Re,it){Re.appendChild(it)}insertBefore(Re,it,Lt){Re&&Re.insertBefore(it,Lt)}removeChild(Re,it){Re&&Re.removeChild(it)}selectRootElement(Re,it){let Lt="string"==typeof Re?document.querySelector(Re):Re;if(!Lt)throw new Error(`The selector "${Re}" did not match any elements`);return it||(Lt.textContent=""),Lt}parentNode(Re){return Re.parentNode}nextSibling(Re){return Re.nextSibling}setAttribute(Re,it,Lt,an){if(an){it=an+":"+it;const Un=ee[an];Un?Re.setAttributeNS(Un,it,Lt):Re.setAttribute(it,Lt)}else Re.setAttribute(it,Lt)}removeAttribute(Re,it,Lt){if(Lt){const an=ee[Lt];an?Re.removeAttributeNS(an,it):Re.removeAttribute(`${Lt}:${it}`)}else Re.removeAttribute(it)}addClass(Re,it){Re.classList.add(it)}removeClass(Re,it){Re.classList.remove(it)}setStyle(Re,it,Lt,an){an&(o.JOm.DashCase|o.JOm.Important)?Re.style.setProperty(it,Lt,an&o.JOm.Important?"important":""):Re.style[it]=Lt}removeStyle(Re,it,Lt){Lt&o.JOm.DashCase?Re.style.removeProperty(it):Re.style[it]=""}setProperty(Re,it,Lt){Re[it]=Lt}setValue(Re,it){Re.nodeValue=it}listen(Re,it,Lt){return"string"==typeof Re?this.eventManager.addGlobalEventListener(Re,it,ot(Lt)):this.eventManager.addEventListener(Re,it,ot(Lt))}}class Sn extends Be{constructor(Re,it,Lt,an){super(Re),this.component=Lt;const Un=Ze(an+"-"+Lt.id,Lt.styles,[]);it.addStyles(Un),this.contentAttr=function de(ve){return"_ngcontent-%COMP%".replace(Q,ve)}(an+"-"+Lt.id),this.hostAttr=function Ce(ve){return"_nghost-%COMP%".replace(Q,ve)}(an+"-"+Lt.id)}applyToHost(Re){super.setAttribute(Re,this.hostAttr,"")}createElement(Re,it){const Lt=super.createElement(Re,it);return super.setAttribute(Lt,this.contentAttr,""),Lt}}class Xt extends Be{constructor(Re,it,Lt,an){super(Re),this.sharedStylesHost=it,this.hostEl=Lt,this.shadowRoot=Lt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Un=Ze(an.id,an.styles,[]);for(let Yn=0;Yn{class ve extends te{constructor(it){super(it)}supports(it){return!0}addEventListener(it,Lt,an){return it.addEventListener(Lt,an,!1),()=>this.removeEventListener(it,Lt,an)}removeEventListener(it,Lt,an){return it.removeEventListener(Lt,an)}}return ve.\u0275fac=function(it){return new(it||ve)(o.LFG(e.K0))},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const mn=["alt","control","meta","shift"],et={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Pt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ot={alt:ve=>ve.altKey,control:ve=>ve.ctrlKey,meta:ve=>ve.metaKey,shift:ve=>ve.shiftKey};let bt=(()=>{class ve extends te{constructor(it){super(it)}supports(it){return null!=ve.parseEventName(it)}addEventListener(it,Lt,an){const Un=ve.parseEventName(Lt),Yn=ve.eventCallback(Un.fullKey,an,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.q)().onAndCancel(it,Un.domEventName,Yn))}static parseEventName(it){const Lt=it.toLowerCase().split("."),an=Lt.shift();if(0===Lt.length||"keydown"!==an&&"keyup"!==an)return null;const Un=ve._normalizeKey(Lt.pop());let Yn="";if(mn.forEach(Li=>{const Gi=Lt.indexOf(Li);Gi>-1&&(Lt.splice(Gi,1),Yn+=Li+".")}),Yn+=Un,0!=Lt.length||0===Un.length)return null;const Oi={};return Oi.domEventName=an,Oi.fullKey=Yn,Oi}static getEventFullKey(it){let Lt="",an=function dt(ve){let Re=ve.key;if(null==Re){if(Re=ve.keyIdentifier,null==Re)return"Unidentified";Re.startsWith("U+")&&(Re=String.fromCharCode(parseInt(Re.substring(2),16)),3===ve.location&&Pt.hasOwnProperty(Re)&&(Re=Pt[Re]))}return et[Re]||Re}(it);return an=an.toLowerCase()," "===an?an="space":"."===an&&(an="dot"),mn.forEach(Un=>{Un!=an&&Ot[Un](it)&&(Lt+=Un+".")}),Lt+=an,Lt}static eventCallback(it,Lt,an){return Un=>{ve.getEventFullKey(Un)===it&&an.runGuarded(()=>Lt(Un))}}static _normalizeKey(it){return"esc"===it?"escape":it}}return ve.\u0275fac=function(it){return new(it||ve)(o.LFG(e.K0))},ve.\u0275prov=o.Yz7({token:ve,factory:ve.\u0275fac}),ve})();const Ft=(0,o.eFA)(o._c5,"browser",[{provide:o.Lbi,useValue:e.bD},{provide:o.g9A,useValue:function ut(){d.makeCurrent(),z.init()},multi:!0},{provide:e.K0,useFactory:function kt(){return(0,o.RDi)(document),document},deps:[]}]),tn=[{provide:o.zSh,useValue:"root"},{provide:o.qLn,useFactory:function Je(){return new o.qLn},deps:[]},{provide:Z,useClass:nn,multi:!0,deps:[e.K0,o.R0b,o.Lbi]},{provide:Z,useClass:bt,multi:!0,deps:[e.K0]},{provide:xt,useClass:xt,deps:[q,ne,o.AFp]},{provide:o.FYo,useExisting:xt},{provide:V,useExisting:ne},{provide:ne,useClass:ne,deps:[e.K0]},{provide:o.dDg,useClass:o.dDg,deps:[o.R0b]},{provide:q,useClass:q,deps:[Z,o.R0b]},{provide:e.JF,useClass:O,deps:[]}];let un=(()=>{class ve{constructor(it){if(it)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(it){return{ngModule:ve,providers:[{provide:o.AFp,useValue:it.appId},{provide:A,useExisting:o.AFp},H]}}}return ve.\u0275fac=function(it){return new(it||ve)(o.LFG(ve,12))},ve.\u0275mod=o.oAB({type:ve}),ve.\u0275inj=o.cJS({providers:tn,imports:[e.ez,o.hGG]}),ve})(),rt=(()=>{class ve{constructor(it){this._doc=it}getTitle(){return this._doc.title}setTitle(it){this._doc.title=it||""}}return ve.\u0275fac=function(it){return new(it||ve)(o.LFG(e.K0))},ve.\u0275prov=o.Yz7({token:ve,factory:function(it){let Lt=null;return Lt=it?new it:function Kt(){return new rt((0,o.LFG)(e.K0))}(),Lt},providedIn:"root"}),ve})();"undefined"!=typeof window&&window;let ti=(()=>{class ve{}return ve.\u0275fac=function(it){return new(it||ve)},ve.\u0275prov=o.Yz7({token:ve,factory:function(it){let Lt=null;return Lt=it?new(it||ve):o.LFG(Cn),Lt},providedIn:"root"}),ve})(),Cn=(()=>{class ve extends ti{constructor(it){super(),this._doc=it}sanitize(it,Lt){if(null==Lt)return null;switch(it){case o.q3G.NONE:return Lt;case o.q3G.HTML:return(0,o.qzn)(Lt,"HTML")?(0,o.z3N)(Lt):(0,o.EiD)(this._doc,String(Lt)).toString();case o.q3G.STYLE:return(0,o.qzn)(Lt,"Style")?(0,o.z3N)(Lt):Lt;case o.q3G.SCRIPT:if((0,o.qzn)(Lt,"Script"))return(0,o.z3N)(Lt);throw new Error("unsafe value used in a script context");case o.q3G.URL:return(0,o.yhl)(Lt),(0,o.qzn)(Lt,"URL")?(0,o.z3N)(Lt):(0,o.mCW)(String(Lt));case o.q3G.RESOURCE_URL:if((0,o.qzn)(Lt,"ResourceURL"))return(0,o.z3N)(Lt);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${it} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(it){return(0,o.JVY)(it)}bypassSecurityTrustStyle(it){return(0,o.L6k)(it)}bypassSecurityTrustScript(it){return(0,o.eBb)(it)}bypassSecurityTrustUrl(it){return(0,o.LAX)(it)}bypassSecurityTrustResourceUrl(it){return(0,o.pB0)(it)}}return ve.\u0275fac=function(it){return new(it||ve)(o.LFG(e.K0))},ve.\u0275prov=o.Yz7({token:ve,factory:function(it){let Lt=null;return Lt=it?new it:function Qt(ve){return new Cn(ve.get(e.K0))}(o.LFG(o.zs3)),Lt},providedIn:"root"}),ve})()},4521:(X,N,p)=>{"use strict";p.d(N,{gz:()=>Ri,m2:()=>et,OD:()=>Jt,F0:()=>wr,Od:()=>Wo,yS:()=>So,Bz:()=>pn,lC:()=>en});var e=p(5e3),o=p(2076),u=p(9646),d=p(1135),c=p(9841),g=p(2843),b=p(6805),k=p(7272),A=p(9770),I=p(8306),H=p(515),z=p(727),O=p(4482),Z=p(5403);function q(){return(0,O.e)((re,C)=>{let T=null;re._refCount++;const D=new Z.Q(C,void 0,void 0,void 0,()=>{if(!re||re._refCount<=0||0<--re._refCount)return void(T=null);const M=re._connection,P=T;T=null,M&&(!P||M===P)&&M.unsubscribe(),C.unsubscribe()});re.subscribe(D),D.closed||(T=re.connect())})}class te extends I.y{constructor(C,T){super(),this.source=C,this.subjectFactory=T,this._subject=null,this._refCount=0,this._connection=null,(0,O.A)(C)&&(this.lift=C.lift)}_subscribe(C){return this.getSubject().subscribe(C)}getSubject(){const C=this._subject;return(!C||C.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:C}=this;this._subject=this._connection=null,null==C||C.unsubscribe()}connect(){let C=this._connection;if(!C){C=this._connection=new z.w0;const T=this.getSubject();C.add(this.source.subscribe(new Z.Q(T,void 0,()=>{this._teardown(),T.complete()},D=>{this._teardown(),T.error(D)},()=>this._teardown()))),C.closed&&(this._connection=null,C=z.w0.EMPTY)}return C}refCount(){return q()(this)}}var V=p(7579),ne=p(4004),ue=p(3900),ee=p(5698),Q=p(8675);function se(re,C,T,D,M){return(P,J)=>{let Ee=T,ze=C,At=0;P.subscribe(new Z.Q(J,cn=>{const vn=At++;ze=Ee?re(ze,cn,vn):(Ee=!0,cn),D&&J.next(ze)},M&&(()=>{Ee&&J.next(ze),J.complete()})))}}function je(re,C){return(0,O.e)(se(re,C,arguments.length>=2,!0))}var nt=p(9300),He=p(262),de=p(4351);function Ce(re){return re<=0?()=>H.E:(0,O.e)((C,T)=>{let D=[];C.subscribe(new Z.Q(T,M=>{D.push(M),re{for(const M of D)T.next(M);T.complete()},void 0,()=>{D=null}))})}var Ze=p(8068),ot=p(6590),Ke=p(4671),Be=p(590),Tt=p(6099),Zt=p(8505),Sn=p(8746),Xt=p(8189),nn=p(9808);class mn{constructor(C,T){this.id=C,this.url=T}}class Jt extends mn{constructor(C,T,D="imperative",M=null){super(C,T),this.navigationTrigger=D,this.restoredState=M}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class et extends mn{constructor(C,T,D){super(C,T),this.urlAfterRedirects=D}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Pt extends mn{constructor(C,T,D){super(C,T),this.reason=D}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ot extends mn{constructor(C,T,D){super(C,T),this.error=D}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class bt extends mn{constructor(C,T,D,M){super(C,T),this.urlAfterRedirects=D,this.state=M}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dt extends mn{constructor(C,T,D,M){super(C,T),this.urlAfterRedirects=D,this.state=M}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ut extends mn{constructor(C,T,D,M,P){super(C,T),this.urlAfterRedirects=D,this.state=M,this.shouldActivate=P}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Je extends mn{constructor(C,T,D,M){super(C,T),this.urlAfterRedirects=D,this.state=M}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kt extends mn{constructor(C,T,D,M){super(C,T),this.urlAfterRedirects=D,this.state=M}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pt{constructor(C){this.route=C}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ft{constructor(C){this.route=C}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class tn{constructor(C){this.snapshot=C}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class un{constructor(C){this.snapshot=C}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wn{constructor(C){this.snapshot=C}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pn{constructor(C){this.snapshot=C}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kn{constructor(C,T,D){this.routerEvent=C,this.position=T,this.anchor=D}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Kt="primary";class rt{constructor(C){this.params=C||{}}has(C){return Object.prototype.hasOwnProperty.call(this.params,C)}get(C){if(this.has(C)){const T=this.params[C];return Array.isArray(T)?T[0]:T}return null}getAll(C){if(this.has(C)){const T=this.params[C];return Array.isArray(T)?T:[T]}return[]}get keys(){return Object.keys(this.params)}}function G(re){return new rt(re)}const _e="ngNavigationCancelingError";function he(re){const C=Error("NavigationCancelingError: "+re);return C[_e]=!0,C}function Ve(re,C,T){const D=T.path.split("/");if(D.length>re.length||"full"===T.pathMatch&&(C.hasChildren()||D.lengthD[P]===M)}return re===C}function sn(re){return Array.prototype.concat.apply([],re)}function Ln(re){return re.length>0?re[re.length-1]:null}function In(re,C){for(const T in re)re.hasOwnProperty(T)&&C(re[T],T)}function Gn(re){return(0,e.CqO)(re)?re:(0,e.QGY)(re)?(0,o.D)(Promise.resolve(re)):(0,u.of)(re)}const Jn={exact:function $t(re,C,T){if(!Qt(re.segments,C.segments)||!Ie(re.segments,C.segments,T)||re.numberOfChildren!==C.numberOfChildren)return!1;for(const D in C.children)if(!re.children[D]||!$t(re.children[D],C.children[D],T))return!1;return!0},subset:Se},Tn={exact:function zn(re,C){return Dt(re,C)},subset:function xe(re,C){return Object.keys(C).length<=Object.keys(re).length&&Object.keys(C).every(T=>Et(re[T],C[T]))},ignored:()=>!0};function ri(re,C,T){return Jn[T.paths](re.root,C.root,T.matrixParams)&&Tn[T.queryParams](re.queryParams,C.queryParams)&&!("exact"===T.fragment&&re.fragment!==C.fragment)}function Se(re,C,T){return j(re,C,C.segments,T)}function j(re,C,T,D){if(re.segments.length>T.length){const M=re.segments.slice(0,T.length);return!(!Qt(M,T)||C.hasChildren()||!Ie(M,T,D))}if(re.segments.length===T.length){if(!Qt(re.segments,T)||!Ie(re.segments,T,D))return!1;for(const M in C.children)if(!re.children[M]||!Se(re.children[M],C.children[M],D))return!1;return!0}{const M=T.slice(0,re.segments.length),P=T.slice(re.segments.length);return!!(Qt(re.segments,M)&&Ie(re.segments,M,D)&&re.children[Kt])&&j(re.children[Kt],C,P,D)}}function Ie(re,C,T){return C.every((D,M)=>Tn[T](re[M].parameters,D.parameters))}class vt{constructor(C,T,D){this.root=C,this.queryParams=T,this.fragment=D}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=G(this.queryParams)),this._queryParamMap}toString(){return Re.serialize(this)}}class Vt{constructor(C,T){this.segments=C,this.children=T,this.parent=null,In(T,(D,M)=>D.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return it(this)}}class Fn{constructor(C,T){this.path=C,this.parameters=T}get parameterMap(){return this._parameterMap||(this._parameterMap=G(this.parameters)),this._parameterMap}toString(){return ae(this)}}function Qt(re,C){return re.length===C.length&&re.every((T,D)=>T.path===C[D].path)}class ct{}class ve{parse(C){const T=new qe(C);return new vt(T.parseRootSegment(),T.parseQueryParams(),T.parseFragment())}serialize(C){const T=`/${Lt(C.root,!0)}`,D=function W(re){const C=Object.keys(re).map(T=>{const D=re[T];return Array.isArray(D)?D.map(M=>`${Un(T)}=${Un(M)}`).join("&"):`${Un(T)}=${Un(D)}`}).filter(T=>!!T);return C.length?`?${C.join("&")}`:""}(C.queryParams);return`${T}${D}${"string"==typeof C.fragment?`#${function Yn(re){return encodeURI(re)}(C.fragment)}`:""}`}}const Re=new ve;function it(re){return re.segments.map(C=>ae(C)).join("/")}function Lt(re,C){if(!re.hasChildren())return it(re);if(C){const T=re.children[Kt]?Lt(re.children[Kt],!1):"",D=[];return In(re.children,(M,P)=>{P!==Kt&&D.push(`${P}:${Lt(M,!1)}`)}),D.length>0?`${T}(${D.join("//")})`:T}{const T=function Cn(re,C){let T=[];return In(re.children,(D,M)=>{M===Kt&&(T=T.concat(C(D,M)))}),In(re.children,(D,M)=>{M!==Kt&&(T=T.concat(C(D,M)))}),T}(re,(D,M)=>M===Kt?[Lt(re.children[Kt],!1)]:[`${M}:${Lt(D,!1)}`]);return 1===Object.keys(re.children).length&&null!=re.children[Kt]?`${it(re)}/${T[0]}`:`${it(re)}/(${T.join("//")})`}}function an(re){return encodeURIComponent(re).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Un(re){return an(re).replace(/%3B/gi,";")}function Oi(re){return an(re).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Li(re){return decodeURIComponent(re)}function Gi(re){return Li(re.replace(/\+/g,"%20"))}function ae(re){return`${Oi(re.path)}${function Pe(re){return Object.keys(re).map(C=>`;${Oi(C)}=${Oi(re[C])}`).join("")}(re.parameters)}`}const Me=/^[^\/()?;=#]+/;function Y(re){const C=re.match(Me);return C?C[0]:""}const ce=/^[^=?&#]+/,_t=/^[^&#]+/;class qe{constructor(C){this.url=C,this.remaining=C}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Vt([],{}):new Vt([],this.parseChildren())}parseQueryParams(){const C={};if(this.consumeOptional("?"))do{this.parseQueryParam(C)}while(this.consumeOptional("&"));return C}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const C=[];for(this.peekStartsWith("(")||C.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),C.push(this.parseSegment());let T={};this.peekStartsWith("/(")&&(this.capture("/"),T=this.parseParens(!0));let D={};return this.peekStartsWith("(")&&(D=this.parseParens(!1)),(C.length>0||Object.keys(T).length>0)&&(D[Kt]=new Vt(C,T)),D}parseSegment(){const C=Y(this.remaining);if(""===C&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(C),new Fn(Li(C),this.parseMatrixParams())}parseMatrixParams(){const C={};for(;this.consumeOptional(";");)this.parseParam(C);return C}parseParam(C){const T=Y(this.remaining);if(!T)return;this.capture(T);let D="";if(this.consumeOptional("=")){const M=Y(this.remaining);M&&(D=M,this.capture(D))}C[Li(T)]=Li(D)}parseQueryParam(C){const T=function $e(re){const C=re.match(ce);return C?C[0]:""}(this.remaining);if(!T)return;this.capture(T);let D="";if(this.consumeOptional("=")){const J=function Ge(re){const C=re.match(_t);return C?C[0]:""}(this.remaining);J&&(D=J,this.capture(D))}const M=Gi(T),P=Gi(D);if(C.hasOwnProperty(M)){let J=C[M];Array.isArray(J)||(J=[J],C[M]=J),J.push(P)}else C[M]=P}parseParens(C){const T={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const D=Y(this.remaining),M=this.remaining[D.length];if("/"!==M&&")"!==M&&";"!==M)throw new Error(`Cannot parse url '${this.url}'`);let P;D.indexOf(":")>-1?(P=D.substr(0,D.indexOf(":")),this.capture(P),this.capture(":")):C&&(P=Kt);const J=this.parseChildren();T[P]=1===Object.keys(J).length?J[Kt]:new Vt([],J),this.consumeOptional("//")}return T}peekStartsWith(C){return this.remaining.startsWith(C)}consumeOptional(C){return!!this.peekStartsWith(C)&&(this.remaining=this.remaining.substring(C.length),!0)}capture(C){if(!this.consumeOptional(C))throw new Error(`Expected "${C}".`)}}class R{constructor(C){this._root=C}get root(){return this._root.value}parent(C){const T=this.pathFromRoot(C);return T.length>1?T[T.length-2]:null}children(C){const T=be(C,this._root);return T?T.children.map(D=>D.value):[]}firstChild(C){const T=be(C,this._root);return T&&T.children.length>0?T.children[0].value:null}siblings(C){const T=Ye(C,this._root);return T.length<2?[]:T[T.length-2].children.map(M=>M.value).filter(M=>M!==C)}pathFromRoot(C){return Ye(C,this._root).map(T=>T.value)}}function be(re,C){if(re===C.value)return C;for(const T of C.children){const D=be(re,T);if(D)return D}return null}function Ye(re,C){if(re===C.value)return[C];for(const T of C.children){const D=Ye(re,T);if(D.length)return D.unshift(C),D}return[]}class Ct{constructor(C,T){this.value=C,this.children=T}toString(){return`TreeNode(${this.value})`}}function _n(re){const C={};return re&&re.children.forEach(T=>C[T.value.outlet]=T),C}class wn extends R{constructor(C,T){super(C),this.snapshot=T,rr(this,C)}toString(){return this.snapshot.toString()}}function pi(re,C){const T=function xi(re,C){const J=new Ki([],{},{},"",{},Kt,C,null,re.root,-1,{});return new hr("",new Ct(J,[]))}(re,C),D=new d.X([new Fn("",{})]),M=new d.X({}),P=new d.X({}),J=new d.X({}),Ee=new d.X(""),ze=new Ri(D,M,J,Ee,P,Kt,C,T.root);return ze.snapshot=T.root,new wn(new Ct(ze,[]),T)}class Ri{constructor(C,T,D,M,P,J,Ee,ze){this.url=C,this.params=T,this.queryParams=D,this.fragment=M,this.data=P,this.outlet=J,this.component=Ee,this._futureSnapshot=ze}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ne.U)(C=>G(C)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ne.U)(C=>G(C)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function mi(re,C="emptyOnly"){const T=re.pathFromRoot;let D=0;if("always"!==C)for(D=T.length-1;D>=1;){const M=T[D],P=T[D-1];if(M.routeConfig&&""===M.routeConfig.path)D--;else{if(P.component)break;D--}}return function di(re){return re.reduce((C,T)=>({params:Object.assign(Object.assign({},C.params),T.params),data:Object.assign(Object.assign({},C.data),T.data),resolve:Object.assign(Object.assign({},C.resolve),T._resolvedData)}),{params:{},data:{},resolve:{}})}(T.slice(D))}class Ki{constructor(C,T,D,M,P,J,Ee,ze,At,cn,vn){this.url=C,this.params=T,this.queryParams=D,this.fragment=M,this.data=P,this.outlet=J,this.component=Ee,this.routeConfig=ze,this._urlSegment=At,this._lastPathIndex=cn,this._resolve=vn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=G(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=G(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(D=>D.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class hr extends R{constructor(C,T){super(T),this.url=C,rr(this,T)}toString(){return Ai(this._root)}}function rr(re,C){C.value._routerState=re,C.children.forEach(T=>rr(re,T))}function Ai(re){const C=re.children.length>0?` { ${re.children.map(Ai).join(", ")} } `:"";return`${re.value}${C}`}function Ei(re){if(re.snapshot){const C=re.snapshot,T=re._futureSnapshot;re.snapshot=T,Dt(C.queryParams,T.queryParams)||re.queryParams.next(T.queryParams),C.fragment!==T.fragment&&re.fragment.next(T.fragment),Dt(C.params,T.params)||re.params.next(T.params),function Mt(re,C){if(re.length!==C.length)return!1;for(let T=0;TDt(T.parameters,C[D].parameters))}(re.url,C.url);return T&&!(!re.parent!=!C.parent)&&(!re.parent||Tr(re.parent,C.parent))}function qi(re,C,T){if(T&&re.shouldReuseRoute(C.value,T.value.snapshot)){const D=T.value;D._futureSnapshot=C.value;const M=function Pr(re,C,T){return C.children.map(D=>{for(const M of T.children)if(re.shouldReuseRoute(D.value,M.value.snapshot))return qi(re,D,M);return qi(re,D)})}(re,C,T);return new Ct(D,M)}{if(re.shouldAttach(C.value)){const P=re.retrieve(C.value);if(null!==P){const J=P.route;return J.value._futureSnapshot=C.value,J.children=C.children.map(Ee=>qi(re,Ee)),J}}const D=function Dr(re){return new Ri(new d.X(re.url),new d.X(re.params),new d.X(re.queryParams),new d.X(re.fragment),new d.X(re.data),re.outlet,re.component,re)}(C.value),M=C.children.map(P=>qi(re,P));return new Ct(D,M)}}function fi(re){return"object"==typeof re&&null!=re&&!re.outlets&&!re.segmentPath}function Mr(re){return"object"==typeof re&&null!=re&&re.outlets}function jr(re,C,T,D,M){let P={};if(D&&In(D,(Ee,ze)=>{P[ze]=Array.isArray(Ee)?Ee.map(At=>`${At}`):`${Ee}`}),re===C)return new vt(T,P,M);const J=bo(re,C,T);return new vt(J,P,M)}function bo(re,C,T){const D={};return In(re.children,(M,P)=>{D[P]=M===C?T:bo(M,C,T)}),new Vt(re.segments,D)}class kr{constructor(C,T,D){if(this.isAbsolute=C,this.numberOfDoubleDots=T,this.commands=D,C&&D.length>0&&fi(D[0]))throw new Error("Root segment cannot have matrix parameters");const M=D.find(Mr);if(M&&M!==Ln(D))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Hr{constructor(C,T,D){this.segmentGroup=C,this.processChildren=T,this.index=D}}function uo(re,C,T){if(re||(re=new Vt([],{})),0===re.segments.length&&re.hasChildren())return nr(re,C,T);const D=function fo(re,C,T){let D=0,M=C;const P={match:!1,pathIndex:0,commandIndex:0};for(;M=T.length)return P;const J=re.segments[M],Ee=T[D];if(Mr(Ee))break;const ze=`${Ee}`,At=D0&&void 0===ze)break;if(ze&&At&&"object"==typeof At&&void 0===At.outlets){if(!Do(ze,At,J))return P;D+=2}else{if(!Do(ze,{},J))return P;D++}M++}return{match:!0,pathIndex:M,commandIndex:D}}(re,C,T),M=T.slice(D.commandIndex);if(D.match&&D.pathIndex{"string"==typeof P&&(P=[P]),null!==P&&(M[J]=uo(re.children[J],C,P))}),In(re.children,(P,J)=>{void 0===D[J]&&(M[J]=P)}),new Vt(re.segments,M)}}function vr(re,C,T){const D=re.segments.slice(0,C);let M=0;for(;M{"string"==typeof T&&(T=[T]),null!==T&&(C[D]=vr(new Vt([],{}),0,T))}),C}function To(re){const C={};return In(re,(T,D)=>C[D]=`${T}`),C}function Do(re,C,T){return re==T.path&&Dt(C,T.parameters)}class go{constructor(C,T,D,M){this.routeReuseStrategy=C,this.futureState=T,this.currState=D,this.forwardEvent=M}activate(C){const T=this.futureState._root,D=this.currState?this.currState._root:null;this.deactivateChildRoutes(T,D,C),Ei(this.futureState.root),this.activateChildRoutes(T,D,C)}deactivateChildRoutes(C,T,D){const M=_n(T);C.children.forEach(P=>{const J=P.value.outlet;this.deactivateRoutes(P,M[J],D),delete M[J]}),In(M,(P,J)=>{this.deactivateRouteAndItsChildren(P,D)})}deactivateRoutes(C,T,D){const M=C.value,P=T?T.value:null;if(M===P)if(M.component){const J=D.getContext(M.outlet);J&&this.deactivateChildRoutes(C,T,J.children)}else this.deactivateChildRoutes(C,T,D);else P&&this.deactivateRouteAndItsChildren(T,D)}deactivateRouteAndItsChildren(C,T){C.value.component&&this.routeReuseStrategy.shouldDetach(C.value.snapshot)?this.detachAndStoreRouteSubtree(C,T):this.deactivateRouteAndOutlet(C,T)}detachAndStoreRouteSubtree(C,T){const D=T.getContext(C.value.outlet),M=D&&C.value.component?D.children:T,P=_n(C);for(const J of Object.keys(P))this.deactivateRouteAndItsChildren(P[J],M);if(D&&D.outlet){const J=D.outlet.detach(),Ee=D.children.onOutletDeactivated();this.routeReuseStrategy.store(C.value.snapshot,{componentRef:J,route:C,contexts:Ee})}}deactivateRouteAndOutlet(C,T){const D=T.getContext(C.value.outlet),M=D&&C.value.component?D.children:T,P=_n(C);for(const J of Object.keys(P))this.deactivateRouteAndItsChildren(P[J],M);D&&D.outlet&&(D.outlet.deactivate(),D.children.onOutletDeactivated(),D.attachRef=null,D.resolver=null,D.route=null)}activateChildRoutes(C,T,D){const M=_n(T);C.children.forEach(P=>{this.activateRoutes(P,M[P.value.outlet],D),this.forwardEvent(new Pn(P.value.snapshot))}),C.children.length&&this.forwardEvent(new un(C.value.snapshot))}activateRoutes(C,T,D){const M=C.value,P=T?T.value:null;if(Ei(M),M===P)if(M.component){const J=D.getOrCreateContext(M.outlet);this.activateChildRoutes(C,T,J.children)}else this.activateChildRoutes(C,T,D);else if(M.component){const J=D.getOrCreateContext(M.outlet);if(this.routeReuseStrategy.shouldAttach(M.snapshot)){const Ee=this.routeReuseStrategy.retrieve(M.snapshot);this.routeReuseStrategy.store(M.snapshot,null),J.children.onOutletReAttached(Ee.contexts),J.attachRef=Ee.componentRef,J.route=Ee.route.value,J.outlet&&J.outlet.attach(Ee.componentRef,Ee.route.value),Ei(Ee.route.value),this.activateChildRoutes(C,null,J.children)}else{const Ee=function Yr(re){for(let C=re.parent;C;C=C.parent){const T=C.routeConfig;if(T&&T._loadedConfig)return T._loadedConfig;if(T&&T.component)return null}return null}(M.snapshot),ze=Ee?Ee.module.componentFactoryResolver:null;J.attachRef=null,J.route=M,J.resolver=ze,J.outlet&&J.outlet.activateWith(M,ze),this.activateChildRoutes(C,null,J.children)}}else this.activateChildRoutes(C,null,D)}}class Xr{constructor(C,T){this.routes=C,this.module=T}}function eo(re){return"function"==typeof re}function _o(re){return re instanceof vt}const mt=Symbol("INITIAL_VALUE");function wt(){return(0,ue.w)(re=>(0,c.a)(re.map(C=>C.pipe((0,ee.q)(1),(0,Q.O)(mt)))).pipe(je((C,T)=>{let D=!1;return T.reduce((M,P,J)=>M!==mt?M:(P===mt&&(D=!0),D||!1!==P&&J!==T.length-1&&!_o(P)?M:P),C)},mt),(0,nt.h)(C=>C!==mt),(0,ne.U)(C=>_o(C)?C:!0===C),(0,ee.q)(1)))}class Oe{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new tt,this.attachRef=null}}class tt{constructor(){this.contexts=new Map}onChildOutletCreated(C,T){const D=this.getOrCreateContext(C);D.outlet=T,this.contexts.set(C,D)}onChildOutletDestroyed(C){const T=this.getContext(C);T&&(T.outlet=null,T.attachRef=null)}onOutletDeactivated(){const C=this.contexts;return this.contexts=new Map,C}onOutletReAttached(C){this.contexts=C}getOrCreateContext(C){let T=this.getContext(C);return T||(T=new Oe,this.contexts.set(C,T)),T}getContext(C){return this.contexts.get(C)||null}}let en=(()=>{class re{constructor(T,D,M,P,J){this.parentContexts=T,this.location=D,this.resolver=M,this.changeDetector=J,this.activated=null,this._activatedRoute=null,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.name=P||Kt,T.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const T=this.parentContexts.getContext(this.name);T&&T.route&&(T.attachRef?this.attach(T.attachRef,T.route):this.activateWith(T.route,T.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const T=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(T.instance),T}attach(T,D){this.activated=T,this._activatedRoute=D,this.location.insert(T.hostView),this.attachEvents.emit(T.instance)}deactivate(){if(this.activated){const T=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(T)}}activateWith(T,D){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=T;const J=(D=D||this.resolver).resolveComponentFactory(T._futureSnapshot.routeConfig.component),Ee=this.parentContexts.getOrCreateContext(this.name).children,ze=new xn(T,Ee,this.location.injector);this.activated=this.location.createComponent(J,this.location.length,ze),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return re.\u0275fac=function(T){return new(T||re)(e.Y36(tt),e.Y36(e.s_b),e.Y36(e._Vd),e.$8M("name"),e.Y36(e.sBO))},re.\u0275dir=e.lG2({type:re,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),re})();class xn{constructor(C,T,D){this.route=C,this.childContexts=T,this.parent=D}get(C,T){return C===Ri?this.route:C===tt?this.childContexts:this.parent.get(C,T)}}let gi=(()=>{class re{}return re.\u0275fac=function(T){return new(T||re)},re.\u0275cmp=e.Xpm({type:re,selectors:[["ng-component"]],decls:1,vars:0,template:function(T,D){1&T&&e._UZ(0,"router-outlet")},directives:[en],encapsulation:2}),re})();function Fi(re,C=""){for(let T=0;Toi(D)===C);return T.push(...re.filter(D=>oi(D)!==C)),T}const mr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function or(re,C,T){var D;if(""===C.path)return"full"===C.pathMatch&&(re.hasChildren()||T.length>0)?Object.assign({},mr):{matched:!0,consumedSegments:[],remainingSegments:T,parameters:{},positionalParamSegments:{}};const P=(C.matcher||Ve)(T,re,C);if(!P)return Object.assign({},mr);const J={};In(P.posParams,(ze,At)=>{J[At]=ze.path});const Ee=P.consumed.length>0?Object.assign(Object.assign({},J),P.consumed[P.consumed.length-1].parameters):J;return{matched:!0,consumedSegments:P.consumed,remainingSegments:T.slice(P.consumed.length),parameters:Ee,positionalParamSegments:null!==(D=P.posParams)&&void 0!==D?D:{}}}function io(re,C,T,D,M="corrected"){if(T.length>0&&function we(re,C,T){return T.some(D=>Te(re,C,D)&&oi(D)!==Kt)}(re,T,D)){const J=new Vt(C,function $i(re,C,T,D){const M={};M[Kt]=D,D._sourceSegment=re,D._segmentIndexShift=C.length;for(const P of T)if(""===P.path&&oi(P)!==Kt){const J=new Vt([],{});J._sourceSegment=re,J._segmentIndexShift=C.length,M[oi(P)]=J}return M}(re,C,D,new Vt(T,re.children)));return J._sourceSegment=re,J._segmentIndexShift=C.length,{segmentGroup:J,slicedSegments:[]}}if(0===T.length&&function Xe(re,C,T){return T.some(D=>Te(re,C,D))}(re,T,D)){const J=new Vt(re.segments,function dr(re,C,T,D,M,P){const J={};for(const Ee of D)if(Te(re,T,Ee)&&!M[oi(Ee)]){const ze=new Vt([],{});ze._sourceSegment=re,ze._segmentIndexShift="legacy"===P?re.segments.length:C.length,J[oi(Ee)]=ze}return Object.assign(Object.assign({},M),J)}(re,C,T,D,re.children,M));return J._sourceSegment=re,J._segmentIndexShift=C.length,{segmentGroup:J,slicedSegments:T}}const P=new Vt(re.segments,re.children);return P._sourceSegment=re,P._segmentIndexShift=C.length,{segmentGroup:P,slicedSegments:T}}function Te(re,C,T){return(!(re.hasChildren()||C.length>0)||"full"!==T.pathMatch)&&""===T.path}function at(re,C,T,D){return!!(oi(re)===D||D!==Kt&&Te(C,T,re))&&("**"===re.path||or(C,re,T).matched)}function Yt(re,C,T){return 0===C.length&&!re.children[T]}class hn{constructor(C){this.segmentGroup=C||null}}class Mn{constructor(C){this.urlTree=C}}function Zn(re){return(0,g._)(new hn(re))}function ir(re){return(0,g._)(new Mn(re))}class Sr{constructor(C,T,D,M,P){this.configLoader=T,this.urlSerializer=D,this.urlTree=M,this.config=P,this.allowRedirects=!0,this.ngModule=C.get(e.h0i)}apply(){const C=io(this.urlTree.root,[],[],this.config).segmentGroup,T=new Vt(C.segments,C.children);return this.expandSegmentGroup(this.ngModule,this.config,T,Kt).pipe((0,ne.U)(P=>this.createUrlTree(lr(P),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,He.K)(P=>{if(P instanceof Mn)return this.allowRedirects=!1,this.match(P.urlTree);throw P instanceof hn?this.noMatchError(P):P}))}match(C){return this.expandSegmentGroup(this.ngModule,this.config,C.root,Kt).pipe((0,ne.U)(M=>this.createUrlTree(lr(M),C.queryParams,C.fragment))).pipe((0,He.K)(M=>{throw M instanceof hn?this.noMatchError(M):M}))}noMatchError(C){return new Error(`Cannot match any routes. URL Segment: '${C.segmentGroup}'`)}createUrlTree(C,T,D){const M=C.segments.length>0?new Vt([],{[Kt]:C}):C;return new vt(M,T,D)}expandSegmentGroup(C,T,D,M){return 0===D.segments.length&&D.hasChildren()?this.expandChildren(C,T,D).pipe((0,ne.U)(P=>new Vt([],P))):this.expandSegment(C,D,T,D.segments,M,!0)}expandChildren(C,T,D){const M=[];for(const P of Object.keys(D.children))"primary"===P?M.unshift(P):M.push(P);return(0,o.D)(M).pipe((0,de.b)(P=>{const J=D.children[P],Ee=yr(T,P);return this.expandSegmentGroup(C,Ee,J,P).pipe((0,ne.U)(ze=>({segment:ze,outlet:P})))}),je((P,J)=>(P[J.outlet]=J.segment,P),{}),function xt(re,C){const T=arguments.length>=2;return D=>D.pipe(re?(0,nt.h)((M,P)=>re(M,P,D)):Ke.y,Ce(1),T?(0,ot.d)(C):(0,Ze.T)(()=>new b.K))}())}expandSegment(C,T,D,M,P,J){return(0,o.D)(D).pipe((0,de.b)(Ee=>this.expandSegmentAgainstRoute(C,T,D,Ee,M,P,J).pipe((0,He.K)(At=>{if(At instanceof hn)return(0,u.of)(null);throw At}))),(0,Be.P)(Ee=>!!Ee),(0,He.K)((Ee,ze)=>{if(Ee instanceof b.K||"EmptyError"===Ee.name)return Yt(T,M,P)?(0,u.of)(new Vt([],{})):Zn(T);throw Ee}))}expandSegmentAgainstRoute(C,T,D,M,P,J,Ee){return at(M,T,P,J)?void 0===M.redirectTo?this.matchSegmentAgainstRoute(C,T,M,P,J):Ee&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(C,T,D,M,P,J):Zn(T):Zn(T)}expandSegmentAgainstRouteUsingRedirect(C,T,D,M,P,J){return"**"===M.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(C,D,M,J):this.expandRegularSegmentAgainstRouteUsingRedirect(C,T,D,M,P,J)}expandWildCardWithParamsAgainstRouteUsingRedirect(C,T,D,M){const P=this.applyRedirectCommands([],D.redirectTo,{});return D.redirectTo.startsWith("/")?ir(P):this.lineralizeSegments(D,P).pipe((0,Tt.z)(J=>{const Ee=new Vt(J,{});return this.expandSegment(C,Ee,T,J,M,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(C,T,D,M,P,J){const{matched:Ee,consumedSegments:ze,remainingSegments:At,positionalParamSegments:cn}=or(T,M,P);if(!Ee)return Zn(T);const vn=this.applyRedirectCommands(ze,M.redirectTo,cn);return M.redirectTo.startsWith("/")?ir(vn):this.lineralizeSegments(M,vn).pipe((0,Tt.z)(An=>this.expandSegment(C,T,D,An.concat(At),J,!1)))}matchSegmentAgainstRoute(C,T,D,M,P){if("**"===D.path)return D.loadChildren?(D._loadedConfig?(0,u.of)(D._loadedConfig):this.configLoader.load(C.injector,D)).pipe((0,ne.U)(vn=>(D._loadedConfig=vn,new Vt(M,{})))):(0,u.of)(new Vt(M,{}));const{matched:J,consumedSegments:Ee,remainingSegments:ze}=or(T,D,M);return J?this.getChildConfig(C,D,M).pipe((0,Tt.z)(cn=>{const vn=cn.module,An=cn.routes,{segmentGroup:Rn,slicedSegments:ai}=io(T,Ee,ze,An),Wi=new Vt(Rn.segments,Rn.children);if(0===ai.length&&Wi.hasChildren())return this.expandChildren(vn,An,Wi).pipe((0,ne.U)(Fo=>new Vt(Ee,Fo)));if(0===An.length&&0===ai.length)return(0,u.of)(new Vt(Ee,{}));const gr=oi(D)===P;return this.expandSegment(vn,Wi,An,ai,gr?Kt:P,!0).pipe((0,ne.U)(Si=>new Vt(Ee.concat(Si.segments),Si.children)))})):Zn(T)}getChildConfig(C,T,D){return T.children?(0,u.of)(new Xr(T.children,C)):T.loadChildren?void 0!==T._loadedConfig?(0,u.of)(T._loadedConfig):this.runCanLoadGuards(C.injector,T,D).pipe((0,Tt.z)(M=>M?this.configLoader.load(C.injector,T).pipe((0,ne.U)(P=>(T._loadedConfig=P,P))):function ui(re){return(0,g._)(he(`Cannot load children because the guard of the route "path: '${re.path}'" returned false`))}(T))):(0,u.of)(new Xr([],C))}runCanLoadGuards(C,T,D){const M=T.canLoad;if(!M||0===M.length)return(0,u.of)(!0);const P=M.map(J=>{const Ee=C.get(J);let ze;if(function Gr(re){return re&&eo(re.canLoad)}(Ee))ze=Ee.canLoad(T,D);else{if(!eo(Ee))throw new Error("Invalid CanLoad guard");ze=Ee(T,D)}return Gn(ze)});return(0,u.of)(P).pipe(wt(),(0,Zt.b)(J=>{if(!_o(J))return;const Ee=he(`Redirecting to "${this.urlSerializer.serialize(J)}"`);throw Ee.url=J,Ee}),(0,ne.U)(J=>!0===J))}lineralizeSegments(C,T){let D=[],M=T.root;for(;;){if(D=D.concat(M.segments),0===M.numberOfChildren)return(0,u.of)(D);if(M.numberOfChildren>1||!M.children[Kt])return(0,g._)(new Error(`Only absolute redirects can have named outlets. redirectTo: '${C.redirectTo}'`));M=M.children[Kt]}}applyRedirectCommands(C,T,D){return this.applyRedirectCreatreUrlTree(T,this.urlSerializer.parse(T),C,D)}applyRedirectCreatreUrlTree(C,T,D,M){const P=this.createSegmentGroup(C,T.root,D,M);return new vt(P,this.createQueryParams(T.queryParams,this.urlTree.queryParams),T.fragment)}createQueryParams(C,T){const D={};return In(C,(M,P)=>{if("string"==typeof M&&M.startsWith(":")){const Ee=M.substring(1);D[P]=T[Ee]}else D[P]=M}),D}createSegmentGroup(C,T,D,M){const P=this.createSegments(C,T.segments,D,M);let J={};return In(T.children,(Ee,ze)=>{J[ze]=this.createSegmentGroup(C,Ee,D,M)}),new Vt(P,J)}createSegments(C,T,D,M){return T.map(P=>P.path.startsWith(":")?this.findPosParam(C,P,M):this.findOrReturn(P,D))}findPosParam(C,T,D){const M=D[T.path.substring(1)];if(!M)throw new Error(`Cannot redirect to '${C}'. Cannot find '${T.path}'.`);return M}findOrReturn(C,T){let D=0;for(const M of T){if(M.path===C.path)return T.splice(D),M;D++}return C}}function lr(re){const C={};for(const D of Object.keys(re.children)){const P=lr(re.children[D]);(P.segments.length>0||P.hasChildren())&&(C[D]=P)}return function Xi(re){if(1===re.numberOfChildren&&re.children[Kt]){const C=re.children[Kt];return new Vt(re.segments.concat(C.segments),C.children)}return re}(new Vt(re.segments,C))}class me{constructor(C){this.path=C,this.route=this.path[this.path.length-1]}}class oe{constructor(C,T){this.component=C,this.route=T}}function lt(re,C,T){const D=re._root;return Cr(D,C?C._root:null,T,[D.value])}function ni(re,C,T){const D=function cr(re){if(!re)return null;for(let C=re.parent;C;C=C.parent){const T=C.routeConfig;if(T&&T._loadedConfig)return T._loadedConfig}return null}(C);return(D?D.module.injector:T).get(re)}function Cr(re,C,T,D,M={canDeactivateChecks:[],canActivateChecks:[]}){const P=_n(C);return re.children.forEach(J=>{(function Eo(re,C,T,D,M={canDeactivateChecks:[],canActivateChecks:[]}){const P=re.value,J=C?C.value:null,Ee=T?T.getContext(re.value.outlet):null;if(J&&P.routeConfig===J.routeConfig){const ze=function Zr(re,C,T){if("function"==typeof T)return T(re,C);switch(T){case"pathParamsChange":return!Qt(re.url,C.url);case"pathParamsOrQueryParamsChange":return!Qt(re.url,C.url)||!Dt(re.queryParams,C.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Tr(re,C)||!Dt(re.queryParams,C.queryParams);default:return!Tr(re,C)}}(J,P,P.routeConfig.runGuardsAndResolvers);ze?M.canActivateChecks.push(new me(D)):(P.data=J.data,P._resolvedData=J._resolvedData),Cr(re,C,P.component?Ee?Ee.children:null:T,D,M),ze&&Ee&&Ee.outlet&&Ee.outlet.isActivated&&M.canDeactivateChecks.push(new oe(Ee.outlet.component,J))}else J&&Po(C,Ee,M),M.canActivateChecks.push(new me(D)),Cr(re,null,P.component?Ee?Ee.children:null:T,D,M)})(J,P[J.value.outlet],T,D.concat([J.value]),M),delete P[J.value.outlet]}),In(P,(J,Ee)=>Po(J,T.getContext(Ee),M)),M}function Po(re,C,T){const D=_n(re),M=re.value;In(D,(P,J)=>{Po(P,M.component?C?C.children.getContext(J):null:C,T)}),T.canDeactivateChecks.push(new oe(M.component&&C&&C.outlet&&C.outlet.isActivated?C.outlet.component:null,M))}class sr{}function Jo(re){return new I.y(C=>C.error(re))}class Ko{constructor(C,T,D,M,P,J){this.rootComponentType=C,this.config=T,this.urlTree=D,this.url=M,this.paramsInheritanceStrategy=P,this.relativeLinkResolution=J}recognize(){const C=io(this.urlTree.root,[],[],this.config.filter(J=>void 0===J.redirectTo),this.relativeLinkResolution).segmentGroup,T=this.processSegmentGroup(this.config,C,Kt);if(null===T)return null;const D=new Ki([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Kt,this.rootComponentType,null,this.urlTree.root,-1,{}),M=new Ct(D,T),P=new hr(this.url,M);return this.inheritParamsAndData(P._root),P}inheritParamsAndData(C){const T=C.value,D=mi(T,this.paramsInheritanceStrategy);T.params=Object.freeze(D.params),T.data=Object.freeze(D.data),C.children.forEach(M=>this.inheritParamsAndData(M))}processSegmentGroup(C,T,D){return 0===T.segments.length&&T.hasChildren()?this.processChildren(C,T):this.processSegment(C,T,T.segments,D)}processChildren(C,T){const D=[];for(const P of Object.keys(T.children)){const J=T.children[P],Ee=yr(C,P),ze=this.processSegmentGroup(Ee,J,P);if(null===ze)return null;D.push(...ze)}const M=Ne(D);return function Qo(re){re.sort((C,T)=>C.value.outlet===Kt?-1:T.value.outlet===Kt?1:C.value.outlet.localeCompare(T.value.outlet))}(M),M}processSegment(C,T,D,M){for(const P of C){const J=this.processSegmentAgainstRoute(P,T,D,M);if(null!==J)return J}return Yt(T,D,M)?[]:null}processSegmentAgainstRoute(C,T,D,M){if(C.redirectTo||!at(C,T,D,M))return null;let P,J=[],Ee=[];if("**"===C.path){const Rn=D.length>0?Ln(D).parameters:{};P=new Ki(D,Rn,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,We(C),oi(C),C.component,C,B(T),fe(T)+D.length,gt(C))}else{const Rn=or(T,C,D);if(!Rn.matched)return null;J=Rn.consumedSegments,Ee=Rn.remainingSegments,P=new Ki(J,Rn.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,We(C),oi(C),C.component,C,B(T),fe(T)+J.length,gt(C))}const ze=function Vr(re){return re.children?re.children:re.loadChildren?re._loadedConfig.routes:[]}(C),{segmentGroup:At,slicedSegments:cn}=io(T,J,Ee,ze.filter(Rn=>void 0===Rn.redirectTo),this.relativeLinkResolution);if(0===cn.length&&At.hasChildren()){const Rn=this.processChildren(ze,At);return null===Rn?null:[new Ct(P,Rn)]}if(0===ze.length&&0===cn.length)return[new Ct(P,[])];const vn=oi(C)===M,An=this.processSegment(ze,At,cn,vn?Kt:M);return null===An?null:[new Ct(P,An)]}}function Oo(re){const C=re.value.routeConfig;return C&&""===C.path&&void 0===C.redirectTo}function Ne(re){const C=[],T=new Set;for(const D of re){if(!Oo(D)){C.push(D);continue}const M=C.find(P=>D.value.routeConfig===P.value.routeConfig);void 0!==M?(M.children.push(...D.children),T.add(M)):C.push(D)}for(const D of T){const M=Ne(D.children);C.push(new Ct(D.value,M))}return C.filter(D=>!T.has(D))}function B(re){let C=re;for(;C._sourceSegment;)C=C._sourceSegment;return C}function fe(re){let C=re,T=C._segmentIndexShift?C._segmentIndexShift:0;for(;C._sourceSegment;)C=C._sourceSegment,T+=C._segmentIndexShift?C._segmentIndexShift:0;return T-1}function We(re){return re.data||{}}function gt(re){return re.resolve||{}}function $n(re){return[...Object.keys(re),...Object.getOwnPropertySymbols(re)]}function Ci(re){return(0,ue.w)(C=>{const T=re(C);return T?(0,o.D)(T).pipe((0,ne.U)(()=>C)):(0,u.of)(C)})}class Ii extends class _i{shouldDetach(C){return!1}store(C,T){}shouldAttach(C){return!1}retrieve(C){return null}shouldReuseRoute(C,T){return C.routeConfig===T.routeConfig}}{}const er=new e.OlP("ROUTES");class Fr{constructor(C,T,D,M){this.injector=C,this.compiler=T,this.onLoadStartListener=D,this.onLoadEndListener=M}load(C,T){if(T._loader$)return T._loader$;this.onLoadStartListener&&this.onLoadStartListener(T);const M=this.loadModuleFactory(T.loadChildren).pipe((0,ne.U)(P=>{this.onLoadEndListener&&this.onLoadEndListener(T);const J=P.create(C);return new Xr(sn(J.injector.get(er,void 0,e.XFs.Self|e.XFs.Optional)).map(pr),J)}),(0,He.K)(P=>{throw T._loader$=void 0,P}));return T._loader$=new te(M,()=>new V.x).pipe(q()),T._loader$}loadModuleFactory(C){return Gn(C()).pipe((0,Tt.z)(T=>T instanceof e.YKP?(0,u.of)(T):(0,o.D)(this.compiler.compileModuleAsync(T))))}}class oo{shouldProcessUrl(C){return!0}extract(C){return C}merge(C,T){return C}}function Wr(re){throw re}function Lr(re,C,T){return C.parse("/")}function Nr(re,C){return(0,u.of)(null)}const Di={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},yo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let wr=(()=>{class re{constructor(T,D,M,P,J,Ee,ze){this.rootComponentType=T,this.urlSerializer=D,this.rootContexts=M,this.location=P,this.config=ze,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new V.x,this.errorHandler=Wr,this.malformedUriErrorHandler=Lr,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Nr,afterPreactivation:Nr},this.urlHandlingStrategy=new oo,this.routeReuseStrategy=new Ii,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=J.get(e.h0i),this.console=J.get(e.c2e);const vn=J.get(e.R0b);this.isNgZoneEnabled=vn instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(ze),this.currentUrlTree=function Hn(){return new vt(new Vt([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Fr(J,Ee,An=>this.triggerEvent(new pt(An)),An=>this.triggerEvent(new Ft(An))),this.routerState=pi(this.currentUrlTree,this.rootComponentType),this.transitions=new d.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var T;return null===(T=this.location.getState())||void 0===T?void 0:T.\u0275routerPageId}setupNavigations(T){const D=this.events;return T.pipe((0,nt.h)(M=>0!==M.id),(0,ne.U)(M=>Object.assign(Object.assign({},M),{extractedUrl:this.urlHandlingStrategy.extract(M.rawUrl)})),(0,ue.w)(M=>{let P=!1,J=!1;return(0,u.of)(M).pipe((0,Zt.b)(Ee=>{this.currentNavigation={id:Ee.id,initialUrl:Ee.currentRawUrl,extractedUrl:Ee.extractedUrl,trigger:Ee.source,extras:Ee.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,ue.w)(Ee=>{const ze=this.browserUrlTree.toString(),At=!this.navigated||Ee.extractedUrl.toString()!==ze||ze!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||At)&&this.urlHandlingStrategy.shouldProcessUrl(Ee.rawUrl))return Io(Ee.source)&&(this.browserUrlTree=Ee.extractedUrl),(0,u.of)(Ee).pipe((0,ue.w)(vn=>{const An=this.transitions.getValue();return D.next(new Jt(vn.id,this.serializeUrl(vn.extractedUrl),vn.source,vn.restoredState)),An!==this.transitions.getValue()?H.E:Promise.resolve(vn)}),function ke(re,C,T,D){return(0,ue.w)(M=>function ji(re,C,T,D,M){return new Sr(re,C,T,D,M).apply()}(re,C,T,M.extractedUrl,D).pipe((0,ne.U)(P=>Object.assign(Object.assign({},M),{urlAfterRedirects:P}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Zt.b)(vn=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:vn.urlAfterRedirects})}),function Rt(re,C,T,D,M){return(0,Tt.z)(P=>function Vo(re,C,T,D,M="emptyOnly",P="legacy"){try{const J=new Ko(re,C,T,D,M,P).recognize();return null===J?Jo(new sr):(0,u.of)(J)}catch(J){return Jo(J)}}(re,C,P.urlAfterRedirects,T(P.urlAfterRedirects),D,M).pipe((0,ne.U)(J=>Object.assign(Object.assign({},P),{targetSnapshot:J}))))}(this.rootComponentType,this.config,vn=>this.serializeUrl(vn),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Zt.b)(vn=>{if("eager"===this.urlUpdateStrategy){if(!vn.extras.skipLocationChange){const Rn=this.urlHandlingStrategy.merge(vn.urlAfterRedirects,vn.rawUrl);this.setBrowserUrl(Rn,vn)}this.browserUrlTree=vn.urlAfterRedirects}const An=new bt(vn.id,this.serializeUrl(vn.extractedUrl),this.serializeUrl(vn.urlAfterRedirects),vn.targetSnapshot);D.next(An)}));if(At&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:An,extractedUrl:Rn,source:ai,restoredState:Wi,extras:gr}=Ee,tr=new Jt(An,this.serializeUrl(Rn),ai,Wi);D.next(tr);const Si=pi(Rn,this.rootComponentType).snapshot;return(0,u.of)(Object.assign(Object.assign({},Ee),{targetSnapshot:Si,urlAfterRedirects:Rn,extras:Object.assign(Object.assign({},gr),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=Ee.rawUrl,Ee.resolve(null),H.E}),Ci(Ee=>{const{targetSnapshot:ze,id:At,extractedUrl:cn,rawUrl:vn,extras:{skipLocationChange:An,replaceUrl:Rn}}=Ee;return this.hooks.beforePreactivation(ze,{navigationId:At,appliedUrlTree:cn,rawUrlTree:vn,skipLocationChange:!!An,replaceUrl:!!Rn})}),(0,Zt.b)(Ee=>{const ze=new dt(Ee.id,this.serializeUrl(Ee.extractedUrl),this.serializeUrl(Ee.urlAfterRedirects),Ee.targetSnapshot);this.triggerEvent(ze)}),(0,ne.U)(Ee=>Object.assign(Object.assign({},Ee),{guards:lt(Ee.targetSnapshot,Ee.currentSnapshot,this.rootContexts)})),function On(re,C){return(0,Tt.z)(T=>{const{targetSnapshot:D,currentSnapshot:M,guards:{canActivateChecks:P,canDeactivateChecks:J}}=T;return 0===J.length&&0===P.length?(0,u.of)(Object.assign(Object.assign({},T),{guardsResult:!0})):function Ni(re,C,T,D){return(0,o.D)(re).pipe((0,Tt.z)(M=>function Bo(re,C,T,D,M){const P=C&&C.routeConfig?C.routeConfig.canDeactivate:null;if(!P||0===P.length)return(0,u.of)(!0);const J=P.map(Ee=>{const ze=ni(Ee,C,M);let At;if(function vo(re){return re&&eo(re.canDeactivate)}(ze))At=Gn(ze.canDeactivate(re,C,T,D));else{if(!eo(ze))throw new Error("Invalid CanDeactivate guard");At=Gn(ze(re,C,T,D))}return At.pipe((0,Be.P)())});return(0,u.of)(J).pipe(wt())}(M.component,M.route,T,C,D)),(0,Be.P)(M=>!0!==M,!0))}(J,D,M,re).pipe((0,Tt.z)(Ee=>Ee&&function Mo(re){return"boolean"==typeof re}(Ee)?function br(re,C,T,D){return(0,o.D)(C).pipe((0,de.b)(M=>(0,k.z)(function No(re,C){return null!==re&&C&&C(new tn(re)),(0,u.of)(!0)}(M.route.parent,D),function fr(re,C){return null!==re&&C&&C(new Wn(re)),(0,u.of)(!0)}(M.route,D),function ro(re,C,T){const D=C[C.length-1],P=C.slice(0,C.length-1).reverse().map(J=>function fn(re){const C=re.routeConfig?re.routeConfig.canActivateChild:null;return C&&0!==C.length?{node:re,guards:C}:null}(J)).filter(J=>null!==J).map(J=>(0,A.P)(()=>{const Ee=J.guards.map(ze=>{const At=ni(ze,J.node,T);let cn;if(function to(re){return re&&eo(re.canActivateChild)}(At))cn=Gn(At.canActivateChild(D,re));else{if(!eo(At))throw new Error("Invalid CanActivateChild guard");cn=Gn(At(D,re))}return cn.pipe((0,Be.P)())});return(0,u.of)(Ee).pipe(wt())}));return(0,u.of)(P).pipe(wt())}(re,M.path,T),function ur(re,C,T){const D=C.routeConfig?C.routeConfig.canActivate:null;if(!D||0===D.length)return(0,u.of)(!0);const M=D.map(P=>(0,A.P)(()=>{const J=ni(P,C,T);let Ee;if(function Ao(re){return re&&eo(re.canActivate)}(J))Ee=Gn(J.canActivate(C,re));else{if(!eo(J))throw new Error("Invalid CanActivate guard");Ee=Gn(J(C,re))}return Ee.pipe((0,Be.P)())}));return(0,u.of)(M).pipe(wt())}(re,M.route,T))),(0,Be.P)(M=>!0!==M,!0))}(D,P,re,C):(0,u.of)(Ee)),(0,ne.U)(Ee=>Object.assign(Object.assign({},T),{guardsResult:Ee})))})}(this.ngModule.injector,Ee=>this.triggerEvent(Ee)),(0,Zt.b)(Ee=>{if(_o(Ee.guardsResult)){const At=he(`Redirecting to "${this.serializeUrl(Ee.guardsResult)}"`);throw At.url=Ee.guardsResult,At}const ze=new ut(Ee.id,this.serializeUrl(Ee.extractedUrl),this.serializeUrl(Ee.urlAfterRedirects),Ee.targetSnapshot,!!Ee.guardsResult);this.triggerEvent(ze)}),(0,nt.h)(Ee=>!!Ee.guardsResult||(this.restoreHistory(Ee),this.cancelNavigationTransition(Ee,""),!1)),Ci(Ee=>{if(Ee.guards.canActivateChecks.length)return(0,u.of)(Ee).pipe((0,Zt.b)(ze=>{const At=new Je(ze.id,this.serializeUrl(ze.extractedUrl),this.serializeUrl(ze.urlAfterRedirects),ze.targetSnapshot);this.triggerEvent(At)}),(0,ue.w)(ze=>{let At=!1;return(0,u.of)(ze).pipe(function Ut(re,C){return(0,Tt.z)(T=>{const{targetSnapshot:D,guards:{canActivateChecks:M}}=T;if(!M.length)return(0,u.of)(T);let P=0;return(0,o.D)(M).pipe((0,de.b)(J=>function rn(re,C,T,D){return function Dn(re,C,T,D){const M=$n(re);if(0===M.length)return(0,u.of)({});const P={};return(0,o.D)(M).pipe((0,Tt.z)(J=>function hi(re,C,T,D){const M=ni(re,C,D);return Gn(M.resolve?M.resolve(C,T):M(C,T))}(re[J],C,T,D).pipe((0,Zt.b)(Ee=>{P[J]=Ee}))),Ce(1),(0,Tt.z)(()=>$n(P).length===M.length?(0,u.of)(P):H.E))}(re._resolve,re,C,D).pipe((0,ne.U)(P=>(re._resolvedData=P,re.data=Object.assign(Object.assign({},re.data),mi(re,T).resolve),null)))}(J.route,D,re,C)),(0,Zt.b)(()=>P++),Ce(1),(0,Tt.z)(J=>P===M.length?(0,u.of)(T):H.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Zt.b)({next:()=>At=!0,complete:()=>{At||(this.restoreHistory(ze),this.cancelNavigationTransition(ze,"At least one route resolver didn't emit any value."))}}))}),(0,Zt.b)(ze=>{const At=new kt(ze.id,this.serializeUrl(ze.extractedUrl),this.serializeUrl(ze.urlAfterRedirects),ze.targetSnapshot);this.triggerEvent(At)}))}),Ci(Ee=>{const{targetSnapshot:ze,id:At,extractedUrl:cn,rawUrl:vn,extras:{skipLocationChange:An,replaceUrl:Rn}}=Ee;return this.hooks.afterPreactivation(ze,{navigationId:At,appliedUrlTree:cn,rawUrlTree:vn,skipLocationChange:!!An,replaceUrl:!!Rn})}),(0,ne.U)(Ee=>{const ze=function Pi(re,C,T){const D=qi(re,C._root,T?T._root:void 0);return new wn(D,C)}(this.routeReuseStrategy,Ee.targetSnapshot,Ee.currentRouterState);return Object.assign(Object.assign({},Ee),{targetRouterState:ze})}),(0,Zt.b)(Ee=>{this.currentUrlTree=Ee.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(Ee.urlAfterRedirects,Ee.rawUrl),this.routerState=Ee.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Ee.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Ee),this.browserUrlTree=Ee.urlAfterRedirects)}),((re,C,T)=>(0,ne.U)(D=>(new go(C,D.targetRouterState,D.currentRouterState,T).activate(re),D)))(this.rootContexts,this.routeReuseStrategy,Ee=>this.triggerEvent(Ee)),(0,Zt.b)({next(){P=!0},complete(){P=!0}}),(0,Sn.x)(()=>{var Ee;P||J||this.cancelNavigationTransition(M,`Navigation ID ${M.id} is not equal to the current navigation id ${this.navigationId}`),(null===(Ee=this.currentNavigation)||void 0===Ee?void 0:Ee.id)===M.id&&(this.currentNavigation=null)}),(0,He.K)(Ee=>{if(J=!0,function De(re){return re&&re[_e]}(Ee)){const ze=_o(Ee.url);ze||(this.navigated=!0,this.restoreHistory(M,!0));const At=new Pt(M.id,this.serializeUrl(M.extractedUrl),Ee.message);D.next(At),ze?setTimeout(()=>{const cn=this.urlHandlingStrategy.merge(Ee.url,this.rawUrlTree),vn={skipLocationChange:M.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Io(M.source)};this.scheduleNavigation(cn,"imperative",null,vn,{resolve:M.resolve,reject:M.reject,promise:M.promise})},0):M.resolve(!1)}else{this.restoreHistory(M,!0);const ze=new Ot(M.id,this.serializeUrl(M.extractedUrl),Ee);D.next(ze);try{M.resolve(this.errorHandler(Ee))}catch(At){M.reject(At)}}return H.E}))}))}resetRootComponentType(T){this.rootComponentType=T,this.routerState.root.component=this.rootComponentType}setTransition(T){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),T))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(T=>{const D="popstate"===T.type?"popstate":"hashchange";"popstate"===D&&setTimeout(()=>{var M;const P={replaceUrl:!0},J=(null===(M=T.state)||void 0===M?void 0:M.navigationId)?T.state:null;if(J){const ze=Object.assign({},J);delete ze.navigationId,delete ze.\u0275routerPageId,0!==Object.keys(ze).length&&(P.state=ze)}const Ee=this.parseUrl(T.url);this.scheduleNavigation(Ee,D,J,P)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(T){this.events.next(T)}resetConfig(T){Fi(T),this.config=T.map(pr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(T,D={}){const{relativeTo:M,queryParams:P,fragment:J,queryParamsHandling:Ee,preserveFragment:ze}=D,At=M||this.routerState.root,cn=ze?this.currentUrlTree.fragment:J;let vn=null;switch(Ee){case"merge":vn=Object.assign(Object.assign({},this.currentUrlTree.queryParams),P);break;case"preserve":vn=this.currentUrlTree.queryParams;break;default:vn=P||null}return null!==vn&&(vn=this.removeEmptyProps(vn)),function Ji(re,C,T,D,M){if(0===T.length)return jr(C.root,C.root,C.root,D,M);const P=function Ho(re){if("string"==typeof re[0]&&1===re.length&&"/"===re[0])return new kr(!0,0,re);let C=0,T=!1;const D=re.reduce((M,P,J)=>{if("object"==typeof P&&null!=P){if(P.outlets){const Ee={};return In(P.outlets,(ze,At)=>{Ee[At]="string"==typeof ze?ze.split("/"):ze}),[...M,{outlets:Ee}]}if(P.segmentPath)return[...M,P.segmentPath]}return"string"!=typeof P?[...M,P]:0===J?(P.split("/").forEach((Ee,ze)=>{0==ze&&"."===Ee||(0==ze&&""===Ee?T=!0:".."===Ee?C++:""!=Ee&&M.push(Ee))}),M):[...M,P]},[]);return new kr(T,C,D)}(T);if(P.toRoot())return jr(C.root,C.root,new Vt([],{}),D,M);const J=function Ur(re,C,T){if(re.isAbsolute)return new Hr(C.root,!0,0);if(-1===T.snapshot._lastPathIndex){const P=T.snapshot._urlSegment;return new Hr(P,P===C.root,0)}const D=fi(re.commands[0])?0:1;return function Qr(re,C,T){let D=re,M=C,P=T;for(;P>M;){if(P-=M,D=D.parent,!D)throw new Error("Invalid number of '../'");M=D.segments.length}return new Hr(D,!1,M-P)}(T.snapshot._urlSegment,T.snapshot._lastPathIndex+D,re.numberOfDoubleDots)}(P,C,re),Ee=J.processChildren?nr(J.segmentGroup,J.index,P.commands):uo(J.segmentGroup,J.index,P.commands);return jr(C.root,J.segmentGroup,Ee,D,M)}(At,this.currentUrlTree,T,vn,null!=cn?cn:null)}navigateByUrl(T,D={skipLocationChange:!1}){const M=_o(T)?T:this.parseUrl(T),P=this.urlHandlingStrategy.merge(M,this.rawUrlTree);return this.scheduleNavigation(P,"imperative",null,D)}navigate(T,D={skipLocationChange:!1}){return function Or(re){for(let C=0;C{const P=T[M];return null!=P&&(D[M]=P),D},{})}processNavigations(){this.navigations.subscribe(T=>{this.navigated=!0,this.lastSuccessfulId=T.id,this.currentPageId=T.targetPageId,this.events.next(new et(T.id,this.serializeUrl(T.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,T.resolve(!0)},T=>{this.console.warn(`Unhandled Navigation Error: ${T}`)})}scheduleNavigation(T,D,M,P,J){var Ee,ze;if(this.disposed)return Promise.resolve(!1);let At,cn,vn;J?(At=J.resolve,cn=J.reject,vn=J.promise):vn=new Promise((ai,Wi)=>{At=ai,cn=Wi});const An=++this.navigationId;let Rn;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(M=this.location.getState()),Rn=M&&M.\u0275routerPageId?M.\u0275routerPageId:P.replaceUrl||P.skipLocationChange?null!==(Ee=this.browserPageId)&&void 0!==Ee?Ee:0:(null!==(ze=this.browserPageId)&&void 0!==ze?ze:0)+1):Rn=0,this.setTransition({id:An,targetPageId:Rn,source:D,restoredState:M,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:T,extras:P,resolve:At,reject:cn,promise:vn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),vn.catch(ai=>Promise.reject(ai))}setBrowserUrl(T,D){const M=this.urlSerializer.serialize(T),P=Object.assign(Object.assign({},D.extras.state),this.generateNgRouterState(D.id,D.targetPageId));this.location.isCurrentPathEqualTo(M)||D.extras.replaceUrl?this.location.replaceState(M,"",P):this.location.go(M,"",P)}restoreHistory(T,D=!1){var M,P;if("computed"===this.canceledNavigationResolution){const J=this.currentPageId-T.targetPageId;"popstate"!==T.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(M=this.currentNavigation)||void 0===M?void 0:M.finalUrl)||0===J?this.currentUrlTree===(null===(P=this.currentNavigation)||void 0===P?void 0:P.finalUrl)&&0===J&&(this.resetState(T),this.browserUrlTree=T.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(J)}else"replace"===this.canceledNavigationResolution&&(D&&this.resetState(T),this.resetUrlToCurrentUrlTree())}resetState(T){this.routerState=T.currentRouterState,this.currentUrlTree=T.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,T.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(T,D){const M=new Pt(T.id,this.serializeUrl(T.extractedUrl),D);this.triggerEvent(M),T.resolve(!1)}generateNgRouterState(T,D){return"computed"===this.canceledNavigationResolution?{navigationId:T,\u0275routerPageId:D}:{navigationId:T}}}return re.\u0275fac=function(T){e.$Z()},re.\u0275prov=e.Yz7({token:re,factory:re.\u0275fac}),re})();function Io(re){return"imperative"!==re}let ho=(()=>{class re{constructor(T,D,M,P,J){this.router=T,this.route=D,this.tabIndexAttribute=M,this.renderer=P,this.el=J,this.commands=null,this.onChanges=new V.x,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(T){if(null!=this.tabIndexAttribute)return;const D=this.renderer,M=this.el.nativeElement;null!==T?D.setAttribute(M,"tabindex",T):D.removeAttribute(M,"tabindex")}ngOnChanges(T){this.onChanges.next(this)}set routerLink(T){null!=T?(this.commands=Array.isArray(T)?T:[T],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const T={skipLocationChange:lo(this.skipLocationChange),replaceUrl:lo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,T),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:lo(this.preserveFragment)})}}return re.\u0275fac=function(T){return new(T||re)(e.Y36(wr),e.Y36(Ri),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq))},re.\u0275dir=e.lG2({type:re,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(T,D){1&T&&e.NdJ("click",function(){return D.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),re})(),So=(()=>{class re{constructor(T,D,M){this.router=T,this.route=D,this.locationStrategy=M,this.commands=null,this.href=null,this.onChanges=new V.x,this.subscription=T.events.subscribe(P=>{P instanceof et&&this.updateTargetUrlAndHref()})}set routerLink(T){this.commands=null!=T?Array.isArray(T)?T:[T]:null}ngOnChanges(T){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(T,D,M,P,J){if(0!==T||D||M||P||J||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const Ee={skipLocationChange:lo(this.skipLocationChange),replaceUrl:lo(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,Ee),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:lo(this.preserveFragment)})}}return re.\u0275fac=function(T){return new(T||re)(e.Y36(wr),e.Y36(Ri),e.Y36(nn.S$))},re.\u0275dir=e.lG2({type:re,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(T,D){1&T&&e.NdJ("click",function(P){return D.onClick(P.button,P.ctrlKey,P.shiftKey,P.altKey,P.metaKey)}),2&T&&e.uIk("target",D.target)("href",D.href,e.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[e.TTD]}),re})();function lo(re){return""===re||!!re}let Wo=(()=>{class re{constructor(T,D,M,P,J,Ee){this.router=T,this.element=D,this.renderer=M,this.cdr=P,this.link=J,this.linkWithHref=Ee,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.vpe,this.routerEventsSubscription=T.events.subscribe(ze=>{ze instanceof et&&this.update()})}ngAfterContentInit(){(0,u.of)(this.links.changes,this.linksWithHrefs.changes,(0,u.of)(null)).pipe((0,Xt.J)()).subscribe(T=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var T;null===(T=this.linkInputChangesSubscription)||void 0===T||T.unsubscribe();const D=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(M=>!!M).map(M=>M.onChanges);this.linkInputChangesSubscription=(0,o.D)(D).pipe((0,Xt.J)()).subscribe(M=>{this.isActive!==this.isLinkActive(this.router)(M)&&this.update()})}set routerLinkActive(T){const D=Array.isArray(T)?T:T.split(" ");this.classes=D.filter(M=>!!M)}ngOnChanges(T){this.update()}ngOnDestroy(){var T;this.routerEventsSubscription.unsubscribe(),null===(T=this.linkInputChangesSubscription)||void 0===T||T.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const T=this.hasActiveLinks();this.isActive!==T&&(this.isActive=T,this.cdr.markForCheck(),this.classes.forEach(D=>{T?this.renderer.addClass(this.element.nativeElement,D):this.renderer.removeClass(this.element.nativeElement,D)}),this.isActiveChange.emit(T))})}isLinkActive(T){const D=function ci(re){return!!re.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return M=>!!M.urlTree&&T.isActive(M.urlTree,D)}hasActiveLinks(){const T=this.isLinkActive(this.router);return this.link&&T(this.link)||this.linkWithHref&&T(this.linkWithHref)||this.links.some(T)||this.linksWithHrefs.some(T)}}return re.\u0275fac=function(T){return new(T||re)(e.Y36(wr),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(ho,8),e.Y36(So,8))},re.\u0275dir=e.lG2({type:re,selectors:[["","routerLinkActive",""]],contentQueries:function(T,D,M){if(1&T&&(e.Suo(M,ho,5),e.Suo(M,So,5)),2&T){let P;e.iGM(P=e.CRH())&&(D.links=P),e.iGM(P=e.CRH())&&(D.linksWithHrefs=P)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[e.TTD]}),re})();class vi{}class Vi{preload(C,T){return(0,u.of)(null)}}let pe=(()=>{class re{constructor(T,D,M,P){this.router=T,this.injector=M,this.preloadingStrategy=P,this.loader=new Fr(M,D,ze=>T.triggerEvent(new pt(ze)),ze=>T.triggerEvent(new Ft(ze)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,nt.h)(T=>T instanceof et),(0,de.b)(()=>this.preload())).subscribe(()=>{})}preload(){const T=this.injector.get(e.h0i);return this.processRoutes(T,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(T,D){const M=[];for(const P of D)if(P.loadChildren&&!P.canLoad&&P._loadedConfig){const J=P._loadedConfig;M.push(this.processRoutes(J.module,J.routes))}else P.loadChildren&&!P.canLoad?M.push(this.preloadConfig(T,P)):P.children&&M.push(this.processRoutes(T,P.children));return(0,o.D)(M).pipe((0,Xt.J)(),(0,ne.U)(P=>{}))}preloadConfig(T,D){return this.preloadingStrategy.preload(D,()=>(D._loadedConfig?(0,u.of)(D._loadedConfig):this.loader.load(T.injector,D)).pipe((0,Tt.z)(P=>(D._loadedConfig=P,this.processRoutes(P.module,P.routes)))))}}return re.\u0275fac=function(T){return new(T||re)(e.LFG(wr),e.LFG(e.Sil),e.LFG(e.zs3),e.LFG(vi))},re.\u0275prov=e.Yz7({token:re,factory:re.\u0275fac}),re})(),ie=(()=>{class re{constructor(T,D,M={}){this.router=T,this.viewportScroller=D,this.options=M,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},M.scrollPositionRestoration=M.scrollPositionRestoration||"disabled",M.anchorScrolling=M.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(T=>{T instanceof Jt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=T.navigationTrigger,this.restoredId=T.restoredState?T.restoredState.navigationId:0):T instanceof et&&(this.lastId=T.id,this.scheduleScrollEvent(T,this.router.parseUrl(T.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(T=>{T instanceof kn&&(T.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(T.position):T.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(T.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(T,D){this.router.triggerEvent(new kn(T,"popstate"===this.lastSource?this.store[this.restoredId]:null,D))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return re.\u0275fac=function(T){e.$Z()},re.\u0275prov=e.Yz7({token:re,factory:re.\u0275fac}),re})();const st=new e.OlP("ROUTER_CONFIGURATION"),yt=new e.OlP("ROUTER_FORROOT_GUARD"),Nt=[nn.Ye,{provide:ct,useClass:ve},{provide:wr,useFactory:function co(re,C,T,D,M,P,J={},Ee,ze){const At=new wr(null,re,C,T,D,M,sn(P));return Ee&&(At.urlHandlingStrategy=Ee),ze&&(At.routeReuseStrategy=ze),function qr(re,C){re.errorHandler&&(C.errorHandler=re.errorHandler),re.malformedUriErrorHandler&&(C.malformedUriErrorHandler=re.malformedUriErrorHandler),re.onSameUrlNavigation&&(C.onSameUrlNavigation=re.onSameUrlNavigation),re.paramsInheritanceStrategy&&(C.paramsInheritanceStrategy=re.paramsInheritanceStrategy),re.relativeLinkResolution&&(C.relativeLinkResolution=re.relativeLinkResolution),re.urlUpdateStrategy&&(C.urlUpdateStrategy=re.urlUpdateStrategy),re.canceledNavigationResolution&&(C.canceledNavigationResolution=re.canceledNavigationResolution)}(J,At),J.enableTracing&&At.events.subscribe(cn=>{var vn,An;null===(vn=console.group)||void 0===vn||vn.call(console,`Router Event: ${cn.constructor.name}`),console.log(cn.toString()),console.log(cn),null===(An=console.groupEnd)||void 0===An||An.call(console)}),At},deps:[ct,tt,nn.Ye,e.zs3,e.Sil,er,st,[class Ar{},new e.FiY],[class Ui{},new e.FiY]]},tt,{provide:Ri,useFactory:function Xo(re){return re.routerState.root},deps:[wr]},pe,Vi,class bi{preload(C,T){return T().pipe((0,He.K)(()=>(0,u.of)(null)))}},{provide:st,useValue:{enableTracing:!1}}];function gn(){return new e.PXZ("Router",wr)}let pn=(()=>{class re{constructor(T,D){}static forRoot(T,D){return{ngModule:re,providers:[Nt,Mi(T),{provide:yt,useFactory:wi,deps:[[wr,new e.FiY,new e.tp0]]},{provide:st,useValue:D||{}},{provide:nn.S$,useFactory:ii,deps:[nn.lw,[new e.tBr(nn.mr),new e.FiY],st]},{provide:ie,useFactory:Vn,deps:[wr,nn.EM,st]},{provide:vi,useExisting:D&&D.preloadingStrategy?D.preloadingStrategy:Vi},{provide:e.PXZ,multi:!0,useFactory:gn},[so,{provide:e.ip1,multi:!0,useFactory:is,deps:[so]},{provide:zo,useFactory:Ks,deps:[so]},{provide:e.tb,multi:!0,useExisting:zo}]]}}static forChild(T){return{ngModule:re,providers:[Mi(T)]}}}return re.\u0275fac=function(T){return new(T||re)(e.LFG(yt,8),e.LFG(wr,8))},re.\u0275mod=e.oAB({type:re}),re.\u0275inj=e.cJS({}),re})();function Vn(re,C,T){return T.scrollOffset&&C.setOffset(T.scrollOffset),new ie(re,C,T)}function ii(re,C,T={}){return T.useHash?new nn.Do(re,C):new nn.b0(re,C)}function wi(re){return"guarded"}function Mi(re){return[{provide:e.deG,multi:!0,useValue:re},{provide:er,multi:!0,useValue:re}]}let so=(()=>{class re{constructor(T){this.injector=T,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new V.x}appInitializer(){return this.injector.get(nn.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let D=null;const M=new Promise(Ee=>D=Ee),P=this.injector.get(wr),J=this.injector.get(st);return"disabled"===J.initialNavigation?(P.setUpLocationChangeListener(),D(!0)):"enabled"===J.initialNavigation||"enabledBlocking"===J.initialNavigation?(P.hooks.afterPreactivation=()=>this.initNavigation?(0,u.of)(null):(this.initNavigation=!0,D(!0),this.resultOfPreactivationDone),P.initialNavigation()):D(!0),M})}bootstrapListener(T){const D=this.injector.get(st),M=this.injector.get(pe),P=this.injector.get(ie),J=this.injector.get(wr),Ee=this.injector.get(e.z2F);T===Ee.components[0]&&(("enabledNonBlocking"===D.initialNavigation||void 0===D.initialNavigation)&&J.initialNavigation(),M.setUpPreloading(),P.init(),J.resetRootComponentType(Ee.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return re.\u0275fac=function(T){return new(T||re)(e.LFG(e.zs3))},re.\u0275prov=e.Yz7({token:re,factory:re.\u0275fac}),re})();function is(re){return re.appInitializer.bind(re)}function Ks(re){return re.bootstrapListener.bind(re)}const zo=new e.OlP("Router Initializer")},8093:(X,N,p)=>{"use strict";p.d(N,{$4e:()=>Yt,$j1:()=>Uo,$nf:()=>Pe,$wy:()=>Pn,ACA:()=>Et,AW3:()=>Ao,AXA:()=>ir,BTu:()=>Ii,C2Q:()=>pl,CJG:()=>Vi,CYn:()=>kr,CZB:()=>un,Cdg:()=>bo,Cjp:()=>Mo,D0t:()=>Je,DBB:()=>ya,DCD:()=>Cr,Dvk:()=>js,EUJ:()=>Ji,Eu9:()=>ea,FDX:()=>xo,FWD:()=>Va,GBi:()=>ur,GKA:()=>Ce,GML:()=>gt,GmX:()=>Ca,GmZ:()=>Wa,HFM:()=>Ci,Hm9:()=>B,HpB:()=>b,IMQ:()=>Mr,IN4:()=>Zo,IQK:()=>Ds,Ibb:()=>ul,JP8:()=>Ai,JX_:()=>Hs,JjS:()=>Xt,Jvr:()=>vt,K7p:()=>Ha,M$x:()=>yt,M0D:()=>Ui,M66:()=>Ga,NV0:()=>$n,Nkc:()=>vn,Nvx:()=>wo,OLd:()=>ao,OhA:()=>pt,PQk:()=>zr,PvF:()=>Co,Pyg:()=>Te,QaG:()=>je,Qp2:()=>ni,QpQ:()=>Qt,Qut:()=>ui,QyX:()=>Ar,S4p:()=>pe,S6U:()=>Ir,T9H:()=>Yo,TsP:()=>kn,UDx:()=>me,UK2:()=>Zn,UPU:()=>Po,Utf:()=>vo,VfI:()=>xs,VxH:()=>Ze,W1I:()=>xn,WAN:()=>Dn,WPf:()=>Zr,WTF:()=>Ne,WXs:()=>On,X3B:()=>br,Y0t:()=>ks,YS:()=>dr,YbT:()=>qt,Z4N:()=>fe,Z7P:()=>ot,Zxh:()=>qi,Zy9:()=>us,_Be:()=>pr,_EJ:()=>Ho,_bX:()=>Sn,aO7:()=>Vr,aWK:()=>Or,akk:()=>wr,aqu:()=>We,bNF:()=>cn,bPF:()=>J,bzB:()=>de,chs:()=>gn,cs$:()=>go,d8N:()=>Mn,dHC:()=>Ni,dR:()=>za,dVt:()=>Sr,doq:()=>Vo,dvJ:()=>Ke,eBr:()=>Vt,eEN:()=>_o,fE9:()=>_i,fEy:()=>L,fQW:()=>Ur,f_T:()=>Yr,fib:()=>Ks,gIj:()=>vr,gc2:()=>Ms,gee:()=>Ko,gx4:()=>Dt,h3d:()=>dt,hxQ:()=>Oo,ifS:()=>ro,ik9:()=>Ln,j2_:()=>fr,kFz:()=>Rt,kQ2:()=>Ut,kd6:()=>Ya,khq:()=>fi,kmR:()=>mr,l$:()=>nt,lUA:()=>_e,m8F:()=>oo,nWu:()=>en,o8V:()=>Lr,opw:()=>ut,otA:()=>va,p4:()=>Di,pEx:()=>Io,pKI:()=>st,pVv:()=>Ki,pej:()=>bi,pjV:()=>fo,qpo:()=>rn,r3P:()=>Us,rIe:()=>hi,sGL:()=>hl,sn0:()=>ta,uFH:()=>gi,uXf:()=>To,ubZ:()=>Ee,uvn:()=>sn,vHd:()=>dl,vYr:()=>eo,vwP:()=>hs,wDY:()=>ko,wI$:()=>Be,wMx:()=>Tr,wNR:()=>At,wjP:()=>Do,wmN:()=>rr,wpP:()=>lr,y34:()=>_a,y48:()=>bt,yJt:()=>ze,zJW:()=>we,zKC:()=>Fi});var e=p(520),o=p(5081),u=p(5e3),d=p(9039),c=p(655),g=p(7579);let b=(()=>{class t{constructor(h){this.http=h}setAuthToken(h){this.authToken=h}getAuthToken(){return this.authToken}setApiUrl(h){this.apiUrl=h}getFileUploadUrl(){return this.apiUrl+"/v1/File/UploadPartialFile"}setErrorHandler(h){this.errorHandler=h}createQuery(h,y){const f=this.apiUrl+o.h.UUID()+"/read/"+h+"/"+y;return new d.Tso(f)}runQuery(h){return this.query(h)}query(h){const Wt={headers:this.generateHeaders(null)};return this.http.get(h.toString(),Wt).toPromise().then(dn=>dn||{}).catch(dn=>{this.errorHandler&&this.errorHandler(dn);const Ht=dn.message?dn.message:dn.status?`${dn.status} - ${dn.statusText}`:"Server error";return console.error(Ht),Promise.reject(Ht)})}executeCommand(h,y){return this.execute(h,y)}executeVersionedCommand(h,y,f,Wt){console.log("Executing command",y,f);const on={headers:this.generateHeaders(Wt)};let si=this.getCommandUrl(y,f);return this.http.post(si,h,on).toPromise().then(Bt=>Bt||{}).catch(Bt=>{this.errorHandler&&this.errorHandler(Bt);const Jr=Bt.message?Bt.message:Bt.status?`${Bt.status} - ${Bt.statusText}`:"Server error";return console.error(Jr),Promise.reject(Jr)})}executeFileDownload(h,y,f,Wt){let dn=document.createElement("form");if(dn.style.display="none",dn.action=this.getCommandUrl(y,f),dn.method="post",null!=this.authToken||null!=Wt){let Bt=document.createElement("input");Bt.name="authToken",Bt.type="hidden",Bt.value=this.authToken,null!=Wt&&(Bt.value=Wt),dn.appendChild(Bt)}let Ht=document.createElement("input");Ht.type="hidden",Ht.name="subdomain",Ht.value=window.location.hostname;let on=document.createElement("input");on.name="body",on.type="hidden";let si=JSON.stringify(h);return on.value=si,dn.appendChild(on),dn.appendChild(Ht),document.body.appendChild(dn),dn.submit(),Promise.resolve()}getFileDownloadUrl(h,y,f,Wt){console.log("Executing command",y,f);let dn=this.getCommandUrl(y,f)+"?";null!=Wt&&(dn+="token="+Wt.toString());for(let Ht in h)null!=Wt&&(dn+="&"),dn+=encodeURIComponent(Ht.toString())+"="+encodeURIComponent(String(h[Ht])),null==Wt&&(dn+="&");return dn}getCommandUrl(h,y){return this.apiUrl+"/v1/"+h+"/"+y}execute(h,y){const dn={headers:this.generateHeaders(y)};return this.http.post(this.generateCommandUrl(h),h,dn).toPromise().then(Ht=>Ht||{}).catch(Ht=>{this.errorHandler&&this.errorHandler(Ht);const on=Ht.message?Ht.message:Ht.status?`${Ht.status} - ${Ht.statusText}`:"Server error";return console.error(on),Promise.reject(on)})}generateCommandUrl(h){return this.apiUrl+o.h.UUID()+"/execute/"+h.getRoute()}generateHeaders(h){let y=this.authToken;h&&(y=h);let f={"Content-Type":"application/json",Accept:"q=0.8;application/json;q=0.9"};return y&&(f.Authorization=y),new e.WM(f)}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(e.eN))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();class k{constructor(ge){this.route=ge}getRoute(){return this.route}}var A,I,H,z,O,Z,q,te,V,ne,ue,ee,Q,se,t;(A||(A={})).UserViewedWelcomeTourCommand=class ge extends k{constructor(){super("ViewedSystemTour/UserViewedWelcomeTourCommand")}},(t=I||(I={})).CreateDashboardLayoutUserPreferenceCommand=class ge extends k{constructor(){super("UserPreference/CreateDashboardLayoutUserPreferenceCommand")}},t.CreateDiarySettingsUserPreferenceCommand=class h extends k{constructor(){super("UserPreference/CreateDiarySettingsUserPreferenceCommand")}},t.UpdateDashboardLayoutUserPreferenceCommand=class y extends k{constructor(){super("UserPreference/UpdateDashboardLayoutUserPreferenceCommand")}},t.UpdateDiarySettingsUserPreferenceCommand=class f extends k{constructor(){super("UserPreference/UpdateDiarySettingsUserPreferenceCommand")}},function(t){t.CreateCalendarEndpointCommand=class ge extends k{constructor(){super("UserIntegration/CreateCalendarEndpointCommand")}}}(H||(H={})),function(t){t.CreateNotificationForUserCommand=class ge extends k{constructor(){super("User/CreateNotificationForUserCommand")}},t.MarkAllNotificationsForUserAsReadCommand=class h extends k{constructor(){super("User/MarkAllNotificationsForUserAsReadCommand")}},t.MarkNotificationAsReadCommand=class y extends k{constructor(){super("User/MarkNotificationAsReadCommand")}},t.UpdateLegacyIdCommand=class f extends k{constructor(){super("User/UpdateLegacyIdCommand")}},t.UpdateRoleGroupForUserCommand=class Wt extends k{constructor(){super("User/UpdateRoleGroupForUserCommand")}}}(z||(z={})),function(t){t.CreateGlobalSystemMessageCommand=class ge extends k{constructor(){super("SystemMessage/CreateGlobalSystemMessageCommand")}},t.CreateMultiBusinessSystemMessageCommand=class h extends k{constructor(){super("SystemMessage/CreateMultiBusinessSystemMessageCommand")}},t.CreateSingleBusinessSystemMessageCommand=class y extends k{constructor(){super("SystemMessage/CreateSingleBusinessSystemMessageCommand")}},t.CreateSingleUserSystemMessageCommand=class f extends k{constructor(){super("SystemMessage/CreateSingleUserSystemMessageCommand")}}}(O||(O={})),function(t){t.CreateRoleGroupCommand=class ge extends k{constructor(){super("RoleGroup/CreateRoleGroupCommand")}},t.DeleteRoleGroupCommand=class h extends k{constructor(){super("RoleGroup/DeleteRoleGroupCommand")}},t.UpdateRoleGroupCommand=class y extends k{constructor(){super("RoleGroup/UpdateRoleGroupCommand")}}}(Z||(Z={})),function(t){t.CreatePermissionCommand=class ge extends k{constructor(){super("Permission/CreatePermissionCommand")}}}(q||(q={})),function(t){t.ChangeBasicDetailsCommand=class ge extends k{constructor(){super("ParentaStaffUser/ChangeBasicDetailsCommand")}},t.ChangeEmailCommand=class h extends k{constructor(){super("ParentaStaffUser/ChangeEmailCommand")}},t.ChangePasswordCommand=class y extends k{constructor(){super("ParentaStaffUser/ChangePasswordCommand")}},t.OverrideBasicDetailsCommand=class f extends k{constructor(){super("ParentaStaffUser/OverrideBasicDetailsCommand")}},t.OverrideEmailAddressCommand=class Wt extends k{constructor(){super("ParentaStaffUser/OverrideEmailAddressCommand")}},t.OverridePasswordCommand=class dn extends k{constructor(){super("ParentaStaffUser/OverridePasswordCommand")}},t.ResetPasswordCommand=class Ht extends k{constructor(){super("ParentaStaffUser/ResetPasswordCommand")}},t.SendPasswordResetTokenCommand=class on extends k{constructor(){super("ParentaStaffUser/SendPasswordResetTokenCommand")}},t.UpdateProfileImageUrlCommand=class si extends k{constructor(){super("ParentaStaffUser/UpdateProfileImageUrlCommand")}}}(te||(te={})),function(t){t.AddCustomDiaryEventToSeriesForBusinessCommand=class ge extends k{constructor(){super("Diary/AddCustomDiaryEventToSeriesForBusinessCommand")}},t.CreateCustomDiaryEventSeriesWithEndDateCommand=class h extends k{constructor(){super("Diary/CreateCustomDiaryEventSeriesWithEndDateCommand")}},t.CreateCustomDiaryEventSeriesWithFixedNumberCommand=class y extends k{constructor(){super("Diary/CreateCustomDiaryEventSeriesWithFixedNumberCommand")}},t.CreateCustomDiaryEventTypeCommand=class f extends k{constructor(){super("Diary/CreateCustomDiaryEventTypeCommand")}},t.CreateDiaryEventTypeCommand=class Wt extends k{constructor(){super("Diary/CreateDiaryEventTypeCommand")}},t.CreateEmptyCustomDiaryEventSeriesWithEndDateForBusinessCommand=class dn extends k{constructor(){super("Diary/CreateEmptyCustomDiaryEventSeriesWithEndDateForBusinessCommand")}},t.CreateEmptyCustomDiaryEventSeriesWithFixedNumberForBusinessCommand=class Ht extends k{constructor(){super("Diary/CreateEmptyCustomDiaryEventSeriesWithFixedNumberForBusinessCommand")}},t.CreateSingleCustomDiaryEventCommand=class on extends k{constructor(){super("Diary/CreateSingleCustomDiaryEventCommand")}},t.CreateSingleCustomDiaryEventForBusinessCommand=class si extends k{constructor(){super("Diary/CreateSingleCustomDiaryEventForBusinessCommand")}},t.DeleteCustomDiaryEventCommand=class Bt extends k{constructor(){super("Diary/DeleteCustomDiaryEventCommand")}},t.DeleteCustomDiaryEventSeriesCommand=class Jr extends k{constructor(){super("Diary/DeleteCustomDiaryEventSeriesCommand")}},t.DeleteCustomDiaryEventTypeCommand=class It extends k{constructor(){super("Diary/DeleteCustomDiaryEventTypeCommand")}},t.UpdateCustomDiaryEventSeriesWithEndDateCommand=class _s extends k{constructor(){super("Diary/UpdateCustomDiaryEventSeriesWithEndDateCommand")}},t.UpdateCustomDiaryEventSeriesWithFixedNumberCommand=class vs extends k{constructor(){super("Diary/UpdateCustomDiaryEventSeriesWithFixedNumberCommand")}},t.UpdatePartOfCustomDiaryEventSeriesWithEndDateCommand=class ss extends k{constructor(){super("Diary/UpdatePartOfCustomDiaryEventSeriesWithEndDateCommand")}},t.UpdatePartOfCustomDiaryEventSeriesWithFixedNumberCommand=class ys extends k{constructor(){super("Diary/UpdatePartOfCustomDiaryEventSeriesWithFixedNumberCommand")}},t.UpdateSingleCustomDiaryEventCommand=class Cs extends k{constructor(){super("Diary/UpdateSingleCustomDiaryEventCommand")}}}(V||(V={})),function(t){t.CreateCorporationPreferenceCommand=class ge extends k{constructor(){super("CorporationPreference/CreateCorporationPreferenceCommand")}},t.EditCorporationPreferenceCommand=class h extends k{constructor(){super("CorporationPreference/EditCorporationPreferenceCommand")}}}(ne||(ne={})),function(t){t.AddExistingBusinessToCorporationCommand=class ge extends k{constructor(){super("Corporation/AddExistingBusinessToCorporationCommand")}},t.AddExistingUserToCorporationCommand=class h extends k{constructor(){super("Corporation/AddExistingUserToCorporationCommand")}},t.CreateBusinessAgainstCorporationCommand=class y extends k{constructor(){super("Corporation/CreateBusinessAgainstCorporationCommand")}},t.CreateCorporationCommand=class f extends k{constructor(){super("Corporation/CreateCorporationCommand")}},t.UpdateBasicDetailsCommand=class Wt extends k{constructor(){super("Corporation/UpdateBasicDetailsCommand")}}}(ue||(ue={})),function(t){t.CreateBusinessPreferenceCommand=class ge extends k{constructor(){super("BusinessPreference/CreateBusinessPreferenceCommand")}},t.EditBusinessPreferenceCommand=class h extends k{constructor(){super("BusinessPreference/EditBusinessPreferenceCommand")}}}(ee||(ee={})),function(t){t.ActivateBusinessCommand=class ge extends k{constructor(){super("Business/ActivateBusinessCommand")}},t.AddExternalUserToBusinessCommand=class h extends k{constructor(){super("Business/AddExternalUserToBusinessCommand")}},t.DeactivateBusinessCommand=class y extends k{constructor(){super("Business/DeactivateBusinessCommand")}},t.RemoveExternalUserFromBusinessCommand=class f extends k{constructor(){super("Business/RemoveExternalUserFromBusinessCommand")}},t.UpdateBusinessNameCommand=class Wt extends k{constructor(){super("Business/UpdateBusinessNameCommand")}},t.UpdateOwnedBusinessCommand=class dn extends k{constructor(){super("Business/UpdateOwnedBusinessCommand")}}}(Q||(Q={})),function(t){t.CheckPasswordCommand=class ge extends k{constructor(){super("Auth/CheckPasswordCommand")}},t.CheckUserAuthCommand=class h extends k{constructor(){super("Auth/CheckUserAuthCommand")}},t.LoginParentaStaffUserCommand=class y extends k{constructor(){super("Auth/LoginParentaStaffUserCommand")}},t.RenewTokenCommand=class f extends k{constructor(){super("Auth/RenewTokenCommand")}}}(se||(se={}));var je=Object.freeze({__proto__:null,get ViewedSystemTourCommand(){return A},get UserPreferenceCommand(){return I},get UserIntegrationCommand(){return H},get UserCommand(){return z},get SystemMessageCommand(){return O},get RoleGroupCommand(){return Z},get PermissionCommand(){return q},get ParentaStaffUserCommand(){return te},get DiaryCommand(){return V},get CorporationPreferenceCommand(){return ne},get CorporationCommand(){return ue},get BusinessPreferenceCommand(){return ee},get BusinessCommand(){return Q},get AuthCommand(){return se}});let nt=(()=>{class t{constructor(h){this.sauronService=h,this.onUserViewedWelcomeTour=new g.x,this.onGetViewedSystemTours=new g.x}userViewedWelcomeTour(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onUserViewedWelcomeTour.next(f),f})}getViewedSystemTours(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"ViewedSystemTour","GetViewedSystemTours",y);return f.successful&&this.onGetViewedSystemTours.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var He;!function(t){let ge;var y;let h;(y=ge=t.SaveDashboardLayoutUserPreferenceError||(t.SaveDashboardLayoutUserPreferenceError={})).dataIsNotValidJson="dataIsNotValidJson",y.dataTooLong="dataTooLong",function(y){y.dataIsNotValidJson="dataIsNotValidJson",y.dataTooLong="dataTooLong"}(h=t.SaveDiarySettingsUserPreferenceError||(t.SaveDiarySettingsUserPreferenceError={}))}(He||(He={}));let de=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateDashboardLayoutUserPreference=new g.x,this.onCreateDiarySettingsUserPreference=new g.x,this.onUpdateDashboardLayoutUserPreference=new g.x,this.onUpdateDiarySettingsUserPreference=new g.x,this.onGetDashboardLayoutUserPreference=new g.x,this.onSaveDashboardLayoutUserPreference=new g.x,this.onSaveDiarySettingsUserPreference=new g.x,this.onGetDiarySettingsUserPreference=new g.x}createDashboardLayoutUserPreference(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateDashboardLayoutUserPreference.next(f),f})}createDiarySettingsUserPreference(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateDiarySettingsUserPreference.next(f),f})}updateDashboardLayoutUserPreference(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onUpdateDashboardLayoutUserPreference.next(f),f})}updateDiarySettingsUserPreference(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onUpdateDiarySettingsUserPreference.next(f),f})}getDashboardLayoutUserPreference(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"UserPreference","GetDashboardLayoutUserPreference",y);return f.successful&&this.onGetDashboardLayoutUserPreference.next({request:h,response:f}),f})}saveDashboardLayoutUserPreference(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"UserPreference","SaveDashboardLayoutUserPreference",y);return f.successful&&this.onSaveDashboardLayoutUserPreference.next({request:h,response:f}),f})}saveDiarySettingsUserPreference(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"UserPreference","SaveDiarySettingsUserPreference",y);return f.successful&&this.onSaveDiarySettingsUserPreference.next({request:h,response:f}),f})}getDiarySettingsUserPreference(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"UserPreference","GetDiarySettingsUserPreference",y);return f.successful&&this.onGetDiarySettingsUserPreference.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Ce;!function(t){let ge;var h;(h=ge=t.SubmitSupportTicketError||(t.SubmitSupportTicketError={})).subjectAndDescriptionRequired="subjectAndDescriptionRequired",h.subjectTooLong="subjectTooLong",h.descriptionTooLong="descriptionTooLong",h.tooManyTickets="tooManyTickets"}(Ce||(Ce={}));let Ze=(()=>{class t{constructor(h){this.sauronService=h,this.onSubmitSupportTicket=new g.x}submitSupportTicket(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"SupportTicket","SubmitSupportTicket",y);return f.successful&&this.onSubmitSupportTicket.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})(),ot=(()=>{class t{constructor(h){this.sauronService=h,this.onGetChildcareNews=new g.x}getChildcareNews(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"News","GetChildcareNews",y);return f.successful&&this.onGetChildcareNews.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})(),Ke=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateCalendarEndpoint=new g.x}createCalendarEndpoint(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateCalendarEndpoint.next(f),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var xt;!function(t){let ge;var h;(h=ge=t.CreateBasicUserError||(t.CreateBasicUserError={})).businessNotFound="businessNotFound",h.roleGroupNotFound="roleGroupNotFound",h.legacyUserIdNotFound="legacyUserIdNotFound"}(xt||(xt={}));let Be=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateNotificationForUser=new g.x,this.onMarkAllNotificationsForUserAsRead=new g.x,this.onMarkNotificationAsRead=new g.x,this.onUpdateLegacyId=new g.x,this.onUpdateRoleGroupForUser=new g.x,this.onCreateBasicUser=new g.x,this.onMarkSystemAlertAsClosed=new g.x,this.onMarkSystemAlertAsSeen=new g.x}createNotificationForUser(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateNotificationForUser.next(f),f})}markAllNotificationsForUserAsRead(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onMarkAllNotificationsForUserAsRead.next(f),f})}markNotificationAsRead(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onMarkNotificationAsRead.next(f),f})}updateLegacyId(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onUpdateLegacyId.next(f),f})}updateRoleGroupForUser(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onUpdateRoleGroupForUser.next(f),f})}createBasicUser(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"User","CreateBasicUser",y);return f.successful&&this.onCreateBasicUser.next({request:h,response:f}),f})}markSystemAlertAsClosed(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"User","MarkSystemAlertAsClosed",y);return this.onMarkSystemAlertAsClosed.next({request:h,response:f}),f})}markSystemAlertAsSeen(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"User","MarkSystemAlertAsSeen",y);return this.onMarkSystemAlertAsSeen.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Tt,Sn;!function(t){let ge;var h;(h=ge=t.CreateTokenFromEmailAddressError||(t.CreateTokenFromEmailAddressError={})).emailAddressDoesNotExist="emailAddressDoesNotExist",h.emailAddressIsRequired="emailAddressIsRequired",h.emailAddressIsNotUnique="emailAddressIsNotUnique"}(Tt||(Tt={})),function(t){let ge;var h;(h=ge=t.ValidatePortalTempAuthTokenError||(t.ValidatePortalTempAuthTokenError={})).invalidToken="invalidToken",h.invalidTokenDeleted="invalidTokenDeleted",h.invalidTokenNoUser="invalidTokenNoUser",h.invalidTokenExpired="invalidTokenExpired",h.userNotFound="userNotFound",h.footsteps2NotActivated="footsteps2NotActivated"}(Sn||(Sn={}));let Xt=(()=>{class t{constructor(h){this.sauronService=h,this.onGetParentPortalCarerTemporaryAuthToken=new g.x,this.onGetParentPortalTemporaryAuthToken=new g.x,this.onGetPortalTemporaryAuthToken=new g.x,this.onGetPortalUserTemporaryToken=new g.x,this.onValidateParentPortalTempAuthToken=new g.x,this.onValidatePortalTempAuthToken=new g.x}getParentPortalCarerTemporaryAuthToken(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"TempAuth","GetParentPortalCarerTemporaryAuthToken",h);return this.onGetParentPortalCarerTemporaryAuthToken.next(y),y})}getParentPortalTemporaryAuthToken(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"TempAuth","GetParentPortalTemporaryAuthToken",y);return this.onGetParentPortalTemporaryAuthToken.next({request:h,response:f}),f})}getPortalTemporaryAuthToken(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"TempAuth","GetPortalTemporaryAuthToken",y);return this.onGetPortalTemporaryAuthToken.next({request:h,response:f}),f})}getPortalUserTemporaryToken(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"TempAuth","GetPortalUserTemporaryToken",y);return this.onGetPortalUserTemporaryToken.next({request:h,response:f}),f})}validateParentPortalTempAuthToken(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"TempAuth","ValidateParentPortalTempAuthToken",y);return f.successful&&this.onValidateParentPortalTempAuthToken.next({request:h,response:f}),f})}validatePortalTempAuthToken(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"TempAuth","ValidatePortalTempAuthToken",y);return f.successful&&this.onValidatePortalTempAuthToken.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var bt;!function(t){let ge;var Bt;let h,y,f,Wt,dn,Ht,on,si;(Bt=ge=t.ChangeLegacyNUserPasswordError||(t.ChangeLegacyNUserPasswordError={})).abacusUserNotFound="abacusUserNotFound",Bt.invalidPassword="invalidPassword",Bt.nurseryNotFound="nurseryNotFound",function(Bt){Bt.invalidNursery="invalidNursery",Bt.invalidEmail="invalidEmail",Bt.invalidPassword="invalidPassword",Bt.invalidFirstName="invalidFirstName",Bt.invalidLastName="invalidLastName",Bt.emailInUse="emailInUse",Bt.duplicateUser="duplicateUser",Bt.usernameInvalid="usernameInvalid",Bt.usernameInUse="usernameInUse"}(h=t.CreateNUserError||(t.CreateNUserError={})),function(Bt){Bt.invalidNursery="invalidNursery",Bt.invalidEmail="invalidEmail",Bt.invalidPassword="invalidPassword",Bt.invalidFirstName="invalidFirstName",Bt.invalidLastName="invalidLastName",Bt.emailInUse="emailInUse",Bt.duplicateUser="duplicateUser",Bt.usernameInvalid="usernameInvalid",Bt.usernameInUse="usernameInUse"}(y=t.CreateNUserForCurrentNurseryError||(t.CreateNUserForCurrentNurseryError={})),function(Bt){Bt.invalidBabytechUser="invalidBabytechUser",Bt.invalidParentaServicesUser="invalidParentaServicesUser",Bt.duplicateMirkwoodUser="duplicateMirkwoodUser",Bt.duplicateParentaServicesUser="duplicateParentaServicesUser",Bt.nurseryNotFound="nurseryNotFound"}(f=t.DeleteNUserError||(t.DeleteNUserError={})),function(Bt){Bt.invalidBabytechUser="invalidBabytechUser",Bt.invalidParentaServicesUser="invalidParentaServicesUser",Bt.duplicateMirkwoodUser="duplicateMirkwoodUser",Bt.duplicateParentaServicesUser="duplicateParentaServicesUser",Bt.nurseryNotFound="nurseryNotFound",Bt.cannotDeleteCurrentUser="cannotDeleteCurrentUser"}(Wt=t.DeleteNUserForCurrentNurseryError||(t.DeleteNUserForCurrentNurseryError={})),function(Bt){Bt.userLoginNotFound="userLoginNotFound",Bt.passwordIsEmpty="passwordIsEmpty",Bt.passwordNotStrongEnough="passwordNotStrongEnough",Bt.passwordMustNotBeCurrent="passwordMustNotBeCurrent"}(dn=t.UpdateCurrentUserPasswordError||(t.UpdateCurrentUserPasswordError={})),function(Bt){Bt.userLoginNotFound="userLoginNotFound"}(Ht=t.DisableTwoFactorForUserError||(t.DisableTwoFactorForUserError={})),function(Bt){Bt.abacusUserNotFound="abacusUserNotFound",Bt.invalidDateOfBirth="invalidDateOfBirth",Bt.invalidEmail="invalidEmail",Bt.invalidFirstName="invalidFirstName",Bt.invalidLastName="invalidLastName",Bt.parentaServicesUserNotFound="parentaServicesUserNotFound",Bt.emailInUse="emailInUse",Bt.invalidMirkwoodUser="invalidMirkwoodUser",Bt.parentaServicesUniqueIdConflict="parentaServicesUniqueIdConflict",Bt.tooManyParentaServicesUsers="tooManyParentaServicesUsers",Bt.nurseryNotFound="nurseryNotFound",Bt.updatingOnlyAdministratorToUser="updatingOnlyAdministratorToUser",Bt.usernameInvalid="usernameInvalid",Bt.usernameInUse="usernameInUse"}(on=t.UpdateNUserError||(t.UpdateNUserError={})),function(Bt){Bt.abacusUserNotFound="abacusUserNotFound",Bt.invalidDateOfBirth="invalidDateOfBirth",Bt.invalidEmail="invalidEmail",Bt.invalidFirstName="invalidFirstName",Bt.invalidLastName="invalidLastName",Bt.parentaServicesUserNotFound="parentaServicesUserNotFound",Bt.emailInUse="emailInUse",Bt.invalidMirkwoodUser="invalidMirkwoodUser",Bt.parentaServicesUniqueIdConflict="parentaServicesUniqueIdConflict",Bt.tooManyParentaServicesUsers="tooManyParentaServicesUsers",Bt.nurseryNotFound="nurseryNotFound",Bt.updatingOnlyAdministratorToUser="updatingOnlyAdministratorToUser",Bt.usernameInvalid="usernameInvalid",Bt.usernameInUse="usernameInUse"}(si=t.UpdateNUserForCurrentNurseryError||(t.UpdateNUserForCurrentNurseryError={}))}(bt||(bt={}));let dt=(()=>{class t{constructor(h){this.sauronService=h,this.onChangeLegacyNUserPassword=new g.x,this.onCreateNUser=new g.x,this.onCreateNUserForCurrentNursery=new g.x,this.onDeleteNUser=new g.x,this.onDeleteNUserForCurrentNursery=new g.x,this.onUpdateCurrentUserPassword=new g.x,this.onDisableTwoFactorForUser=new g.x,this.onUpdateNUser=new g.x,this.onUpdateNUserForCurrentNursery=new g.x}changeLegacyNUserPassword(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"NUser","ChangeLegacyNUserPassword",y);return f.successful&&this.onChangeLegacyNUserPassword.next({request:h,response:f}),f})}createNUser(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"NUser","CreateNUser",y);return f.successful&&this.onCreateNUser.next({request:h,response:f}),f})}createNUserForCurrentNursery(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"NUser","CreateNUserForCurrentNursery",y);return f.successful&&this.onCreateNUserForCurrentNursery.next({request:h,response:f}),f})}deleteNUser(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"NUser","DeleteNUser",y);return f.successful&&this.onDeleteNUser.next({request:h,response:f}),f})}deleteNUserForCurrentNursery(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"NUser","DeleteNUserForCurrentNursery",y);return f.successful&&this.onDeleteNUserForCurrentNursery.next({request:h,response:f}),f})}updateCurrentUserPassword(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"NUser","UpdateCurrentUserPassword",y);return f.successful&&this.onUpdateCurrentUserPassword.next({request:h,response:f}),f})}disableTwoFactorForUser(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"NUser","DisableTwoFactorForUser",y);return f.successful&&this.onDisableTwoFactorForUser.next({request:h,response:f}),f})}updateNUser(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"NUser","UpdateNUser",y);return f.successful&&this.onUpdateNUser.next({request:h,response:f}),f})}updateNUserForCurrentNursery(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"NUser","UpdateNUserForCurrentNursery",y);return f.successful&&this.onUpdateNUserForCurrentNursery.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var ut;!function(t){let ge;var Wt;let h,y,f;(Wt=ge=t.ConsumePasswordResetTokenError||(t.ConsumePasswordResetTokenError={})).tokenNotFoundOrExpired="tokenNotFoundOrExpired",Wt.passwordNotStrongEnough="passwordNotStrongEnough",function(Wt){Wt.emailAddressIsEmpty="emailAddressIsEmpty",Wt.passwordIsEmpty="passwordIsEmpty",Wt.abacusUserNotFound="abacusUserNotFound",Wt.userLoginEmailAddressAlreadyExists="userLoginEmailAddressAlreadyExists",Wt.parentaServicesUserMissingForAbacusUser="parentaServicesUserMissingForAbacusUser",Wt.parentaServicesUserGuidIncorrect="parentaServicesUserGuidIncorrect",Wt.mirkwoodSharedGuidIncorrect="mirkwoodSharedGuidIncorrect",Wt.mirkwoodUserNotFound="mirkwoodUserNotFound",Wt.userAlreadyHasUserLogin="userAlreadyHasUserLogin",Wt.passwordNotStrongEnough="passwordNotStrongEnough",Wt.emailOrUsernameRequired="emailOrUsernameRequired",Wt.userLoginUsernameAlreadyExists="userLoginUsernameAlreadyExists",Wt.usernameInvalid="usernameInvalid"}(h=t.CreateUserLoginError||(t.CreateUserLoginError={})),function(Wt){Wt.emailAddressIsEmpty="emailAddressIsEmpty",Wt.passwordIsEmpty="passwordIsEmpty",Wt.abacusUserNotFound="abacusUserNotFound",Wt.userLoginEmailAddressAlreadyExists="userLoginEmailAddressAlreadyExists",Wt.parentaServicesUserMissingForAbacusUser="parentaServicesUserMissingForAbacusUser",Wt.parentaServicesUserGuidIncorrect="parentaServicesUserGuidIncorrect",Wt.mirkwoodSharedGuidIncorrect="mirkwoodSharedGuidIncorrect",Wt.mirkwoodUserNotFound="mirkwoodUserNotFound",Wt.userAlreadyHasUserLogin="userAlreadyHasUserLogin",Wt.passwordNotStrongEnough="passwordNotStrongEnough",Wt.emailOrUsernameRequired="emailOrUsernameRequired",Wt.userLoginUsernameAlreadyExists="userLoginUsernameAlreadyExists",Wt.usernameInvalid="usernameInvalid"}(y=t.CreateUserLoginForCurrentUserError||(t.CreateUserLoginForCurrentUserError={})),function(Wt){Wt.userLoginNotFound="userLoginNotFound",Wt.passwordIsEmpty="passwordIsEmpty",Wt.passwordNotStrongEnough="passwordNotStrongEnough"}(f=t.UpdateUserLoginPasswordError||(t.UpdateUserLoginPasswordError={}))}(ut||(ut={}));let Je=(()=>{class t{constructor(h){this.sauronService=h,this.onConsumePasswordResetToken=new g.x,this.onCreateUserLogin=new g.x,this.onCreateUserLoginForCurrentUser=new g.x,this.onSendUserPasswordResetEmail=new g.x,this.onUpdateUserLoginPassword=new g.x}consumePasswordResetToken(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Logins","ConsumePasswordResetToken",y);return f.successful&&this.onConsumePasswordResetToken.next({request:h,response:f}),f})}createUserLogin(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Logins","CreateUserLogin",y);return f.successful&&this.onCreateUserLogin.next({request:h,response:f}),f})}createUserLoginForCurrentUser(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Logins","CreateUserLoginForCurrentUser",y);return f.successful&&this.onCreateUserLoginForCurrentUser.next({request:h,response:f}),f})}sendUserPasswordResetEmail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Logins","SendUserPasswordResetEmail",y);return this.onSendUserPasswordResetEmail.next({request:h,response:f}),f})}updateUserLoginPassword(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Logins","UpdateUserLoginPassword",y);return f.successful&&this.onUpdateUserLoginPassword.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var kt;!function(t){let ge;var Ht;let h,y,f,Wt,dn;(Ht=ge=t.GetFileThumbnailUrlImageSize||(t.GetFileThumbnailUrlImageSize={})).small="small",Ht.medium="medium",Ht.large="large",Ht.full="full",function(Ht){Ht.fileNotFound="fileNotFound",Ht.thumbnailNotFound="thumbnailNotFound"}(h=t.GetFileThumbnailUrlError||(t.GetFileThumbnailUrlError={})),function(Ht){Ht.fileNotFound="fileNotFound"}(y=t.GetFileUrlError||(t.GetFileUrlError={})),function(Ht){Ht.userNotFound="userNotFound",Ht.photoNotFound="photoNotFound"}(f=t.GetUserPhotoUrlError||(t.GetUserPhotoUrlError={})),function(Ht){Ht.invalidFileName="invalidFileName",Ht.invalidFileSize="invalidFileSize"}(Wt=t.StartUploadingFileError||(t.StartUploadingFileError={})),function(Ht){Ht.fileNotFound="fileNotFound",Ht.invalidChunk="invalidChunk"}(dn=t.UploadPartialFileError||(t.UploadPartialFileError={}))}(kt||(kt={}));let pt=(()=>{class t{constructor(h){this.sauronService=h,this.onGetFileThumbnailUrl=new g.x,this.onGetFileUrl=new g.x,this.onGetUserPhotoUrl=new g.x,this.onStartUploadingFile=new g.x,this.onUploadPartialFile=new g.x}getFileThumbnailUrl(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"File","GetFileThumbnailUrl",y);return f.successful&&this.onGetFileThumbnailUrl.next({request:h,response:f}),f})}getFileUrl(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"File","GetFileUrl",y);return f.successful&&this.onGetFileUrl.next({request:h,response:f}),f})}getUserPhotoUrl(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"File","GetUserPhotoUrl",y);return f.successful&&this.onGetUserPhotoUrl.next({request:h,response:f}),f})}startUploadingFile(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"File","StartUploadingFile",y);return f.successful&&this.onStartUploadingFile.next({request:h,response:f}),f})}uploadPartialFile(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"File","UploadPartialFile",y);return f.successful&&this.onUploadPartialFile.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var tn;!function(t){let ge;var h;(h=ge=t.GetCustomDiaryEventsForBusinessError||(t.GetCustomDiaryEventsForBusinessError={})).toDateBeforeFromDate="toDateBeforeFromDate",h.dateRangeTooLong="dateRangeTooLong"}(tn||(tn={}));let un=(()=>{class t{constructor(h){this.sauronService=h,this.onAddCustomDiaryEventToSeriesForBusiness=new g.x,this.onCreateCustomDiaryEventSeriesWithEndDate=new g.x,this.onCreateCustomDiaryEventSeriesWithFixedNumber=new g.x,this.onCreateCustomDiaryEventType=new g.x,this.onCreateDiaryEventType=new g.x,this.onCreateEmptyCustomDiaryEventSeriesWithEndDateForBusiness=new g.x,this.onCreateEmptyCustomDiaryEventSeriesWithFixedNumberForBusiness=new g.x,this.onCreateSingleCustomDiaryEvent=new g.x,this.onCreateSingleCustomDiaryEventForBusiness=new g.x,this.onDeleteCustomDiaryEvent=new g.x,this.onDeleteCustomDiaryEventSeries=new g.x,this.onDeleteCustomDiaryEventType=new g.x,this.onUpdateCustomDiaryEventSeriesWithEndDate=new g.x,this.onUpdateCustomDiaryEventSeriesWithFixedNumber=new g.x,this.onUpdatePartOfCustomDiaryEventSeriesWithEndDate=new g.x,this.onUpdatePartOfCustomDiaryEventSeriesWithFixedNumber=new g.x,this.onUpdateSingleCustomDiaryEvent=new g.x,this.onGetCustomDiaryEventsForBusiness=new g.x,this.onGetDiaryEventTypes=new g.x}addCustomDiaryEventToSeriesForBusiness(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onAddCustomDiaryEventToSeriesForBusiness.next(f),f})}createCustomDiaryEventSeriesWithEndDate(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateCustomDiaryEventSeriesWithEndDate.next(f),f})}createCustomDiaryEventSeriesWithFixedNumber(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateCustomDiaryEventSeriesWithFixedNumber.next(f),f})}createCustomDiaryEventType(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateCustomDiaryEventType.next(f),f})}createDiaryEventType(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateDiaryEventType.next(f),f})}createEmptyCustomDiaryEventSeriesWithEndDateForBusiness(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateEmptyCustomDiaryEventSeriesWithEndDateForBusiness.next(f),f})}createEmptyCustomDiaryEventSeriesWithFixedNumberForBusiness(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateEmptyCustomDiaryEventSeriesWithFixedNumberForBusiness.next(f),f})}createSingleCustomDiaryEvent(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateSingleCustomDiaryEvent.next(f),f})}createSingleCustomDiaryEventForBusiness(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateSingleCustomDiaryEventForBusiness.next(f),f})}deleteCustomDiaryEvent(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onDeleteCustomDiaryEvent.next(f),f})}deleteCustomDiaryEventSeries(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onDeleteCustomDiaryEventSeries.next(f),f})}deleteCustomDiaryEventType(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onDeleteCustomDiaryEventType.next(f),f})}updateCustomDiaryEventSeriesWithEndDate(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onUpdateCustomDiaryEventSeriesWithEndDate.next(f),f})}updateCustomDiaryEventSeriesWithFixedNumber(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onUpdateCustomDiaryEventSeriesWithFixedNumber.next(f),f})}updatePartOfCustomDiaryEventSeriesWithEndDate(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onUpdatePartOfCustomDiaryEventSeriesWithEndDate.next(f),f})}updatePartOfCustomDiaryEventSeriesWithFixedNumber(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onUpdatePartOfCustomDiaryEventSeriesWithFixedNumber.next(f),f})}updateSingleCustomDiaryEvent(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onUpdateSingleCustomDiaryEvent.next(f),f})}getCustomDiaryEventsForBusiness(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Diary","GetCustomDiaryEventsForBusiness",y);return f.successful&&this.onGetCustomDiaryEventsForBusiness.next({request:h,response:f}),f})}getDiaryEventTypes(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Diary","GetDiaryEventTypes",y);return f.successful&&this.onGetDiaryEventTypes.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Pn;!function(t){let ge;var Ht;let h,y,f,Wt,dn;(Ht=ge=t.AddDevelopmentRequestCommentError||(t.AddDevelopmentRequestCommentError={})).developmentRequestNotFound="developmentRequestNotFound",Ht.invalidMessage="invalidMessage",function(Ht){Ht.invalidSubject="invalidSubject",Ht.invalidMessage="invalidMessage"}(h=t.CreateDevelopmentRequestError||(t.CreateDevelopmentRequestError={})),function(Ht){Ht.developmentRequestNotFound="developmentRequestNotFound"}(y=t.GetDevelopmentRequestDetailError||(t.GetDevelopmentRequestDetailError={})),function(Ht){Ht.developmentRequestNotFound="developmentRequestNotFound"}(f=t.RemoveVoteOnDevelopmentRequestError||(t.RemoveVoteOnDevelopmentRequestError={})),function(Ht){Ht.developmentRequestNotFound="developmentRequestNotFound",Ht.invalidStatus="invalidStatus"}(Wt=t.UpdateDevelopmentRequestStatusError||(t.UpdateDevelopmentRequestStatusError={})),function(Ht){Ht.developmentRequestNotFound="developmentRequestNotFound"}(dn=t.VoteOnDevelopmentRequestError||(t.VoteOnDevelopmentRequestError={}))}(Pn||(Pn={}));let kn=(()=>{class t{constructor(h){this.sauronService=h,this.onAddDevelopmentRequestComment=new g.x,this.onAllDevelopmentRequests=new g.x,this.onCreateDevelopmentRequest=new g.x,this.onGetDevelopmentRequestDetail=new g.x,this.onRemoveVoteOnDevelopmentRequest=new g.x,this.onUpdateDevelopmentRequestStatus=new g.x,this.onVoteOnDevelopmentRequest=new g.x}addDevelopmentRequestComment(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"DevelopmentRequest","AddDevelopmentRequestComment",y);return f.successful&&this.onAddDevelopmentRequestComment.next({request:h,response:f}),f})}allDevelopmentRequests(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"DevelopmentRequest","AllDevelopmentRequests",y);return this.onAllDevelopmentRequests.next({request:h,response:f}),f})}createDevelopmentRequest(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"DevelopmentRequest","CreateDevelopmentRequest",y);return f.successful&&this.onCreateDevelopmentRequest.next({request:h,response:f}),f})}getDevelopmentRequestDetail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"DevelopmentRequest","GetDevelopmentRequestDetail",y);return this.onGetDevelopmentRequestDetail.next({request:h,response:f}),f})}removeVoteOnDevelopmentRequest(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"DevelopmentRequest","RemoveVoteOnDevelopmentRequest",y);return f.successful&&this.onRemoveVoteOnDevelopmentRequest.next({request:h,response:f}),f})}updateDevelopmentRequestStatus(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"DevelopmentRequest","UpdateDevelopmentRequestStatus",y);return f.successful&&this.onUpdateDevelopmentRequestStatus.next({request:h,response:f}),f})}voteOnDevelopmentRequest(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"DevelopmentRequest","VoteOnDevelopmentRequest",y);return f.successful&&this.onVoteOnDevelopmentRequest.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var rt;!function(t){let ge;var y;let h;(y=ge=t.ParentaServicesResetCarerPasswordError||(t.ParentaServicesResetCarerPasswordError={})).tokenExpired="tokenExpired",y.tokenDoesNotExist="tokenDoesNotExist",y.passwordsDoNotMatch="passwordsDoNotMatch",y.tokenRequired="tokenRequired",y.passwordRequired="passwordRequired",y.confirmPasswordRequired="confirmPasswordRequired",y.carerEmailDoesNotExist="carerEmailDoesNotExist",y.carerEmailIsNotUnique="carerEmailIsNotUnique",y.passwordIsNotStrong="passwordIsNotStrong",y.carerEmailIsRequired="carerEmailIsRequired",y.invalidCarerEmail="invalidCarerEmail",function(y){y.carerEmailDoesNotExist="carerEmailDoesNotExist",y.passwordIsRequired="passwordIsRequired",y.passwordIsWeak="passwordIsWeak",y.newPasswordIsOldPassword="newPasswordIsOldPassword"}(h=t.ChangeCurrentCarerPasswordError||(t.ChangeCurrentCarerPasswordError={}))}(rt||(rt={}));let _e=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateBusinessPreference=new g.x,this.onEditBusinessPreference=new g.x,this.onEditBusinessPreferenceForAllBusinesses=new g.x,this.onGetAllCurrentBusinessPreferences=new g.x,this.onGetBusinessPreferences=new g.x,this.onUpdateBusinessPreferences=new g.x}createBusinessPreference(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCreateBusinessPreference.next(f),f})}editBusinessPreference(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onEditBusinessPreference.next(f),f})}editBusinessPreferenceForAllBusinesses(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"BusinessPreference","EditBusinessPreferenceForAllBusinesses",y);return f.successful&&this.onEditBusinessPreferenceForAllBusinesses.next({request:h,response:f}),f})}getAllCurrentBusinessPreferences(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"BusinessPreference","GetAllCurrentBusinessPreferences",h);return this.onGetAllCurrentBusinessPreferences.next(y),y})}getBusinessPreferences(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"BusinessPreference","GetBusinessPreferences",h);return this.onGetBusinessPreferences.next(y),y})}updateBusinessPreferences(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"BusinessPreference","UpdateBusinessPreferences",y);return f.successful&&this.onUpdateBusinessPreferences.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var he,Ve,Dt;!function(t){let ge;(ge=t.EditBusinessIntegrationError||(t.EditBusinessIntegrationError={})).businessIntegrationNotFound="businessIntegrationNotFound"}(he||(he={})),function(t){let ge,h;var y;(ge=t.GetBusinessOwnedSystemsError||(t.GetBusinessOwnedSystemsError={})).businessNotFound="businessNotFound",(y=h=t.UpdateCurrentBusinessNameError||(t.UpdateCurrentBusinessNameError={})).businessNameIsRequired="businessNameIsRequired",y.businessNameIsTooLong="businessNameIsTooLong"}(Ve||(Ve={})),function(t){let ge;var Bt;let h,y,f,Wt,dn,Ht,on,si;(Bt=ge=t.AbacusLegacyLoginError||(t.AbacusLegacyLoginError={})).passwordIncorrect="passwordIncorrect",Bt.businessNotActive="businessNotActive",Bt.businessNotMigrated="businessNotMigrated",Bt.emailLoginRequired="emailLoginRequired",Bt.accountOrIpLocked="accountOrIpLocked",Bt.accountIsLocked="accountIsLocked",Bt.accountIsDisabled="accountIsDisabled",Bt.dateOfBirthLoginDisabled="dateOfBirthLoginDisabled",function(Bt){Bt.noBusinessExistsForId="noBusinessExistsForId"}(h=t.CreateBusinessAuthTokenError||(t.CreateBusinessAuthTokenError={})),function(Bt){Bt.businessNotFound="businessNotFound",Bt.failedToCreateAuthToken="failedToCreateAuthToken"}(y=t.CreateBusinessAuthTokenFromLegacyIdError||(t.CreateBusinessAuthTokenFromLegacyIdError={})),function(Bt){Bt.carerNotFound="carerNotFound",Bt.nurseryNotFound="nurseryNotFound",Bt.emailIsUsed="emailIsUsed",Bt.userHasBeenUpdated="userHasBeenUpdated",Bt.passwordIsNotStrong="passwordIsNotStrong"}(f=t.CreateParentaServicesCarerLoginError||(t.CreateParentaServicesCarerLoginError={})),function(Bt){Bt.passwordIncorrect="passwordIncorrect",Bt.businessNotActive="businessNotActive",Bt.businessNotMigrated="businessNotMigrated",Bt.appVersionTooOld="appVersionTooOld",Bt.mustUseEmailLogin="mustUseEmailLogin",Bt.accountOrIpLocked="accountOrIpLocked",Bt.accountIsLocked="accountIsLocked",Bt.accountIsDisabled="accountIsDisabled",Bt.dateOfBirthLoginDisabled="dateOfBirthLoginDisabled"}(Wt=t.Footsteps2LegacyLoginError||(t.Footsteps2LegacyLoginError={})),function(Bt){Bt.adult2GuidRequired="adult2GuidRequired",Bt.nurseryNotFound="nurseryNotFound",Bt.carerNotFound="carerNotFound"}(dn=t.GetParentaServicesCarerLoginError||(t.GetParentaServicesCarerLoginError={})),function(Bt){Bt.idTokenIsRequired="idTokenIsRequired",Bt.idTokenIsNotValid="idTokenIsNotValid",Bt.emailAddressDoesNotExist="emailAddressDoesNotExist"}(Ht=t.ExchangeCognitoTokenError||(t.ExchangeCognitoTokenError={})),function(Bt){Bt.userDoesNotExist="userDoesNotExist"}(on=t.LogOutCurrentUserError||(t.LogOutCurrentUserError={})),function(Bt){Bt.passwordIsRequired="passwordIsRequired",Bt.passwordIsIncorrect="passwordIsIncorrect",Bt.passwordExpired="passwordExpired",Bt.emailAddressDoesNotExist="emailAddressDoesNotExist",Bt.emailAddressIsNotUnique="emailAddressIsNotUnique",Bt.businessDoesNotExist="businessDoesNotExist",Bt.businessNotActive="businessNotActive",Bt.accountOrIpLocked="accountOrIpLocked"}(si=t.ParentaServicesCarerLoginError||(t.ParentaServicesCarerLoginError={}))}(Dt||(Dt={}));let Et=(()=>{class t{constructor(h){this.sauronService=h,this.onCheckPassword=new g.x,this.onCheckUserAuth=new g.x,this.onLoginParentaStaffUser=new g.x,this.onRenewToken=new g.x,this.onAbacusLegacyLogin=new g.x,this.onCreateBusinessAuthToken=new g.x,this.onCreateBusinessAuthTokenFromLegacyId=new g.x,this.onCreateParentaServicesCarerLogin=new g.x,this.onFootsteps2LegacyLogin=new g.x,this.onGetAuthenticatedUserInfo=new g.x,this.onGetParentaServicesCarerLogin=new g.x,this.onExchangeCognitoToken=new g.x,this.onLogOutCurrentUser=new g.x,this.onParentaServicesCarerLogin=new g.x,this.onRefreshToken=new g.x,this.onCreateTemporaryAbacusImageToken=new g.x}checkPassword(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCheckPassword.next(f),f})}checkUserAuth(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onCheckUserAuth.next(f),f})}loginParentaStaffUser(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onLoginParentaStaffUser.next(f),f})}renewToken(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeCommand(h,y);return this.onRenewToken.next(f),f})}abacusLegacyLogin(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Auth","AbacusLegacyLogin",y);return f.successful&&this.onAbacusLegacyLogin.next({request:h,response:f}),f})}createBusinessAuthToken(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Auth","CreateBusinessAuthToken",y);return f.successful&&this.onCreateBusinessAuthToken.next({request:h,response:f}),f})}createBusinessAuthTokenFromLegacyId(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Auth","CreateBusinessAuthTokenFromLegacyId",y);return f.successful&&this.onCreateBusinessAuthTokenFromLegacyId.next({request:h,response:f}),f})}createParentaServicesCarerLogin(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Auth","CreateParentaServicesCarerLogin",y);return f.successful&&this.onCreateParentaServicesCarerLogin.next({request:h,response:f}),f})}footsteps2LegacyLogin(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Auth","Footsteps2LegacyLogin",y);return f.successful&&this.onFootsteps2LegacyLogin.next({request:h,response:f}),f})}getAuthenticatedUserInfo(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"Auth","GetAuthenticatedUserInfo",h);return this.onGetAuthenticatedUserInfo.next(y),y})}getParentaServicesCarerLogin(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Auth","GetParentaServicesCarerLogin",y);return f.successful&&this.onGetParentaServicesCarerLogin.next({request:h,response:f}),f})}exchangeCognitoToken(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Auth","ExchangeCognitoToken",y);return f.successful&&this.onExchangeCognitoToken.next({request:h,response:f}),f})}logOutCurrentUser(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"Auth","LogOutCurrentUser",h);return y.successful&&this.onLogOutCurrentUser.next(y),y})}parentaServicesCarerLogin(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"Auth","ParentaServicesCarerLogin",y);return f.successful&&this.onParentaServicesCarerLogin.next({request:h,response:f}),f})}refreshToken(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"Auth","RefreshToken",h);return this.onRefreshToken.next(y),y})}createTemporaryAbacusImageToken(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"Auth","CreateTemporaryAbacusImageToken",h);return this.onCreateTemporaryAbacusImageToken.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var sn;!function(t){let ge;var h;(h=ge=t.AddFeatureToNurseryUpdateOutCome||(t.AddFeatureToNurseryUpdateOutCome={})).newKeyNotAllowed="newKeyNotAllowed",h.updated="updated",h.alreadyAll="alreadyAll",h.nurseryAlreadyThere="nurseryAlreadyThere"}(sn||(sn={}));let Ln=(()=>{class t{constructor(h){this.sauronService=h,this.onGetEnabledFeatureToggles=new g.x,this.onAddFeatureToNursery=new g.x}getEnabledFeatureToggles(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FeatureToggles","GetEnabledFeatureToggles",h);return this.onGetEnabledFeatureToggles.next(y),y})}addFeatureToNursery(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FeatureToggles","AddFeatureToNursery",y);return this.onAddFeatureToNursery.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Nn,Jn,zn,xe,j,vt;!function(t){let ge;(ge=t.GetFullAddressError||(t.GetFullAddressError={})).addressNotFound="addressNotFound"}(Nn||(Nn={})),function(t){let ge;var h;(h=ge=t.CheckInChildError||(t.CheckInChildError={})).noSessionToCheckInTo="noSessionToCheckInTo",h.childNotFound="childNotFound",h.nurseryCheckInGuidIncorrect="nurseryCheckInGuidIncorrect",h.alreadyCheckedInRecently="alreadyCheckedInRecently",h.checkInNotEnabledForNursery="checkInNotEnabledForNursery",h.childNotRelatedToCurrentCarer="childNotRelatedToCurrentCarer"}(Jn||(Jn={})),function(t){let ge;var y;let h;(y=ge=t.SetUpCarerDirectDebitError||(t.SetUpCarerDirectDebitError={})).nurseryNotOnboarded="nurseryNotOnboarded",y.directDebitAlreadySetup="directDebitAlreadySetup",function(y){y.nurseryNotOnboarded="nurseryNotOnboarded",y.carerHasNoPaymentMethodsSetup="carerHasNoPaymentMethodsSetup",y.paymentMethodIdNotFoundForCarer="paymentMethodIdNotFoundForCarer"}(h=t.CancelCarerDirectDebitError||(t.CancelCarerDirectDebitError={}))}(zn||(zn={})),function(t){let ge;var h;(h=ge=t.SendAccidentNotificationError||(t.SendAccidentNotificationError={})).notificationIsMissing="notificationIsMissing",h.accidentNotFound="accidentNotFound",h.childNotFound="childNotFound"}(xe||(xe={})),function(t){let ge;var f;let h,y;(f=ge=t.AcknowledgeAccidentError||(t.AcknowledgeAccidentError={})).accidentNotFound="accidentNotFound",f.accidentAlreadyAcknowledged="accidentAlreadyAcknowledged",f.featureNotEnabled="featureNotEnabled",f.confirmationAndSignatureRequired="confirmationAndSignatureRequired",f.recordNotVisibleToCarer="recordNotVisibleToCarer",function(f){f.featureNotEnabled="featureNotEnabled"}(h=t.GetAccidentsForCarerError||(t.GetAccidentsForCarerError={})),function(f){f.featureNotEnabled="featureNotEnabled",f.accidentNotFound="accidentNotFound",f.messageRequired="messageRequired",f.recordNotVisibleToCarer="recordNotVisibleToCarer"}(y=t.RaiseAccidentQueryError||(t.RaiseAccidentQueryError={}))}(j||(j={})),function(t){let ge;var Wt;let h,y,f;(Wt=ge=t.CreateCarerEmailLoginError||(t.CreateCarerEmailLoginError={})).nurseryNotFound="nurseryNotFound",Wt.carerNotFound="carerNotFound",Wt.emailAddressAlreadyExists="emailAddressAlreadyExists",Wt.invalidEmailAddress="invalidEmailAddress",Wt.carerLoginAlreadyExists="carerLoginAlreadyExists",function(Wt){Wt.carerNotFound="carerNotFound",Wt.carerLoginNotFound="carerLoginNotFound"}(h=t.ResetCarerTemporaryPasswordError||(t.ResetCarerTemporaryPasswordError={})),function(Wt){Wt.noIdPassed="noIdPassed",Wt.adultNotFound="adultNotFound",Wt.adultLoginFound="adultLoginFound"}(y=t.DeleteCarerEmailLoginError||(t.DeleteCarerEmailLoginError={})),function(Wt){Wt.carerNotFound="carerNotFound",Wt.noEligibleChildren="noEligibleChildren",Wt.invalidEmailAddress="invalidEmailAddress",Wt.emailAddressAlreadyExists="emailAddressAlreadyExists",Wt.nurseryNotFound="nurseryNotFound"}(f=t.SendBulkParentPortalInvitesError||(t.SendBulkParentPortalInvitesError={}))}(vt||(vt={}));let Vt=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateCarerEmailLogin=new g.x,this.onResetCarerTemporaryPassword=new g.x,this.onDeleteCarerEmailLogin=new g.x,this.onSendBulkParentPortalInvites=new g.x}createCarerEmailLogin(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"ParentPortalCarerEmailLogin","CreateCarerEmailLogin",y);return this.onCreateCarerEmailLogin.next({request:h,response:f}),f})}resetCarerTemporaryPassword(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"ParentPortalCarerEmailLogin","ResetCarerTemporaryPassword",y);return f.successful&&this.onResetCarerTemporaryPassword.next({request:h,response:f}),f})}deleteCarerEmailLogin(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"ParentPortalCarerEmailLogin","DeleteCarerEmailLogin",y);return this.onDeleteCarerEmailLogin.next({request:h,response:f}),f})}sendBulkParentPortalInvites(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"ParentPortalCarerEmailLogin","SendBulkParentPortalInvites",y);return f.successful&&this.onSendBulkParentPortalInvites.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Fn;!function(t){let ge;var h;(h=ge=t.GetParentPortalDataPaymentMethodType||(t.GetParentPortalDataPaymentMethodType={})).directDebit="directDebit",h.card="card"}(Fn||(Fn={}));let Qt=(()=>{class t{constructor(h){this.sauronService=h,this.onGetParentPortalFeatureConfig=new g.x,this.onEnableParentMessaging=new g.x}getParentPortalFeatureConfig(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"ParentPortalFeatureConfig","GetParentPortalFeatureConfig",y);return this.onGetParentPortalFeatureConfig.next({request:h,response:f}),f})}enableParentMessaging(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"ParentPortalFeatureConfig","EnableParentMessaging",y);return this.onEnableParentMessaging.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Cn,ve,an,Yn,Li,Pe,Y,$e,Ge,R,Ye,_n,pi,Ri,di;!function(t){let ge;var y;let h;(y=ge=t.CarerFeedbackReportType||(t.CarerFeedbackReportType={})).problem="problem",y.idea="idea",y.other="other",function(y){y.carerNotFound="carerNotFound",y.noData="noData",y.messageIsMissing="messageIsMissing",y.metaDataIsMissing="metaDataIsMissing"}(h=t.CarerFeedbackError||(t.CarerFeedbackError={}))}(Cn||(Cn={})),function(t){let ge,h,y,f,Wt,dn,Ht,on,si,Bt,Jr;var It;(ge=t.GetChildrenAccidentStatusError||(t.GetChildrenAccidentStatusError={})).featureNotEnabled="featureNotEnabled",(It=h=t.GetAccidentsForChildError||(t.GetAccidentsForChildError={})).featureNotEnabled="featureNotEnabled",It.notAuthorisedForChild="notAuthorisedForChild",function(It){It.featureNotEnabled="featureNotEnabled"}(y=t.GetAccidentsNeedingActionError||(t.GetAccidentsNeedingActionError={})),function(It){It.featureNotEnabled="featureNotEnabled",It.notAuthorisedForChild="notAuthorisedForChild",It.accidentNotFound="accidentNotFound",It.eventDateInFuture="eventDateInFuture",It.eventDateNotToday="eventDateNotToday",It.typeCannotChangeAfterSignOff="typeCannotChangeAfterSignOff",It.acknowledgementClearanceNotConfirmed="acknowledgementClearanceNotConfirmed",It.witnessIsNotStaff="witnessIsNotStaff",It.firstAiderIsNotStaff="firstAiderIsNotStaff",It.attachmentImageInvalid="attachmentImageInvalid",It.recordIsVoided="recordIsVoided"}(f=t.SaveAccidentError||(t.SaveAccidentError={})),function(It){It.featureNotEnabled="featureNotEnabled",It.notAuthorisedForChild="notAuthorisedForChild",It.accidentNotFound="accidentNotFound",It.invalidTransition="invalidTransition",It.recordIncomplete="recordIncomplete",It.witnessRequired="witnessRequired"}(Wt=t.SubmitAccidentForSignOffError||(t.SubmitAccidentForSignOffError={})),function(It){It.featureNotEnabled="featureNotEnabled",It.notAuthorisedForChild="notAuthorisedForChild",It.accidentNotFound="accidentNotFound",It.notAuthorisedToApprove="notAuthorisedToApprove",It.invalidTransition="invalidTransition",It.signatureRequired="signatureRequired",It.selfApprovalNotAllowed="selfApprovalNotAllowed"}(dn=t.ApproveAccidentError||(t.ApproveAccidentError={})),function(It){It.featureNotEnabled="featureNotEnabled",It.notAuthorisedForChild="notAuthorisedForChild",It.accidentNotFound="accidentNotFound",It.notAuthorisedToApprove="notAuthorisedToApprove",It.invalidTransition="invalidTransition",It.noteRequired="noteRequired"}(Ht=t.SendAccidentBackToAuthorError||(t.SendAccidentBackToAuthorError={})),function(It){It.featureNotEnabled="featureNotEnabled",It.notAuthorisedForChild="notAuthorisedForChild",It.accidentNotFound="accidentNotFound",It.invalidTransition="invalidTransition",It.inPersonSignatureRequired="inPersonSignatureRequired",It.signerIsNotACarerForThisChild="signerIsNotACarerForThisChild",It.noCarersWithParentalResponsibility="noCarersWithParentalResponsibility"}(on=t.ReleaseAccidentError||(t.ReleaseAccidentError={})),function(It){It.featureNotEnabled="featureNotEnabled",It.notAuthorisedForChild="notAuthorisedForChild",It.accidentNotFound="accidentNotFound",It.queryNotFound="queryNotFound",It.responseRequired="responseRequired",It.queryAlreadyResolved="queryAlreadyResolved"}(si=t.ResolveAccidentQueryError||(t.ResolveAccidentQueryError={})),function(It){It.featureNotEnabled="featureNotEnabled",It.notAuthorisedForChild="notAuthorisedForChild",It.accidentNotFound="accidentNotFound",It.notAuthorisedToDelete="notAuthorisedToDelete",It.managerNameAndReasonRequired="managerNameAndReasonRequired",It.alreadyVoided="alreadyVoided"}(Bt=t.VoidAccidentError||(t.VoidAccidentError={})),function(It){It.featureNotEnabled="featureNotEnabled",It.notAuthorisedForChild="notAuthorisedForChild",It.accidentNotFound="accidentNotFound",It.notAuthorisedToDelete="notAuthorisedToDelete",It.managerNameAndReasonRequired="managerNameAndReasonRequired",It.releasedRecordMustBeVoided="releasedRecordMustBeVoided"}(Jr=t.DeleteAccidentError||(t.DeleteAccidentError={}))}(ve||(ve={})),function(t){let ge;var y;let h;(y=ge=t.SendCarerEmailNotSentReason||(t.SendCarerEmailNotSentReason={})).contactNotFound="contactNotFound",y.noEmailAddress="noEmailAddress",y.emailAddressNotValid="emailAddressNotValid",function(y){y.recipientsMissing="recipientsMissing",y.subjectMissing="subjectMissing",y.detailsMissing="detailsMissing"}(h=t.SendCarerEmailError||(t.SendCarerEmailError={}))}(an||(an={})),function(t){let ge;(ge=t.PopulateDayshareForNurseryError||(t.PopulateDayshareForNurseryError={})).nurseryNotFound="nurseryNotFound"}(Yn||(Yn={})),function(t){let ge;var h;(h=ge=t.UpdateSessionsError||(t.UpdateSessionsError={})).noSessionsFound="noSessionsFound",h.invalidOutStatus="invalidOutStatus",h.invalidInAndOutStatus="invalidInAndOutStatus",h.missingInDate="missingInDate",h.missingOutDate="missingOutDate",h.invalidBusiness="invalidBusiness",h.missingReasonForAbsence="missingReasonForAbsence",h.reasonForAbsenceNotRequired="reasonForAbsenceNotRequired"}(Li||(Li={})),function(t){let ge;var Ht;let h,y,f,Wt,dn;(Ht=ge=t.ToiletingTypeKey||(t.ToiletingTypeKey={})).none="none",Ht.nappy="nappy",Ht.potty="potty",Ht.toilet="toilet",function(Ht){Ht.clean="clean",Ht.wet="wet",Ht.soiled="soiled",Ht.wetAndSoiled="wetAndSoiled"}(h=t.NappyStatus||(t.NappyStatus={})),function(Ht){Ht.noStartDate="noStartDate",Ht.noEndDate="noEndDate",Ht.childNotFound="childNotFound"}(y=t.GetChildToiletItemsError||(t.GetChildToiletItemsError={})),function(Ht){Ht.invalidBusiness="invalidBusiness",Ht.noChildDataFound="noChildDataFound"}(f=t.GetNurseryChildToiletGroupCountError||(t.GetNurseryChildToiletGroupCountError={})),function(Ht){Ht.childIdMissing="childIdMissing",Ht.noRecordsInserted="noRecordsInserted"}(Wt=t.InsertChildToiletingError||(t.InsertChildToiletingError={})),function(Ht){Ht.toiletIdMissing="toiletIdMissing",Ht.childIdMissing="childIdMissing",Ht.noRecordsUpdated="noRecordsUpdated"}(dn=t.UpdateChildToiletingError||(t.UpdateChildToiletingError={}))}(Pe||(Pe={})),function(t){let ge,h,y,f,Wt,dn;var Ht;(ge=t.GetSleepPageError||(t.GetSleepPageError={})).invalidBusiness="invalidBusiness",(Ht=h=t.GetChildSleepsError||(t.GetChildSleepsError={})).noStartDate="noStartDate",Ht.noEndDate="noEndDate",Ht.childNotFound="childNotFound",function(Ht){Ht.childIdMissing="childIdMissing",Ht.noRecordsInserted="noRecordsInserted"}(y=t.InsertSleepError||(t.InsertSleepError={})),function(Ht){Ht.idMissing="idMissing"}(f=t.UpdateSleepError||(t.UpdateSleepError={})),function(Ht){Ht.idMissing="idMissing"}(Wt=t.MarkAwakeError||(t.MarkAwakeError={})),function(Ht){Ht.idMissing="idMissing"}(dn=t.DeleteSleepError||(t.DeleteSleepError={}))}(Y||(Y={})),function(t){let ge;var f;let h,y;(f=ge=t.InsertCommentError||(t.InsertCommentError={})).childIdMissing="childIdMissing",f.emptyContent="emptyContent",f.noRecordsInserted="noRecordsInserted",function(f){f.idMissing="idMissing",f.emptyContent="emptyContent"}(h=t.UpdateCommentError||(t.UpdateCommentError={})),function(f){f.idMissing="idMissing"}(y=t.DeleteCommentError||(t.DeleteCommentError={}))}($e||($e={})),function(t){let ge;var It;let h,y,f,Wt,dn,Ht,on,si,Bt,Jr;(It=ge=t.InsertMealTemplateError||(t.InsertMealTemplateError={})).nameMissing="nameMissing",It.nameContainsQuote="nameContainsQuote",It.nameNotUnique="nameNotUnique",function(It){It.idMissing="idMissing",It.templateNotFound="templateNotFound",It.nameMissing="nameMissing",It.nameContainsQuote="nameContainsQuote",It.nameNotUnique="nameNotUnique"}(h=t.UpdateMealTemplateError||(t.UpdateMealTemplateError={})),function(It){It.idMissing="idMissing"}(y=t.DeleteMealTemplateError||(t.DeleteMealTemplateError={})),function(It){It.idMissing="idMissing",It.templateNotFound="templateNotFound",It.nameNotUnique="nameNotUnique"}(f=t.UndeleteMealTemplateError||(t.UndeleteMealTemplateError={})),function(It){It.nameMissing="nameMissing",It.nameContainsQuote="nameContainsQuote",It.templateNotFound="templateNotFound"}(Wt=t.InsertMealGroupError||(t.InsertMealGroupError={})),function(It){It.idMissing="idMissing",It.groupNotFound="groupNotFound",It.nameMissing="nameMissing",It.nameContainsQuote="nameContainsQuote"}(dn=t.UpdateMealGroupError||(t.UpdateMealGroupError={})),function(It){It.idMissing="idMissing"}(Ht=t.DeleteMealGroupError||(t.DeleteMealGroupError={})),function(It){It.groupIdMissing="groupIdMissing",It.groupNotFound="groupNotFound",It.childIdsMissing="childIdsMissing"}(on=t.InsertMealGroupMembersError||(t.InsertMealGroupMembersError={})),function(It){It.idMissing="idMissing",It.memberNotFound="memberNotFound"}(si=t.UpdateMealGroupMemberError||(t.UpdateMealGroupMemberError={})),function(It){It.idsMissing="idsMissing"}(Bt=t.DeleteMealGroupMembersError||(t.DeleteMealGroupMembersError={})),function(It){It.childNotFound="childNotFound"}(Jr=t.GetChildMealsError||(t.GetChildMealsError={}))}(Ge||(Ge={})),function(t){let ge;var It;let h,y,f,Wt,dn,Ht,on,si,Bt,Jr;(It=ge=t.InsertActivityTemplateError||(t.InsertActivityTemplateError={})).nameMissing="nameMissing",It.nameContainsQuote="nameContainsQuote",It.nameNotUnique="nameNotUnique",function(It){It.idMissing="idMissing",It.templateNotFound="templateNotFound",It.nameMissing="nameMissing",It.nameContainsQuote="nameContainsQuote",It.nameNotUnique="nameNotUnique"}(h=t.UpdateActivityTemplateError||(t.UpdateActivityTemplateError={})),function(It){It.idMissing="idMissing"}(y=t.DeleteActivityTemplateError||(t.DeleteActivityTemplateError={})),function(It){It.idMissing="idMissing",It.templateNotFound="templateNotFound",It.nameNotUnique="nameNotUnique"}(f=t.UndeleteActivityTemplateError||(t.UndeleteActivityTemplateError={})),function(It){It.nameMissing="nameMissing",It.nameContainsQuote="nameContainsQuote",It.templateNotFound="templateNotFound"}(Wt=t.InsertActivityGroupError||(t.InsertActivityGroupError={})),function(It){It.idMissing="idMissing",It.groupNotFound="groupNotFound",It.nameMissing="nameMissing",It.nameContainsQuote="nameContainsQuote"}(dn=t.UpdateActivityGroupError||(t.UpdateActivityGroupError={})),function(It){It.idMissing="idMissing"}(Ht=t.DeleteActivityGroupError||(t.DeleteActivityGroupError={})),function(It){It.groupIdMissing="groupIdMissing",It.groupNotFound="groupNotFound",It.childIdsMissing="childIdsMissing"}(on=t.InsertActivityGroupMembersError||(t.InsertActivityGroupMembersError={})),function(It){It.idMissing="idMissing",It.memberNotFound="memberNotFound"}(si=t.UpdateActivityGroupMemberError||(t.UpdateActivityGroupMemberError={})),function(It){It.idsMissing="idsMissing"}(Bt=t.DeleteActivityGroupMembersError||(t.DeleteActivityGroupMembersError={})),function(It){It.childNotFound="childNotFound"}(Jr=t.GetChildActivitiesError||(t.GetChildActivitiesError={}))}(R||(R={})),function(t){let ge,h,y;var f;(ge=t.GetSelectableContactsError||(t.GetSelectableContactsError={})).sessionIdsMissing="sessionIdsMissing",(f=h=t.AssignCollectionContactError||(t.AssignCollectionContactError={})).sessionIdsMissing="sessionIdsMissing",f.contactIdMissing="contactIdMissing",f.invalidCollectionType="invalidCollectionType",f.contactNotLinkedToChild="contactNotLinkedToChild",function(f){f.sessionIdsMissing="sessionIdsMissing",f.invalidCollectionType="invalidCollectionType"}(y=t.UnassignCollectionContactError||(t.UnassignCollectionContactError={}))}(Ye||(Ye={})),function(t){let ge;var Wt;let h,y,f;(Wt=ge=t.AddDayshareMediaError||(t.AddDayshareMediaError={})).ownerIdMissing="ownerIdMissing",Wt.nameMissing="nameMissing",Wt.extensionMissing="extensionMissing",Wt.locationMissing="locationMissing",Wt.ownerNotFound="ownerNotFound",Wt.locationNotIssuedForThisNursery="locationNotIssuedForThisNursery",Wt.storageProviderMismatch="storageProviderMismatch",function(Wt){Wt.ownerIdsMissing="ownerIdsMissing"}(h=t.GetDayshareMediaError||(t.GetDayshareMediaError={})),function(Wt){Wt.extensionMissing="extensionMissing",Wt.extensionNotAllowed="extensionNotAllowed"}(y=t.GetDayshareMediaUploadUrlError||(t.GetDayshareMediaUploadUrlError={})),function(Wt){Wt.mediaIdMissing="mediaIdMissing",Wt.mediaNotFound="mediaNotFound"}(f=t.DeleteDayshareMediaError||(t.DeleteDayshareMediaError={}))}(_n||(_n={})),function(t){let ge,h;var y;(ge=t.GetBusinessSettingsError||(t.GetBusinessSettingsError={})).invalidBusiness="invalidBusiness",(y=h=t.UpdateBusinessSettingsError||(t.UpdateBusinessSettingsError={})).invalidBusiness="invalidBusiness",y.invalidPermissions="invalidPermissions"}(pi||(pi={})),function(t){let ge,h;(ge=t.GetChildDetailError||(t.GetChildDetailError={})).childNotFound="childNotFound",(h=t.GetChildCareInfoError||(t.GetChildCareInfoError={})).childNotFound="childNotFound"}(Ri||(Ri={})),function(t){let ge;(ge=t.UpdateUserRoleGroupError||(t.UpdateUserRoleGroupError={})).userNotFound="userNotFound"}(di||(di={}));let Ki=(()=>{class t{constructor(h){this.sauronService=h,this.onUpdateUserRoleGroup=new g.x}updateUserRoleGroup(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsUserRoleGroup","UpdateUserRoleGroup",y);return f.successful&&this.onUpdateUserRoleGroup.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var hr;!function(t){let ge;(ge=t.DeleteAssessmentPreferencesError||(t.DeleteAssessmentPreferencesError={})).preferenceNotFound="preferenceNotFound"}(hr||(hr={}));let rr=(()=>{class t{constructor(h){this.sauronService=h,this.onDeleteAssessmentPreferences=new g.x,this.onGetAssessmentPreferences=new g.x,this.onGetEyfsSortingBannerPreferences=new g.x,this.onSaveUserPreferences=new g.x}deleteAssessmentPreferences(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsUserPreferences","DeleteAssessmentPreferences",h);return y.successful&&this.onDeleteAssessmentPreferences.next(y),y})}getAssessmentPreferences(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsUserPreferences","GetAssessmentPreferences",h);return y.successful&&this.onGetAssessmentPreferences.next(y),y})}getEyfsSortingBannerPreferences(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsUserPreferences","GetEyfsSortingBannerPreferences",h);return y.successful&&this.onGetEyfsSortingBannerPreferences.next(y),y})}saveUserPreferences(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsUserPreferences","SaveUserPreferences",y);return f.successful&&this.onSaveUserPreferences.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})(),Ai=(()=>{class t{constructor(h){this.sauronService=h,this.onCanCurrentUserAccessSettings=new g.x}canCurrentUserAccessSettings(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsUserPermissions","CanCurrentUserAccessSettings",h);return this.onCanCurrentUserAccessSettings.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Ei;!function(t){let ge,h;(ge=t.GetUserFiltersError||(t.GetUserFiltersError={})).filterNotFound="filterNotFound",(h=t.SaveUserFiltersError||(t.SaveUserFiltersError={})).ageOutOfRange="ageOutOfRange"}(Ei||(Ei={}));let Tr=(()=>{class t{constructor(h){this.sauronService=h,this.onGetUserFilters=new g.x,this.onGetUsersCommand=new g.x,this.onSaveUserFilters=new g.x}getUserFilters(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsUserFilters","GetUserFilters",h);return y.successful&&this.onGetUserFilters.next(y),y})}getUsersCommand(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsUserFilters","GetUsersCommand",h);return y.successful&&this.onGetUsersCommand.next(y),y})}saveUserFilters(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsUserFilters","SaveUserFilters",y);return this.onSaveUserFilters.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Pi;!function(t){let ge;(ge=t.GetUserByIdError||(t.GetUserByIdError={})).userDoesNotExist="userDoesNotExist"}(Pi||(Pi={}));let qi=(()=>{class t{constructor(h){this.sauronService=h,this.onGetAbacusUser=new g.x,this.onGetUserById=new g.x,this.onGetUsersForCurrentBusiness=new g.x,this.onGetUsersWithPermissions=new g.x}getAbacusUser(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsUser","GetAbacusUser",h);return this.onGetAbacusUser.next(y),y})}getUserById(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsUser","GetUserById",y);return f.successful&&this.onGetUserById.next({request:h,response:f}),f})}getUsersForCurrentBusiness(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsUser","GetUsersForCurrentBusiness",h);return y.successful&&this.onGetUsersForCurrentBusiness.next(y),y})}getUsersWithPermissions(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsUser","GetUsersWithPermissions",h);return this.onGetUsersWithPermissions.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Pr,Ji;!function(t){let ge;var h;(h=ge=t.UpdateUploadedFileAfterTranscodingError||(t.UpdateUploadedFileAfterTranscodingError={})).uploadedFileNotFound="uploadedFileNotFound",h.pathIsEmpty="pathIsEmpty"}(Pr||(Pr={})),function(t){let ge;var y;let h;(y=ge=t.PrintTrackerReportGroupingType||(t.PrintTrackerReportGroupingType={})).oneForAll="oneForAll",y.oneEach="oneEach",function(y){y.day="day",y.year="year"}(h=t.PrintTrackerReportTrackerReportType||(t.PrintTrackerReportTrackerReportType={}))}(Ji||(Ji={}));let fi=(()=>{class t{constructor(h){this.sauronService=h}printTrackerReport(h,y){this.sauronService.executeFileDownload(h,"FootstepsTrackerReport","PrintTrackerReport",y)}printTrackerReportUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsTrackerReport","PrintTrackerReport",y)}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})(),Mr=(()=>{class t{constructor(h){this.sauronService=h,this.onGetFootstepsUserTempAuthToken=new g.x}getFootstepsUserTempAuthToken(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsTempAuth","GetFootstepsUserTempAuthToken",h);return this.onGetFootstepsUserTempAuthToken.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var bo;!function(t){let ge;var h;(h=ge=t.PrintStatementGapsReportGroupingType||(t.PrintStatementGapsReportGroupingType={})).oneForAll="oneForAll",h.oneEach="oneEach"}(bo||(bo={}));let kr=(()=>{class t{constructor(h){this.sauronService=h}printStatementGapsReport(h,y){this.sauronService.executeFileDownload(h,"FootstepsStatementGapsReportPrinting","PrintStatementGapsReport",y)}printStatementGapsReportUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsStatementGapsReportPrinting","PrintStatementGapsReport",y)}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})(),Ho=(()=>{class t{constructor(h){this.sauronService=h,this.onGetKeyPersons=new g.x}getKeyPersons(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsStaff","GetKeyPersons",h);return this.onGetKeyPersons.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Hr;!function(t){let ge;var h;(h=ge=t.SignFileUploadError||(t.SignFileUploadError={})).unsupportedHttpMethod="unsupportedHttpMethod",h.uploadSignatureInvalid="uploadSignatureInvalid",h.generatedUrlMismatch="generatedUrlMismatch"}(Hr||(Hr={}));let Ur=(()=>{class t{constructor(h){this.sauronService=h,this.onSignFileUpload=new g.x}signFileUpload(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsSignFileUpload","SignFileUpload",y);return f.successful&&this.onSignFileUpload.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Qr;!function(t){let ge;(ge=t.SetupSystemError||(t.SetupSystemError={})).corporationNotFound="corporationNotFound"}(Qr||(Qr={}));let xo=(()=>{class t{constructor(h){this.sauronService=h,this.onSetupSystem=new g.x}setupSystem(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsSetupSystem","SetupSystem",h);return y.successful&&this.onSetupSystem.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var uo;!function(t){let ge;var y;let h;(y=ge=t.GetNextSessionTimeError||(t.GetNextSessionTimeError={})).invalidChildId="invalidChildId",y.noChildIdSpecified="noChildIdSpecified",y.userHasInvalidLegacyReference="userHasInvalidLegacyReference",function(y){y.noChildrenSpecified="noChildrenSpecified",y.userHasInvalidLegacyReference="userHasInvalidLegacyReference",y.invalidChildId="invalidChildId",y.invalidBusinessId="invalidBusinessId"}(h=t.GetSessionsAndHolidaysError||(t.GetSessionsAndHolidaysError={}))}(uo||(uo={}));let fo=(()=>{class t{constructor(h){this.sauronService=h,this.onGetRooms=new g.x}getRooms(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsRoom","GetRooms",h);return this.onGetRooms.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})(),vr=(()=>{class t{constructor(h){this.sauronService=h,this.onGetRoleGroups=new g.x}getRoleGroups(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsRoleGroups","GetRoleGroups",h);return this.onGetRoleGroups.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var wo;!function(t){let ge;var Ht;let h,y,f,Wt,dn;(Ht=ge=t.GetLearningJourneyDataObservationType||(t.GetLearningJourneyDataObservationType={})).observation="observation",Ht.groupObservation="groupObservation",Ht.homeObservation="homeObservation",Ht.nextStep="nextStep",function(Ht){Ht.underachieving="underachieving",Ht.achieving="achieving",Ht.noData="noData",Ht.notApplicable="notApplicable"}(h=t.GetLearningOverviewAchievementStatus||(t.GetLearningOverviewAchievementStatus={})),function(Ht){Ht.notStarted="notStarted",Ht.started="started",Ht.secured="secured"}(y=t.GetLearningOverviewScore||(t.GetLearningOverviewScore={})),function(Ht){Ht.childNotFound="childNotFound",Ht.childListEmpty="childListEmpty",Ht.endDateBeforeStartDate="endDateBeforeStartDate"}(f=t.GetMonthlyLeuvenScaleReportDataError||(t.GetMonthlyLeuvenScaleReportDataError={})),function(Ht){Ht.oneForAll="oneForAll",Ht.oneEach="oneEach"}(Wt=t.GetTrackerReportDataGroupingType||(t.GetTrackerReportDataGroupingType={})),function(Ht){Ht.oneForAll="oneForAll",Ht.oneEach="oneEach"}(dn=t.NewGetTrackerReportDataGroupingType||(t.NewGetTrackerReportDataGroupingType={}))}(wo||(wo={}));let To=(()=>{class t{constructor(h){this.sauronService=h,this.onGetLearningJourneyData=new g.x,this.onGetLearningOverview=new g.x,this.onGetMonthlyLeuvenScaleReportData=new g.x,this.onGetTrackerReportData=new g.x,this.onNewGetTrackerReportData=new g.x}getLearningJourneyData(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsReports","GetLearningJourneyData",y);return this.onGetLearningJourneyData.next({request:h,response:f}),f})}getLearningOverview(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsReports","GetLearningOverview",y);return this.onGetLearningOverview.next({request:h,response:f}),f})}getMonthlyLeuvenScaleReportData(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsReports","GetMonthlyLeuvenScaleReportData",y);return f.successful&&this.onGetMonthlyLeuvenScaleReportData.next({request:h,response:f}),f})}getTrackerReportData(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsReports","GetTrackerReportData",y);return this.onGetTrackerReportData.next({request:h,response:f}),f})}newGetTrackerReportData(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsReports","NewGetTrackerReportData",y);return this.onNewGetTrackerReportData.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Do;!function(t){let ge,h,y;var f;(ge=t.GetAgeBandProgressPercentagesByDateForEyfs2021Error||(t.GetAgeBandProgressPercentagesByDateForEyfs2021Error={})).childNotFound="childNotFound",(f=h=t.PrintProgressReportProgressReportType||(t.PrintProgressReportProgressReportType={})).day="day",f.year="year",function(f){f.oneForAll="oneForAll",f.oneEach="oneEach"}(y=t.PrintProgressReportGroupingType||(t.PrintProgressReportGroupingType={}))}(Do||(Do={}));let ko=(()=>{class t{constructor(h){this.sauronService=h,this.onGetAgebandProgressPercentagesByDate=new g.x,this.onGetAgeBandProgressPercentagesByDateForEyfs2021=new g.x}getAgebandProgressPercentagesByDate(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsProgressReports","GetAgebandProgressPercentagesByDate",y);return f.successful&&this.onGetAgebandProgressPercentagesByDate.next({request:h,response:f}),f})}getAgeBandProgressPercentagesByDateForEyfs2021(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsProgressReports","GetAgeBandProgressPercentagesByDateForEyfs2021",y);return f.successful&&this.onGetAgeBandProgressPercentagesByDateForEyfs2021.next({request:h,response:f}),f})}printProgressReport(h,y){this.sauronService.executeFileDownload(h,"FootstepsProgressReports","PrintProgressReport",y)}printProgressReportUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsProgressReports","PrintProgressReport",y)}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var go;!function(t){let ge;var y;let h;(y=ge=t.PrintLearningJourneyGroupingType||(t.PrintLearningJourneyGroupingType={})).oneForAll="oneForAll",y.oneEach="oneEach",function(y){y.oneForAll="oneForAll",y.oneEach="oneEach"}(h=t.PrintNextStepsReportGroupingType||(t.PrintNextStepsReportGroupingType={}))}(go||(go={}));let Yr=(()=>{class t{constructor(h){this.sauronService=h}printAchievement(h,y){this.sauronService.executeFileDownload(h,"FootstepsPrinting","PrintAchievement",y)}printAchievementUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsPrinting","PrintAchievement",y)}printAssessment(h,y){this.sauronService.executeFileDownload(h,"FootstepsPrinting","PrintAssessment",y)}printAssessmentUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsPrinting","PrintAssessment",y)}printCoelReport(h,y){this.sauronService.executeFileDownload(h,"FootstepsPrinting","PrintCoelReport",y)}printCoelReportUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsPrinting","PrintCoelReport",y)}printLearningJourney(h,y){this.sauronService.executeFileDownload(h,"FootstepsPrinting","PrintLearningJourney",y)}printLearningJourneyUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsPrinting","PrintLearningJourney",y)}printLearningOverviewReport(h,y){this.sauronService.executeFileDownload(h,"FootstepsPrinting","PrintLearningOverviewReport",y)}printLearningOverviewReportUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsPrinting","PrintLearningOverviewReport",y)}printNextStepsReport(h,y){this.sauronService.executeFileDownload(h,"FootstepsPrinting","PrintNextStepsReport",y)}printNextStepsReportUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsPrinting","PrintNextStepsReport",y)}printProgress2021Report(h,y){this.sauronService.executeFileDownload(h,"FootstepsPrinting","PrintProgress2021Report",y)}printProgress2021ReportUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsPrinting","PrintProgress2021Report",y)}printStatementGaps2021Report(h,y){this.sauronService.executeFileDownload(h,"FootstepsPrinting","PrintStatementGaps2021Report",y)}printStatementGaps2021ReportUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsPrinting","PrintStatementGaps2021Report",y)}printWellbeingAndInvolvementReport(h,y){this.sauronService.executeFileDownload(h,"FootstepsPrinting","PrintWellbeingAndInvolvementReport",y)}printWellbeingAndInvolvementReportUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsPrinting","PrintWellbeingAndInvolvementReport",y)}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Xr;!function(t){let ge,h,y,f,Wt,dn,Ht,on,si,Bt,Jr,It,_s,vs,ss,ys,Cs;var bn;(ge=t.ApproveObservationError||(t.ApproveObservationError={})).observationNotFound="observationNotFound",(bn=h=t.CreateCarerObservationError||(t.CreateCarerObservationError={})).descriptionEmpty="descriptionEmpty",bn.recordedDateInFuture="recordedDateInFuture",bn.childListEmpty="childListEmpty",bn.childNotFound="childNotFound",bn.invalidChildForCarer="invalidChildForCarer",bn.fileNotFound="fileNotFound",function(bn){bn.descriptionEmpty="descriptionEmpty",bn.recordedDateInFuture="recordedDateInFuture",bn.childListEmpty="childListEmpty"}(y=t.CreateObservationCommandError||(t.CreateObservationCommandError={})),function(bn){bn.observationNotFound="observationNotFound",bn.childNotInObservation="childNotInObservation"}(f=t.CreateObservationFromGroupObservationError||(t.CreateObservationFromGroupObservationError={})),function(bn){bn.observationNotFound="observationNotFound",bn.userDoesNotOwnObservation="userDoesNotOwnObservation",bn.fileDoesNotExist="fileDoesNotExist",bn.fileDoesNotExistAgainstObservation="fileDoesNotExistAgainstObservation"}(Wt=t.DeleteCarerObservationMediaError||(t.DeleteCarerObservationMediaError={})),function(bn){bn.observationNotFound="observationNotFound",bn.childObservationNotFound="childObservationNotFound"}(dn=t.DeleteChildObservationError||(t.DeleteChildObservationError={})),function(bn){bn.observationNotFound="observationNotFound",bn.permissionDenied="permissionDenied",bn.notADraft="notADraft"}(Ht=t.DeleteObservationAsCurrentCarerError||(t.DeleteObservationAsCurrentCarerError={})),function(bn){bn.observationNotFound="observationNotFound"}(on=t.DeleteObservationError||(t.DeleteObservationError={})),function(bn){bn.observationNotFound="observationNotFound"}(si=t.DeleteObservationsError||(t.DeleteObservationsError={})),function(bn){bn.observationNotFound="observationNotFound",bn.childListEmpty="childListEmpty",bn.fileNotFound="fileNotFound",bn.missingChunks="missingChunks",bn.invalidUser="invalidUser",bn.businessNotFound="businessNotFound"}(Bt=t.EditCarerObservationError||(t.EditCarerObservationError={})),function(bn){bn.observationNotFound="observationNotFound",bn.userDoesNotOwnObservation="userDoesNotOwnObservation"}(Jr=t.GetCarerHomeObservationError||(t.GetCarerHomeObservationError={})),function(bn){bn.observationTypesIsNull="observationTypesIsNull"}(It=t.GetObservationCountByTypesAndStatusError||(t.GetObservationCountByTypesAndStatusError={})),function(bn){bn.observationNotFound="observationNotFound"}(_s=t.GetObservationError||(t.GetObservationError={})),function(bn){bn.userHasNoPermissions="userHasNoPermissions"}(vs=t.GetObservationsAwaitingApprovalError||(t.GetObservationsAwaitingApprovalError={})),function(bn){bn.observationNotFound="observationNotFound"}(ss=t.GetSuggestedNextStepCommandError||(t.GetSuggestedNextStepCommandError={})),function(bn){bn.observationNotFound="observationNotFound"}(ys=t.RejectObservationError||(t.RejectObservationError={})),function(bn){bn.observationNotFound="observationNotFound",bn.childListEmpty="childListEmpty"}(Cs=t.UpdateObservationCommandError||(t.UpdateObservationCommandError={}))}(Xr||(Xr={}));let eo=(()=>{class t{constructor(h){this.sauronService=h,this.onApproveObservation=new g.x,this.onCreateCarerObservation=new g.x,this.onCreateObservationCommand=new g.x,this.onCreateObservationFromGroupObservation=new g.x,this.onDeleteCarerObservationMedia=new g.x,this.onDeleteChildObservation=new g.x,this.onDeleteObservationAsCurrentCarer=new g.x,this.onDeleteObservation=new g.x,this.onDeleteObservations=new g.x,this.onEditCarerObservation=new g.x,this.onGetAllObservationsForCurrentCarersChildren=new g.x,this.onGetAssembledNurseryObservationByStatus=new g.x,this.onGetAssembledObservationsByStatus=new g.x,this.onGetBaselineObservationCountByChildId=new g.x,this.onGetCarerHomeObservation=new g.x,this.onGetCarerHomeObservationsCountForCurrentMonth=new g.x,this.onGetChildsObservationsByEyfsArea=new g.x,this.onGetChildsObservationsByObservationStatus=new g.x,this.onGetChildsUnassignedObservations=new g.x,this.onGetDraftCarerHomeObservationsCount=new g.x,this.onGetDraftCarerHomeObservations=new g.x,this.onGetObservationCountByStatus=new g.x,this.onGetObservationCountByTypeForChild=new g.x,this.onGetObservationCountByTypesAndStatus=new g.x,this.onGetObservation=new g.x,this.onGetObservationsAwaitingApproval=new g.x,this.onGetObservationsByType=new g.x,this.onGetSuggestedNextStepCommand=new g.x,this.onRejectObservation=new g.x,this.onUpdateObservationCommand=new g.x}approveObservation(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","ApproveObservation",y);return this.onApproveObservation.next({request:h,response:f}),f})}createCarerObservation(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","CreateCarerObservation",y);return f.successful&&this.onCreateCarerObservation.next({request:h,response:f}),f})}createObservationCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","CreateObservationCommand",y);return this.onCreateObservationCommand.next({request:h,response:f}),f})}createObservationFromGroupObservation(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","CreateObservationFromGroupObservation",y);return f.successful&&this.onCreateObservationFromGroupObservation.next({request:h,response:f}),f})}deleteCarerObservationMedia(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","DeleteCarerObservationMedia",y);return f.successful&&this.onDeleteCarerObservationMedia.next({request:h,response:f}),f})}deleteChildObservation(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","DeleteChildObservation",y);return f.successful&&this.onDeleteChildObservation.next({request:h,response:f}),f})}deleteObservationAsCurrentCarer(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","DeleteObservationAsCurrentCarer",y);return f.successful&&this.onDeleteObservationAsCurrentCarer.next({request:h,response:f}),f})}deleteObservation(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","DeleteObservation",y);return f.successful&&this.onDeleteObservation.next({request:h,response:f}),f})}deleteObservations(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","DeleteObservations",y);return f.successful&&this.onDeleteObservations.next({request:h,response:f}),f})}editCarerObservation(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","EditCarerObservation",y);return f.successful&&this.onEditCarerObservation.next({request:h,response:f}),f})}getAllObservationsForCurrentCarersChildren(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetAllObservationsForCurrentCarersChildren",y);return this.onGetAllObservationsForCurrentCarersChildren.next({request:h,response:f}),f})}getAssembledNurseryObservationByStatus(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetAssembledNurseryObservationByStatus",y);return this.onGetAssembledNurseryObservationByStatus.next({request:h,response:f}),f})}getAssembledObservationsByStatus(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetAssembledObservationsByStatus",y);return this.onGetAssembledObservationsByStatus.next({request:h,response:f}),f})}getBaselineObservationCountByChildId(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetBaselineObservationCountByChildId",y);return this.onGetBaselineObservationCountByChildId.next({request:h,response:f}),f})}getCarerHomeObservation(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetCarerHomeObservation",y);return f.successful&&this.onGetCarerHomeObservation.next({request:h,response:f}),f})}getCarerHomeObservationsCountForCurrentMonth(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsObservations","GetCarerHomeObservationsCountForCurrentMonth",h);return y.successful&&this.onGetCarerHomeObservationsCountForCurrentMonth.next(y),y})}getChildsObservationsByEyfsArea(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetChildsObservationsByEyfsArea",y);return this.onGetChildsObservationsByEyfsArea.next({request:h,response:f}),f})}getChildsObservationsByObservationStatus(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetChildsObservationsByObservationStatus",y);return this.onGetChildsObservationsByObservationStatus.next({request:h,response:f}),f})}getChildsUnassignedObservations(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetChildsUnassignedObservations",y);return this.onGetChildsUnassignedObservations.next({request:h,response:f}),f})}getDraftCarerHomeObservationsCount(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsObservations","GetDraftCarerHomeObservationsCount",h);return this.onGetDraftCarerHomeObservationsCount.next(y),y})}getDraftCarerHomeObservations(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsObservations","GetDraftCarerHomeObservations",h);return this.onGetDraftCarerHomeObservations.next(y),y})}getObservationCountByStatus(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetObservationCountByStatus",y);return this.onGetObservationCountByStatus.next({request:h,response:f}),f})}getObservationCountByTypeForChild(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetObservationCountByTypeForChild",y);return this.onGetObservationCountByTypeForChild.next({request:h,response:f}),f})}getObservationCountByTypesAndStatus(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetObservationCountByTypesAndStatus",y);return f.successful&&this.onGetObservationCountByTypesAndStatus.next({request:h,response:f}),f})}getObservation(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetObservation",y);return f.successful&&this.onGetObservation.next({request:h,response:f}),f})}getObservationsAwaitingApproval(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsObservations","GetObservationsAwaitingApproval",h);return y.successful&&this.onGetObservationsAwaitingApproval.next(y),y})}getObservationsByType(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetObservationsByType",y);return f.successful&&this.onGetObservationsByType.next({request:h,response:f}),f})}getSuggestedNextStepCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","GetSuggestedNextStepCommand",y);return this.onGetSuggestedNextStepCommand.next({request:h,response:f}),f})}rejectObservation(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","RejectObservation",y);return this.onRejectObservation.next({request:h,response:f}),f})}updateObservationCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservations","UpdateObservationCommand",y);return f.successful&&this.onUpdateObservationCommand.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Mo;!function(t){let ge;var Bt;let h,y,f,Wt,dn,Ht,on,si;(Bt=ge=t.CloneUploadedFileError||(t.CloneUploadedFileError={})).fileNotFound="fileNotFound",Bt.invalidFileName="invalidFileName",function(Bt){Bt.carer="carer",Bt.user="user"}(h=t.CompleteUploadingObservationMediaFileUserType||(t.CompleteUploadingObservationMediaFileUserType={})),function(Bt){Bt.missingChunks="missingChunks",Bt.invalidUser="invalidUser",Bt.fileNotFound="fileNotFound",Bt.observationNotFound="observationNotFound",Bt.businessNotFound="businessNotFound"}(y=t.CompleteUploadingObservationMediaFileError||(t.CompleteUploadingObservationMediaFileError={})),function(Bt){Bt.fileDoesNotExistAgainstObservation="fileDoesNotExistAgainstObservation",Bt.fileNotFound="fileNotFound"}(f=t.DeleteObservationMediaError||(t.DeleteObservationMediaError={})),function(Bt){Bt.observationNotFound="observationNotFound"}(Wt=t.GetObservationMediaBase64Error||(t.GetObservationMediaBase64Error={})),function(Bt){Bt.small="small",Bt.medium="medium",Bt.large="large",Bt.full="full"}(dn=t.ImageSize||(t.ImageSize={})),function(Bt){Bt.observationNotFound="observationNotFound"}(Ht=t.GetObservationMediaError||(t.GetObservationMediaError={})),function(Bt){Bt.businessNotFound="businessNotFound"}(on=t.MigrateRackspaceToAmazonError||(t.MigrateRackspaceToAmazonError={})),function(Bt){Bt.mediaFilesDoNotExist="mediaFilesDoNotExist",Bt.oneOrMoreOfTheFilesDoesNotExist="oneOrMoreOfTheFilesDoesNotExist"}(si=t.UpdateObservationMediaParentPortalStatusError||(t.UpdateObservationMediaParentPortalStatusError={}))}(Mo||(Mo={}));let _o=(()=>{class t{constructor(h){this.sauronService=h,this.onCloneUploadedFile=new g.x,this.onCompleteUploadingObservationMediaFile=new g.x,this.onDeleteObservationMedia=new g.x,this.onGetObservationMediaBase64=new g.x,this.onGetObservationMedia=new g.x,this.onMigrateRackspaceToAmazon=new g.x,this.onUpdateObservationMediaParentPortalStatus=new g.x}cloneUploadedFile(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservationMediaFiles","CloneUploadedFile",y);return f.successful&&this.onCloneUploadedFile.next({request:h,response:f}),f})}completeUploadingObservationMediaFile(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservationMediaFiles","CompleteUploadingObservationMediaFile",y);return f.successful&&this.onCompleteUploadingObservationMediaFile.next({request:h,response:f}),f})}deleteObservationMedia(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservationMediaFiles","DeleteObservationMedia",y);return f.successful&&this.onDeleteObservationMedia.next({request:h,response:f}),f})}getBlurredObservationImageFile(h,y){this.sauronService.executeFileDownload(h,"FootstepsObservationMediaFiles","GetBlurredObservationImageFile",y)}getBlurredObservationImageFileUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsObservationMediaFiles","GetBlurredObservationImageFile",y)}getBlurredObservationImageFileForCarer(h,y){this.sauronService.executeFileDownload(h,"FootstepsObservationMediaFiles","GetBlurredObservationImageFileForCarer",y)}getBlurredObservationImageFileForCarerUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsObservationMediaFiles","GetBlurredObservationImageFileForCarer",y)}getBlurredObservationImageFileForChildren(h,y){this.sauronService.executeFileDownload(h,"FootstepsObservationMediaFiles","GetBlurredObservationImageFileForChildren",y)}getBlurredObservationImageFileForChildrenUrl(h,y){return this.sauronService.getFileDownloadUrl(h,"FootstepsObservationMediaFiles","GetBlurredObservationImageFileForChildren",y)}getObservationMediaBase64(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservationMediaFiles","GetObservationMediaBase64",y);return f.successful&&this.onGetObservationMediaBase64.next({request:h,response:f}),f})}getObservationMedia(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservationMediaFiles","GetObservationMedia",y);return f.successful&&this.onGetObservationMedia.next({request:h,response:f}),f})}migrateRackspaceToAmazon(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservationMediaFiles","MigrateRackspaceToAmazon",y);return f.successful&&this.onMigrateRackspaceToAmazon.next({request:h,response:f}),f})}updateObservationMediaParentPortalStatus(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservationMediaFiles","UpdateObservationMediaParentPortalStatus",y);return f.successful&&this.onUpdateObservationMediaParentPortalStatus.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Gr;!function(t){let ge;var f;let h,y;(f=ge=t.GetChildrenLastObservedMattersOnCurriculumError||(t.GetChildrenLastObservedMattersOnCurriculumError={})).childrenNotFound="childrenNotFound",f.observationNotFound="observationNotFound",function(f){f.observationNotFound="observationNotFound"}(h=t.GetMattersForChildrenByAreaError||(t.GetMattersForChildrenByAreaError={})),function(f){f.childNotFound="childNotFound",f.observationNotFound="observationNotFound",f.businessIdNotFound="businessIdNotFound",f.childNotPartOfThisObservation="childNotPartOfThisObservation"}(y=t.SaveObservationMatterError||(t.SaveObservationMatterError={}))}(Gr||(Gr={}));let Ao=(()=>{class t{constructor(h){this.sauronService=h,this.onGetChildrenLastCompletedMattersByDate=new g.x,this.onGetChildrenLastObservedMattersOnCurriculum=new g.x,this.onGetMattersForChildrenByArea=new g.x,this.onGetObservationMatters=new g.x,this.onSaveObservationMatter=new g.x}getChildrenLastCompletedMattersByDate(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservationMatters","GetChildrenLastCompletedMattersByDate",y);return this.onGetChildrenLastCompletedMattersByDate.next({request:h,response:f}),f})}getChildrenLastObservedMattersOnCurriculum(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservationMatters","GetChildrenLastObservedMattersOnCurriculum",y);return f.successful&&this.onGetChildrenLastObservedMattersOnCurriculum.next({request:h,response:f}),f})}getMattersForChildrenByArea(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservationMatters","GetMattersForChildrenByArea",y);return f.successful&&this.onGetMattersForChildrenByArea.next({request:h,response:f}),f})}getObservationMatters(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservationMatters","GetObservationMatters",y);return this.onGetObservationMatters.next({request:h,response:f}),f})}saveObservationMatter(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsObservationMatters","SaveObservationMatter",y);return this.onSaveObservationMatter.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var to;!function(t){let ge;var Wt;let h,y,f;(Wt=ge=t.CreateObservationFromNextStepsError||(t.CreateObservationFromNextStepsError={})).observationNotFound="observationNotFound",Wt.nextStepNotFound="nextStepNotFound",function(Wt){Wt.invalidNextStepId="invalidNextStepId"}(h=t.GetNextStepCommandError||(t.GetNextStepCommandError={})),function(Wt){Wt.childNotFound="childNotFound"}(y=t.GetNextStepsForReportError||(t.GetNextStepsForReportError={})),function(Wt){Wt.nextStepNotFound="nextStepNotFound",Wt.cannotUpdateADeletedNextStep="cannotUpdateADeletedNextStep",Wt.startDateAfterEndDate="startDateAfterEndDate",Wt.invalidDateCombination="invalidDateCombination"}(f=t.UpdateNextStepError||(t.UpdateNextStepError={}))}(to||(to={}));let vo=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateObservationFromNextSteps=new g.x,this.onDeleteNextSteps=new g.x,this.onGetAllApplicableNextSteps=new g.x,this.onGetNextStepCommand=new g.x,this.onGetNextStepsForReport=new g.x,this.onGetTotalNextStepsCountForCurrentBusiness=new g.x,this.onUpdateNextStep=new g.x,this.onUseNextSteps=new g.x}createObservationFromNextSteps(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsNextStep","CreateObservationFromNextSteps",y);return f.successful&&this.onCreateObservationFromNextSteps.next({request:h,response:f}),f})}deleteNextSteps(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsNextStep","DeleteNextSteps",y);return f.successful&&this.onDeleteNextSteps.next({request:h,response:f}),f})}getAllApplicableNextSteps(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsNextStep","GetAllApplicableNextSteps",h);return this.onGetAllApplicableNextSteps.next(y),y})}getNextStepCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsNextStep","GetNextStepCommand",y);return f.successful&&this.onGetNextStepCommand.next({request:h,response:f}),f})}getNextStepsForReport(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsNextStep","GetNextStepsForReport",y);return f.successful&&this.onGetNextStepsForReport.next({request:h,response:f}),f})}getTotalNextStepsCountForCurrentBusiness(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsNextStep","GetTotalNextStepsCountForCurrentBusiness",h);return this.onGetTotalNextStepsCountForCurrentBusiness.next(y),y})}updateNextStep(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsNextStep","UpdateNextStep",y);return f.successful&&this.onUpdateNextStep.next({request:h,response:f}),f})}useNextSteps(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsNextStep","UseNextSteps",y);return f.successful&&this.onUseNextSteps.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var mt,tt;!function(t){let ge;var f;let h,y;(f=ge=t.GetParentPortalNewsfeedByPageNewsfeedObservationType||(t.GetParentPortalNewsfeedByPageNewsfeedObservationType={})).baselineObservation="baselineObservation",f.homeObservation="homeObservation",f.adultLedActivity="adultLedActivity",f.childInitiated="childInitiated",f.carerHomeObservation="carerHomeObservation",function(f){f.observation="observation",f.achievement="achievement",f.dropOff="dropOff",f.pickUp="pickUp",f.meal="meal",f.sleep="sleep",f.nappy="nappy",f.activity="activity",f.comment="comment"}(h=t.GetParentPortalNewsfeedByPageNewsfeedByPageItemType||(t.GetParentPortalNewsfeedByPageNewsfeedByPageItemType={})),function(f){f.childNotFound="childNotFound"}(y=t.GetParentPortalNewsfeedByPageError||(t.GetParentPortalNewsfeedByPageError={}))}(mt||(mt={})),function(t){let ge;var h;(h=ge=t.SetFaceTaggingsError||(t.SetFaceTaggingsError={})).noTaggings="noTaggings",h.observationMediaNotFound="observationMediaNotFound",h.childNotFound="childNotFound",h.positionInvalid="positionInvalid"}(tt||(tt={}));let en=(()=>{class t{constructor(h){this.sauronService=h,this.onGetFaceTaggingData=new g.x,this.onSetFaceTaggings=new g.x}getFaceTaggingData(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsFaceTagging","GetFaceTaggingData",y);return this.onGetFaceTaggingData.next({request:h,response:f}),f})}setFaceTaggings(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsFaceTagging","SetFaceTaggings",y);return f.successful&&this.onSetFaceTaggings.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})(),xn=(()=>{class t{constructor(h){this.sauronService=h,this.onUpgradeToEyfs2021=new g.x}upgradeToEyfs2021(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsEyfsUpgrade","UpgradeToEyfs2021",h);return this.onUpgradeToEyfs2021.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})(),gi=(()=>{class t{constructor(h){this.sauronService=h,this.onGetEyfsCohorts=new g.x}getEyfsCohorts(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsEyfsCohorts","GetEyfsCohorts",h);return this.onGetEyfsCohorts.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})(),Fi=(()=>{class t{constructor(h){this.sauronService=h,this.onGetEyfsAreas=new g.x}getEyfsAreas(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsEyfsAreas","GetEyfsAreas",h);return this.onGetEyfsAreas.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})(),Ir=(()=>{class t{constructor(h){this.sauronService=h,this.onGetEyfs2021Areas=new g.x}getEyfs2021Areas(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsEyfs2021Areas","GetEyfs2021Areas",h);return this.onGetEyfs2021Areas.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var no;!function(t){let ge;var It;let h,y,f,Wt,dn,Ht,on,si,Bt,Jr;(It=ge=t.SendAchievementEmailError||(t.SendAchievementEmailError={})).recipientListEmpty="recipientListEmpty",It.invalidCarerId="invalidCarerId",It.invalidAchievement="invalidAchievement",function(It){It.noCarersFound="noCarersFound",It.noEmailAddressesFound="noEmailAddressesFound",It.childNotLinkedToCarer="childNotLinkedToCarer"}(h=t.SendAssessmentEmailError||(t.SendAssessmentEmailError={})),function(It){It.childNotFound="childNotFound",It.keyPersonNotFound="keyPersonNotFound",It.noCarersFound="noCarersFound",It.noEmailAddressesFound="noEmailAddressesFound",It.carerNotLinkedToChild="carerNotLinkedToChild"}(y=t.SendCoelReportEmailError||(t.SendCoelReportEmailError={})),function(It){It.noSubjectFound="noSubjectFound",It.noContentFound="noContentFound",It.currentUserNotFound="currentUserNotFound",It.businessNotFound="businessNotFound",It.nurseryNotFound="nurseryNotFound",It.nurseryNoEmailAddress="nurseryNoEmailAddress",It.carerNoEmailAddress="carerNoEmailAddress",It.fileTypeNotAllowed="fileTypeNotAllowed"}(f=t.SendEmailToNurseryError||(t.SendEmailToNurseryError={})),function(It){It.childNotFound="childNotFound",It.keyPersonNotFound="keyPersonNotFound",It.noCarersFound="noCarersFound",It.noEmailAddressesFound="noEmailAddressesFound",It.carerIsNotRelatedToChild="carerIsNotRelatedToChild"}(Wt=t.SendLearningJourneyReportEmailError||(t.SendLearningJourneyReportEmailError={})),function(It){It.childNotFound="childNotFound",It.keyPersonNotFound="keyPersonNotFound",It.noCarersFound="noCarersFound",It.noEmailAddressesFound="noEmailAddressesFound",It.carerNotLinkedToChild="carerNotLinkedToChild",It.carerIsNotRelatedToChild="carerIsNotRelatedToChild"}(dn=t.SendNextStepsReportEmailError||(t.SendNextStepsReportEmailError={})),function(It){It.childNotFound="childNotFound",It.noCarersFound="noCarersFound",It.noEmailAddressesFound="noEmailAddressesFound",It.carerIsNotRelatedToChild="carerIsNotRelatedToChild"}(Ht=t.SendProgressReportEmailError||(t.SendProgressReportEmailError={})),function(It){It.childNotFound="childNotFound",It.keyPersonNotFound="keyPersonNotFound",It.noCarersFound="noCarersFound",It.noEmailAddressesFound="noEmailAddressesFound",It.carerIsNotRelatedToChild="carerIsNotRelatedToChild"}(on=t.SendStatementGaps2021ReportEmailError||(t.SendStatementGaps2021ReportEmailError={})),function(It){It.childNotFound="childNotFound",It.keyPersonNotFound="keyPersonNotFound",It.noCarersFound="noCarersFound",It.noEmailAddressesFound="noEmailAddressesFound",It.carerIsNotRelatedToChild="carerIsNotRelatedToChild"}(si=t.SendStatementGapsReportEmailError||(t.SendStatementGapsReportEmailError={})),function(It){It.childNotFound="childNotFound",It.noCarersFound="noCarersFound",It.noEmailAddressesFound="noEmailAddressesFound",It.carerIsNotRelatedToChild="carerIsNotRelatedToChild"}(Bt=t.SendTrackerReportEmailError||(t.SendTrackerReportEmailError={})),function(It){It.childNotFound="childNotFound",It.noCarersFound="noCarersFound",It.noEmailAddressesFound="noEmailAddressesFound",It.carerIsNotRelatedToChild="carerIsNotRelatedToChild"}(Jr=t.SendWellbeingAndInvolvementEmailError||(t.SendWellbeingAndInvolvementEmailError={}))}(no||(no={}));let pr=(()=>{class t{constructor(h){this.sauronService=h,this.onSendAchievementEmail=new g.x,this.onSendAssessmentEmail=new g.x,this.onSendCoelReportEmail=new g.x,this.onSendEmailToNursery=new g.x,this.onSendLearningJourneyReportEmail=new g.x,this.onSendNextStepsReportEmail=new g.x,this.onSendProgressReportEmail=new g.x,this.onSendStatementGaps2021ReportEmail=new g.x,this.onSendStatementGapsReportEmail=new g.x,this.onSendTrackerReportEmail=new g.x,this.onSendWellbeingAndInvolvementEmail=new g.x}sendAchievementEmail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsEmailing","SendAchievementEmail",y);return f.successful&&this.onSendAchievementEmail.next({request:h,response:f}),f})}sendAssessmentEmail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsEmailing","SendAssessmentEmail",y);return f.successful&&this.onSendAssessmentEmail.next({request:h,response:f}),f})}sendCoelReportEmail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsEmailing","SendCoelReportEmail",y);return this.onSendCoelReportEmail.next({request:h,response:f}),f})}sendEmailToNursery(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsEmailing","SendEmailToNursery",y);return f.successful&&this.onSendEmailToNursery.next({request:h,response:f}),f})}sendLearningJourneyReportEmail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsEmailing","SendLearningJourneyReportEmail",y);return f.successful&&this.onSendLearningJourneyReportEmail.next({request:h,response:f}),f})}sendNextStepsReportEmail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsEmailing","SendNextStepsReportEmail",y);return f.successful&&this.onSendNextStepsReportEmail.next({request:h,response:f}),f})}sendProgressReportEmail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsEmailing","SendProgressReportEmail",y);return f.successful&&this.onSendProgressReportEmail.next({request:h,response:f}),f})}sendStatementGaps2021ReportEmail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsEmailing","SendStatementGaps2021ReportEmail",y);return f.successful&&this.onSendStatementGaps2021ReportEmail.next({request:h,response:f}),f})}sendStatementGapsReportEmail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsEmailing","SendStatementGapsReportEmail",y);return f.successful&&this.onSendStatementGapsReportEmail.next({request:h,response:f}),f})}sendTrackerReportEmail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsEmailing","SendTrackerReportEmail",y);return f.successful&&this.onSendTrackerReportEmail.next({request:h,response:f}),f})}sendWellbeingAndInvolvementEmail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsEmailing","SendWellbeingAndInvolvementEmail",y);return f.successful&&this.onSendWellbeingAndInvolvementEmail.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var yr;!function(t){let ge,h;(ge=t.GetChildCoelObservationPercentagesError||(t.GetChildCoelObservationPercentagesError={})).childDoesNotExist="childDoesNotExist",(h=t.GetCoelObservationAreaPercentagesError||(t.GetCoelObservationAreaPercentagesError={})).startDateAfterEndDate="startDateAfterEndDate"}(yr||(yr={}));let mr=(()=>{class t{constructor(h){this.sauronService=h,this.onGetChildCoelObservationPercentages=new g.x,this.onGetCoelObservationAreaPercentages=new g.x}getChildCoelObservationPercentages(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsCoelObservationPercentages","GetChildCoelObservationPercentages",y);return f.successful&&this.onGetChildCoelObservationPercentages.next({request:h,response:f}),f})}getCoelObservationAreaPercentages(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsCoelObservationPercentages","GetCoelObservationAreaPercentages",y);return f.successful&&this.onGetCoelObservationAreaPercentages.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var or;!function(t){let ge;(ge=t.GetChildCoelObservationError||(t.GetChildCoelObservationError={})).invalidObservationId="invalidObservationId"}(or||(or={}));let dr=(()=>{class t{constructor(h){this.sauronService=h,this.onGetCoel2021Areas=new g.x,this.onGetCoelAreas=new g.x}getCoel2021Areas(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsCoelAreas","GetCoel2021Areas",h);return this.onGetCoel2021Areas.next(y),y})}getCoelAreas(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsCoelAreas","GetCoelAreas",h);return this.onGetCoelAreas.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var $i;!function(t){let ge;(ge=t.CreateClientFileError||(t.CreateClientFileError={})).originalFileNameIsEmpty="originalFileNameIsEmpty"}($i||($i={}));let we=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateClientFile=new g.x}createClientFile(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsClientFile","CreateClientFile",y);return f.successful&&this.onCreateClientFile.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Xe;!function(t){let ge;var f;let h,y;(f=ge=t.ChangeRequestChildDetailsError||(t.ChangeRequestChildDetailsError={})).currentUserNotFound="currentUserNotFound",f.nurseryNotFound="nurseryNotFound",f.nurseryNoEmail="nurseryNoEmail",f.businessNotFound="businessNotFound",f.childNotFound="childNotFound",f.nurseryIdIsZero="nurseryIdIsZero",function(f){f.carerNotFound="carerNotFound"}(h=t.GetChildrenForCarerError||(t.GetChildrenForCarerError={})),function(f){f.carerNotFound="carerNotFound",f.carerHasNoRelationships="carerHasNoRelationships"}(y=t.GetChildrenForCurrentCarerError||(t.GetChildrenForCurrentCarerError={}))}(Xe||(Xe={}));let Te=(()=>{class t{constructor(h){this.sauronService=h,this.onChangeRequestChildDetails=new g.x,this.onGetChildProgress=new g.x,this.onGetChildrenAchievementCounts=new g.x,this.onGetChildren=new g.x,this.onGetChildrenForCarer=new g.x,this.onGetChildrenForCurrentCarer=new g.x,this.onGetChildrenObservationCounts=new g.x}changeRequestChildDetails(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsChild","ChangeRequestChildDetails",y);return f.successful&&this.onChangeRequestChildDetails.next({request:h,response:f}),f})}getChildProgress(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsChild","GetChildProgress",y);return this.onGetChildProgress.next({request:h,response:f}),f})}getChildrenAchievementCounts(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsChild","GetChildrenAchievementCounts",y);return this.onGetChildrenAchievementCounts.next({request:h,response:f}),f})}getChildren(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsChild","GetChildren",y);return this.onGetChildren.next({request:h,response:f}),f})}getChildrenForCarer(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsChild","GetChildrenForCarer",y);return f.successful&&this.onGetChildrenForCarer.next({request:h,response:f}),f})}getChildrenForCurrentCarer(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsChild","GetChildrenForCurrentCarer",h);return y.successful&&this.onGetChildrenForCurrentCarer.next(y),y})}getChildrenObservationCounts(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsChild","GetChildrenObservationCounts",y);return this.onGetChildrenObservationCounts.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var at;!function(t){let ge;var on;let h,y,f,Wt,dn,Ht;(on=ge=t.ChangeRequestCarerDetailsError||(t.ChangeRequestCarerDetailsError={})).currentUserNotFound="currentUserNotFound",on.businessNotFound="businessNotFound",on.nurseryNotFound="nurseryNotFound",on.nurseryNoEmail="nurseryNoEmail",function(on){on.validationError="validationError",on.childDoesNotExist="childDoesNotExist"}(h=t.CreateCarerForChildError||(t.CreateCarerForChildError={})),function(on){on.fileWithIdDoesNotExist="fileWithIdDoesNotExist",on.fileNotOwnedByCurrentCarer="fileNotOwnedByCurrentCarer"}(y=t.DeleteCarerMediaError||(t.DeleteCarerMediaError={})),function(on){on.childNotFound="childNotFound"}(f=t.GetCarersForChildrenError||(t.GetCarersForChildrenError={})),function(on){on.childHasNoPrimaryCarer="childHasNoPrimaryCarer"}(Wt=t.GetPrimaryCarerError||(t.GetPrimaryCarerError={})),function(on){on.mappingAlreadyExists="mappingAlreadyExists",on.childDoesNotExist="childDoesNotExist",on.carerDoesNotExist="carerDoesNotExist",on.relationshipTooLong="relationshipTooLong",on.carerIsAlreadyPrimaryCarer="carerIsAlreadyPrimaryCarer"}(dn=t.LinkCarerToChildError||(t.LinkCarerToChildError={})),function(on){on.childDoesNotExist="childDoesNotExist",on.carerDoesNotExist="carerDoesNotExist",on.linkDoesNotExist="linkDoesNotExist",on.cannotUnlinkPrimaryCarer="cannotUnlinkPrimaryCarer"}(Ht=t.UnlinkCarerFromChildError||(t.UnlinkCarerFromChildError={}))}(at||(at={}));let Yt=(()=>{class t{constructor(h){this.sauronService=h,this.onChangeRequestCarerDetails=new g.x,this.onCreateCarerForChild=new g.x,this.onDeleteCarerMedia=new g.x,this.onGetAllCarerNamesForNursery=new g.x,this.onGetCarersForChildren=new g.x,this.onGetChildCarersEmailDetails=new g.x,this.onGetChildCarers=new g.x,this.onGetPrimaryCarer=new g.x,this.onLinkCarerToChild=new g.x,this.onUnlinkCarerFromChild=new g.x}changeRequestCarerDetails(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsCarer","ChangeRequestCarerDetails",y);return f.successful&&this.onChangeRequestCarerDetails.next({request:h,response:f}),f})}createCarerForChild(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsCarer","CreateCarerForChild",y);return f.successful&&this.onCreateCarerForChild.next({request:h,response:f}),f})}deleteCarerMedia(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsCarer","DeleteCarerMedia",y);return f.successful&&this.onDeleteCarerMedia.next({request:h,response:f}),f})}getAllCarerNamesForNursery(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsCarer","GetAllCarerNamesForNursery",h);return y.successful&&this.onGetAllCarerNamesForNursery.next(y),y})}getCarersForChildren(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsCarer","GetCarersForChildren",y);return f.successful&&this.onGetCarersForChildren.next({request:h,response:f}),f})}getChildCarersEmailDetails(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsCarer","GetChildCarersEmailDetails",y);return this.onGetChildCarersEmailDetails.next({request:h,response:f}),f})}getChildCarers(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsCarer","GetChildCarers",y);return this.onGetChildCarers.next({request:h,response:f}),f})}getPrimaryCarer(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsCarer","GetPrimaryCarer",y);return f.successful&&this.onGetPrimaryCarer.next({request:h,response:f}),f})}linkCarerToChild(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsCarer","LinkCarerToChild",y);return f.successful&&this.onLinkCarerToChild.next({request:h,response:f}),f})}unlinkCarerFromChild(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsCarer","UnlinkCarerFromChild",y);return f.successful&&this.onUnlinkCarerFromChild.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var hn;!function(t){let ge;var h;(h=ge=t.SetBusinessDemoExpiryError||(t.SetBusinessDemoExpiryError={})).expiryDateNotInTheFuture="expiryDateNotInTheFuture",h.businessDoesNotExist="businessDoesNotExist"}(hn||(hn={}));let Mn=(()=>{class t{constructor(h){this.sauronService=h,this.onGetBusinessLogoAsBase64=new g.x,this.onGetBusinessLogoUrl=new g.x,this.onSetBusinessDemoExpiry=new g.x}getBusinessLogoAsBase64(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsBusiness","GetBusinessLogoAsBase64",h);return y.successful&&this.onGetBusinessLogoAsBase64.next(y),y})}getBusinessLogoUrl(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsBusiness","GetBusinessLogoUrl",h);return this.onGetBusinessLogoUrl.next(y),y})}setBusinessDemoExpiry(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsBusiness","SetBusinessDemoExpiry",y);return f.successful&&this.onSetBusinessDemoExpiry.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Zn;!function(t){let ge,h,y,f,Wt,dn,Ht,on,si,Bt,Jr,It,_s,vs,ss,ys,Cs;(ge=t.ApproveAssessmentError||(t.ApproveAssessmentError={})).assessmentNotFound="assessmentNotFound",(h=t.CreateAssessmentCommandError||(t.CreateAssessmentCommandError={})).childNotFound="childNotFound",function(bn){bn.childNotFound="childNotFound"}(y=t.CreateExemptAssessmentError||(t.CreateExemptAssessmentError={})),function(bn){bn.assessmentNotFound="assessmentNotFound"}(f=t.DeleteAssessmentError||(t.DeleteAssessmentError={})),function(bn){bn.assessmentNotFound="assessmentNotFound"}(Wt=t.GetAssessmentCoelCommentsError||(t.GetAssessmentCoelCommentsError={})),function(bn){bn.invalidAssessmentId="invalidAssessmentId"}(dn=t.GetAssessmentError||(t.GetAssessmentError={})),function(bn){bn.assessmentNotFound="assessmentNotFound"}(Ht=t.GetAssessmentLastModifiedDateError||(t.GetAssessmentLastModifiedDateError={})),function(bn){bn.assessmentNotFound="assessmentNotFound"}(on=t.GetAssessmentStatementsError||(t.GetAssessmentStatementsError={})),function(bn){bn.highestSecureAgeBand="highestSecureAgeBand",bn.highestAccessedAgeBand="highestAccessedAgeBand"}(si=t.GetAutomaticallyGeneratedAssessmentChoicesCommandBandSelectionStyle||(t.GetAutomaticallyGeneratedAssessmentChoicesCommandBandSelectionStyle={})),function(bn){bn.childNotFound="childNotFound"}(Bt=t.GetAutomaticallyGeneratedAssessmentChoicesCommandError||(t.GetAutomaticallyGeneratedAssessmentChoicesCommandError={})),function(bn){bn.childNotFound="childNotFound"}(Jr=t.GetChildAssessmentsByStatusError||(t.GetChildAssessmentsByStatusError={})),function(bn){bn.assessmentNotFound="assessmentNotFound"}(It=t.RejectAssessmentError||(t.RejectAssessmentError={})),function(bn){bn.assessmentDoesNotExist="assessmentDoesNotExist",bn.startDateIsEmpty="startDateIsEmpty",bn.communicationAndLearningCommentsIsEmpty="communicationAndLearningCommentsIsEmpty",bn.listeningAndAttentionCommentsIsEmpty="listeningAndAttentionCommentsIsEmpty",bn.understandingCommentsIsEmpty="understandingCommentsIsEmpty",bn.speakingCommentsIsEmpty="speakingCommentsIsEmpty",bn.physicalDevelopmentCommentsIsEmpty="physicalDevelopmentCommentsIsEmpty",bn.movingAndHandlingCommentsIsEmpty="movingAndHandlingCommentsIsEmpty",bn.healthAndSelfCareCommentsIsEmpty="healthAndSelfCareCommentsIsEmpty",bn.psedCommentsIsEmpty="psedCommentsIsEmpty",bn.mathsCommentsIsEmpty="mathsCommentsIsEmpty",bn.literacyCommentIsEmpty="literacyCommentIsEmpty",bn.understandingTheWorldCommentIsEmpty="understandingTheWorldCommentIsEmpty",bn.expressiveArtsAndDesignCommentIsEmpty="expressiveArtsAndDesignCommentIsEmpty",bn.makingRelationshipsCommentsIsEmpty="makingRelationshipsCommentsIsEmpty",bn.selfConfidenceAndSelfAwarenessCommentsIsEmpty="selfConfidenceAndSelfAwarenessCommentsIsEmpty",bn.managingFeelingAndBehaviourCommentsIsEmpty="managingFeelingAndBehaviourCommentsIsEmpty",bn.readingCommentIsEmpty="readingCommentIsEmpty",bn.writngCommentIsEmpty="writngCommentIsEmpty",bn.numbersCommentIsEmpty="numbersCommentIsEmpty",bn.shapeSpaceAndMeasureCommentIsEmpty="shapeSpaceAndMeasureCommentIsEmpty",bn.peopleAndCommunitesCommentIsEmpty="peopleAndCommunitesCommentIsEmpty",bn.theWorldCommentIsEmpty="theWorldCommentIsEmpty",bn.technologyCommentIsEmpty="technologyCommentIsEmpty",bn.exploringNewMaterialsCommentIsEmpty="exploringNewMaterialsCommentIsEmpty",bn.beingImaginativeCommentIsEmpty="beingImaginativeCommentIsEmpty",bn.someAreasAreMissing="someAreasAreMissing",bn.someAspectsAreMissing="someAspectsAreMissing"}(_s=t.SaveAssessmentPrimeAreasError||(t.SaveAssessmentPrimeAreasError={})),function(bn){bn.assessmentNotFound="assessmentNotFound"}(vs=t.SaveAssessmentStatementsError||(t.SaveAssessmentStatementsError={})),function(bn){bn.assessmentNotFound="assessmentNotFound"}(ss=t.UpdateAssessmentCoelError||(t.UpdateAssessmentCoelError={})),function(bn){bn.assessmentNotFound="assessmentNotFound",bn.areasRequiringExtraSupportIsEmpty="areasRequiringExtraSupportIsEmpty"}(ys=t.UpdateAssessmentStatementsError||(t.UpdateAssessmentStatementsError={})),function(bn){bn.assessmentNotFound="assessmentNotFound"}(Cs=t.UpdateAssessmentStatusError||(t.UpdateAssessmentStatusError={}))}(Zn||(Zn={}));let ir=(()=>{class t{constructor(h){this.sauronService=h,this.onApproveAssessment=new g.x,this.onCreateAssessmentCommand=new g.x,this.onCreateExemptAssessment=new g.x,this.onDeleteAssessment=new g.x,this.onGetAssessmentCoelComments=new g.x,this.onGetAssessmentCountByStatus=new g.x,this.onGetAssessmentCountsCommand=new g.x,this.onGetAssessment=new g.x,this.onGetAssessmentLastModifiedDate=new g.x,this.onGetAssessmentsByStatus=new g.x,this.onGetAssessmentStatements=new g.x,this.onGetAutomaticallyGeneratedAssessmentChoicesCommand=new g.x,this.onGetChildAssessmentList=new g.x,this.onGetChildAssessmentsByStatus=new g.x,this.onRejectAssessment=new g.x,this.onSaveAssessmentPrimeAreas=new g.x,this.onSaveAssessmentStatements=new g.x,this.onUpdateAssessmentCoel=new g.x,this.onUpdateAssessmentStatements=new g.x,this.onUpdateAssessmentStatus=new g.x}approveAssessment(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","ApproveAssessment",y);return f.successful&&this.onApproveAssessment.next({request:h,response:f}),f})}createAssessmentCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","CreateAssessmentCommand",y);return f.successful&&this.onCreateAssessmentCommand.next({request:h,response:f}),f})}createExemptAssessment(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","CreateExemptAssessment",y);return f.successful&&this.onCreateExemptAssessment.next({request:h,response:f}),f})}deleteAssessment(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","DeleteAssessment",y);return f.successful&&this.onDeleteAssessment.next({request:h,response:f}),f})}getAssessmentCoelComments(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","GetAssessmentCoelComments",y);return f.successful&&this.onGetAssessmentCoelComments.next({request:h,response:f}),f})}getAssessmentCountByStatus(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","GetAssessmentCountByStatus",y);return this.onGetAssessmentCountByStatus.next({request:h,response:f}),f})}getAssessmentCountsCommand(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"FootstepsAssessment","GetAssessmentCountsCommand",h);return y.successful&&this.onGetAssessmentCountsCommand.next(y),y})}getAssessment(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","GetAssessment",y);return f.successful&&this.onGetAssessment.next({request:h,response:f}),f})}getAssessmentLastModifiedDate(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","GetAssessmentLastModifiedDate",y);return f.successful&&this.onGetAssessmentLastModifiedDate.next({request:h,response:f}),f})}getAssessmentsByStatus(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","GetAssessmentsByStatus",y);return f.successful&&this.onGetAssessmentsByStatus.next({request:h,response:f}),f})}getAssessmentStatements(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","GetAssessmentStatements",y);return f.successful&&this.onGetAssessmentStatements.next({request:h,response:f}),f})}getAutomaticallyGeneratedAssessmentChoicesCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","GetAutomaticallyGeneratedAssessmentChoicesCommand",y);return f.successful&&this.onGetAutomaticallyGeneratedAssessmentChoicesCommand.next({request:h,response:f}),f})}getChildAssessmentList(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","GetChildAssessmentList",y);return this.onGetChildAssessmentList.next({request:h,response:f}),f})}getChildAssessmentsByStatus(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","GetChildAssessmentsByStatus",y);return f.successful&&this.onGetChildAssessmentsByStatus.next({request:h,response:f}),f})}rejectAssessment(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","RejectAssessment",y);return f.successful&&this.onRejectAssessment.next({request:h,response:f}),f})}saveAssessmentPrimeAreas(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","SaveAssessmentPrimeAreas",y);return f.successful&&this.onSaveAssessmentPrimeAreas.next({request:h,response:f}),f})}saveAssessmentStatements(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","SaveAssessmentStatements",y);return f.successful&&this.onSaveAssessmentStatements.next({request:h,response:f}),f})}updateAssessmentCoel(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","UpdateAssessmentCoel",y);return f.successful&&this.onUpdateAssessmentCoel.next({request:h,response:f}),f})}updateAssessmentStatements(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","UpdateAssessmentStatements",y);return f.successful&&this.onUpdateAssessmentStatements.next({request:h,response:f}),f})}updateAssessmentStatus(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAssessment","UpdateAssessmentStatus",y);return f.successful&&this.onUpdateAssessmentStatus.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Hi;!function(t){let ge;var h;(h=ge=t.AddUploadedFileForS3Error||(t.AddUploadedFileForS3Error={})).fileNameIsMissing="fileNameIsMissing",h.pathIsMissing="pathIsMissing",h.fileIdIsEmpty="fileIdIsEmpty",h.fileSizeIsEmpty="fileSizeIsEmpty"}(Hi||(Hi={}));let ui=(()=>{class t{constructor(h){this.sauronService=h,this.onAddUploadedFileForS3=new g.x}addUploadedFileForS3(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAddUploadedFileForS3","AddUploadedFileForS3",y);return f.successful&&this.onAddUploadedFileForS3.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var ji;!function(t){let ge;var f;let h,y;(f=ge=t.CreateAchievementError||(t.CreateAchievementError={})).childDoesNotExist="childDoesNotExist",f.fileDoesNotExist="fileDoesNotExist",f.invalidUserError="invalidUserError",f.missingChunks="missingChunks",function(f){f.achievementDoesNotExist="achievementDoesNotExist"}(h=t.DeleteAchievementError||(t.DeleteAchievementError={})),function(f){f.achievementNotFound="achievementNotFound"}(y=t.GetAchievementsError||(t.GetAchievementsError={}))}(ji||(ji={}));let Sr=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateAchievement=new g.x,this.onDeleteAchievement=new g.x,this.onGetAchievements=new g.x,this.onGetChildrenCertificates=new g.x}createAchievement(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAchievement","CreateAchievement",y);return f.successful&&this.onCreateAchievement.next({request:h,response:f}),f})}deleteAchievement(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAchievement","DeleteAchievement",y);return f.successful&&this.onDeleteAchievement.next({request:h,response:f}),f})}getAchievements(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAchievement","GetAchievements",y);return f.successful&&this.onGetAchievements.next({request:h,response:f}),f})}getChildrenCertificates(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"FootstepsAchievement","GetChildrenCertificates",y);return f.successful&&this.onGetChildrenCertificates.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Xi;!function(t){let ge;(ge=t.GetSentEmailAttachmentUrlError||(t.GetSentEmailAttachmentUrlError={})).emailOrAttachmentNotFound="emailOrAttachmentNotFound"}(Xi||(Xi={}));let lr=(()=>{class t{constructor(h){this.sauronService=h,this.onGetSentEmailsCommand=new g.x,this.onGetSentEmailAttachmentUrl=new g.x}getSentEmailsCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"CommunicationEmailAudit","GetSentEmailsCommand",y);return this.onGetSentEmailsCommand.next({request:h,response:f}),f})}getSentEmailAttachmentUrl(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"CommunicationEmailAudit","GetSentEmailAttachmentUrl",y);return f.successful&&this.onGetSentEmailAttachmentUrl.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var ke;!function(t){let ge;var si;let h,y,f,Wt,dn,Ht,on;(si=ge=t.GetThreadMessagesForUserCommandSyncResultType||(t.GetThreadMessagesForUserCommandSyncResultType={})).fullRefresh="fullRefresh",si.newMessages="newMessages",si.upToDateAlready="upToDateAlready",function(si){si.user="user",si.parent="parent"}(h=t.GetThreadMessagesForUserCommandSenderType||(t.GetThreadMessagesForUserCommandSenderType={})),function(si){si.threadNotFound="threadNotFound",si.notParticipant="notParticipant",si.nurseryDeactivated="nurseryDeactivated"}(y=t.GetThreadMessagesForUserCommandError||(t.GetThreadMessagesForUserCommandError={})),function(si){si.threadNotFound="threadNotFound",si.notParticipant="notParticipant",si.cannotReplyToAnnouncement="cannotReplyToAnnouncement",si.messageBodyEmpty="messageBodyEmpty",si.messageBodyTooLong="messageBodyTooLong",si.threadSubjectRequiredForNewThread="threadSubjectRequiredForNewThread",si.threadSubjectTooLong="threadSubjectTooLong",si.recipientsRequiredForNewThread="recipientsRequiredForNewThread",si.cannotSendToYourself="cannotSendToYourself",si.carerGroupSizeLimitExceeded="carerGroupSizeLimitExceeded",si.nurseryDeactivated="nurseryDeactivated"}(f=t.SendMessageFromUserCommandError||(t.SendMessageFromUserCommandError={})),function(si){si.emptySearchTerm="emptySearchTerm"}(Wt=t.SearchUserMessagesCommandError||(t.SearchUserMessagesCommandError={})),function(si){si.threadNotFound="threadNotFound",si.messageNotFound="messageNotFound",si.notParticipant="notParticipant",si.notAnnouncementThread="notAnnouncementThread",si.messageBodyEmpty="messageBodyEmpty",si.messageBodyTooLong="messageBodyTooLong",si.messageNotInThread="messageNotInThread",si.subjectEmpty="subjectEmpty",si.subjectTooLong="subjectTooLong"}(dn=t.UpdateAnnouncementMessageCommandError||(t.UpdateAnnouncementMessageCommandError={})),function(si){si.messageNotFound="messageNotFound",si.notMessageSender="notMessageSender",si.messageIsDeleted="messageIsDeleted",si.newBodyEmpty="newBodyEmpty",si.newBodyTooLong="newBodyTooLong"}(Ht=t.EditMessageFromUserCommandError||(t.EditMessageFromUserCommandError={})),function(si){si.messageNotFound="messageNotFound",si.notMessageSender="notMessageSender",si.messageAlreadyDeleted="messageAlreadyDeleted"}(on=t.DeleteMessageFromUserCommandError||(t.DeleteMessageFromUserCommandError={}))}(ke||(ke={}));let me=(()=>{class t{constructor(h){this.sauronService=h,this.onGetThreadMessagesForUserCommand=new g.x,this.onSendMessageFromUserCommand=new g.x,this.onSearchUserMessagesCommand=new g.x,this.onUpdateAnnouncementMessageCommand=new g.x,this.onEditMessageFromUserCommand=new g.x,this.onDeleteMessageFromUserCommand=new g.x}getThreadMessagesForUserCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingUserMessage","GetThreadMessagesForUserCommand",y);return f.successful&&this.onGetThreadMessagesForUserCommand.next({request:h,response:f}),f})}sendMessageFromUserCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingUserMessage","SendMessageFromUserCommand",y);return f.successful&&this.onSendMessageFromUserCommand.next({request:h,response:f}),f})}searchUserMessagesCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingUserMessage","SearchUserMessagesCommand",y);return f.successful&&this.onSearchUserMessagesCommand.next({request:h,response:f}),f})}updateAnnouncementMessageCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingUserMessage","UpdateAnnouncementMessageCommand",y);return f.successful&&this.onUpdateAnnouncementMessageCommand.next({request:h,response:f}),f})}editMessageFromUserCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingUserMessage","EditMessageFromUserCommand",y);return f.successful&&this.onEditMessageFromUserCommand.next({request:h,response:f}),f})}deleteMessageFromUserCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingUserMessage","DeleteMessageFromUserCommand",y);return f.successful&&this.onDeleteMessageFromUserCommand.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var oe,fn;!function(t){let ge;var Ht;let h,y,f,Wt,dn;(Ht=ge=t.GetThreadMessagesForCarerCommandSyncResultType||(t.GetThreadMessagesForCarerCommandSyncResultType={})).fullRefresh="fullRefresh",Ht.newMessages="newMessages",Ht.upToDateAlready="upToDateAlready",function(Ht){Ht.user="user",Ht.parent="parent"}(h=t.GetThreadMessagesForCarerCommandSenderType||(t.GetThreadMessagesForCarerCommandSenderType={})),function(Ht){Ht.threadNotFound="threadNotFound",Ht.notParticipant="notParticipant",Ht.nurseryDeactivated="nurseryDeactivated"}(y=t.GetThreadMessagesForCarerCommandError||(t.GetThreadMessagesForCarerCommandError={})),function(Ht){Ht.threadNotFound="threadNotFound",Ht.notParticipant="notParticipant",Ht.cannotReplyToAnnouncement="cannotReplyToAnnouncement",Ht.messageBodyEmpty="messageBodyEmpty",Ht.messageBodyTooLong="messageBodyTooLong",Ht.threadSubjectRequiredForNewThread="threadSubjectRequiredForNewThread",Ht.threadSubjectTooLong="threadSubjectTooLong",Ht.recipientsRequiredForNewThread="recipientsRequiredForNewThread",Ht.cannotSendToYourself="cannotSendToYourself",Ht.carerGroupSizeLimitExceeded="carerGroupSizeLimitExceeded",Ht.nurseryDeactivated="nurseryDeactivated"}(f=t.SendMessageFromCarerCommandError||(t.SendMessageFromCarerCommandError={})),function(Ht){Ht.messageNotFound="messageNotFound",Ht.notMessageSender="notMessageSender",Ht.messageIsDeleted="messageIsDeleted",Ht.newBodyEmpty="newBodyEmpty",Ht.newBodyTooLong="newBodyTooLong"}(Wt=t.EditMessageFromCarerCommandError||(t.EditMessageFromCarerCommandError={})),function(Ht){Ht.messageNotFound="messageNotFound",Ht.notMessageSender="notMessageSender",Ht.messageAlreadyDeleted="messageAlreadyDeleted"}(dn=t.DeleteMessageFromCarerCommandError||(t.DeleteMessageFromCarerCommandError={}))}(oe||(oe={})),function(t){let ge;var y;let h;(y=ge=t.MarkMessagesAsReceivedCommandError||(t.MarkMessagesAsReceivedCommandError={})).messagesNotFound="messagesNotFound",y.notParticipantInThread="notParticipantInThread",function(y){y.messagesNotFound="messagesNotFound",y.notParticipantInThread="notParticipantInThread"}(h=t.MarkMessagesAsReadCommandError||(t.MarkMessagesAsReadCommandError={}))}(fn||(fn={}));let ni=(()=>{class t{constructor(h){this.sauronService=h,this.onMarkMessagesAsReceivedCommand=new g.x,this.onMarkMessagesAsReadCommand=new g.x}markMessagesAsReceivedCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingMessage","MarkMessagesAsReceivedCommand",y);return f.successful&&this.onMarkMessagesAsReceivedCommand.next({request:h,response:f}),f})}markMessagesAsReadCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingMessage","MarkMessagesAsReadCommand",y);return f.successful&&this.onMarkMessagesAsReadCommand.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var cr;!function(t){let ge;var y;let h;(y=ge=t.GetUnreadMessagesError||(t.GetUnreadMessagesError={})).threadNotFound="threadNotFound",y.notParticipant="notParticipant",function(y){y.threadNotFound="threadNotFound",y.notParticipant="notParticipant"}(h=t.ArchiveThreadCommandError||(t.ArchiveThreadCommandError={}))}(cr||(cr={}));let Cr=(()=>{class t{constructor(h){this.sauronService=h,this.onGetMyThreadsCommand=new g.x,this.onGetUnreadMessages=new g.x,this.onArchiveThreadCommand=new g.x,this.onArchiveDeletedFamilyThreadsCommand=new g.x}getMyThreadsCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingThread","GetMyThreadsCommand",y);return f.successful&&this.onGetMyThreadsCommand.next({request:h,response:f}),f})}getUnreadMessages(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingThread","GetUnreadMessages",y);return f.successful&&this.onGetUnreadMessages.next({request:h,response:f}),f})}archiveThreadCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingThread","ArchiveThreadCommand",y);return f.successful&&this.onArchiveThreadCommand.next({request:h,response:f}),f})}archiveDeletedFamilyThreadsCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingThread","ArchiveDeletedFamilyThreadsCommand",y);return f.successful&&this.onArchiveDeletedFamilyThreadsCommand.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Eo;!function(t){let ge;var y;let h;(y=ge=t.SetMessageReactionCommandReactionAction||(t.SetMessageReactionCommandReactionAction={})).added="added",y.removed="removed",function(y){y.messageNotFound="messageNotFound",y.notParticipant="notParticipant",y.invalidEmoji="invalidEmoji"}(h=t.SetMessageReactionCommandError||(t.SetMessageReactionCommandError={}))}(Eo||(Eo={}));let Zr=(()=>{class t{constructor(h){this.sauronService=h,this.onSetMessageReactionCommand=new g.x}setMessageReactionCommand(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"MessagingReaction","SetMessageReactionCommand",y);return f.successful&&this.onSetMessageReactionCommand.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})(),Po=(()=>{class t{constructor(h){this.sauronService=h,this.onGetMessageRecipientsCommand=new g.x}getMessageRecipientsCommand(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"MessagingRecipient","GetMessageRecipientsCommand",h);return y.successful&&this.onGetMessageRecipientsCommand.next(y),y})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var On;!function(t){let ge;var Bt;let h,y,f,Wt,dn,Ht,on,si;(Bt=ge=t.CompleteParentaPayOnboardingError||(t.CompleteParentaPayOnboardingError={})).onboardingNotStarted="onboardingNotStarted",Bt.onboardingIsNotComplete="onboardingIsNotComplete",function(Bt){Bt.alreadyOnboarded="alreadyOnboarded"}(h=t.BeginParentaPayOnboardingError||(t.BeginParentaPayOnboardingError={})),function(Bt){Bt.onboardingNotStarted="onboardingNotStarted"}(y=t.GetParentaPayDashboardLinkError||(t.GetParentaPayDashboardLinkError={})),function(Bt){Bt.unableToObtainLock="unableToObtainLock",Bt.amountTooLow="amountTooLow",Bt.amountTooHigh="amountTooHigh",Bt.parentaPayOnboardingIncomplete="parentaPayOnboardingIncomplete",Bt.collectionAlreadyExistsForCarer="collectionAlreadyExistsForCarer",Bt.amountExceedsBillPayerChildrenBalances="amountExceedsBillPayerChildrenBalances"}(f=t.ChargeCarersError||(t.ChargeCarersError={})),function(Bt){Bt.noOutstandingBalance="noOutstandingBalance",Bt.noEligibleBillPayers="noEligibleBillPayers",Bt.balanceBelowMinimumPayment="balanceBelowMinimumPayment"}(Wt=t.GetChildrenAndBillPayersChildIneligibleReason||(t.GetChildrenAndBillPayersChildIneligibleReason={})),function(Bt){Bt.parentPortalNotActive="parentPortalNotActive",Bt.noPaymentMethods="noPaymentMethods",Bt.paymentInProgress="paymentInProgress"}(dn=t.GetChildrenAndBillPayersBillPayerIneligibleReason||(t.GetChildrenAndBillPayersBillPayerIneligibleReason={})),function(Bt){Bt.succeeded="succeeded",Bt.pending="pending",Bt.failed="failed"}(Ht=t.PaymentStatus||(t.PaymentStatus={})),function(Bt){Bt.unableToObtainLock="unableToObtainLock",Bt.noData="noData",Bt.noAdultId="noAdultId",Bt.noAdultData="noAdultData",Bt.noChildId="noChildId",Bt.noChildData="noChildData",Bt.noPaymentData="noPaymentData",Bt.invoiceNotFound="invoiceNotFound",Bt.invoiceAmountNotEnough="invoiceAmountNotEnough",Bt.allocationAmountDoesNotMatchPaymentAmount="allocationAmountDoesNotMatchPaymentAmount"}(on=t.ImportParentaPayPaymentsToAbacusError||(t.ImportParentaPayPaymentsToAbacusError={})),function(Bt){Bt.couldNotObtainCriticalLock="couldNotObtainCriticalLock",Bt.collectionNotFound="collectionNotFound"}(si=t.CancelQueuedCollectionError||(t.CancelQueuedCollectionError={}))}(On||(On={}));let Ni=(()=>{class t{constructor(h){this.sauronService=h,this.onCompleteParentaPayOnboarding=new g.x,this.onBeginParentaPayOnboarding=new g.x,this.onGetParentaPayDashboardLink=new g.x,this.onGetParentaPayStatusCommand=new g.x,this.onChargeCarers=new g.x,this.onGetChildrenAndBillPayers=new g.x,this.onGetPaymentsCommand=new g.x,this.onGetPendingCollectionProcessRequests=new g.x,this.onExecuteQueuedCollection=new g.x,this.onGetQueuedCollections=new g.x,this.onGetPaymentsAndAllocations=new g.x,this.onImportParentaPayPaymentsToAbacus=new g.x,this.onCancelQueuedCollection=new g.x}completeParentaPayOnboarding(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusParentaPay","CompleteParentaPayOnboarding",h);return y.successful&&this.onCompleteParentaPayOnboarding.next(y),y})}beginParentaPayOnboarding(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusParentaPay","BeginParentaPayOnboarding",h);return y.successful&&this.onBeginParentaPayOnboarding.next(y),y})}getParentaPayDashboardLink(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusParentaPay","GetParentaPayDashboardLink",h);return y.successful&&this.onGetParentaPayDashboardLink.next(y),y})}getParentaPayStatusCommand(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusParentaPay","GetParentaPayStatusCommand",h);return this.onGetParentaPayStatusCommand.next(y),y})}chargeCarers(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusParentaPay","ChargeCarers",y);return f.successful&&this.onChargeCarers.next({request:h,response:f}),f})}getChildrenAndBillPayers(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusParentaPay","GetChildrenAndBillPayers",h);return this.onGetChildrenAndBillPayers.next(y),y})}getPaymentsCommand(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusParentaPay","GetPaymentsCommand",h);return this.onGetPaymentsCommand.next(y),y})}getPendingCollectionProcessRequests(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusParentaPay","GetPendingCollectionProcessRequests",h);return y.successful&&this.onGetPendingCollectionProcessRequests.next(y),y})}executeQueuedCollection(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusParentaPay","ExecuteQueuedCollection",h);return y.successful&&this.onExecuteQueuedCollection.next(y),y})}getQueuedCollections(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusParentaPay","GetQueuedCollections",h);return this.onGetQueuedCollections.next(y),y})}getPaymentsAndAllocations(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusParentaPay","GetPaymentsAndAllocations",h);return this.onGetPaymentsAndAllocations.next(y),y})}importParentaPayPaymentsToAbacus(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusParentaPay","ImportParentaPayPaymentsToAbacus",y);return this.onImportParentaPayPaymentsToAbacus.next({request:h,response:f}),f})}cancelQueuedCollection(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusParentaPay","CancelQueuedCollection",y);return f.successful&&this.onCancelQueuedCollection.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var br;!function(t){let ge;var f;let h,y;(f=ge=t.CreatePermissionsError||(t.CreatePermissionsError={})).itemNameIsEmpty="itemNameIsEmpty",f.permissionsItemNameAlreadyExists="permissionsItemNameAlreadyExists",function(f){f.permissionsNotFound="permissionsNotFound"}(h=t.DeletePermissionsError||(t.DeletePermissionsError={})),function(f){f.permissionsNotFound="permissionsNotFound",f.itemNameIsEmpty="itemNameIsEmpty",f.permissionsItemNameAlreadyExists="permissionsItemNameAlreadyExists"}(y=t.UpdatePermissionsError||(t.UpdatePermissionsError={}))}(br||(br={}));let fr=(()=>{class t{constructor(h){this.sauronService=h,this.onGetCurrentUserPermissions=new g.x,this.onCreatePermissions=new g.x,this.onDeletePermissions=new g.x,this.onGetAllPermissions=new g.x,this.onUpdatePermissions=new g.x}getCurrentUserPermissions(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusPermissions","GetCurrentUserPermissions",h);return this.onGetCurrentUserPermissions.next(y),y})}createPermissions(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusPermissions","CreatePermissions",y);return f.successful&&this.onCreatePermissions.next({request:h,response:f}),f})}deletePermissions(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusPermissions","DeletePermissions",y);return f.successful&&this.onDeletePermissions.next({request:h,response:f}),f})}getAllPermissions(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusPermissions","GetAllPermissions",h);return this.onGetAllPermissions.next(y),y})}updatePermissions(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusPermissions","UpdatePermissions",y);return f.successful&&this.onUpdatePermissions.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var ur;!function(t){let ge;var f;let h,y;(f=ge=t.CreateFamilyError||(t.CreateFamilyError={})).errorCreatingAdult="errorCreatingAdult",f.errorCreatingChild="errorCreatingChild",f.noChildRequestReceived="noChildRequestReceived",f.noAdultRequestReceived="noAdultRequestReceived",f.linkAndCreateAdultRequestsHaveBeenPassed="linkAndCreateAdultRequestsHaveBeenPassed",function(f){f.firstNameIsEmpty="firstNameIsEmpty",f.lastNameIsEmpty="lastNameIsEmpty",f.knownNameIsEmpty="knownNameIsEmpty",f.adultDoesNotExist="adultDoesNotExist",f.mustBeSend="mustBeSend",f.startDateMustBeAfterDateOfBirth="startDateMustBeAfterDateOfBirth",f.leaveDateMustBeAfterStartDate="leaveDateMustBeAfterStartDate",f.leaveDateMustBeAfterDateOfBirth="leaveDateMustBeAfterDateOfBirth"}(h=t.CreateChildrenError||(t.CreateChildrenError={})),function(f){f.titleIsEmpty="titleIsEmpty",f.lastNameIsEmpty="lastNameIsEmpty",f.firstNameIsEmpty="firstNameIsEmpty"}(y=t.CreateAdults2Error||(t.CreateAdults2Error={}))}(ur||(ur={}));let ro=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateFamily=new g.x}createFamily(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusFamily","CreateFamily",y);return f.successful&&this.onCreateFamily.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var sr,Vo;!function(t){let ge;var h;(h=ge=t.GroupReportingRemoteLoginError||(t.GroupReportingRemoteLoginError={})).userNotFound="userNotFound",h.nurseryNotPartOfChain="nurseryNotPartOfChain",h.nurseryNotFound="nurseryNotFound"}(sr||(sr={})),function(t){let ge;var f;let h,y;(f=ge=t.CreateRoomsError||(t.CreateRoomsError={})).roomNameIsEmpty="roomNameIsEmpty",f.roomsRoomNameAlreadyExists="roomsRoomNameAlreadyExists",f.maxAgeIsLowerThanMinAge="maxAgeIsLowerThanMinAge",function(f){f.roomsNotFound="roomsNotFound",f.childrenAreStillUsingRoom="childrenAreStillUsingRoom"}(h=t.DeleteRoomsError||(t.DeleteRoomsError={})),function(f){f.roomsNotFound="roomsNotFound",f.roomNameIsEmpty="roomNameIsEmpty",f.roomsRoomNameAlreadyExists="roomsRoomNameAlreadyExists",f.maxAgeIsLowerThanMinAge="maxAgeIsLowerThanMinAge"}(y=t.UpdateRoomsError||(t.UpdateRoomsError={}))}(Vo||(Vo={}));let Ko=(()=>{class t{constructor(h){this.sauronService=h,this.onGetAllRooms=new g.x,this.onCreateRooms=new g.x,this.onDeleteRooms=new g.x,this.onUpdateRooms=new g.x}getAllRooms(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusRooms","GetAllRooms",h);return this.onGetAllRooms.next(y),y})}createRooms(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusRooms","CreateRooms",y);return f.successful&&this.onCreateRooms.next({request:h,response:f}),f})}deleteRooms(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusRooms","DeleteRooms",y);return f.successful&&this.onDeleteRooms.next({request:h,response:f}),f})}updateRooms(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusRooms","UpdateRooms",y);return f.successful&&this.onUpdateRooms.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Vr;!function(t){let ge;var f;let h,y;(f=ge=t.CreateAllergyError||(t.CreateAllergyError={})).itemNameIsEmpty="itemNameIsEmpty",f.allergyItemNameAlreadyExists="allergyItemNameAlreadyExists",function(f){f.allergyNotFound="allergyNotFound",f.allergyInUse="allergyInUse"}(h=t.DeleteAllergyError||(t.DeleteAllergyError={})),function(f){f.allergyNotFound="allergyNotFound",f.itemNameIsEmpty="itemNameIsEmpty",f.allergyItemNameAlreadyExists="allergyItemNameAlreadyExists"}(y=t.UpdateAllergyError||(t.UpdateAllergyError={}))}(Vr||(Vr={}));let Oo=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateAllergy=new g.x,this.onDeleteAllergy=new g.x,this.onGetAllAllergies=new g.x,this.onUpdateAllergy=new g.x}createAllergy(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusAllergies","CreateAllergy",y);return f.successful&&this.onCreateAllergy.next({request:h,response:f}),f})}deleteAllergy(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusAllergies","DeleteAllergy",y);return f.successful&&this.onDeleteAllergy.next({request:h,response:f}),f})}getAllAllergies(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusAllergies","GetAllAllergies",h);return this.onGetAllAllergies.next(y),y})}updateAllergy(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusAllergies","UpdateAllergy",y);return f.successful&&this.onUpdateAllergy.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Ne;!function(t){let ge;var Wt;let h,y,f;(Wt=ge=t.CreateDietaryError||(t.CreateDietaryError={})).itemNameIsEmpty="itemNameIsEmpty",Wt.dietaryItemNameAlreadyExists="dietaryItemNameAlreadyExists",function(Wt){Wt.dietaryNotFound="dietaryNotFound"}(h=t.DeleteDietaryError||(t.DeleteDietaryError={})),function(Wt){Wt.dietaryNotFound="dietaryNotFound"}(y=t.GetDietaryByPIdError||(t.GetDietaryByPIdError={})),function(Wt){Wt.dietaryNotFound="dietaryNotFound",Wt.itemNameIsEmpty="itemNameIsEmpty",Wt.dietaryItemNameAlreadyExists="dietaryItemNameAlreadyExists"}(f=t.UpdateDietaryError||(t.UpdateDietaryError={}))}(Ne||(Ne={}));let L=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateDietary=new g.x,this.onDeleteDietary=new g.x,this.onGetAllDietaries=new g.x,this.onGetDietaryByPId=new g.x,this.onUpdateDietary=new g.x}createDietary(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDietaries","CreateDietary",y);return f.successful&&this.onCreateDietary.next({request:h,response:f}),f})}deleteDietary(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDietaries","DeleteDietary",y);return f.successful&&this.onDeleteDietary.next({request:h,response:f}),f})}getAllDietaries(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusDietaries","GetAllDietaries",h);return this.onGetAllDietaries.next(y),y})}getDietaryByPId(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDietaries","GetDietaryByPId",y);return f.successful&&this.onGetDietaryByPId.next({request:h,response:f}),f})}updateDietary(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDietaries","UpdateDietary",y);return f.successful&&this.onUpdateDietary.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var B;!function(t){let ge;var Wt;let h,y,f;(Wt=ge=t.CreateEthnicityError||(t.CreateEthnicityError={})).itemNameIsEmpty="itemNameIsEmpty",Wt.ethnicityItemNameAlreadyExists="ethnicityItemNameAlreadyExists",function(Wt){Wt.ethnicityNotFound="ethnicityNotFound"}(h=t.DeleteEthnicityError||(t.DeleteEthnicityError={})),function(Wt){Wt.ethnicityNotFound="ethnicityNotFound"}(y=t.GetEthnicityByPIdError||(t.GetEthnicityByPIdError={})),function(Wt){Wt.ethnicityNotFound="ethnicityNotFound",Wt.itemNameIsEmpty="itemNameIsEmpty",Wt.ethnicityItemNameAlreadyExists="ethnicityItemNameAlreadyExists"}(f=t.UpdateEthnicityError||(t.UpdateEthnicityError={}))}(B||(B={}));let fe=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateEthnicity=new g.x,this.onDeleteEthnicity=new g.x,this.onGetAllEthnicities=new g.x,this.onGetEthnicityByPId=new g.x,this.onUpdateEthnicity=new g.x}createEthnicity(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusEthnicities","CreateEthnicity",y);return f.successful&&this.onCreateEthnicity.next({request:h,response:f}),f})}deleteEthnicity(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusEthnicities","DeleteEthnicity",y);return f.successful&&this.onDeleteEthnicity.next({request:h,response:f}),f})}getAllEthnicities(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusEthnicities","GetAllEthnicities",h);return this.onGetAllEthnicities.next(y),y})}getEthnicityByPId(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusEthnicities","GetEthnicityByPId",y);return f.successful&&this.onGetEthnicityByPId.next({request:h,response:f}),f})}updateEthnicity(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusEthnicities","UpdateEthnicity",y);return f.successful&&this.onUpdateEthnicity.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var We;!function(t){let ge;var f;let h,y;(f=ge=t.CreateIllnessError||(t.CreateIllnessError={})).itemNameIsEmpty="itemNameIsEmpty",f.illnessItemNameAlreadyExists="illnessItemNameAlreadyExists",function(f){f.illnessNotFound="illnessNotFound"}(h=t.DeleteIllnessError||(t.DeleteIllnessError={})),function(f){f.illnessNotFound="illnessNotFound",f.itemNameIsEmpty="itemNameIsEmpty",f.illnessItemNameAlreadyExists="illnessItemNameAlreadyExists"}(y=t.UpdateIllnessError||(t.UpdateIllnessError={}))}(We||(We={}));let gt=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateIllness=new g.x,this.onDeleteIllness=new g.x,this.onGetAllIllnesses=new g.x,this.onUpdateIllness=new g.x}createIllness(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusIllnesses","CreateIllness",y);return f.successful&&this.onCreateIllness.next({request:h,response:f}),f})}deleteIllness(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusIllnesses","DeleteIllness",y);return f.successful&&this.onDeleteIllness.next({request:h,response:f}),f})}getAllIllnesses(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusIllnesses","GetAllIllnesses",h);return this.onGetAllIllnesses.next(y),y})}updateIllness(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusIllnesses","UpdateIllness",y);return f.successful&&this.onUpdateIllness.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Rt;!function(t){let ge;var f;let h,y;(f=ge=t.CreateLanguageError||(t.CreateLanguageError={})).itemNameIsEmpty="itemNameIsEmpty",f.languageItemNameAlreadyExists="languageItemNameAlreadyExists",function(f){f.languageNotFound="languageNotFound"}(h=t.DeleteLanguageError||(t.DeleteLanguageError={})),function(f){f.languageNotFound="languageNotFound",f.itemNameIsEmpty="itemNameIsEmpty",f.languageItemNameAlreadyExists="languageItemNameAlreadyExists"}(y=t.UpdateLanguageError||(t.UpdateLanguageError={}))}(Rt||(Rt={}));let Ut=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateLanguage=new g.x,this.onDeleteLanguage=new g.x,this.onGetAllLanguages=new g.x,this.onUpdateLanguage=new g.x}createLanguage(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusLanguage","CreateLanguage",y);return f.successful&&this.onCreateLanguage.next({request:h,response:f}),f})}deleteLanguage(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusLanguage","DeleteLanguage",y);return f.successful&&this.onDeleteLanguage.next({request:h,response:f}),f})}getAllLanguages(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusLanguage","GetAllLanguages",h);return this.onGetAllLanguages.next(y),y})}updateLanguage(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusLanguage","UpdateLanguage",y);return f.successful&&this.onUpdateLanguage.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var rn;!function(t){let ge;var f;let h,y;(f=ge=t.CreateMedicalError||(t.CreateMedicalError={})).itemNameIsEmpty="itemNameIsEmpty",f.medicalItemNameAlreadyExists="medicalItemNameAlreadyExists",function(f){f.medicalNotFound="medicalNotFound",f.medicalConditionInUse="medicalConditionInUse"}(h=t.DeleteMedicalError||(t.DeleteMedicalError={})),function(f){f.medicalNotFound="medicalNotFound",f.itemNameIsEmpty="itemNameIsEmpty",f.medicalItemNameAlreadyExists="medicalItemNameAlreadyExists"}(y=t.UpdateMedicalError||(t.UpdateMedicalError={}))}(rn||(rn={}));let Dn=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateMedical=new g.x,this.onDeleteMedical=new g.x,this.onGetAllMedical=new g.x,this.onUpdateMedical=new g.x}createMedical(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusMedical","CreateMedical",y);return f.successful&&this.onCreateMedical.next({request:h,response:f}),f})}deleteMedical(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusMedical","DeleteMedical",y);return f.successful&&this.onDeleteMedical.next({request:h,response:f}),f})}getAllMedical(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusMedical","GetAllMedical",h);return this.onGetAllMedical.next(y),y})}updateMedical(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusMedical","UpdateMedical",y);return f.successful&&this.onUpdateMedical.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var $n;!function(t){let ge;var f;let h,y;(f=ge=t.CreateNationalityError||(t.CreateNationalityError={})).itemNameIsEmpty="itemNameIsEmpty",f.nationalityItemNameAlreadyExists="nationalityItemNameAlreadyExists",function(f){f.nationalityNotFound="nationalityNotFound"}(h=t.DeleteNationalityError||(t.DeleteNationalityError={})),function(f){f.nationalityNotFound="nationalityNotFound",f.itemNameIsEmpty="itemNameIsEmpty",f.nationalityItemNameAlreadyExists="nationalityItemNameAlreadyExists"}(y=t.UpdateNationalityError||(t.UpdateNationalityError={}))}($n||($n={}));let hi=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateNationality=new g.x,this.onDeleteNationality=new g.x,this.onGetAllNationalities=new g.x,this.onUpdateNationality=new g.x}createNationality(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusNationality","CreateNationality",y);return f.successful&&this.onCreateNationality.next({request:h,response:f}),f})}deleteNationality(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusNationality","DeleteNationality",y);return f.successful&&this.onDeleteNationality.next({request:h,response:f}),f})}getAllNationalities(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusNationality","GetAllNationalities",h);return this.onGetAllNationalities.next(y),y})}updateNationality(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusNationality","UpdateNationality",y);return f.successful&&this.onUpdateNationality.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Ci;!function(t){let ge;var f;let h,y;(f=ge=t.CreateReligionError||(t.CreateReligionError={})).itemNameIsEmpty="itemNameIsEmpty",f.religionItemNameAlreadyExists="religionItemNameAlreadyExists",function(f){f.religionNotFound="religionNotFound"}(h=t.DeleteReligionError||(t.DeleteReligionError={})),function(f){f.religionNotFound="religionNotFound",f.itemNameIsEmpty="itemNameIsEmpty",f.religionItemNameAlreadyExists="religionItemNameAlreadyExists"}(y=t.UpdateReligionError||(t.UpdateReligionError={}))}(Ci||(Ci={}));let Ui=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateReligion=new g.x,this.onDeleteReligion=new g.x,this.onGetAllReligions=new g.x,this.onUpdateReligion=new g.x}createReligion(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusReligion","CreateReligion",y);return f.successful&&this.onCreateReligion.next({request:h,response:f}),f})}deleteReligion(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusReligion","DeleteReligion",y);return f.successful&&this.onDeleteReligion.next({request:h,response:f}),f})}getAllReligions(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusReligion","GetAllReligions",h);return this.onGetAllReligions.next(y),y})}updateReligion(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusReligion","UpdateReligion",y);return f.successful&&this.onUpdateReligion.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var _i;!function(t){let ge;var dn;let h,y,f,Wt;(dn=ge=t.InitialiseClientDatabaseError||(t.InitialiseClientDatabaseError={})).nurseryCodeNotAvailable="nurseryCodeNotAvailable",dn.nurseryWithEmailExists="nurseryWithEmailExists",dn.invalidFirstName="invalidFirstName",dn.invalidLastName="invalidLastName",dn.invalidNurseryName="invalidNurseryName",dn.invalidEmailAddress="invalidEmailAddress",dn.invalidPassword="invalidPassword",dn.passwordNotStrongEnough="passwordNotStrongEnough",dn.nurseryHasAlreadyBeenInitialised="nurseryHasAlreadyBeenInitialised",dn.userWithEmailExists="userWithEmailExists",function(dn){dn.userOrPasswordIncorrect="userOrPasswordIncorrect",dn.businessNotMigrated="businessNotMigrated",dn.businessIsNotActive="businessIsNotActive",dn.twoFactorCodeIncorrect="twoFactorCodeIncorrect",dn.twofactorCodeIsRequired="twofactorCodeIsRequired",dn.ipOrAccountLocked="ipOrAccountLocked",dn.accountIsLocked="accountIsLocked",dn.accountIsDisabled="accountIsDisabled"}(h=t.AuthenticateUsernameAndPasswordError||(t.AuthenticateUsernameAndPasswordError={})),function(dn){dn.compromisedPassword="compromisedPassword"}(y=t.AuthenticateUsernameAndPasswordPasswordResetReason||(t.AuthenticateUsernameAndPasswordPasswordResetReason={})),function(dn){dn.callerNotAllowed="callerNotAllowed",dn.userNotFound="userNotFound",dn.passwordIncorrect="passwordIncorrect",dn.businessNotMigrated="businessNotMigrated",dn.businessIsNotActive="businessIsNotActive",dn.accountIsLocked="accountIsLocked",dn.cognitoPortalLoginNotEnabled="cognitoPortalLoginNotEnabled",dn.totpUserMustMigrateOnOldScreen="totpUserMustMigrateOnOldScreen",dn.emailAddressRequired="emailAddressRequired",dn.passwordTooShort="passwordTooShort"}(f=t.ValidatePortalLoginForMigrationError||(t.ValidatePortalLoginForMigrationError={})),function(dn){dn.callerNotAllowed="callerNotAllowed",dn.userNotFound="userNotFound"}(Wt=t.GetPortalUserForPasswordResetMigrationError||(t.GetPortalUserForPasswordResetMigrationError={}))}(_i||(_i={}));let Ii=(()=>{class t{constructor(h){this.sauronService=h,this.onInitialiseClientDatabase=new g.x,this.onAuthenticateUsernameAndPassword=new g.x,this.onValidatePortalLoginForMigration=new g.x,this.onGetPortalUserForPasswordResetMigration=new g.x}initialiseClientDatabase(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusCommands","InitialiseClientDatabase",y);return f.successful&&this.onInitialiseClientDatabase.next({request:h,response:f}),f})}authenticateUsernameAndPassword(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusCommands","AuthenticateUsernameAndPassword",y);return f.successful&&this.onAuthenticateUsernameAndPassword.next({request:h,response:f}),f})}validatePortalLoginForMigration(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusCommands","ValidatePortalLoginForMigration",y);return f.successful&&this.onValidatePortalLoginForMigration.next({request:h,response:f}),f})}getPortalUserForPasswordResetMigration(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusCommands","GetPortalUserForPasswordResetMigration",y);return f.successful&&this.onGetPortalUserForPasswordResetMigration.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var er,Ar;!function(t){let ge,h,y,f;(ge=t.DisableTwoFactorForCurrentUserError||(t.DisableTwoFactorForCurrentUserError={})).userLoginDoesNotExist="userLoginDoesNotExist",(h=t.InitializeTwoFactorForCurrentUserError||(t.InitializeTwoFactorForCurrentUserError={})).userLoginDoesNotExists="userLoginDoesNotExists",function(Wt){Wt.invalidOTP="invalidOTP",Wt.userMissingLogin="userMissingLogin",Wt.noPendingSecret="noPendingSecret"}(y=t.ConfirmPendingTwoFactorForCurrentUserError||(t.ConfirmPendingTwoFactorForCurrentUserError={})),function(Wt){Wt.noUserLogin="noUserLogin"}(f=t.GetCurrentUserTwoFactorStatusError||(t.GetCurrentUserTwoFactorStatusError={}))}(er||(er={})),function(t){let ge;var dn;let h,y,f,Wt;(dn=ge=t.AddCohortToChildError||(t.AddCohortToChildError={})).childDoesNotExist="childDoesNotExist",dn.cohortKeyDoesNotExist="cohortKeyDoesNotExist",function(dn){dn.childDoesNotExist="childDoesNotExist",dn.cohortKeyDoesNotExist="cohortKeyDoesNotExist"}(h=t.RemoveCohortFromChildError||(t.RemoveCohortFromChildError={})),function(dn){dn.registered="registered",dn.left="left"}(y=t.UpdateChildren2AbacusChildStatusKey||(t.UpdateChildren2AbacusChildStatusKey={})),function(dn){dn.children2NotFound="children2NotFound",dn.keyWorkerNotFound="keyWorkerNotFound",dn.childChangedSinceLoaded="childChangedSinceLoaded"}(f=t.UpdateChildren2Error||(t.UpdateChildren2Error={})),function(dn){dn.noChildIds="noChildIds"}(Wt=t.UpdateChildrenStatusToLeftError||(t.UpdateChildrenStatusToLeftError={}))}(Ar||(Ar={}));let oo=(()=>{class t{constructor(h){this.sauronService=h,this.onAddCohortToChild=new g.x,this.onRemoveCohortFromChild=new g.x,this.onUpdateChildren2=new g.x,this.onGetRegisteredChildrenPastActualLeaveDate=new g.x,this.onUpdateChildrenStatusToLeft=new g.x}addCohortToChild(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusChildren2","AddCohortToChild",y);return f.successful&&this.onAddCohortToChild.next({request:h,response:f}),f})}removeCohortFromChild(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusChildren2","RemoveCohortFromChild",y);return f.successful&&this.onRemoveCohortFromChild.next({request:h,response:f}),f})}updateChildren2(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusChildren2","UpdateChildren2",y);return f.successful&&this.onUpdateChildren2.next({request:h,response:f}),f})}getRegisteredChildrenPastActualLeaveDate(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusChildren2","GetRegisteredChildrenPastActualLeaveDate",h);return y.successful&&this.onGetRegisteredChildrenPastActualLeaveDate.next(y),y})}updateChildrenStatusToLeft(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusChildren2","UpdateChildrenStatusToLeft",y);return f.successful&&this.onUpdateChildrenStatusToLeft.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Wr;!function(t){let ge;var h;(h=ge=t.CreateChild2AllergyError||(t.CreateChild2AllergyError={})).children2NotFound="children2NotFound",h.allergyNotFound="allergyNotFound",h.mappingAlreadyExists="mappingAlreadyExists"}(Wr||(Wr={}));let Lr=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateChild2Allergy=new g.x,this.onDeleteChild2Allergy=new g.x}createChild2Allergy(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusChild2Allergy","CreateChild2Allergy",y);return f.successful&&this.onCreateChild2Allergy.next({request:h,response:f}),f})}deleteChild2Allergy(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusChild2Allergy","DeleteChild2Allergy",y);return f.successful&&this.onDeleteChild2Allergy.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Nr;!function(t){let ge;var h;(h=ge=t.CreateChild2MedicalError||(t.CreateChild2MedicalError={})).childNotFound="childNotFound",h.medicalConditionNotFound="medicalConditionNotFound",h.mappingAlreadyExists="mappingAlreadyExists"}(Nr||(Nr={}));let Di=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateChild2Medical=new g.x,this.onDeleteChild2Medical=new g.x}createChild2Medical(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusChild2Medical","CreateChild2Medical",y);return f.successful&&this.onCreateChild2Medical.next({request:h,response:f}),f})}deleteChild2Medical(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusChild2Medical","DeleteChild2Medical",y);return f.successful&&this.onDeleteChild2Medical.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var yo;!function(t){let ge;var on;let h,y,f,Wt,dn,Ht;(on=ge=t.UpdateCarerError||(t.UpdateCarerError={})).carerNotFound="carerNotFound",on.linkNotFound="linkNotFound",on.invalidInput="invalidInput",on.childNotFound="childNotFound",function(on){on.paymentPending="paymentPending",on.collectionPending="collectionPending"}(h=t.CanCarerBeDeletedReasonCannotDelete||(t.CanCarerBeDeletedReasonCannotDelete={})),function(on){on.carerDoesNotExist="carerDoesNotExist"}(y=t.CanCarerBeDeletedError||(t.CanCarerBeDeletedError={})),function(on){on.childNotFound="childNotFound",on.oldPrimaryCarerNotFound="oldPrimaryCarerNotFound",on.newPrimaryCarerNotFound="newPrimaryCarerNotFound",on.relationshipNotFound="relationshipNotFound",on.carerIdProvidedIsNotPrimaryCarer="carerIdProvidedIsNotPrimaryCarer",on.newCarerNotLinkedToChild="newCarerNotLinkedToChild"}(f=t.SetAsPrimaryCarerError||(t.SetAsPrimaryCarerError={})),function(on){on.none="none",on.doctor="doctor",on.healthVisitor="healthVisitor",on.billPayer="billPayer"}(Wt=t.GetPrimaryCarerSwapContextBlockReason||(t.GetPrimaryCarerSwapContextBlockReason={})),function(on){on.primaryCarerNotFound="primaryCarerNotFound",on.carerIsNotAPrimaryCarer="carerIsNotAPrimaryCarer"}(dn=t.GetPrimaryCarerSwapContextError||(t.GetPrimaryCarerSwapContextError={})),function(on){on.noChildrenProvided="noChildrenProvided",on.oldPrimaryCarerNotFound="oldPrimaryCarerNotFound",on.newPrimaryCarerNotFound="newPrimaryCarerNotFound",on.childNotOwnedByOldPrimaryCarer="childNotOwnedByOldPrimaryCarer",on.newCarerNotLinkedToChild="newCarerNotLinkedToChild",on.newCarerIsBillPayerForChild="newCarerIsBillPayerForChild",on.newCarerRelationshipNotAllowed="newCarerRelationshipNotAllowed"}(Ht=t.SetPrimaryCarerForChildrenError||(t.SetPrimaryCarerForChildrenError={}))}(yo||(yo={}));let wr=(()=>{class t{constructor(h){this.sauronService=h,this.onUpdateCarer=new g.x,this.onGetCarersParentPortalStatus=new g.x,this.onCanCarerBeDeleted=new g.x,this.onSetAsPrimaryCarer=new g.x,this.onGetPrimaryCarerSwapContext=new g.x,this.onSetPrimaryCarerForChildren=new g.x}updateCarer(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusAdults2","UpdateCarer",y);return f.successful&&this.onUpdateCarer.next({request:h,response:f}),f})}getCarersParentPortalStatus(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusAdults2","GetCarersParentPortalStatus",h);return y.successful&&this.onGetCarersParentPortalStatus.next(y),y})}canCarerBeDeleted(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusAdults2","CanCarerBeDeleted",y);return f.successful&&this.onCanCarerBeDeleted.next({request:h,response:f}),f})}setAsPrimaryCarer(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusAdults2","SetAsPrimaryCarer",y);return f.successful&&this.onSetAsPrimaryCarer.next({request:h,response:f}),f})}getPrimaryCarerSwapContext(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusAdults2","GetPrimaryCarerSwapContext",y);return f.successful&&this.onGetPrimaryCarerSwapContext.next({request:h,response:f}),f})}setPrimaryCarerForChildren(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusAdults2","SetPrimaryCarerForChildren",y);return f.successful&&this.onSetPrimaryCarerForChildren.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Or;!function(t){let ge,h,y,f,Wt,dn,Ht;var on;ge=t.GetAllStaffError||(t.GetAllStaffError={}),(h=t.CreateStaffError||(t.CreateStaffError={})).validationError="validationError",(on=y=t.UpdateStaffError||(t.UpdateStaffError={})).staffDoesNotExist="staffDoesNotExist",on.validationError="validationError",function(on){on.staffDoesNotExist="staffDoesNotExist",on.staffInUse="staffInUse",on.hasLinkedFiles="hasLinkedFiles"}(f=t.DeleteStaffError||(t.DeleteStaffError={})),Wt=t.GetAllStaffAndLoginDetailsError||(t.GetAllStaffAndLoginDetailsError={}),function(on){on.errorCreatingUser="errorCreatingUser",on.emailInUse="emailInUse",on.invalidPassword="invalidPassword",on.usernameInvalid="usernameInvalid"}(dn=t.CreateStaffAndLoginError||(t.CreateStaffAndLoginError={})),function(on){on.invalidUser="invalidUser",on.updateStaffValidationError="updateStaffValidationError",on.invalidFirstName="invalidFirstName",on.invalidLastName="invalidLastName",on.updateStaffStaffDoesNotExist="updateStaffStaffDoesNotExist",on.updateNUserAbacusUserNotFound="updateNUserAbacusUserNotFound",on.updateNUserInvalidDateOfBirth="updateNUserInvalidDateOfBirth",on.updateNUserInvalidEmail="updateNUserInvalidEmail",on.updateNUserInvalidFirstName="updateNUserInvalidFirstName",on.updateNUserInvalidLastName="updateNUserInvalidLastName",on.updateNUserParentaServicesUserNotFound="updateNUserParentaServicesUserNotFound",on.updateNUserEmailInUse="updateNUserEmailInUse",on.updateNUserInvalidMirkwoodUser="updateNUserInvalidMirkwoodUser",on.updateNUserParentaServicesUniqueIdConflict="updateNUserParentaServicesUniqueIdConflict",on.updateNUserTooManyParentaServicesUsers="updateNUserTooManyParentaServicesUsers",on.updateNUserNurseryNotFound="updateNUserNurseryNotFound",on.updateNUserMirkwoodSharedGuidMismatch="updateNUserMirkwoodSharedGuidMismatch",on.updateNUserParentaServicesUserSharedGuidMismatch="updateNUserParentaServicesUserSharedGuidMismatch",on.updateNUserUsernameInvalid="updateNUserUsernameInvalid",on.updateNUserUsernameInUse="updateNUserUsernameInUse",on.updatePasswordUserLoginNotFound="updatePasswordUserLoginNotFound",on.updatePasswordPasswordIsEmpty="updatePasswordPasswordIsEmpty",on.updatePasswordPasswordNotStrongEnough="updatePasswordPasswordNotStrongEnough",on.updateNUserUpdatingOnlyAdministratorToUser="updateNUserUpdatingOnlyAdministratorToUser",on.usernameInvalid="usernameInvalid"}(Ht=t.UpdateStaffAndLoginDetailsError||(t.UpdateStaffAndLoginDetailsError={}))}(Or||(Or={}));let Io=(()=>{class t{constructor(h){this.sauronService=h,this.onGetAllStaff=new g.x,this.onCreateStaff=new g.x,this.onUpdateStaff=new g.x,this.onDeleteStaff=new g.x,this.onGetAllStaffAndLoginDetails=new g.x,this.onCreateStaffAndLogin=new g.x,this.onUpdateStaffAndLoginDetails=new g.x}getAllStaff(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusStaff","GetAllStaff",h);return y.successful&&this.onGetAllStaff.next(y),y})}createStaff(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusStaff","CreateStaff",y);return f.successful&&this.onCreateStaff.next({request:h,response:f}),f})}updateStaff(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusStaff","UpdateStaff",y);return f.successful&&this.onUpdateStaff.next({request:h,response:f}),f})}deleteStaff(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusStaff","DeleteStaff",y);return f.successful&&this.onDeleteStaff.next({request:h,response:f}),f})}getAllStaffAndLoginDetails(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusStaff","GetAllStaffAndLoginDetails",h);return y.successful&&this.onGetAllStaffAndLoginDetails.next(y),y})}createStaffAndLogin(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusStaff","CreateStaffAndLogin",y);return f.successful&&this.onCreateStaffAndLogin.next({request:h,response:f}),f})}updateStaffAndLoginDetails(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusStaff","UpdateStaffAndLoginDetails",y);return f.successful&&this.onUpdateStaffAndLoginDetails.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var ho,lo,ci,bi;!function(t){let ge,h,y,f,Wt,dn,Ht,on,si,Bt,Jr,It,_s,vs,ss,ys,Cs,bn;var zi;(ge=t.GetStaffDetailsError||(t.GetStaffDetailsError={})).staffNotFound="staffNotFound",(zi=h=t.GetFileUploadUrlError||(t.GetFileUploadUrlError={})).originalFileNameInvalid="originalFileNameInvalid",zi.ownerTypeInvalid="ownerTypeInvalid",function(zi){zi.staffNotFound="staffNotFound",zi.fileNotInStorage="fileNotInStorage",zi.originalFileNameInvalid="originalFileNameInvalid",zi.notesTooLong="notesTooLong"}(y=t.AttachStaffFileError||(t.AttachStaffFileError={})),function(zi){zi.rowNotFound="rowNotFound",zi.notesTooLong="notesTooLong"}(f=t.UpdateStaffFileError||(t.UpdateStaffFileError={})),function(zi){zi.rowNotFound="rowNotFound"}(Wt=t.DeleteStaffFileError||(t.DeleteStaffFileError={})),dn=t.GetStaffFilesError||(t.GetStaffFilesError={}),function(zi){zi.rowNotFound="rowNotFound"}(Ht=t.GetStaffFileDownloadUrlError||(t.GetStaffFileDownloadUrlError={})),on=t.GetStaffTrainingError||(t.GetStaffTrainingError={}),function(zi){zi.staffNotFound="staffNotFound",zi.lookupItemNotFound="lookupItemNotFound",zi.notesTooLong="notesTooLong"}(si=t.AddStaffTrainingError||(t.AddStaffTrainingError={})),function(zi){zi.rowNotFound="rowNotFound",zi.notesTooLong="notesTooLong"}(Bt=t.UpdateStaffTrainingError||(t.UpdateStaffTrainingError={})),function(zi){zi.rowNotFound="rowNotFound"}(Jr=t.DeleteStaffTrainingError||(t.DeleteStaffTrainingError={})),It=t.GetStaffQualificationsError||(t.GetStaffQualificationsError={}),function(zi){zi.staffNotFound="staffNotFound",zi.lookupItemNotFound="lookupItemNotFound",zi.notesTooLong="notesTooLong"}(_s=t.AddStaffQualificationError||(t.AddStaffQualificationError={})),function(zi){zi.rowNotFound="rowNotFound",zi.notesTooLong="notesTooLong"}(vs=t.UpdateStaffQualificationError||(t.UpdateStaffQualificationError={})),function(zi){zi.rowNotFound="rowNotFound"}(ss=t.DeleteStaffQualificationError||(t.DeleteStaffQualificationError={})),ys=t.GetTrainingCoursesForNurseryError||(t.GetTrainingCoursesForNurseryError={}),Cs=t.GetQualificationsForNurseryError||(t.GetQualificationsForNurseryError={}),bn=t.GetNUsersForCurrentNurseryError||(t.GetNUsersForCurrentNurseryError={})}(ho||(ho={})),function(t){let ge;var Kn;let h,y,f,Wt,dn,Ht,on,si,Bt,Jr,It,_s,vs,ss,ys,Cs,bn,zi,ki,rc;(Kn=ge=t.CreateFolderError||(t.CreateFolderError={})).nameRequired="nameRequired",Kn.parentNotFound="parentNotFound",Kn.maxDepthExceeded="maxDepthExceeded",function(Kn){Kn.folderNotFound="folderNotFound",Kn.folderIsProtected="folderIsProtected",Kn.nameRequired="nameRequired"}(h=t.RenameFolderError||(t.RenameFolderError={})),function(Kn){Kn.folderNotFound="folderNotFound",Kn.folderIsProtected="folderIsProtected"}(y=t.DeleteFolderError||(t.DeleteFolderError={})),function(Kn){Kn.fileNotFound="fileNotFound"}(f=t.GetFileDetailsError||(t.GetFileDetailsError={})),function(Kn){Kn.bothOwnersGiven="bothOwnersGiven",Kn.childNotFound="childNotFound",Kn.staffNotFound="staffNotFound"}(Wt=t.GetRetentionPreviewError||(t.GetRetentionPreviewError={})),function(Kn){Kn.fileNotFound="fileNotFound"}(dn=t.GetFileDownloadUrlError||(t.GetFileDownloadUrlError={})),function(Kn){Kn.originalFileNameInvalid="originalFileNameInvalid"}(Ht=t.GetFileUploadUrlError||(t.GetFileUploadUrlError={})),function(Kn){Kn.originalFileNameInvalid="originalFileNameInvalid",Kn.fileNotInStorage="fileNotInStorage",Kn.folderNotFound="folderNotFound",Kn.childNotFound="childNotFound",Kn.childIsDeleted="childIsDeleted",Kn.staffNotFound="staffNotFound",Kn.fileTooLarge="fileTooLarge",Kn.quotaExceeded="quotaExceeded",Kn.documentTypeRequired="documentTypeRequired",Kn.unknownDocumentType="unknownDocumentType",Kn.retentionReviewDateRequired="retentionReviewDateRequired",Kn.duplicateFileName="duplicateFileName",Kn.staffIsDeleted="staffIsDeleted"}(on=t.AttachFileError||(t.AttachFileError={})),function(Kn){Kn.childNotFound="childNotFound",Kn.folderNotFound="folderNotFound",Kn.staffNotFound="staffNotFound"}(si=t.FindDuplicateFilesError||(t.FindDuplicateFilesError={})),function(Kn){Kn.fileNotFound="fileNotFound",Kn.childIsDeleted="childIsDeleted",Kn.fileNotInStorage="fileNotInStorage",Kn.fileTooLarge="fileTooLarge",Kn.quotaExceeded="quotaExceeded",Kn.fileIsSystemFile="fileIsSystemFile"}(Bt=t.UploadNewVersionError||(t.UploadNewVersionError={})),function(Kn){Kn.unknownSourceType="unknownSourceType",Kn.noContent="noContent",Kn.childNotFound="childNotFound",Kn.childIsDeleted="childIsDeleted"}(Jr=t.SaveSystemFileError||(t.SaveSystemFileError={})),function(Kn){Kn.unknownSourceType="unknownSourceType"}(It=t.GetKeptSystemFilesError||(t.GetKeptSystemFilesError={})),function(Kn){Kn.destinationNotFound="destinationNotFound",Kn.fileNotFound="fileNotFound",Kn.fileIsSystemFile="fileIsSystemFile",Kn.tooManyFiles="tooManyFiles"}(_s=t.MoveFilesError||(t.MoveFilesError={})),function(Kn){Kn.fileNotFound="fileNotFound",Kn.systemFileNotReviewable="systemFileNotReviewable"}(vs=t.DeleteFilesError||(t.DeleteFilesError={})),function(Kn){Kn.folderInRecycleBin="folderInRecycleBin"}(ss=t.RestoreFilesError||(t.RestoreFilesError={})),function(Kn){Kn.fileNotFound="fileNotFound",Kn.notesTooLong="notesTooLong",Kn.unknownDocumentType="unknownDocumentType",Kn.systemOnlyDocumentType="systemOnlyDocumentType",Kn.fileIsSystemFile="fileIsSystemFile"}(ys=t.UpdateFileMetaError||(t.UpdateFileMetaError={})),function(Kn){Kn.fileNotFound="fileNotFound",Kn.fileIsDeleted="fileIsDeleted",Kn.documentTypeMissing="documentTypeMissing",Kn.unknownDocumentType="unknownDocumentType",Kn.notDueForReview="notDueForReview",Kn.nextReviewDateNotInFuture="nextReviewDateNotInFuture"}(Cs=t.ApproveFileRetentionReviewError||(t.ApproveFileRetentionReviewError={})),function(Kn){Kn.fileNotFound="fileNotFound",Kn.fileIsSystemFile="fileIsSystemFile"}(bn=t.StarFileError||(t.StarFileError={})),function(Kn){Kn.fileNotFound="fileNotFound",Kn.fileIsSystemFile="fileIsSystemFile"}(zi=t.UnstarFileError||(t.UnstarFileError={})),function(Kn){Kn.childNotFound="childNotFound",Kn.childIsNotDeleted="childIsNotDeleted"}(ki=t.PurgeChildFilesError||(t.PurgeChildFilesError={})),function(Kn){Kn.staffNotFound="staffNotFound",Kn.staffIsNotDeleted="staffIsNotDeleted"}(rc=t.PurgeStaffFilesError||(t.PurgeStaffFilesError={}))}(lo||(lo={})),function(t){let ge;var f;let h,y;(f=ge=t.RecordCustomerSharedFileError||(t.RecordCustomerSharedFileError={})).fileNameRequired="fileNameRequired",f.sourceTypeRequired="sourceTypeRequired",f.sharedByStaffNameRequired="sharedByStaffNameRequired",f.s3KeyRequired="s3KeyRequired",f.fileNotInStorage="fileNotInStorage",function(f){f.fileNotFound="fileNotFound"}(h=t.GetSharedFileDownloadUrlError||(t.GetSharedFileDownloadUrlError={})),function(f){f.fileNotFound="fileNotFound"}(y=t.RemoveCustomerSharedFileError||(t.RemoveCustomerSharedFileError={}))}(ci||(ci={})),function(t){let ge;var y;let h;(y=ge=t.SendEmailToSelfError||(t.SendEmailToSelfError={})).emptySubject="emptySubject",y.emptyBody="emptyBody",y.userLoginNotFound="userLoginNotFound",y.invalidAttachmentType="invalidAttachmentType",y.attachmentsTooLarge="attachmentsTooLarge",function(y){y.staffNotFound="staffNotFound",y.subjectIsEmpty="subjectIsEmpty",y.staffEmailMissing="staffEmailMissing",y.attachmentsTooLarge="attachmentsTooLarge",y.invalidAttachmentType="invalidAttachmentType"}(h=t.SendStaffEmailError||(t.SendStaffEmailError={}))}(bi||(bi={}));let Vi=(()=>{class t{constructor(h){this.sauronService=h,this.onSendEmailToSelf=new g.x,this.onSendStaffEmail=new g.x}sendEmailToSelf(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusCommunication","SendEmailToSelf",y);return f.successful&&this.onSendEmailToSelf.next({request:h,response:f}),f})}sendStaffEmail(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusCommunication","SendStaffEmail",y);return f.successful&&this.onSendStaffEmail.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})(),pe=(()=>{class t{constructor(h){this.sauronService=h,this.onIsNurseryFootstepsStandalone=new g.x,this.onChangeCheckInCode=new g.x}isNurseryFootstepsStandalone(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusSettings","IsNurseryFootstepsStandalone",h);return this.onIsNurseryFootstepsStandalone.next(y),y})}changeCheckInCode(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusSettings","ChangeCheckInCode",y);return this.onChangeCheckInCode.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var ie,st;!function(t){let ge;var h;(h=ge=t.UpdateCarerLoginEmailError||(t.UpdateCarerLoginEmailError={})).nurseryNotFound="nurseryNotFound",h.adults2GuidIsRequired="adults2GuidIsRequired",h.emailAddressIsRequired="emailAddressIsRequired",h.carerLoginNotFound="carerLoginNotFound",h.invalidEmailAddress="invalidEmailAddress",h.duplicateEmailAddress="duplicateEmailAddress"}(ie||(ie={})),function(t){let ge;var h;(h=ge=t.UnlockParentaServicesUserError||(t.UnlockParentaServicesUserError={})).userDoesNotExist="userDoesNotExist",h.userIsNotLocked="userIsNotLocked"}(st||(st={}));let yt=(()=>{class t{constructor(h){this.sauronService=h,this.onGetAllAbacusUsers=new g.x,this.onUnlockParentaServicesUser=new g.x}getAllAbacusUsers(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusParentaServicesUsers","GetAllAbacusUsers",h);return this.onGetAllAbacusUsers.next(y),y})}unlockParentaServicesUser(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusParentaServicesUsers","UnlockParentaServicesUser",y);return f.successful&&this.onUnlockParentaServicesUser.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Nt;!function(t){let ge;var on;let h,y,f,Wt,dn,Ht;(on=ge=t.CreateConsumableRuleError||(t.CreateConsumableRuleError={})).nameCannotBeEmpty="nameCannotBeEmpty",on.typeCannotBeEmpty="typeCannotBeEmpty",on.costMustBeGreaterThanZero="costMustBeGreaterThanZero",on.duplicateName="duplicateName",on.nameTooLong="nameTooLong",on.descriptionTooLong="descriptionTooLong",function(on){on.nameCannotBeEmpty="nameCannotBeEmpty",on.typeCannotBeEmpty="typeCannotBeEmpty",on.costMustBeGreaterThanZero="costMustBeGreaterThanZero",on.duplicateName="duplicateName",on.consumableRuleNotFound="consumableRuleNotFound",on.nameTooLong="nameTooLong",on.descriptionTooLong="descriptionTooLong"}(h=t.UpdateConsumableRuleError||(t.UpdateConsumableRuleError={})),function(on){on.consumableNotFound="consumableNotFound",on.consumableRuleInUse="consumableRuleInUse"}(y=t.DeleteConsumableRuleError||(t.DeleteConsumableRuleError={})),function(on){on.atLeastOneChildIdDoesNotExist="atLeastOneChildIdDoesNotExist",on.currentOperationIsLocked="currentOperationIsLocked"}(f=t.ApplyConsumablesToChildrenSessionsError||(t.ApplyConsumablesToChildrenSessionsError={})),function(on){on.invalidChildId="invalidChildId",on.consumablesNotFound="consumablesNotFound"}(Wt=t.GetAllConsumablesForChildError||(t.GetAllConsumablesForChildError={})),function(on){on.childNotFound="childNotFound",on.invalidRuleIds="invalidRuleIds"}(dn=t.SetConsumableRulesForChildError||(t.SetConsumableRulesForChildError={})),function(on){on.invalidDate="invalidDate"}(Ht=t.ClearConsumableCacheForDatesError||(t.ClearConsumableCacheForDatesError={}))}(Nt||(Nt={}));let gn=(()=>{class t{constructor(h){this.sauronService=h,this.onCreateConsumableRule=new g.x,this.onUpdateConsumableRule=new g.x,this.onGetAllConsumableRules=new g.x,this.onDeleteConsumableRule=new g.x,this.onApplyConsumablesToChildrenSessions=new g.x,this.onGetAllConsumablesForChild=new g.x,this.onSetConsumableRulesForChild=new g.x,this.onClearConsumableCacheForDates=new g.x,this.onSyncConsumableProducts=new g.x}createConsumableRule(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusConsumableRule","CreateConsumableRule",y);return f.successful&&this.onCreateConsumableRule.next({request:h,response:f}),f})}updateConsumableRule(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusConsumableRule","UpdateConsumableRule",y);return f.successful&&this.onUpdateConsumableRule.next({request:h,response:f}),f})}getAllConsumableRules(h){return(0,c.mG)(this,void 0,void 0,function*(){let y=yield this.sauronService.executeVersionedCommand({},"AbacusConsumableRule","GetAllConsumableRules",h);return this.onGetAllConsumableRules.next(y),y})}deleteConsumableRule(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusConsumableRule","DeleteConsumableRule",y);return f.successful&&this.onDeleteConsumableRule.next({request:h,response:f}),f})}applyConsumablesToChildrenSessions(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusConsumableRule","ApplyConsumablesToChildrenSessions",y);return this.onApplyConsumablesToChildrenSessions.next({request:h,response:f}),f})}getAllConsumablesForChild(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusConsumableRule","GetAllConsumablesForChild",y);return f.successful&&this.onGetAllConsumablesForChild.next({request:h,response:f}),f})}setConsumableRulesForChild(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusConsumableRule","SetConsumableRulesForChild",y);return f.successful&&this.onSetConsumableRulesForChild.next({request:h,response:f}),f})}clearConsumableCacheForDates(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusConsumableRule","ClearConsumableCacheForDates",y);return f.successful&&this.onClearConsumableCacheForDates.next({request:h,response:f}),f})}syncConsumableProducts(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusConsumableRule","SyncConsumableProducts",y);return f.successful&&this.onSyncConsumableProducts.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Vn,wi,co,Xo,is;!function(t){let ge;(ge=t.HoursBookedError||(t.HoursBookedError={})).startDateAfterEndDate="startDateAfterEndDate"}(Vn||(Vn={})),function(t){let ge;var h;(h=ge=t.GetFundedSessionTermRangeSummaryForChildError||(t.GetFundedSessionTermRangeSummaryForChildError={})).noChildId="noChildId",h.childNotFound="childNotFound",h.wrongNursery="wrongNursery"}(wi||(wi={})),function(t){let ge,h;var y;(ge=t.GetPublicEnquiryFormByFormIdentifierError||(t.GetPublicEnquiryFormByFormIdentifierError={})).formNotFound="formNotFound",(y=h=t.SubmitPublicEnquiryFormError||(t.SubmitPublicEnquiryFormError={})).formNotFound="formNotFound",y.missingMandatoryFields="missingMandatoryFields"}(co||(co={})),function(t){let ge;var f;let h,y;(f=ge=t.EmailInvoiceToCarerError||(t.EmailInvoiceToCarerError={})).invoiceNotFound="invoiceNotFound",f.carerDoesNotHaveEmail="carerDoesNotHaveEmail",f.emailTemplateNotFound="emailTemplateNotFound",f.childNotFound="childNotFound",f.invoiceNotEligibleForEmail="invoiceNotEligibleForEmail",function(f){f.unexpectedFailure="unexpectedFailure"}(h=t.GetLegacyOutstandingCountCommandError||(t.GetLegacyOutstandingCountCommandError={})),function(f){f.unexpectedFailure="unexpectedFailure"}(y=t.GetInvoicesProcessedTodayCommandError||(t.GetInvoicesProcessedTodayCommandError={}))}(Xo||(Xo={})),function(t){let ge;var It;let h,y,f,Wt,dn,Ht,on,si,Bt,Jr;(It=ge=t.GetMonthlyEnquiriesCountError||(t.GetMonthlyEnquiriesCountError={})).toDateBeforeFromDate="toDateBeforeFromDate",It.dateRangeTooLong="dateRangeTooLong",function(It){It.toDateBeforeFromDate="toDateBeforeFromDate",It.dateRangeTooLong="dateRangeTooLong"}(h=t.GetMonthlyShowRoundsCountError||(t.GetMonthlyShowRoundsCountError={})),function(It){It.toDateBeforeFromDate="toDateBeforeFromDate",It.dateRangeTooLong="dateRangeTooLong"}(y=t.GetMonthlyStartersCountError||(t.GetMonthlyStartersCountError={})),function(It){It.toDateBeforeFromDate="toDateBeforeFromDate",It.dateRangeTooLong="dateRangeTooLong"}(f=t.GetMonthlyLeaversCountError||(t.GetMonthlyLeaversCountError={})),function(It){It.toDateBeforeFromDate="toDateBeforeFromDate",It.dateRangeTooLong="dateRangeTooLong"}(Wt=t.GetEnquiryConversionsError||(t.GetEnquiryConversionsError={})),function(It){It.toDateBeforeFromDate="toDateBeforeFromDate",It.dateRangeTooLong="dateRangeTooLong"}(dn=t.GetEnquirySourceTrendsError||(t.GetEnquirySourceTrendsError={})),function(It){It.toDateBeforeFromDate="toDateBeforeFromDate",It.dateRangeTooLong="dateRangeTooLong"}(Ht=t.GetDailyRoomOccupancyError||(t.GetDailyRoomOccupancyError={})),function(It){It.toDateBeforeFromDate="toDateBeforeFromDate",It.dateRangeTooLong="dateRangeTooLong"}(on=t.GetMixedRatioRoomOccupancyError||(t.GetMixedRatioRoomOccupancyError={})),function(It){It.toDateBeforeFromDate="toDateBeforeFromDate",It.dateRangeTooLong="dateRangeTooLong"}(si=t.GetWeeklyOccupancyTrendError||(t.GetWeeklyOccupancyTrendError={})),function(It){It.toDateBeforeFromDate="toDateBeforeFromDate",It.dateRangeTooLong="dateRangeTooLong"}(Bt=t.GetMonthlyOccupancyTrendError||(t.GetMonthlyOccupancyTrendError={})),function(It){It.toDateBeforeFromDate="toDateBeforeFromDate",It.dateRangeTooLong="dateRangeTooLong"}(Jr=t.GetYearlyOccupancyTrendError||(t.GetYearlyOccupancyTrendError={}))}(is||(is={}));let Ks=(()=>{class t{constructor(h){this.sauronService=h,this.onGetMonthlyEnquiriesCount=new g.x,this.onGetMonthlyShowRoundsCount=new g.x,this.onGetMonthlyStartersCount=new g.x,this.onGetMonthlyLeaversCount=new g.x,this.onGetEnquiryConversions=new g.x,this.onGetEnquirySourceTrends=new g.x,this.onGetEnquirySources=new g.x,this.onGetDailyRoomOccupancy=new g.x,this.onGetHourlyRoomOccupancy=new g.x,this.onGetMixedRatioRoomOccupancy=new g.x,this.onGetRooms=new g.x,this.onGetDailyOccupancyTrend=new g.x,this.onGetWeeklyOccupancyTrend=new g.x,this.onGetMonthlyOccupancyTrend=new g.x,this.onGetYearlyOccupancyTrend=new g.x}getMonthlyEnquiriesCount(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetMonthlyEnquiriesCount",y);return f.successful&&this.onGetMonthlyEnquiriesCount.next({request:h,response:f}),f})}getMonthlyShowRoundsCount(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetMonthlyShowRoundsCount",y);return f.successful&&this.onGetMonthlyShowRoundsCount.next({request:h,response:f}),f})}getMonthlyStartersCount(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetMonthlyStartersCount",y);return f.successful&&this.onGetMonthlyStartersCount.next({request:h,response:f}),f})}getMonthlyLeaversCount(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetMonthlyLeaversCount",y);return f.successful&&this.onGetMonthlyLeaversCount.next({request:h,response:f}),f})}getEnquiryConversions(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetEnquiryConversions",y);return f.successful&&this.onGetEnquiryConversions.next({request:h,response:f}),f})}getEnquirySourceTrends(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetEnquirySourceTrends",y);return f.successful&&this.onGetEnquirySourceTrends.next({request:h,response:f}),f})}getEnquirySources(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetEnquirySources",y);return f.successful&&this.onGetEnquirySources.next({request:h,response:f}),f})}getDailyRoomOccupancy(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetDailyRoomOccupancy",y);return f.successful&&this.onGetDailyRoomOccupancy.next({request:h,response:f}),f})}getHourlyRoomOccupancy(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetHourlyRoomOccupancy",y);return f.successful&&this.onGetHourlyRoomOccupancy.next({request:h,response:f}),f})}getMixedRatioRoomOccupancy(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetMixedRatioRoomOccupancy",y);return f.successful&&this.onGetMixedRatioRoomOccupancy.next({request:h,response:f}),f})}getRooms(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetRooms",y);return f.successful&&this.onGetRooms.next({request:h,response:f}),f})}getDailyOccupancyTrend(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetDailyOccupancyTrend",y);return f.successful&&this.onGetDailyOccupancyTrend.next({request:h,response:f}),f})}getWeeklyOccupancyTrend(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetWeeklyOccupancyTrend",y);return f.successful&&this.onGetWeeklyOccupancyTrend.next({request:h,response:f}),f})}getMonthlyOccupancyTrend(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetMonthlyOccupancyTrend",y);return f.successful&&this.onGetMonthlyOccupancyTrend.next({request:h,response:f}),f})}getYearlyOccupancyTrend(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDashboard","GetYearlyOccupancyTrend",y);return f.successful&&this.onGetYearlyOccupancyTrend.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var zo;!function(t){let ge,h,y,f,Wt,dn,Ht,on,si,Bt,Jr,It,_s,vs,ss,ys,Cs,bn,zi;var ki;(ge=t.GetRoomMoveDiaryEventsGetRoomMoveDiaryEventsError||(t.GetRoomMoveDiaryEventsGetRoomMoveDiaryEventsError={})).dateRangeTooLong="dateRangeTooLong",(ki=h=t.GetShowRoundDiaryEventsError||(t.GetShowRoundDiaryEventsError={})).toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong",function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(y=t.GetCustomDiaryEventsError||(t.GetCustomDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(f=t.GetChildBirthdayDiaryEventsError||(t.GetChildBirthdayDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(Wt=t.GetStaffBirthdayDiaryEventsError||(t.GetStaffBirthdayDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(dn=t.GetStarterDiaryEventsError||(t.GetStarterDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(Ht=t.GetLeaverDiaryEventsError||(t.GetLeaverDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(on=t.GetHeadCountDiaryEventsError||(t.GetHeadCountDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(si=t.GetEnquiryDiaryEventsError||(t.GetEnquiryDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(Bt=t.GetStaffStartDateDiaryEventsError||(t.GetStaffStartDateDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(Jr=t.GetStaffAppraisalDiaryEventsError||(t.GetStaffAppraisalDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(It=t.GetStaffPoliceCheckDiaryEventsError||(t.GetStaffPoliceCheckDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(_s=t.GetStaffLeaveDateDiaryEventsError||(t.GetStaffLeaveDateDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(vs=t.GetStaffAttendedTrainingDiaryEventsError||(t.GetStaffAttendedTrainingDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(ss=t.GetStaffExpiredTrainingDiaryEventsError||(t.GetStaffExpiredTrainingDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(ys=t.GetChildHolidayDiaryEventsError||(t.GetChildHolidayDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(Cs=t.GetStaffHolidayDiaryEventsError||(t.GetStaffHolidayDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(bn=t.GetNurseryHolidayDiaryEventsError||(t.GetNurseryHolidayDiaryEventsError={})),function(ki){ki.toDateBeforeFromDate="toDateBeforeFromDate",ki.dateRangeTooLong="dateRangeTooLong"}(zi=t.GetExtraSessionDiaryEventsError||(t.GetExtraSessionDiaryEventsError={}))}(zo||(zo={}));let Ms=(()=>{class t{constructor(h){this.sauronService=h,this.onGetRoomMoveDiaryEvents=new g.x,this.onGetShowRoundDiaryEvents=new g.x,this.onGetCustomDiaryEvents=new g.x,this.onGetChildBirthdayDiaryEvents=new g.x,this.onGetStaffBirthdayDiaryEvents=new g.x,this.onGetStarterDiaryEvents=new g.x,this.onGetLeaverDiaryEvents=new g.x,this.onGetHeadCountDiaryEvents=new g.x,this.onGetEnquiryDiaryEvents=new g.x,this.onGetStaffStartDateDiaryEvents=new g.x,this.onGetStaffAppraisalDiaryEvents=new g.x,this.onGetStaffPoliceCheckDiaryEvents=new g.x,this.onGetStaffLeaveDateDiaryEvents=new g.x,this.onGetStaffAttendedTrainingDiaryEvents=new g.x,this.onGetStaffExpiredTrainingDiaryEvents=new g.x,this.onGetChildHolidayDiaryEvents=new g.x,this.onGetStaffHolidayDiaryEvents=new g.x,this.onGetNurseryHolidayDiaryEvents=new g.x,this.onGetExtraSessionDiaryEvents=new g.x}getRoomMoveDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetRoomMoveDiaryEvents",y);return this.onGetRoomMoveDiaryEvents.next({request:h,response:f}),f})}getShowRoundDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetShowRoundDiaryEvents",y);return f.successful&&this.onGetShowRoundDiaryEvents.next({request:h,response:f}),f})}getCustomDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetCustomDiaryEvents",y);return f.successful&&this.onGetCustomDiaryEvents.next({request:h,response:f}),f})}getChildBirthdayDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetChildBirthdayDiaryEvents",y);return f.successful&&this.onGetChildBirthdayDiaryEvents.next({request:h,response:f}),f})}getStaffBirthdayDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetStaffBirthdayDiaryEvents",y);return f.successful&&this.onGetStaffBirthdayDiaryEvents.next({request:h,response:f}),f})}getStarterDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetStarterDiaryEvents",y);return f.successful&&this.onGetStarterDiaryEvents.next({request:h,response:f}),f})}getLeaverDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetLeaverDiaryEvents",y);return f.successful&&this.onGetLeaverDiaryEvents.next({request:h,response:f}),f})}getHeadCountDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetHeadCountDiaryEvents",y);return f.successful&&this.onGetHeadCountDiaryEvents.next({request:h,response:f}),f})}getEnquiryDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetEnquiryDiaryEvents",y);return f.successful&&this.onGetEnquiryDiaryEvents.next({request:h,response:f}),f})}getStaffStartDateDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetStaffStartDateDiaryEvents",y);return f.successful&&this.onGetStaffStartDateDiaryEvents.next({request:h,response:f}),f})}getStaffAppraisalDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetStaffAppraisalDiaryEvents",y);return f.successful&&this.onGetStaffAppraisalDiaryEvents.next({request:h,response:f}),f})}getStaffPoliceCheckDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetStaffPoliceCheckDiaryEvents",y);return f.successful&&this.onGetStaffPoliceCheckDiaryEvents.next({request:h,response:f}),f})}getStaffLeaveDateDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetStaffLeaveDateDiaryEvents",y);return f.successful&&this.onGetStaffLeaveDateDiaryEvents.next({request:h,response:f}),f})}getStaffAttendedTrainingDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetStaffAttendedTrainingDiaryEvents",y);return f.successful&&this.onGetStaffAttendedTrainingDiaryEvents.next({request:h,response:f}),f})}getStaffExpiredTrainingDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetStaffExpiredTrainingDiaryEvents",y);return f.successful&&this.onGetStaffExpiredTrainingDiaryEvents.next({request:h,response:f}),f})}getChildHolidayDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetChildHolidayDiaryEvents",y);return f.successful&&this.onGetChildHolidayDiaryEvents.next({request:h,response:f}),f})}getStaffHolidayDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetStaffHolidayDiaryEvents",y);return f.successful&&this.onGetStaffHolidayDiaryEvents.next({request:h,response:f}),f})}getNurseryHolidayDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetNurseryHolidayDiaryEvents",y);return f.successful&&this.onGetNurseryHolidayDiaryEvents.next({request:h,response:f}),f})}getExtraSessionDiaryEvents(h,y){return(0,c.mG)(this,void 0,void 0,function*(){let f=yield this.sauronService.executeVersionedCommand(h,"AbacusDiary","GetExtraSessionDiaryEvents",y);return f.successful&&this.onGetExtraSessionDiaryEvents.next({request:h,response:f}),f})}}return t.\u0275fac=function(h){return new(h||t)(u.LFG(b))},t.\u0275prov=u.Yz7({token:t,factory:t.\u0275fac}),t})();var Br,T;!function(t){let ge;var Ht;let h,y,f,Wt,dn;(Ht=ge=t.SaveCustomEntityTypeError||(t.SaveCustomEntityTypeError={})).customEntityTypeNotFound="customEntityTypeNotFound",Ht.typeIsSystemManaged="typeIsSystemManaged",Ht.nameIsEmpty="nameIsEmpty",Ht.duplicateTypeName="duplicateTypeName",Ht.textTooLong="textTooLong",function(Ht){Ht.customEntityTypeNotFound="customEntityTypeNotFound"}(h=t.ListCustomEntityFieldsError||(t.ListCustomEntityFieldsError={})),function(Ht){Ht.customEntityTypeNotFound="customEntityTypeNotFound",Ht.fieldNotFound="fieldNotFound",Ht.nameIsEmpty="nameIsEmpty",Ht.duplicateFieldName="duplicateFieldName",Ht.unknownControlType="unknownControlType",Ht.invalidTypeConfigJson="invalidTypeConfigJson",Ht.typeIsArchived="typeIsArchived",Ht.fieldIsArchived="fieldIsArchived",Ht.textTooLong="textTooLong"}(y=t.SaveCustomEntityFieldError||(t.SaveCustomEntityFieldError={})),function(Ht){Ht.fieldNotFound="fieldNotFound",Ht.fieldAlreadyArchived="fieldAlreadyArchived"}(f=t.ArchiveCustomEntityFieldError||(t.ArchiveCustomEntityFieldError={})),function(Ht){Ht.customEntityTypeNotFound="customEntityTypeNotFound",Ht.fieldNotOnType="fieldNotOnType",Ht.orderIsEmpty="orderIsEmpty"}(Wt=t.ReorderCustomEntityFieldsError||(t.ReorderCustomEntityFieldsError={})),function(Ht){Ht.controlTypeIsNotAPicker="controlTypeIsNotAPicker",Ht.unknownFilterMode="unknownFilterMode"}(dn=t.ListCustomEntityPickerOptionsError||(t.ListCustomEntityPickerOptionsError={}))}(Br||(Br={})),function(t){let ge;var h;(h=ge=t.IntegrationCheckIntegrationCheckError||(t.IntegrationCheckIntegrationCheckError={})).emailSenderFailed="emailSenderFailed",h.headlessBrowserFailed="headlessBrowserFailed",h.businessRepositoryFailed="businessRepositoryFailed",h.abacusChildRepositoryFailed="abacusChildRepositoryFailed",h.objectStorageClientFailed="objectStorageClientFailed",h.blackArrowClientFailed="blackArrowClientFailed",h.rackspaceToAmazonImageMigratorFailed="rackspaceToAmazonImageMigratorFailed",h.lookupServiceFailed="lookupServiceFailed",h.exceptionLoggerFailed="exceptionLoggerFailed",h.faceRecognitionServiceFailed="faceRecognitionServiceFailed"}(T||(T={}));var J=(()=>(function(t){t.userCode1="userCode1",t.userCode2="userCode2"}(J||(J={})),J))(),Ee=(()=>(function(t){t.childrenColour="childrenColour",t.observationViewing="observationViewing",t.businessName="businessName",t.passwordResetAfterDays="passwordResetAfterDays",t.passwordExpiryWarningBeforeDays="passwordExpiryWarningBeforeDays",t.passwordHistoryToKeep="passwordHistoryToKeep",t.showEyfsEarlyLearningGoal="showEyfsEarlyLearningGoal",t.showEyfsTextBoxes="showEyfsTextBoxes",t.showEyfsSpecificAreas="showEyfsSpecificAreas",t.setAgebandByHighestSecure="setAgebandByHighestSecure",t.setAgebandByHighestVisited="setAgebandByHighestVisited",t.setAgebandManually="setAgebandManually",t.showChildNameType="showChildNameType",t.childrenOrderBy="childrenOrderBy",t.emergingColor="emergingColor",t.developingColor="developingColor",t.secureColor="secureColor",t.showBrandingOnExportedReportsAndAssessments="showBrandingOnExportedReportsAndAssessments",t.showObservationCoel="showObservationCoel",t.showObservationLeuvenScales="showObservationLeuvenScales",t.suggestNextSteps="suggestNextSteps",t.enableSessionReminder="enableSessionReminder",t.sessionReminderDuration="sessionReminderDuration",t.checkStaffRotasInAbacusWhenPlanningActivities="checkStaffRotasInAbacusWhenPlanningActivities",t.showEyfsLearningJourneyReport="showEyfsLearningJourneyReport",t.showNextStepsLearningJourneyReport="showNextStepsLearningJourneyReport",t.learningJourneyReportOrderBy="learningJourneyReportOrderBy",t.showAssessmentEyfsCoel="showAssessmentEyfsCoel",t.showAssessment2YearCoel="showAssessment2YearCoel",t.enableArticleApproval="enableArticleApproval",t.updateNewsfeedAutomatically="updateNewsfeedAutomatically",t.updateNewsfeedEveryday="updateNewsfeedEveryday",t.updateNewsfeedManually="updateNewsfeedManually",t.neverUpdateNewsfeed="neverUpdateNewsfeed",t.newsfeedAllowCommenting="newsfeedAllowCommenting",t.newsfeedReceiveNotification="newsfeedReceiveNotification",t.trackTwoYearFunded="trackTwoYearFunded",t.trackThreeToFourYearFunded="trackThreeToFourYearFunded",t.trackSummerBorn="trackSummerBorn",t.summerBornStartDay="summerBornStartDay",t.summerBornStartMonth="summerBornStartMonth",t.summerBornEndDay="summerBornEndDay",t.summerBornEndMonth="summerBornEndMonth",t.trackAutumnBorn="trackAutumnBorn",t.autumnBornStartDay="autumnBornStartDay",t.autumnBornStartMonth="autumnBornStartMonth",t.autumnBornEndDay="autumnBornEndDay",t.autumnBornEndMonth="autumnBornEndMonth",t.trackSpringBorn="trackSpringBorn",t.springBornStartDay="springBornStartDay",t.springBornStartMonth="springBornStartMonth",t.springBornEndDay="springBornEndDay",t.springBornEndMonth="springBornEndMonth",t.trackReceivesEypp="trackReceivesEypp",t.trackLookedAfterChild="trackLookedAfterChild",t.trackCarerInArmedForces="trackCarerInArmedForces",t.trackGypsyOrRomany="trackGypsyOrRomany",t.trackMinority="trackMinority",t.trackSpecialEducationNeeded="trackSpecialEducationNeeded",t.englishAsAdditionalLanguage="englishAsAdditionalLanguage",t.trackGiftedAndTalented="trackGiftedAndTalented",t.trackReceivesFreeMeals="trackReceivesFreeMeals",t.disableAllPushNotifications="disableAllPushNotifications"}(Ee||(Ee={})),Ee))(),ze=(()=>(function(t){t.showEyfsAreaOnly="showEyfsAreaOnly",t.showEyfsAspectsOnly="showEyfsAspectsOnly",t.showBothEyfsAreasAndAspects="showBothEyfsAreasAndAspects"}(ze||(ze={})),ze))(),At=(()=>(function(t){t.newestToOldest="newestToOldest",t.oldestToNewest="oldestToNewest"}(At||(At={})),At))(),cn=(()=>(function(t){t.knownNameInsteadOfFirstName="knownNameInsteadOfFirstName",t.firstNameInsteadOfKnownName="firstNameInsteadOfKnownName"}(cn||(cn={})),cn))(),vn=(()=>(function(t){t.orderByKnownName="orderByKnownName",t.orderByLastName="orderByLastName",t.orderByFirstName="orderByFirstName"}(vn||(vn={})),vn))(),us=(()=>(function(t){t.dashboardLayout="dashboardLayout",t.diarySettings="diarySettings",t.assessmentChildAgebandSelection="assessmentChildAgebandSelection",t.assessmentIncludeNextStep="assessmentIncludeNextStep",t.assessmentChildIsExempt="assessmentChildIsExempt",t.assessmentRememberOptions="assessmentRememberOptions",t.assessmentExemptionReason="assessmentExemptionReason",t.assessmentCustomExemption="assessmentCustomExemption",t.hideEyfsSortingBanner="hideEyfsSortingBanner"}(us||(us={})),us))(),xs=(()=>(function(t){t.all="all",t.male="male",t.female="female"}(xs||(xs={})),xs))(),ea=(()=>(function(t){t.all="all",t.inToday="inToday",t.notInToday="notInToday"}(ea||(ea={})),ea))(),zr=(()=>(function(t){t.all="all",t.registered="registered",t.left="left"}(zr||(zr={})),zr))(),Ha=(()=>(function(t){t.twoYearFunded="twoYearFunded",t.threeToFourYearFunded="threeToFourYearFunded",t.springBorn="springBorn",t.summerBorn="summerBorn",t.autumnBorn="autumnBorn",t.specialEducationalNeedsAndDisabilities="specialEducationalNeedsAndDisabilities",t.englishAsAnAdditionalLanguage="englishAsAnAdditionalLanguage",t.giftedAndTalented="giftedAndTalented",t.lookedAfterChild="lookedAfterChild",t.carersInArmedForces="carersInArmedForces",t.gypsyRomanyTravellerFamily="gypsyRomanyTravellerFamily",t.minorityEthnicGroup="minorityEthnicGroup",t.receivesEarlyYearsPupilPremium="receivesEarlyYearsPupilPremium",t.receivesFreeSchoolMeals="receivesFreeSchoolMeals",t.requiresOneToOneCare="requiresOneToOneCare"}(Ha||(Ha={})),Ha))(),dl=(()=>(function(t){t.dashboardRead="dashboardRead",t.userProfileRead="userProfileRead",t.userProfileUpdate="userProfileUpdate",t.dashboardMessagesRead="dashboardMessagesRead",t.dashboardMessagesDelete="dashboardMessagesDelete",t.staffManagementUpdate="staffManagementUpdate",t.signupChildrenCreate="signupChildrenCreate",t.bookinChildrenCreate="bookinChildrenCreate",t.childDetailsBasicCreate="childDetailsBasicCreate",t.childDetailsBasicRead="childDetailsBasicRead",t.childDetailsBasicUpdate="childDetailsBasicUpdate",t.childDetailsAdvancedCreate="childDetailsAdvancedCreate",t.childDetailsAdvancedRead="childDetailsAdvancedRead",t.childDetailsAdvancedUpdate="childDetailsAdvancedUpdate",t.childDetailsAdvancedDelete="childDetailsAdvancedDelete",t.advanceBookingCreate="advanceBookingCreate",t.advanceBookingRead="advanceBookingRead",t.advanceBookingUpdate="advanceBookingUpdate",t.advanceBookingDelete="advanceBookingDelete",t.forcedLogoutUpdate="forcedLogoutUpdate",t.managementDashboardRead="managementDashboardRead",t.systemGhostRead="systemGhostRead",t.diaryRead="diaryRead",t.diaryAdvanceBookingCreate="diaryAdvanceBookingCreate",t.diaryAdvanceBookingRead="diaryAdvanceBookingRead",t.diaryAdvanceBookingUpdate="diaryAdvanceBookingUpdate",t.diaryAdvanceBookingDelete="diaryAdvanceBookingDelete",t.reportsRead="reportsRead",t.scheduleReportsCreate="scheduleReportsCreate",t.scheduleReportsRead="scheduleReportsRead",t.scheduleReportsUpdate="scheduleReportsUpdate",t.scheduleReportsDelete="scheduleReportsDelete",t.messagesCreate="messagesCreate",t.messagesRead="messagesRead",t.userManagementRead="userManagementRead",t.userAccountCreate="userAccountCreate",t.userAccountRead="userAccountRead",t.userAccountUpdate="userAccountUpdate",t.userAccountDelete="userAccountDelete",t.roleGroupCreate="roleGroupCreate",t.roleGroupRead="roleGroupRead",t.roleGroupUpdate="roleGroupUpdate",t.roleGroupDelete="roleGroupDelete",t.settingsRead="settingsRead",t.customisationBrandingRead="customisationBrandingRead",t.customisationBrandingUpdate="customisationBrandingUpdate",t.crecheRatioCreate="crecheRatioCreate",t.crecheRatioRead="crecheRatioRead",t.crecheRatioUpdate="crecheRatioUpdate",t.crecheRatioDelete="crecheRatioDelete",t.crecheSettingRead="crecheSettingRead",t.crecheSettingUpdate="crecheSettingUpdate",t.crecheOpenCloseTimeRead="crecheOpenCloseTimeRead",t.crecheOpenCloseTimeUpdate="crecheOpenCloseTimeUpdate",t.crecheHolidayCreate="crecheHolidayCreate",t.crecheHolidayRead="crecheHolidayRead",t.crecheHolidayUpdate="crecheHolidayUpdate",t.crecheHolidayDelete="crecheHolidayDelete",t.crecheClosureCreate="crecheClosureCreate",t.crecheClosureRead="crecheClosureRead",t.crecheClosureUpdate="crecheClosureUpdate",t.crecheClosureDelete="crecheClosureDelete",t.pagerSettingRead="pagerSettingRead",t.pagerSettingUpdate="pagerSettingUpdate",t.receiptSettingRead="receiptSettingRead",t.receiptSettingUpdate="receiptSettingUpdate",t.systemSecurityRead="systemSecurityRead",t.systemSecurityUpdate="systemSecurityUpdate",t.supportDeskCreate="supportDeskCreate",t.supportDeskRead="supportDeskRead",t.supportDeskUpdate="supportDeskUpdate",t.supportDeskDelete="supportDeskDelete",t.canApprove="canApprove",t.canPublish="canPublish",t.requiresApproval="requiresApproval"}(dl||(dl={})),dl))(),Us=(()=>(function(t){t.eyfs="eyfs",t.coel="coel",t.leuven="leuven",t.eyfs2021="eyfs2021",t.coel2021="coel2021"}(Us||(Us={})),Us))(),ta=(()=>(function(t){t.turnsTowardAFamiliarSound="turnsTowardAFamiliarSound",t.respondsToIntonationsAndSounds="respondsToIntonationsAndSounds",t.interactionWithOthersBySmilingLookingAndMoving="interactionWithOthersBySmilingLookingAndMoving",t.quietensOrAlertsToTheSoundOfSpeech="quietensOrAlertsToTheSoundOfSpeech",t.looksAtSpeakerButStopsRespondingIfSpeakerTurnsAway="looksAtSpeakerButStopsRespondingIfSpeakerTurnsAway",t.listensToFamiliarSoundsWordsOrFingerPlays="listensToFamiliarSoundsWordsOrFingerPlays",t.fleetingAttentionWhereNewStimuliTakesWholeAttention="fleetingAttentionWhereNewStimuliTakesWholeAttention",t.stopsAndLooksWhenHearsOwnName="stopsAndLooksWhenHearsOwnName",t.startsToUnderstandContextualClues="startsToUnderstandContextualClues",t.communicatesNeedsByCryingBabblingAndSquealing="communicatesNeedsByCryingBabblingAndSquealing",t.makesOwnSoundsInResponseToFamiliarAdults="makesOwnSoundsInResponseToFamiliarAdults",t.liftsArmsInAnticipationOfBeingPickedUp="liftsArmsInAnticipationOfBeingPickedUp",t.practisesAndGraduallyDevelopsBabbling="practisesAndGraduallyDevelopsBabbling",t.turnsHeadInResponseToSoundsAndSights="turnsHeadInResponseToSoundsAndSights",t.graduallyHoldsUpOwnHead="graduallyHoldsUpOwnHead",t.makesMovementsWithArmsAndLegsBecomingMoreControlled="makesMovementsWithArmsAndLegsBecomingMoreControlled",t.rollsOverFromFrontToBackFromBackToFront="rollsOverFromFrontToBackFromBackToFront",t.whenLyingOnTummyBecomesAbleToLiftHeadAndThenChest="whenLyingOnTummyBecomesAbleToLiftHeadAndThenChest",t.watchesAndExploresHandsAndFeet="watchesAndExploresHandsAndFeet",t.reachesOutForTouchesAndHoldsObjects="reachesOutForTouchesAndHoldsObjects",t.exploresObjectsWithMouth="exploresObjectsWithMouth",t.respondsToWarmSensitivePhysicalContactAndCare="respondsToWarmSensitivePhysicalContactAndCare",t.expressesDiscomfortHungerOrThirst="expressesDiscomfortHungerOrThirst",t.anticipatesFoodRoutinesWithInterest="anticipatesFoodRoutinesWithInterest",t.enjoysTheCompanyOfOthers="enjoysTheCompanyOfOthers",t.gazesAtFacesAndCopiesFacialMovements="gazesAtFacesAndCopiesFacialMovements",t.respondsWhenTalkedTo="respondsWhenTalkedTo",t.recognisesAndIsMostResponsiveToMainCarersVoice="recognisesAndIsMostResponsiveToMainCarersVoice",t.respondsToWhatCarerIsPayingAttentionTo="respondsToWhatCarerIsPayingAttentionTo",t.likesCuddlesAndBeingHeld="likesCuddlesAndBeingHeld",t.laughsAndGurgles="laughsAndGurgles",t.usesVoiceGestureEyeContactAndFacialExpression="usesVoiceGestureEyeContactAndFacialExpression",t.isComfortedByTouchAndPeoplesFacesAndVoices="isComfortedByTouchAndPeoplesFacesAndVoices",t.seeksPhysicalAndEmotionalComfortBySnuggling="seeksPhysicalAndEmotionalComfortBySnuggling",t.calmsFromBeingUpsetWhenHeldRockedSpokenOrSungTo="calmsFromBeingUpsetWhenHeldRockedSpokenOrSungTo",t.showsARangeOfEmotions="showsARangeOfEmotions",t.reactsEmotionallyToOtherPeoplesEmotions="reactsEmotionallyToOtherPeoplesEmotions",t.enjoysLookingAtBooksAndOtherPrintedMaterialWithFamiliarPeople="enjoysLookingAtBooksAndOtherPrintedMaterialWithFamiliarPeople",t.noticesChangesInNumberOfObjectsImagesOrSoundsInGroupOfUpToThree="noticesChangesInNumberOfObjectsImagesOrSoundsInGroupOfUpToThree",t.movesEyesThenHeadToFollowMovingObjects="movesEyesThenHeadToFollowMovingObjects",t.reactsWithAbruptChangeWhenAFaceOrObjectDisappearsFromView="reactsWithAbruptChangeWhenAFaceOrObjectDisappearsFromView",t.looksAroundARoomWithInterest="looksAroundARoomWithInterest",t.smilesWithPleasureAtRecognisablePlaythings="smilesWithPleasureAtRecognisablePlaythings",t.repeatsActionsThatHaveAnEffect="repeatsActionsThatHaveAnEffect",t.communicationMovesWholeBodyToSoundsTheyEnjoy="communicationMovesWholeBodyToSoundsTheyEnjoy",t.hasAStrongExploratoryImpulse="hasAStrongExploratoryImpulse",t.concentratesIntentlyOnAnObjectOrActivityOfOwnChoosing="concentratesIntentlyOnAnObjectOrActivityOfOwnChoosing",t.paysAttentionToDominantStimulus="paysAttentionToDominantStimulus",t.developingAnAbilityToFollowOthersBodyLanguage="developingAnAbilityToFollowOthersBodyLanguage",t.respondsToTheDifferentThingsSaidWithinContextToASpecialPerson="respondsToTheDifferentThingsSaidWithinContextToASpecialPerson",t.understandingOfSingleWordsInContextIsDeveloping="understandingOfSingleWordsInContextIsDeveloping",t.usesSoundsInPlay="usesSoundsInPlay",t.usesSingleWords="usesSingleWords",t.frequentlyImitatesWordsAndSounds="frequentlyImitatesWordsAndSounds",t.enjoysBabblingAndIncreasinglyExperimentsWithSoundsAndWordsToCommunicate="enjoysBabblingAndIncreasinglyExperimentsWithSoundsAndWordsToCommunicate",t.communicationUsesPointingWithEyeGazeToMakeRequestsAndToShareInterest="communicationUsesPointingWithEyeGazeToMakeRequestsAndToShareInterest",t.createsPersonalWordsAsTheyBeginToDevelopLanguage="createsPersonalWordsAsTheyBeginToDevelopLanguage",t.sitsUnsupportedOnTheFloor="sitsUnsupportedOnTheFloor",t.whenSittingCanLeanForwardToPickUpSmallToys="whenSittingCanLeanForwardToPickUpSmallToys",t.pullsToStandingHoldingOnToFurnitureOrPersonForSupport="pullsToStandingHoldingOnToFurnitureOrPersonForSupport",t.crawlsBottomShufflesOrRollsContinuously="crawlsBottomShufflesOrRollsContinuously",t.walksAroundFurnitureSteppingSidewaysAndWalksWithHandHeld="walksAroundFurnitureSteppingSidewaysAndWalksWithHandHeld",t.takesFirstFewStepsIndependently="takesFirstFewStepsIndependently",t.passesToysFromOneHandToTheOther="passesToysFromOneHandToTheOther",t.holdsAnObjectInEachHandAndBringsThemTogetherInTheMiddle="holdsAnObjectInEachHandAndBringsThemTogetherInTheMiddle",t.picksUpSmallObjectsBetweenThumbAndFingers="picksUpSmallObjectsBetweenThumbAndFingers",t.enjoysTheSensoryExperienceOfMakingMarksInDampSandPasteOrPaint="enjoysTheSensoryExperienceOfMakingMarksInDampSandPasteOrPaint",t.holdsPenOrCrayonUsingAWholeHandGraspAndMakesRandomMarks="holdsPenOrCrayonUsingAWholeHandGraspAndMakesRandomMarks",t.opensMouthForSpoon="opensMouthForSpoon",t.holdsOwnBottleOrCup="holdsOwnBottleOrCup",t.graspsFingerFoodsAndBringsThemToMouth="graspsFingerFoodsAndBringsThemToMouth",t.attemptsToUseSpoon="attemptsToUseSpoon",t.canActivelyCooperateWithNappyChanging="canActivelyCooperateWithNappyChanging",t.startsToCommunicateUrinationBowelMovement="startsToCommunicateUrinationBowelMovement",t.seeksToGainAttentionInAVarietyOfWays="seeksToGainAttentionInAVarietyOfWays",t.buildsRelationshipsWithSpecialPeople="buildsRelationshipsWithSpecialPeople",t.isWaryOfUnfamiliarPeople="isWaryOfUnfamiliarPeople",t.interactsWithOthersAndExploresNewSituations="interactsWithOthersAndExploresNewSituations",t.showsInterestInTheActivitiesOfOthersAndRespondsDifferentlyToChildrenAndAdults="showsInterestInTheActivitiesOfOthersAndRespondsDifferentlyToChildrenAndAdults",t.enjoysFindingOwnNoseEyesOrTummyAsPartOfNamingGames="enjoysFindingOwnNoseEyesOrTummyAsPartOfNamingGames",t.learnsThatOwnVoiceAndActionsHaveEffectsOnOthers="learnsThatOwnVoiceAndActionsHaveEffectsOnOthers",t.engagesOtherPersonToHelpAchieveAGoal="engagesOtherPersonToHelpAchieveAGoal",t.usesFamiliarAdultToShareFeelings="usesFamiliarAdultToShareFeelings",t.growingAbilityToSootheThemselves="growingAbilityToSootheThemselves",t.cooperatesWithCaregivingExperiences="cooperatesWithCaregivingExperiences",t.beginningToUnderstandYesNoAndSomeBoundaries="beginningToUnderstandYesNoAndSomeBoundaries",t.handlesBooksAndPrintedMaterialWithInterest="handlesBooksAndPrintedMaterialWithInterest",t.developsAnAwarenessOfNumberNamesThroughRhymeAndSongs="developsAnAwarenessOfNumberNamesThroughRhymeAndSongs",t.hasSomeUnderstandingThatThingsExistEvenWhenOutOfSight="hasSomeUnderstandingThatThingsExistEvenWhenOutOfSight",t.recognisesBigThingsAndSmallThings="recognisesBigThingsAndSmallThings",t.getsToKnowAndEnjoyDailyRoutines="getsToKnowAndEnjoyDailyRoutines",t.closelyObservesWhatAnimalsPeopleAndVehiclesDo="closelyObservesWhatAnimalsPeopleAndVehiclesDo",t.watchesToysBeingHiddenAndTriesToFindThem="watchesToysBeingHiddenAndTriesToFindThem",t.looksForDroppedObjects="looksForDroppedObjects",t.becomesAbsorbedInCombiningObjects="becomesAbsorbedInCombiningObjects",t.knowsThingsAreUsedInDifferentWays="knowsThingsAreUsedInDifferentWays",t.experimentsWithARangeOfMediaThroughSensoryExploration08To20="experimentsWithARangeOfMediaThroughSensoryExploration08To20",t.imitatesAndImprovisesActionsTheyHaveObserved08To20="imitatesAndImprovisesActionsTheyHaveObserved08To20",t.beginsToMoveToMusicListenToOrJoinInRhymesOrSongs08To20="beginsToMoveToMusicListenToOrJoinInRhymesOrSongs08To20",t.noticesAndIsInterestedInTheEffectsOfMakingMarks08To20="noticesAndIsInterestedInTheEffectsOfMakingMarks08To20",t.listensToAndEnjoysRhythmicPatternsInRhymes="listensToAndEnjoysRhythmicPatternsInRhymes",t.enjoysRhymesAndDemonstratesListeningByTryingToJoinIn="enjoysRhymesAndDemonstratesListeningByTryingToJoinIn",t.rigidAttention="rigidAttention",t.selectsFamiliarObjectsByName="selectsFamiliarObjectsByName",t.understandsSimpleSentences="understandsSimpleSentences",t.copiesFamiliarExpressions="copiesFamiliarExpressions",t.beginningToPutTwoWordsTogether="beginningToPutTwoWordsTogether",t.usesDifferentTypesOfEverydayWords="usesDifferentTypesOfEverydayWords",t.beginningToAskSimpleQuestions="beginningToAskSimpleQuestions",t.beginningToTalkAboutPeopleAndThingsThatAreNotPresent="beginningToTalkAboutPeopleAndThingsThatAreNotPresent",t.walksUpstairsHoldingHandOfAdult="walksUpstairsHoldingHandOfAdult",t.comesDownstairsBackwardsOnKnees="comesDownstairsBackwardsOnKnees",t.beginningToBalanceBlocksToBuildSmallTower="beginningToBalanceBlocksToBuildSmallTower",t.makesConnectionsBetweenTheirMovementAndMarks="makesConnectionsBetweenTheirMovementAndMarks",t.developsOwnLikesAndDislikesInFoodAndDrink="developsOwnLikesAndDislikesInFoodAndDrink",t.willingToTryNewFoodTexturesAndTastes="willingToTryNewFoodTexturesAndTastes",t.holdsCupWithBothHandsAndDrinksWithoutMuchSpilling="holdsCupWithBothHandsAndDrinksWithoutMuchSpilling",t.clearlyCommunicatesWetOrSoiledNappyOrPants="clearlyCommunicatesWetOrSoiledNappyOrPants",t.showsSomeAwarenessOfBladderAndBowelUrges="showsSomeAwarenessOfBladderAndBowelUrges",t.showsAwarenessOfWhatAPottyOrToiletIs="showsAwarenessOfWhatAPottyOrToiletIs",t.showsADesireToHelpWithDressingAndHygieneRoutines="showsADesireToHelpWithDressingAndHygieneRoutines",t.playsAlongsideOthers="playsAlongsideOthers",t.usesAFamiliarAdultAsABaseToExploreIndependently="usesAFamiliarAdultAsABaseToExploreIndependently",t.playsCooperativelyWithAFamiliarAdult="playsCooperativelyWithAFamiliarAdult",t.exploresNewToysAndEnvironments="exploresNewToysAndEnvironments",t.graduallyAbleToEngageInPretendPlay="graduallyAbleToEngageInPretendPlay",t.demonstratesSenseOfSelfAsAnIndividual="demonstratesSenseOfSelfAsAnIndividual",t.isAwareOfOtherPeoplesFeelings="isAwareOfOtherPeoplesFeelings",t.growingSenseOfWillAndDeterminationMayResultInAnger="growingSenseOfWillAndDeterminationMayResultInAnger",t.respondsToAFewAppropriateBoundariesWithEncouragement="respondsToAFewAppropriateBoundariesWithEncouragement",t.beginsToLearnThatSomeThingsAreTheirsSomeAreSharedSomeAreNotTheirs="beginsToLearnThatSomeThingsAreTheirsSomeAreSharedSomeAreNotTheirs",t.interestedInBooksAndRhymesAndMayHaveFavourites="interestedInBooksAndRhymesAndMayHaveFavourites",t.knowsThatThingsExistEvenWhenOutOfSight="knowsThatThingsExistEvenWhenOutOfSight",t.beginningToOrganiseAndCategoriseObjects="beginningToOrganiseAndCategoriseObjects",t.saysSomeCountingWordsRandomly="saysSomeCountingWordsRandomly",t.attemptsToFitShapesIntoSpaces="attemptsToFitShapesIntoSpaces",t.usesBlocksToCreateTheirOwnSimpleStructures="usesBlocksToCreateTheirOwnSimpleStructures",t.enjoysFillingAndEmptyingContainers="enjoysFillingAndEmptyingContainers",t.associatesASequenceOfActionsWithDailyRoutines="associatesASequenceOfActionsWithDailyRoutines",t.beginningToUnderstandThatThingsMightHappenNow="beginningToUnderstandThatThingsMightHappenNow",t.isCuriousAboutPeople="isCuriousAboutPeople",t.enjoysPicturesAndStoriesAboutThemselves="enjoysPicturesAndStoriesAboutThemselves",t.exploresObjectsByLinkingTogetherDifferentApproaches="exploresObjectsByLinkingTogetherDifferentApproaches",t.remembersWhereObjectsBelong="remembersWhereObjectsBelong",t.matchesPartsOfObjectsThatFitTogether="matchesPartsOfObjectsThatFitTogether",t.anticipatesRepeatedSoundsSightsAndActions="anticipatesRepeatedSoundsSightsAndActions",t.showsInterestInToysWithButtonsFlapsAndSimpleMechanisms="showsInterestInToysWithButtonsFlapsAndSimpleMechanisms",t.expressesSelfThroughPhysicalActionAndSound="expressesSelfThroughPhysicalActionAndSound",t.pretendsThatOneObjectRepresentsAnother="pretendsThatOneObjectRepresentsAnother",t.listensWithInterestToTheNoisesAdultsMakeWhenTheyReadStories="listensWithInterestToTheNoisesAdultsMakeWhenTheyReadStories",t.recognisesAndRespondsToManyFamiliarSounds="recognisesAndRespondsToManyFamiliarSounds",t.showsInterestInPlayWithSoundsSongsAndRhymes="showsInterestInPlayWithSoundsSongsAndRhymes",t.singleChannelledAttention="singleChannelledAttention",t.identifiesActionWordsByPointingToTheRightPicture="identifiesActionWordsByPointingToTheRightPicture",t.understandsMoreComplexSentences="understandsMoreComplexSentences",t.understandsWhoWhatWhereInSimpleQuestions="understandsWhoWhatWhereInSimpleQuestions",t.developingUnderstandingOfSimpleConcepts="developingUnderstandingOfSimpleConcepts",t.usesLanguageAsAPowerfulMeansOfWideningContacts="usesLanguageAsAPowerfulMeansOfWideningContacts",t.holdsAConversationJumpingFromTopicToTopic="holdsAConversationJumpingFromTopicToTopic",t.learnsNewWordsVeryRapidlyAndIsAbleToUseThemInCommunicating="learnsNewWordsVeryRapidlyAndIsAbleToUseThemInCommunicating",t.usesGesturesSometimesWithLimitedTalk="usesGesturesSometimesWithLimitedTalk",t.usesAVarietyOfQuestions="usesAVarietyOfQuestions",t.usesSimpleSentences="usesSimpleSentences",t.beginningToUseWordEndings="beginningToUseWordEndings",t.runsSafelyOnWholeFoot="runsSafelyOnWholeFoot",t.squatsWithSteadinessToRestOrPlayWithObjectOnGround="squatsWithSteadinessToRestOrPlayWithObjectOnGround",t.climbsConfidentlyAndIsBeginningToPullThemselvesUp="climbsConfidentlyAndIsBeginningToPullThemselvesUp",t.canKickALargeBall="canKickALargeBall",t.turnsPagesInABookSometimesSeveralAtOnce="turnsPagesInABookSometimesSeveralAtOnce",t.showsControlInHoldingAndUsingJugsToPour="showsControlInHoldingAndUsingJugsToPour",t.beginningToUseThreeFingersToHoldWritingTools="beginningToUseThreeFingersToHoldWritingTools",t.imitatesDrawingSimpleShapesSuchAsCirclesAndLines="imitatesDrawingSimpleShapesSuchAsCirclesAndLines",t.walksUpstairsOrDownstairsHoldingOntoARailTwoFeetToAStep="walksUpstairsOrDownstairsHoldingOntoARailTwoFeetToAStep",t.mayBeBeginningToShowPreferenceForDominantHand="mayBeBeginningToShowPreferenceForDominantHand",t.feedsSelfCompetentlyWithSpoon="feedsSelfCompetentlyWithSpoon",t.drinksWellWithoutSpilling="drinksWellWithoutSpilling",t.clearlyCommunicatesTheirNeedForPottyOrToilet="clearlyCommunicatesTheirNeedForPottyOrToilet",t.beginningToRecogniseDangerAndSeeksSupportOfSignificantAdultsForHelp="beginningToRecogniseDangerAndSeeksSupportOfSignificantAdultsForHelp",t.helpsWithClothing="helpsWithClothing",t.beginningToBeIndependentInSelfCareButStillOftenNeedsAdultSupport="beginningToBeIndependentInSelfCareButStillOftenNeedsAdultSupport",t.interestedInOthersPlayAndStartingToJoinIn="interestedInOthersPlayAndStartingToJoinIn",t.seeksOutOthersToShareExperiences="seeksOutOthersToShareExperiences",t.showsAffectionAndConcernForPeopleWhoAreSpecialToThem="showsAffectionAndConcernForPeopleWhoAreSpecialToThem",t.mayFormASpecialFriendshipWithAnotherChild="mayFormASpecialFriendshipWithAnotherChild",t.separatesFromMainCarerWithSupportAndEncouragement="separatesFromMainCarerWithSupportAndEncouragement",t.expressesOwnPreferencesAndInterests="expressesOwnPreferencesAndInterests",t.seeksComfortFromFamiliarAdultsWhenNeeded="seeksComfortFromFamiliarAdultsWhenNeeded",t.canExpressTheirOwnFeelings="canExpressTheirOwnFeelings",t.respondsToTheFeelingsAndWishesOfOthers="respondsToTheFeelingsAndWishesOfOthers",t.awareThatSomeActionsCanHurtOrHarmOthers="awareThatSomeActionsCanHurtOrHarmOthers",t.triesToHelpOrGiveComfortWhenOthersAreDistressed="triesToHelpOrGiveComfortWhenOthersAreDistressed",t.showsUnderstandingAndCooperatesWithSomeBoundaries="showsUnderstandingAndCooperatesWithSomeBoundaries",t.canInhibitOwnActions="canInhibitOwnActions",t.growingAbilityToDistractSelfWhenUpset="growingAbilityToDistractSelfWhenUpset",t.hasSomeFavouriteStoriesRhymesSongsPoemsOrJingles="hasSomeFavouriteStoriesRhymesSongsPoemsOrJingles",t.repeatsWordsOrPhrasesFromFamiliarStories="repeatsWordsOrPhrasesFromFamiliarStories",t.fillsInTheMissingWordOrPhraseInAKnownRhymeStoryOrGame="fillsInTheMissingWordOrPhraseInAKnownRhymeStoryOrGame",t.distinguishesBetweenTheDifferentMarksTheyMake="distinguishesBetweenTheDifferentMarksTheyMake",t.selectsASmallNumberOfObjectsFromAGroupWhenAsked="selectsASmallNumberOfObjectsFromAGroupWhenAsked",t.recitesSomeNumberNamesInSequence="recitesSomeNumberNamesInSequence",t.createsAndExperimentsWithSymbolsAndMarksRepresentingIdeasOfNumber="createsAndExperimentsWithSymbolsAndMarksRepresentingIdeasOfNumber",t.beginsToMakeComparisonsBetweenQuantities="beginsToMakeComparisonsBetweenQuantities",t.usesSomeLanguageOfQuantities="usesSomeLanguageOfQuantities",t.knowsThatAGroupOfThingsChangesInQuantityWhenSomethingIsAddedOrTakenAway="knowsThatAGroupOfThingsChangesInQuantityWhenSomethingIsAddedOrTakenAway",t.noticesSimpleShapesAndPatternsInPictures="noticesSimpleShapesAndPatternsInPictures",t.beginningToCategoriseObjectsAccordingToProperties="beginningToCategoriseObjectsAccordingToProperties",t.beginsToUseTheLanguageOfSize="beginsToUseTheLanguageOfSize",t.understandsSomeTalkAboutImmediatePastAndFuture="understandsSomeTalkAboutImmediatePastAndFuture",t.anticipatesSpecificTimeBasedEventsSuchAsMealtimesOrHometime="anticipatesSpecificTimeBasedEventsSuchAsMealtimesOrHometime",t.hasASenseOfOwnImmediateFamilyAndRelations="hasASenseOfOwnImmediateFamilyAndRelations",t.inPretendPlayImitatesEverydayActionsAndEventsFromOwnFamily="inPretendPlayImitatesEverydayActionsAndEventsFromOwnFamily",t.beginningToHaveTheirOwnFriends="beginningToHaveTheirOwnFriends",t.learnsThatTheyHaveSimilaritiesAndDifferencesToOthers="learnsThatTheyHaveSimilaritiesAndDifferencesToOthers",t.enjoysPlayingWithSmallWorldModelsSuchAsAFarm="enjoysPlayingWithSmallWorldModelsSuchAsAFarm",t.noticesDetailedFeaturesOfObjectsInTheirEnvironment="noticesDetailedFeaturesOfObjectsInTheirEnvironment",t.seeksToAcquireBasicSkillsInTurningOnAndOperatingIctEquipment="seeksToAcquireBasicSkillsInTurningOnAndOperatingIctEquipment",t.operatesMechanicalToys="operatesMechanicalToys",t.joinsInSingingFavouriteSongs="joinsInSingingFavouriteSongs",t.createsSoundsByBangingShakingTappingOrBlowing="createsSoundsByBangingShakingTappingOrBlowing",t.showsAnInterestInTheWayMusicalInstrumentsSound="showsAnInterestInTheWayMusicalInstrumentsSound",t.experimentsWithBlocksColoursAndMarks="experimentsWithBlocksColoursAndMarks",t.beginningToUseRepresentationToCommunicate="beginningToUseRepresentationToCommunicate",t.beginningToMakeBelieveByPretending="beginningToMakeBelieveByPretending",t.listensToOthersOneToOneOrInSmallGroups="listensToOthersOneToOneOrInSmallGroups",t.communicationListensToStoriesWithIncreasingAttentionAndRecall="communicationListensToStoriesWithIncreasingAttentionAndRecall",t.joinsInWithRepeatedRefrainsAndAnticipatesKeyEventsInRhymesAndStories="joinsInWithRepeatedRefrainsAndAnticipatesKeyEventsInRhymesAndStories",t.focusingAttention="focusingAttention",t.isAbleToFollowDirections="isAbleToFollowDirections",t.understandsUseOfObjects="understandsUseOfObjects",t.showsUnderstandingOfPrepositions="showsUnderstandingOfPrepositions",t.respondsToSimpleInstructions="respondsToSimpleInstructions",t.beginningToUnderstandWhyAndHowQuestions="beginningToUnderstandWhyAndHowQuestions",t.beginningToUseMoreComplexSentencesToLinkThoughts="beginningToUseMoreComplexSentencesToLinkThoughts",t.canRetellASimplePastEventInCorrectOrder="canRetellASimplePastEventInCorrectOrder",t.usesTalkToConnectIdeas="usesTalkToConnectIdeas",t.questionsWhyThingsHappenAndGivesExplanations="questionsWhyThingsHappenAndGivesExplanations",t.usesARangeOfTenses="usesARangeOfTenses",t.usesIntonationRhythmAndPhrasingToMakeTheMeaningClearToOthers="usesIntonationRhythmAndPhrasingToMakeTheMeaningClearToOthers",t.usesVocabularyFocusedOnObjectsAndPeopleThatAreOfParticularImportanceToThem="usesVocabularyFocusedOnObjectsAndPeopleThatAreOfParticularImportanceToThem",t.buildsUpVocabularyThatReflectsTheirExperiences="buildsUpVocabularyThatReflectsTheirExperiences",t.usesTalkInPretendingThatObjectsStandForSomethingElse="usesTalkInPretendingThatObjectsStandForSomethingElse",t.movesFreelyAndWithPleasureAndConfidenceInARangeOfWays="movesFreelyAndWithPleasureAndConfidenceInARangeOfWays",t.mountsStairsStepsOrClimbingEquipmentUsingAlternateFeet="mountsStairsStepsOrClimbingEquipmentUsingAlternateFeet",t.walksDownstairsTwoFeetToEachStepWhileCarryingASmallObject="walksDownstairsTwoFeetToEachStepWhileCarryingASmallObject",t.runsSkilfullyAndNegotiatesSpaceSuccessfully="runsSkilfullyAndNegotiatesSpaceSuccessfully",t.canStandMomentarilyOnOneFoot="canStandMomentarilyOnOneFoot",t.canCatchALargeBall="canCatchALargeBall",t.drawsLinesAndCirclesUsingGrossMotorMovements="drawsLinesAndCirclesUsingGrossMotorMovements",t.usesOneHandedToolsAndEquipment="usesOneHandedToolsAndEquipment",t.holdsPencilBetweenThumbAndTwoFingers="holdsPencilBetweenThumbAndTwoFingers",t.holdsPencilNearPoint="holdsPencilNearPoint",t.canCopySomeLetters="canCopySomeLetters",t.canTellAdultsWhenHungryOrTiredOrWhenTheyWantToRestOrPlay="canTellAdultsWhenHungryOrTiredOrWhenTheyWantToRestOrPlay",t.observesTheEffectsOfActivityOnTheirBodies="observesTheEffectsOfActivityOnTheirBodies",t.understandsThatEquipmentAndToolsHaveToBeUsedSafely="understandsThatEquipmentAndToolsHaveToBeUsedSafely",t.gainsMoreBowelAndBladderControlAndCanAttendToToiletingNeeds="gainsMoreBowelAndBladderControlAndCanAttendToToiletingNeeds",t.canUsuallyManageWashingAndDryingHands="canUsuallyManageWashingAndDryingHands",t.dressesWithHelp="dressesWithHelp",t.canPlayInAGroupExtendingAndElaboratingPlayIdeas="canPlayInAGroupExtendingAndElaboratingPlayIdeas",t.initiatesPlayOfferingCuesToPeersToJoinThem="initiatesPlayOfferingCuesToPeersToJoinThem",t.keepsPlayGoingByRespondingToWhatOthersAreSayingOrDoing="keepsPlayGoingByRespondingToWhatOthersAreSayingOrDoing",t.demonstratesFriendlyBehaviour="demonstratesFriendlyBehaviour",t.canSelectAndUseActivitiesAndResourcesWithHelp="canSelectAndUseActivitiesAndResourcesWithHelp",t.welcomesAndValuesPraiseForWhatTheyHaveDone="welcomesAndValuesPraiseForWhatTheyHaveDone",t.enjoysResponsibilityOfCarryingOutSmallTasks="enjoysResponsibilityOfCarryingOutSmallTasks",t.isMoreOutgoingTowardsUnfamiliarPeople="isMoreOutgoingTowardsUnfamiliarPeople",t.confidentToTalkToOtherChildrenWhenPlaying="confidentToTalkToOtherChildrenWhenPlaying",t.showsConfidenceInAskingAdultsForHelp="showsConfidenceInAskingAdultsForHelp",t.awareOfOwnFeelingsAndKnowsThatSomeActionsHurt="awareOfOwnFeelingsAndKnowsThatSomeActionsHurt",t.beginsToAcceptTheNeedsOfOthersAndCanShare="beginsToAcceptTheNeedsOfOthersAndCanShare",t.canUsuallyTolerateDelayWhenNeedsAreNotImmediatelyMet="canUsuallyTolerateDelayWhenNeedsAreNotImmediatelyMet",t.canUsuallyAdaptBehaviourToDifferentEvents="canUsuallyAdaptBehaviourToDifferentEvents",t.enjoysRhymingAndRhythmicActivities="enjoysRhymingAndRhythmicActivities",t.showsAwarenessOfRhymeAndAlliteration="showsAwarenessOfRhymeAndAlliteration",t.recognisesRhythmInSpokenWords="recognisesRhythmInSpokenWords",t.listensToAndJoinsInWithStoriesAndPoems="listensToAndJoinsInWithStoriesAndPoems",t.joinsInWithRepeatedRefrainsAndAnticipatesKeyEvents="joinsInWithRepeatedRefrainsAndAnticipatesKeyEvents",t.beginningToBeAwareOfTheWayStoriesAreStructured="beginningToBeAwareOfTheWayStoriesAreStructured",t.suggestsHowTheStoryMightEnd="suggestsHowTheStoryMightEnd",t.describesMainStorySettingsEventsAndPrincipalCharacters="describesMainStorySettingsEventsAndPrincipalCharacters",t.showsInterestInIllustrationsAndPrintInBooks="showsInterestInIllustrationsAndPrintInBooks",t.recognisesFamiliarWordsAndSigns="recognisesFamiliarWordsAndSigns",t.looksAtBooksIndependently="looksAtBooksIndependently",t.handlesBooksCarefully="handlesBooksCarefully",t.knowsInformationCanBeRelayedInTheFormOfPrint="knowsInformationCanBeRelayedInTheFormOfPrint",t.holdsBooksTheCorrectWayUpAndTurnsPages="holdsBooksTheCorrectWayUpAndTurnsPages",t.knowsThatPrintCarriesMeaning="knowsThatPrintCarriesMeaning",t.sometimesGivesMeaningToMarksAsTheyDrawAndPaint="sometimesGivesMeaningToMarksAsTheyDrawAndPaint",t.ascribesMeaningsToMarksThatTheySeeInDifferentPlaces="ascribesMeaningsToMarksThatTheySeeInDifferentPlaces",t.usesSomeNumberNamesAndNumberLanguageSpontaneously="usesSomeNumberNamesAndNumberLanguageSpontaneously",t.usesSomeNumberNamesAccuratelyInPlay="usesSomeNumberNamesAccuratelyInPlay",t.recitesNumbersInOrderToTen="recitesNumbersInOrderToTen",t.knowsThatNumbersIdentifyHowManyObjectsAreInASet="knowsThatNumbersIdentifyHowManyObjectsAreInASet",t.beginningToRepresentNumbersUsingFingersMarksPaperOrPictures="beginningToRepresentNumbersUsingFingersMarksPaperOrPictures",t.sometimesMatchesNumeralAndQuantityCorrectly="sometimesMatchesNumeralAndQuantityCorrectly",t.showsCuriosityAboutNumbersByOfferingCommentsOrAskingQuestions="showsCuriosityAboutNumbersByOfferingCommentsOrAskingQuestions",t.comparesTwoGroupsOfObjectsSayingWhenTheyHaveTheSameNumber="comparesTwoGroupsOfObjectsSayingWhenTheyHaveTheSameNumber",t.showsAnInterestInNumberProblems="showsAnInterestInNumberProblems",t.separatesAGroupOfThreeOrFourObjectsInDifferentWays="separatesAGroupOfThreeOrFourObjectsInDifferentWays",t.showsAnInterestInNumeralsInTheEnvironment="showsAnInterestInNumeralsInTheEnvironment",t.showsAnInterestInRepresentingNumbers="showsAnInterestInRepresentingNumbers",t.realisesNotOnlyObjectsButAnythingCanBeCounted="realisesNotOnlyObjectsButAnythingCanBeCounted",t.showsAnInterestInShapeAndSpaceByPlayingWithShapes="showsAnInterestInShapeAndSpaceByPlayingWithShapes",t.showsAwarenessOfSimilaritiesOfShapesInTheEnvironment="showsAwarenessOfSimilaritiesOfShapesInTheEnvironment",t.usesPositionalLanguage="usesPositionalLanguage",t.showsInterestInShapeBySustainedConstructionActivityOrByTalkingAboutShapes="showsInterestInShapeBySustainedConstructionActivityOrByTalkingAboutShapes",t.showsInterestInShapesInTheEnvironment="showsInterestInShapesInTheEnvironment",t.usesShapesAppropriatelyForTasks="usesShapesAppropriatelyForTasks",t.beginningToTalkAboutTheShapesOfEverydayObjects="beginningToTalkAboutTheShapesOfEverydayObjects",t.showsInterestInTheLivesOfPeopleWhoAreFamiliarToThem="showsInterestInTheLivesOfPeopleWhoAreFamiliarToThem",t.remembersAndTalksAboutSignificantEvents="remembersAndTalksAboutSignificantEvents",t.recognisesAndDescribesSpecialTimesOrEvents="recognisesAndDescribesSpecialTimesOrEvents",t.showsInterestInDifferentOccupationsAndWaysOfLife="showsInterestInDifferentOccupationsAndWaysOfLife",t.knowsSomeOfTheThingsThatMakeThemUnique="knowsSomeOfTheThingsThatMakeThemUnique",t.commentsAndAsksQuestionsAboutAspectsOfTheirFamiliarWorld="commentsAndAsksQuestionsAboutAspectsOfTheirFamiliarWorld",t.canTalkAboutSomeOfTheThingsTheyHaveObserved="canTalkAboutSomeOfTheThingsTheyHaveObserved",t.talksAboutWhyThingsHappenAndHowThingsWork="talksAboutWhyThingsHappenAndHowThingsWork",t.developingAnUnderstandingOfGrowthDecayAndChangesOverTime="developingAnUnderstandingOfGrowthDecayAndChangesOverTime",t.showsCareAndConcernForLivingThingsAndTheEnvironment="showsCareAndConcernForLivingThingsAndTheEnvironment",t.knowsHowToOperateSimpleEquipment="knowsHowToOperateSimpleEquipment",t.showsAnInterestInTechnologicalToys="showsAnInterestInTechnologicalToys",t.showsSkillInMakingToysWorkByPressingPartsOrLiftingFlaps="showsSkillInMakingToysWorkByPressingPartsOrLiftingFlaps",t.knowsThatInformationCanBeRetrievedFromComputers="knowsThatInformationCanBeRetrievedFromComputers",t.enjoysJoiningInWithDancingAndRingGames="enjoysJoiningInWithDancingAndRingGames",t.singsAFewFamiliarSongs="singsAFewFamiliarSongs",t.beginningToMoveRhythmically="beginningToMoveRhythmically",t.imitatesMovementInResponseToMusic="imitatesMovementInResponseToMusic",t.tapsOutSimpleRepeatedRhythms="tapsOutSimpleRepeatedRhythms",t.exploresAndLearnsHowSoundsCanBeChanged="exploresAndLearnsHowSoundsCanBeChanged",t.exploresColourAndHowColoursCanBeChanged="exploresColourAndHowColoursCanBeChanged",t.understandsThatTheyCanUseLinesToEncloseASpace="understandsThatTheyCanUseLinesToEncloseASpace",t.beginningToBeInterestedInAndDescribeTheTextureOfThings="beginningToBeInterestedInAndDescribeTheTextureOfThings",t.usesVariousConstructionMaterials="usesVariousConstructionMaterials",t.beginningToConstructStackingBlocksVerticallyAndHorizontally="beginningToConstructStackingBlocksVerticallyAndHorizontally",t.joinsConstructionPiecesTogetherToBuildAndBalance="joinsConstructionPiecesTogetherToBuildAndBalance",t.realisesToolsCanBeUsedForAPurpose="realisesToolsCanBeUsedForAPurpose",t.developingPreferencesForFormsOfExpression="developingPreferencesForFormsOfExpression",t.usesMovementToExpressFeelings="usesMovementToExpressFeelings",t.createsMovementInResponseToMusic="createsMovementInResponseToMusic",t.singsToSelfAndMakesUpSimpleSongs="singsToSelfAndMakesUpSimpleSongs",t.makesUpRhythms="makesUpRhythms",t.noticesWhatAdultsDoImitatingWhatIsObserved="noticesWhatAdultsDoImitatingWhatIsObserved",t.engagesInImaginativeRoleplayBasedOnOwnFirstHandExperiences="engagesInImaginativeRoleplayBasedOnOwnFirstHandExperiences",t.buildsStoriesAroundToys="buildsStoriesAroundToys",t.usesAvailableResourcesToCreatePropsToSupportRoleplay="usesAvailableResourcesToCreatePropsToSupportRoleplay",t.capturesExperiencesAndResponsesWithARangeOfMedia="capturesExperiencesAndResponsesWithARangeOfMedia",t.maintainsAttentionConcentratesAndSitsQuietlyDuringAppropriateActivity="maintainsAttentionConcentratesAndSitsQuietlyDuringAppropriateActivity",t.twoChannelledAttentionCanListenAndDoForShortSpan="twoChannelledAttentionCanListenAndDoForShortSpan",t.understandsHumour="understandsHumour",t.respondsToInstructionsInvolvingATwoPartSequence="respondsToInstructionsInvolvingATwoPartSequence",t.ableToFollowAStoryWithoutPicturesOrProps="ableToFollowAStoryWithoutPicturesOrProps",t.listensAndRespondsToIdeasExpressedByOthers="listensAndRespondsToIdeasExpressedByOthers",t.extendsVocabularyEspeciallyByGroupingAndNaming="extendsVocabularyEspeciallyByGroupingAndNaming",t.usesLanguageToImagineAndRecreateRolesAndExperiences="usesLanguageToImagineAndRecreateRolesAndExperiences",t.linksStatementsAndSticksToAMainThemeOrIntention="linksStatementsAndSticksToAMainThemeOrIntention",t.usesTalkToOrganiseSequenceAndClarifyThinkingIdeasFeelingsAndEvents="usesTalkToOrganiseSequenceAndClarifyThinkingIdeasFeelingsAndEvents",t.communicationIntroducesAStorylineOrNarrativeIntoTheirPlay="communicationIntroducesAStorylineOrNarrativeIntoTheirPlay",t.experimentsWithDifferentWaysOfMoving="experimentsWithDifferentWaysOfMoving",t.jumpsOffAnObjectAndLandsAppropriately="jumpsOffAnObjectAndLandsAppropriately",t.negotiatesSpaceSuccessfullyWhenPlayingRacingAndChasingGames="negotiatesSpaceSuccessfullyWhenPlayingRacingAndChasingGames",t.travelsWithConfidenceAndSkillAroundUnderOverAndThroughClimbingEquipment="travelsWithConfidenceAndSkillAroundUnderOverAndThroughClimbingEquipment",t.showsIncreasingControlOverAnObjectInPushingPattingThrowingCatchingOrKicking="showsIncreasingControlOverAnObjectInPushingPattingThrowingCatchingOrKicking",t.usesSimpleToolsToEffectChangesToMaterials="usesSimpleToolsToEffectChangesToMaterials",t.handlesToolsObjectsConstructionAndMalleableMaterialsSafely="handlesToolsObjectsConstructionAndMalleableMaterialsSafely",t.showsAPreferenceForADominantHand="showsAPreferenceForADominantHand",t.beginsToUseAnticlockwiseMovementAndRetraceVerticalLines="beginsToUseAnticlockwiseMovementAndRetraceVerticalLines",t.beginsToFormRecognisableLetters="beginsToFormRecognisableLetters",t.usesAPencilAndHoldsItEffectivelyToFormRecognisableLetters="usesAPencilAndHoldsItEffectivelyToFormRecognisableLetters",t.eatsAHealthyRangeOfFoodstuffsAndUnderstandsNeedForVarietyInFood="eatsAHealthyRangeOfFoodstuffsAndUnderstandsNeedForVarietyInFood",t.usuallyDryAndCleanDuringTheDay="usuallyDryAndCleanDuringTheDay",t.showsSomeUnderstandingThatGoodPracticesWithRegardToExerciseEatingSleepingAndHygiene="showsSomeUnderstandingThatGoodPracticesWithRegardToExerciseEatingSleepingAndHygiene",t.showsUnderstandingOfTheNeedForSafetyWhenTacklingNewChallenges="showsUnderstandingOfTheNeedForSafetyWhenTacklingNewChallenges",t.showsUnderstandingOfHowToTransportAndStoreEquipmentSafely="showsUnderstandingOfHowToTransportAndStoreEquipmentSafely",t.practicesSomeAppropriateSafetyMeasuresWithoutDirectSupervision="practicesSomeAppropriateSafetyMeasuresWithoutDirectSupervision",t.initiatesOwnConversations="initiatesOwnConversations",t.explainsOwnKnowledgeAndUnderstandingAndAsksAppropriateQuestions="explainsOwnKnowledgeAndUnderstandingAndAsksAppropriateQuestions",t.takesStepsToResolveConflictsWithOtherChildren="takesStepsToResolveConflictsWithOtherChildren",t.confidentToSpeakToOthersAboutOwnNeedsWantsInterestsAndOpinions="confidentToSpeakToOthersAboutOwnNeedsWantsInterestsAndOpinions",t.canDescribeSelfInPositiveTermsAndTalkAboutAbilities="canDescribeSelfInPositiveTermsAndTalkAboutAbilities",t.understandsThatOwnActionsAffectOtherPeople="understandsThatOwnActionsAffectOtherPeople",t.awareOfTheBoundariesSetAndOfBehaviouralExpectations="awareOfTheBoundariesSetAndOfBehaviouralExpectations",t.beginningToBeAbleToNegotiateAndSolveProblemsWithoutAggression="beginningToBeAbleToNegotiateAndSolveProblemsWithoutAggression",t.readingContinuesARhymingString="readingContinuesARhymingString",t.writingContinuesARhymingString="writingContinuesARhymingString",t.readingHearsAndSaysTheInitialSoundInWords="readingHearsAndSaysTheInitialSoundInWords",t.writingHearsAndSaysTheInitialSoundInWords="writingHearsAndSaysTheInitialSoundInWords",t.canSegmentTheSoundsInSimpleWords="canSegmentTheSoundsInSimpleWords",t.readingLinksSoundsToLettersNamingAndSoundingTheLettersOfTheAlphabet="readingLinksSoundsToLettersNamingAndSoundingTheLettersOfTheAlphabet",t.writingLinksSoundsToLettersNamingAndSoundingTheLettersOfTheAlphabet="writingLinksSoundsToLettersNamingAndSoundingTheLettersOfTheAlphabet",t.beginsToReadWordsAndSimpleSentences="beginsToReadWordsAndSimpleSentences",t.usesVocabularyAndFormsOfSpeechThatAreIncreasinglyInfluencedByTheirExperiencesOfBooks="usesVocabularyAndFormsOfSpeechThatAreIncreasinglyInfluencedByTheirExperiencesOfBooks",t.enjoysAnIncreasingRangeOfBooks="enjoysAnIncreasingRangeOfBooks",t.knowsThatInformationCanBeRetrievedFromBooksAndComputers="knowsThatInformationCanBeRetrievedFromBooksAndComputers",t.givesMeaningToMarksTheyMakeAsTheyDrawWriteAndPaint="givesMeaningToMarksTheyMakeAsTheyDrawWriteAndPaint",t.beginsToBreakTheFlowOfSpeechIntoWords="beginsToBreakTheFlowOfSpeechIntoWords",t.canSegmentTheSoundsInSimpleWordsAndBlendThemTogether="canSegmentTheSoundsInSimpleWordsAndBlendThemTogether",t.usesSomeClearlyIdentifiableLettersToCommunicate="usesSomeClearlyIdentifiableLettersToCommunicate",t.writesOwnNameAndOtherThingsSuchAsLabels="writesOwnNameAndOtherThingsSuchAsLabels",t.attemptsToWriteShortSentencesInMeaningfulContexts="attemptsToWriteShortSentencesInMeaningfulContexts",t.recogniseSomeNumeralsOfPersonalSignificance="recogniseSomeNumeralsOfPersonalSignificance",t.recognisesNumbersOneToFive="recognisesNumbersOneToFive",t.countsUpToThreeOrFourObjectsBySayingOneNumberNameForEachItem="countsUpToThreeOrFourObjectsBySayingOneNumberNameForEachItem",t.countsActionsOrObjectsWhichCannotBeMoved="countsActionsOrObjectsWhichCannotBeMoved",t.countsObjectsToTenAndBeginningToCountBeyondTen="countsObjectsToTenAndBeginningToCountBeyondTen",t.countsOutUpToSixObjectsFromALargerGroup="countsOutUpToSixObjectsFromALargerGroup",t.selectsTheCorrectNumeralToRepresentOneToFiveThenOneToTen="selectsTheCorrectNumeralToRepresentOneToFiveThenOneToTen",t.countsAnIrregularArrangementOfUpToTenObjects="countsAnIrregularArrangementOfUpToTenObjects",t.estimatesHowManyObjectsTheyCanSeeAndChecksByCountingThem="estimatesHowManyObjectsTheyCanSeeAndChecksByCountingThem",t.usesTheLanguageOfMoreAndFewerToCompare="usesTheLanguageOfMoreAndFewerToCompare",t.findsTheTotalNumberOfItemsInTwoGroups="findsTheTotalNumberOfItemsInTwoGroups",t.saysTheNumberThatIsOneMoreThanAGivenNumber="saysTheNumberThatIsOneMoreThanAGivenNumber",t.findsOneMoreOrOneLessFromAGroupOfUpToFiveThenTenObjects="findsOneMoreOrOneLessFromAGroupOfUpToFiveThenTenObjects",t.inPracticalActivitiesAndDiscussionBeginningToUseAddingAndSubtracting="inPracticalActivitiesAndDiscussionBeginningToUseAddingAndSubtracting",t.recordsUsingMarksThatTheyCanInterpretAndExplain="recordsUsingMarksThatTheyCanInterpretAndExplain",t.beginsToIdentifyOwnMathematicalProblemsBasedOnOwnInterests="beginsToIdentifyOwnMathematicalProblemsBasedOnOwnInterests",t.beginningToUseMathematicalNamesForSolidAndFlatShapes="beginningToUseMathematicalNamesForSolidAndFlatShapes",t.selectsAParticularNamedShape="selectsAParticularNamedShape",t.canDescribeTheirRelativePositionSuchAsBehind="canDescribeTheirRelativePositionSuchAsBehind",t.ordersTwoOrThreeItemsByLengthOrHeight="ordersTwoOrThreeItemsByLengthOrHeight",t.ordersTwoItemsByWeightOrCapacity="ordersTwoItemsByWeightOrCapacity",t.usesFamiliarObjectsAndCommonShapesToCreateAndRecreatePatterns="usesFamiliarObjectsAndCommonShapesToCreateAndRecreatePatterns",t.usesEverydayLanguageRelatedToTime="usesEverydayLanguageRelatedToTime",t.beginningToUseEverydayLanguageRelatedToMoney="beginningToUseEverydayLanguageRelatedToMoney",t.ordersAndSequencesFamiliarEvents="ordersAndSequencesFamiliarEvents",t.measuresShortPeriodsOfTimeInSimpleWays="measuresShortPeriodsOfTimeInSimpleWays",t.enjoysJoiningInWithFamilyCustomsAndRoutines="enjoysJoiningInWithFamilyCustomsAndRoutines",t.looksCloselyAtSimilaritiesDifferencesPatternsAndChange="looksCloselyAtSimilaritiesDifferencesPatternsAndChange",t.completesASimpleProgramOnAComputer="completesASimpleProgramOnAComputer",t.usesIctHardwareToInteractWithAgeAppropriateComputerSoftware="usesIctHardwareToInteractWithAgeAppropriateComputerSoftware",t.beginsToBuildARepertoireOfSongsAndDances="beginsToBuildARepertoireOfSongsAndDances",t.exploresTheDifferentSoundsOfInstruments="exploresTheDifferentSoundsOfInstruments",t.exploresWhatHappensWhenTheyMixColours="exploresWhatHappensWhenTheyMixColours",t.experimentsToCreateDifferentTextures="experimentsToCreateDifferentTextures",t.understandsThatDifferentMediaCanBeCombined="understandsThatDifferentMediaCanBeCombined",t.manipulatesMaterialsToAchieveAPlannedEffect="manipulatesMaterialsToAchieveAPlannedEffect",t.constructsWithAPurposeInMind="constructsWithAPurposeInMind",t.usesSimpleToolsAndTechniquesCompetentlyAndAppropriately="usesSimpleToolsAndTechniquesCompetentlyAndAppropriately",t.selectsAppropriateResourcesAndAdaptsWorkWhereNecessary="selectsAppropriateResourcesAndAdaptsWorkWhereNecessary",t.selectsToolsAndTechniquesNeededToShapeAssembleAndJoinMaterials="selectsToolsAndTechniquesNeededToShapeAssembleAndJoinMaterials",t.createSimpleRepresentationsOfEventsPeopleAndObjects="createSimpleRepresentationsOfEventsPeopleAndObjects",t.initiatesNewCombinationsOfMovementAndGesture="initiatesNewCombinationsOfMovementAndGesture",t.choosesParticularColoursToUseForAPurpose="choosesParticularColoursToUseForAPurpose",t.playsAlongsideOtherChildrenWhoAreEngagedInTheSameTheme="playsAlongsideOtherChildrenWhoAreEngagedInTheSameTheme",t.playsCooperativelyAsPartOfAGroupToDevelopAndActOutANarrative="playsCooperativelyAsPartOfAGroupToDevelopAndActOutANarrative",t.showingCuriosityAboutObjectsEventsAndPeople="showingCuriosityAboutObjectsEventsAndPeople",t.showingParticularInterests="showingParticularInterests",t.engagingInOpenEndedActivities="engagingInOpenEndedActivities",t.usingSensesToExploreTheWorldAroundThem="usingSensesToExploreTheWorldAroundThem",t.pretendingObjectsAreThingsFromTheirExperience="pretendingObjectsAreThingsFromTheirExperience",t.representingTheirExperiencesInPlay="representingTheirExperiencesInPlay",t.takingOnARoleInTheirPlay="takingOnARoleInTheirPlay",t.actingOutExperiencesWithOtherPeople="actingOutExperiencesWithOtherPeople",t.initiatingActivities="initiatingActivities",t.seekingChallenges="seekingChallenges",t.showingACanDoAttitude="showingACanDoAttitude",t.takingARiskEngaginginNewExperiencesAndLearningByTrialAndError="takingARiskEngaginginNewExperiencesAndLearningByTrialAndError",t.maintainingFocusOnTheirActivityForAPeriodOfTime="maintainingFocusOnTheirActivityForAPeriodOfTime",t.showingHighLevelsOfEnergyFascination="showingHighLevelsOfEnergyFascination",t.notEasilyDistracted="notEasilyDistracted",t.payingAttentionToDetails="payingAttentionToDetails",t.persistingWithActivityWhenChallengesOccur="persistingWithActivityWhenChallengesOccur",t.showingABeliefThatMoreEffortOrADifferentApproachWillPayOff="showingABeliefThatMoreEffortOrADifferentApproachWillPayOff",t.bouncingBackAfterDifficulties="bouncingBackAfterDifficulties",t.showingSatisfactionInMeetingTheirOwnGoals="showingSatisfactionInMeetingTheirOwnGoals",t.beingProudOfHowTheyAccomplishedSomethingNotJustTheEndResult="beingProudOfHowTheyAccomplishedSomethingNotJustTheEndResult",t.enjoyingMeetingChallengesForTheirOwnSakeRatherThanExternalRewardsOrPraise="enjoyingMeetingChallengesForTheirOwnSakeRatherThanExternalRewardsOrPraise",t.thinkingOfIdeas="thinkingOfIdeas",t.findingNewWaysToSolveProblems="findingNewWaysToSolveProblems",t.findingNewWaysToDoThings="findingNewWaysToDoThings",t.makingLinksAndNoticingPatternsInTheirExperience="makingLinksAndNoticingPatternsInTheirExperience",t.makingPredictions="makingPredictions",t.testingTheirIdeas="testingTheirIdeas",t.developingIdeaOfGroupingSequencesCauseAndEffect="developingIdeaOfGroupingSequencesCauseAndEffect",t.planningMakingDecisionsAboutHowToApproachATaskSolveAProblemAndReachAGoal="planningMakingDecisionsAboutHowToApproachATaskSolveAProblemAndReachAGoal",t.checkingHowWellTheirActivitiesAreGoing="checkingHowWellTheirActivitiesAreGoing",t.changingStrategyAsNeeded="changingStrategyAsNeeded",t.reviewingHowWellTheApproachWorked="reviewingHowWellTheApproachWorked",t.wellbeing="wellbeing",t.involvement="involvement",t.expressiveMovesWholeBodyToSoundsTheyEnjoy08To20="expressiveMovesWholeBodyToSoundsTheyEnjoy08To20",t.expressiveMovesWholeBodyToSoundsTheyEnjoy16To26="expressiveMovesWholeBodyToSoundsTheyEnjoy16To26",t.psedUsesPointingWithEyeGazeToMakeRequestsAndToShareInterest="psedUsesPointingWithEyeGazeToMakeRequestsAndToShareInterest",t.experimentsWithARangeOfMediaThroughSensoryExploration16To26="experimentsWithARangeOfMediaThroughSensoryExploration16To26",t.imitatesAndImprovisesActionsTheyHaveObserved16To26="imitatesAndImprovisesActionsTheyHaveObserved16To26",t.beginsToMoveToMusicListenToOrJoinInRhymesOrSongs16To26="beginsToMoveToMusicListenToOrJoinInRhymesOrSongs16To26",t.noticesAndIsInterestedInTheEffectsOfMakingMarks16To26="noticesAndIsInterestedInTheEffectsOfMakingMarks16To26",t.expressiveIntroducesAStorylineOrNarrativeIntoTheirPlay="expressiveIntroducesAStorylineOrNarrativeIntoTheirPlay",t.readingListensToStoriesWithIncreasingAttentionAndRecall="readingListensToStoriesWithIncreasingAttentionAndRecall",t.eyfs2021TurnTowardsFamiliarSounds="eyfs2021TurnTowardsFamiliarSounds",t.eyfs2021GazeAtFaces="eyfs2021GazeAtFaces",t.eyfs2021WatchSomeonesFaceAsTheyTalk="eyfs2021WatchSomeonesFaceAsTheyTalk",t.eyfs2021CopyWhatAdultsDo="eyfs2021CopyWhatAdultsDo",t.eyfs2021EnjoySinging="eyfs2021EnjoySinging",t.eyfs2021RecogniseAndAreCalmedByAFamiliarAndFriendlyVoice="eyfs2021RecogniseAndAreCalmedByAFamiliarAndFriendlyVoice",t.eyfs2021ListenAndRespondToASimpleInstruction="eyfs2021ListenAndRespondToASimpleInstruction",t.eyfs2021MakeSoundsToGetAttentionInDifferentWaysForExample="eyfs2021MakeSoundsToGetAttentionInDifferentWaysForExample",t.eyfs2021BabbleUsingSoundsLikeBaba="eyfs2021BabbleUsingSoundsLikeBaba",t.eyfs2021UseGesturesLikeWavingAndPointingToCommunicate="eyfs2021UseGesturesLikeWavingAndPointingToCommunicate",t.eyfs2021ReachOrPointToSomethingTheyWantWhileMakingSounds="eyfs2021ReachOrPointToSomethingTheyWantWhileMakingSounds",t.eyfs2021CopyYourGesturesAndWords="eyfs2021CopyYourGesturesAndWords",t.eyfs2021ConstantlyBabbleAndUseSingleWordsDuringPlay="eyfs2021ConstantlyBabbleAndUseSingleWordsDuringPlay",t.eyfs2021UseIntonation="eyfs2021UseIntonation",t.eyfs2021UnderstandSingleWordsInContextCup="eyfs2021UnderstandSingleWordsInContextCup",t.eyfs2021UnderstandFrequentlyUsedWordsSuchAsAllGone="eyfs2021UnderstandFrequentlyUsedWordsSuchAsAllGone",t.eyfs2021UnderstandSimpleInstructionsLikeGiveToNannyOrStop="eyfs2021UnderstandSimpleInstructionsLikeGiveToNannyOrStop",t.eyfs2021RecogniseAndPointToObjectsIfAskedAboutThem="eyfs2021RecogniseAndPointToObjectsIfAskedAboutThem",t.eyfs2021GenerallyFocusOnAnActivityOfTheirOwnChoiceAndFindItDifficultToBeD="eyfs2021GenerallyFocusOnAnActivityOfTheirOwnChoiceAndFindItDifficultToBeD",t.eyfs2021ListenToOtherPeoplesTalkWithInterest="eyfs2021ListenToOtherPeoplesTalkWithInterest",t.eyfs2021MakeThemselvesUnderstood="eyfs2021MakeThemselvesUnderstood",t.eyfs2021StartToSayHowTheyAreFeeling="eyfs2021StartToSayHowTheyAreFeeling",t.eyfs2021StartToDevelopConversation="eyfs2021StartToDevelopConversation",t.eyfs2021DevelopPretendPlay="eyfs2021DevelopPretendPlay",t.eyfs2021UseTheSpeechSoundsP="eyfs2021UseTheSpeechSoundsP",t.eyfs2021Pronounce="eyfs2021Pronounce",t.eyfs2021ListenToSimpleStoriesAndUnderstandWhatIsHappening="eyfs2021ListenToSimpleStoriesAndUnderstandWhatIsHappening",t.eyfs2021IdentifyFamiliarObjectsAndPropertiesForPractitionersWhenTheyAreDescrib="eyfs2021IdentifyFamiliarObjectsAndPropertiesForPractitionersWhenTheyAreDescrib",t.eyfs2021UnderstandAndActOnLongerSentencesLikeMakeTeddyJumpOrFindYourCoat="eyfs2021UnderstandAndActOnLongerSentencesLikeMakeTeddyJumpOrFindYourCoat",t.eyfs2021UnderstandSimpleQuestionsAboutWho="eyfs2021UnderstandSimpleQuestionsAboutWho",t.eyfs2021EnjoyListeningToLongerStoriesAndCanRememberMuchOfWhatHappens="eyfs2021EnjoyListeningToLongerStoriesAndCanRememberMuchOfWhatHappens",t.eyfs2021PayAttentionToMoreThanOneThingAtATime="eyfs2021PayAttentionToMoreThanOneThingAtATime",t.eyfs2021UseAWiderRangeOfVocabulary="eyfs2021UseAWiderRangeOfVocabulary",t.eyfs2021UnderstandAQuestionOrInstructionThatHasTwoParts="eyfs2021UnderstandAQuestionOrInstructionThatHasTwoParts",t.eyfs2021UnderstandWhyQuestions="eyfs2021UnderstandWhyQuestions",t.eyfs2021SingALargeRepertoireOfSongs="eyfs2021SingALargeRepertoireOfSongs",t.eyfs2021KnowManyRhymes="eyfs2021KnowManyRhymes",t.eyfs2021DevelopTheirCommunication="eyfs2021DevelopTheirCommunication",t.eyfs2021DevelopTheirPronunciationButMayHaveProblemsSaying="eyfs2021DevelopTheirPronunciationButMayHaveProblemsSaying",t.eyfs2021UseLongerSentencesOfFourToSixWords="eyfs2021UseLongerSentencesOfFourToSixWords",t.eyfs2021BeAbleToExpressAPointOfViewAndToDebateWhenTheyDisagreeWithAnAdul="eyfs2021BeAbleToExpressAPointOfViewAndToDebateWhenTheyDisagreeWithAnAdul",t.eyfs2021StartAConversationWithAnAdultOrAFriendAndContinueItForManyTurns="eyfs2021StartAConversationWithAnAdultOrAFriendAndContinueItForManyTurns",t.eyfs2021UseTalkToOrganiseThemselvesAndTheirPlay="eyfs2021UseTalkToOrganiseThemselvesAndTheirPlay",t.eyfs2021UnderstandHowToListenCarefullyAndWhyListeningIsImportant="eyfs2021UnderstandHowToListenCarefullyAndWhyListeningIsImportant",t.eyfs2021LearnNewVocabulary="eyfs2021LearnNewVocabulary",t.eyfs2021UseNewVocabularyThroughTheDay="eyfs2021UseNewVocabularyThroughTheDay",t.eyfs2021AskQuestionsToFindOutMoreAndToCheckTheyUnderstandWhatHasBeenSaidT="eyfs2021AskQuestionsToFindOutMoreAndToCheckTheyUnderstandWhatHasBeenSaidT",t.eyfs2021ArticulateTheirIdeasAndThoughtsInWellformedSentences="eyfs2021ArticulateTheirIdeasAndThoughtsInWellformedSentences",t.eyfs2021ConnectOneIdeaOrActionToAnotherUsingARangeOfConnectives="eyfs2021ConnectOneIdeaOrActionToAnotherUsingARangeOfConnectives",t.eyfs2021DescribeEventsInSomeDetail="eyfs2021DescribeEventsInSomeDetail",t.eyfs2021UseTalkToHelpWorkOutProblemsAndOrganiseThinkingAndActivities="eyfs2021UseTalkToHelpWorkOutProblemsAndOrganiseThinkingAndActivities",t.eyfs2021DevelopSocialPhrases="eyfs2021DevelopSocialPhrases",t.eyfs2021EngageInStorytimes="eyfs2021EngageInStorytimes",t.eyfs2021ListenToAndTalkAboutStoriesToBuildFamiliarityAndUnderstanding="eyfs2021ListenToAndTalkAboutStoriesToBuildFamiliarityAndUnderstanding",t.eyfs2021RetellTheStory="eyfs2021RetellTheStory",t.eyfs2021UseNewVocabularyInDifferentContexts="eyfs2021UseNewVocabularyInDifferentContexts",t.eyfs2021ListenCarefullyToRhymesAndSongs="eyfs2021ListenCarefullyToRhymesAndSongs",t.eyfs2021LearnRhymes="eyfs2021LearnRhymes",t.eyfs2021EngageInNonfictionBooks="eyfs2021EngageInNonfictionBooks",t.eyfs2021ListenToAndTalkAboutSelectedNonfictionToDevelopADeepFamiliarityWith="eyfs2021ListenToAndTalkAboutSelectedNonfictionToDevelopADeepFamiliarityWith",t.eyfs2021FindWaysToCalmThemselves="eyfs2021FindWaysToCalmThemselves",t.eyfs2021EstablishTheirSenseOfSelf="eyfs2021EstablishTheirSenseOfSelf",t.eyfs2021ExpressPreferencesAndDecisions="eyfs2021ExpressPreferencesAndDecisions",t.eyfs2021EngageWithOthersThroughGestures="eyfs2021EngageWithOthersThroughGestures",t.eyfs2021UseThatEngagementToAchieveAGoal="eyfs2021UseThatEngagementToAchieveAGoal",t.eyfs2021FindWaysOfManagingTransitions="eyfs2021FindWaysOfManagingTransitions",t.eyfs2021ThriveAsTheyDevelopSelfassurance="eyfs2021ThriveAsTheyDevelopSelfassurance",t.eyfs2021LookBackAsTheyCrawlOrWalkAwayFromTheirKeyPerson="eyfs2021LookBackAsTheyCrawlOrWalkAwayFromTheirKeyPerson",t.eyfs2021PlayWithIncreasingConfidenceOnTheirOwnAndWithOtherChildren="eyfs2021PlayWithIncreasingConfidenceOnTheirOwnAndWithOtherChildren",t.eyfs2021FeelConfidentWhenTakenOutAroundTheLocalNeighbourhood="eyfs2021FeelConfidentWhenTakenOutAroundTheLocalNeighbourhood",t.eyfs2021FeelStrongEnoughToExpressARangeOfEmotions="eyfs2021FeelStrongEnoughToExpressARangeOfEmotions",t.eyfs2021GrowInIndependence="eyfs2021GrowInIndependence",t.eyfs2021BeginToShowEffortfulControl="eyfs2021BeginToShowEffortfulControl",t.eyfs2021BeIncreasinglyAbleToTalkAboutAndManageTheirEmotions="eyfs2021BeIncreasinglyAbleToTalkAboutAndManageTheirEmotions",t.eyfs2021NoticeAndAskQuestionsAboutDifferences="eyfs2021NoticeAndAskQuestionsAboutDifferences",t.eyfs2021DevelopFriendshipsWithOtherChildren="eyfs2021DevelopFriendshipsWithOtherChildren",t.eyfs2021SafelyExploreEmotionsBeyondTheirNormalRangeThroughPlayAndStories="eyfs2021SafelyExploreEmotionsBeyondTheirNormalRangeThroughPlayAndStories",t.eyfs2021TalkAboutTheirFeelingsInMoreElaboratedWays="eyfs2021TalkAboutTheirFeelingsInMoreElaboratedWays",t.eyfs2021LearnToUseTheToiletWithHelp="eyfs2021LearnToUseTheToiletWithHelp",t.eyfs2021SelectAndUseActivitiesAndResources="eyfs2021SelectAndUseActivitiesAndResources",t.eyfs2021DevelopTheirSenseOfResponsibilityAndMembershipOfACommunity="eyfs2021DevelopTheirSenseOfResponsibilityAndMembershipOfACommunity",t.eyfs2021BecomeMoreOutgoingWithUnfamiliarPeople="eyfs2021BecomeMoreOutgoingWithUnfamiliarPeople",t.eyfs2021ShowMoreConfidenceInNewSocialSituations="eyfs2021ShowMoreConfidenceInNewSocialSituations",t.eyfs2021PlayWithOneOrMoreOtherChildren="eyfs2021PlayWithOneOrMoreOtherChildren",t.eyfs2021FindSolutionsToConflictsAndRivalries="eyfs2021FindSolutionsToConflictsAndRivalries",t.eyfs2021IncreasinglyFollowRules="eyfs2021IncreasinglyFollowRules",t.eyfs2021RememberRulesWithoutNeedingAnAdultToRemindThem="eyfs2021RememberRulesWithoutNeedingAnAdultToRemindThem",t.eyfs2021DevelopAppropriateWaysOfBeingAssertive="eyfs2021DevelopAppropriateWaysOfBeingAssertive",t.eyfs2021TalkWithOthersToSolveConflicts="eyfs2021TalkWithOthersToSolveConflicts",t.eyfs2021TalkAboutTheirFeelingsUsingWordsLikeHappy="eyfs2021TalkAboutTheirFeelingsUsingWordsLikeHappy",t.eyfs2021UnderstandGraduallyHowOthersMightBeFeeling="eyfs2021UnderstandGraduallyHowOthersMightBeFeeling",t.eyfs2021UseLargeAndSmallMotorSkillsToDoThingsIndependently="eyfs2021UseLargeAndSmallMotorSkillsToDoThingsIndependently",t.eyfs2021ShowAnIncreasingDesireToBeIndependent="eyfs2021ShowAnIncreasingDesireToBeIndependent",t.eyfs2021StartEatingIndependentlyAndLearningHowTouseaKnifeAndFork="eyfs2021StartEatingIndependentlyAndLearningHowTouseaKnifeAndFork",t.eyfs2021BeIncreasinglyIndependentAsTheyGetDressedAndUndressed="eyfs2021BeIncreasinglyIndependentAsTheyGetDressedAndUndressed",t.eyfs2021BeIncreasinglyIndependentInMeetingTheirOwnCareNeeds="eyfs2021BeIncreasinglyIndependentInMeetingTheirOwnCareNeeds",t.eyfs2021MakeHealthyChoicesAboutFood="eyfs2021MakeHealthyChoicesAboutFood",t.eyfs2021SeeThemselvesAsAValuableIndividual="eyfs2021SeeThemselvesAsAValuableIndividual",t.eyfs2021BuildConstructiveAndRespectfulRelationships="eyfs2021BuildConstructiveAndRespectfulRelationships",t.eyfs2021ExpressTheirFeelingsAndConsiderTheFeelingsOfOthers="eyfs2021ExpressTheirFeelingsAndConsiderTheFeelingsOfOthers",t.eyfs2021ShowResilienceAndPerseveranceInTheFaceOfChallenge="eyfs2021ShowResilienceAndPerseveranceInTheFaceOfChallenge",t.eyfs2021IdentifyAndModerateTheirOwnFeelingsSociallyAndEmotionally="eyfs2021IdentifyAndModerateTheirOwnFeelingsSociallyAndEmotionally",t.eyfs2021ThinkAboutThePerspectivesOfOthers="eyfs2021ThinkAboutThePerspectivesOfOthers",t.eyfs2021ManageTheirOwnNeedsPersonalHygiene="eyfs2021ManageTheirOwnNeedsPersonalHygiene",t.eyfs2021LiftTheirHeadWhileLyingOnTheirFront="eyfs2021LiftTheirHeadWhileLyingOnTheirFront",t.eyfs2021PushTheirChestUpWithStraightArms="eyfs2021PushTheirChestUpWithStraightArms",t.eyfs2021RollOverFromFrontToBack="eyfs2021RollOverFromFrontToBack",t.eyfs2021EnjoyMovingWhenOutdoorsAndInside="eyfs2021EnjoyMovingWhenOutdoorsAndInside",t.eyfs2021SitWithoutSupport="eyfs2021SitWithoutSupport",t.eyfs2021BeginToCrawlInDifferentWaysAndDirections="eyfs2021BeginToCrawlInDifferentWaysAndDirections",t.eyfs2021PullThemselvesUprightAndBouncingInPreparationForWalking="eyfs2021PullThemselvesUprightAndBouncingInPreparationForWalking",t.eyfs2021ReachOutForObjectsAsCoordinationDevelops="eyfs2021ReachOutForObjectsAsCoordinationDevelops",t.eyfs2021PassThingsFromOneHandToTheOther="eyfs2021PassThingsFromOneHandToTheOther",t.eyfs2021GraduallyGainControlOfTheirWholeBodyThroughContinualPracticeOfLargeM="eyfs2021GraduallyGainControlOfTheirWholeBodyThroughContinualPracticeOfLargeM",t.eyfs2021ClapAndStampToMusic="eyfs2021ClapAndStampToMusic",t.eyfs2021FitThemselvesIntoSpaces="eyfs2021FitThemselvesIntoSpaces",t.eyfs2021EnjoyStartingToKick="eyfs2021EnjoyStartingToKick",t.eyfs2021BuildIndependentlyWithARangeOfAppropriateResources="eyfs2021BuildIndependentlyWithARangeOfAppropriateResources",t.eyfs2021BeginToWalkIndependentlyChoosingAppropriatePropsToSupportAtFirst="eyfs2021BeginToWalkIndependentlyChoosingAppropriatePropsToSupportAtFirst",t.eyfs2021WalkRunJumpAndClimbAndStartToUseTheStairsIndependently="eyfs2021WalkRunJumpAndClimbAndStartToUseTheStairsIndependently",t.eyfs2021SpinRollAndIndependentlyUseRopesAndSwingsForExample="eyfs2021SpinRollAndIndependentlyUseRopesAndSwingsForExample",t.eyfs2021SitOnAPushalongWheeledToy="eyfs2021SitOnAPushalongWheeledToy",t.eyfs2021DevelopManipulationAndControl="eyfs2021DevelopManipulationAndControl",t.eyfs2021ExploreDifferentMaterialsAndTools="eyfs2021ExploreDifferentMaterialsAndTools",t.eyfs2021ContinueToDevelopTheirMovement="eyfs2021ContinueToDevelopTheirMovement",t.eyfs2021GoUpStepsAndStairs="eyfs2021GoUpStepsAndStairs",t.eyfs2021SkipHopStandOnOneLegAndHoldAPoseForAGameLikeMusicalStatues="eyfs2021SkipHopStandOnOneLegAndHoldAPoseForAGameLikeMusicalStatues",t.eyfs2021UseLargemuscleMovementsToWaveFlagsAndStreamers="eyfs2021UseLargemuscleMovementsToWaveFlagsAndStreamers",t.eyfs2021StartTakingPartInSomeGroupActivitiesWhichTheyMakeUpForThemselves="eyfs2021StartTakingPartInSomeGroupActivitiesWhichTheyMakeUpForThemselves",t.eyfs2021IncreasinglyBeAbleToUseAndRememberSequencesAndPatternsOfMovementsWhi="eyfs2021IncreasinglyBeAbleToUseAndRememberSequencesAndPatternsOfMovementsWhi",t.eyfs2021MatchTheirDevelopingPhysicalSkillsToTasksAndActivitiesInTheSetting="eyfs2021MatchTheirDevelopingPhysicalSkillsToTasksAndActivitiesInTheSetting",t.eyfs2021ChooseTheRightResourcesToCarryOutTheirOwnPlan="eyfs2021ChooseTheRightResourcesToCarryOutTheirOwnPlan",t.eyfs2021CollaborateWithOthersToManageLargeItems="eyfs2021CollaborateWithOthersToManageLargeItems",t.eyfs2021UseOnehandedToolsAndEquipment="eyfs2021UseOnehandedToolsAndEquipment",t.eyfs2021UseAComfortableGripWithGoodControlWhenHoldingPensAndPencils="eyfs2021UseAComfortableGripWithGoodControlWhenHoldingPensAndPencils",t.eyfs2021ShowAPreferenceForADominantHand="eyfs2021ShowAPreferenceForADominantHand",t.eyfs2021BeIncreasinglyIndependentAsTheyGetDressedAndUndressed2="eyfs2021BeIncreasinglyIndependentAsTheyGetDressedAndUndressed2",t.eyfs2021ReviseAndRefineTheFundamentalMovementSkillsTheyHaveAlreadyAcquired="eyfs2021ReviseAndRefineTheFundamentalMovementSkillsTheyHaveAlreadyAcquired",t.eyfs2021ProgressTowardsAMoreFluentStyleOfMoving="eyfs2021ProgressTowardsAMoreFluentStyleOfMoving",t.eyfs2021DevelopTheOverallBodyStrength="eyfs2021DevelopTheOverallBodyStrength",t.eyfs2021DevelopTheirSmallMotorSkillsSoThatTheyCanUseARangeOfToolsCompetent="eyfs2021DevelopTheirSmallMotorSkillsSoThatTheyCanUseARangeOfToolsCompetent",t.eyfs2021UseTheirCoreMuscleStrengthToAchieveAGoodPostureWhenSittingAtATable="eyfs2021UseTheirCoreMuscleStrengthToAchieveAGoodPostureWhenSittingAtATable",t.eyfs2021CombineDifferentMovementsWithEaseAndFluency="eyfs2021CombineDifferentMovementsWithEaseAndFluency",t.eyfs2021ConfidentlyAndSafelyUseARangeOfLargeAndSmallApparatusIndoorsAndOuts="eyfs2021ConfidentlyAndSafelyUseARangeOfLargeAndSmallApparatusIndoorsAndOuts",t.eyfs2021DevelopOverallBodystrength="eyfs2021DevelopOverallBodystrength",t.eyfs2021FurtherDevelopAndRefineARangeOfBallSkillsIncluding="eyfs2021FurtherDevelopAndRefineARangeOfBallSkillsIncluding",t.eyfs2021DevelopConfidence="eyfs2021DevelopConfidence",t.eyfs2021DevelopTheFoundationsOfAHandwritingStyleWhichIsFast="eyfs2021DevelopTheFoundationsOfAHandwritingStyleWhichIsFast",t.eyfs2021KnowAndTalkAboutTheDifferentFactorsThatSupportTheirOverallHealthAnd="eyfs2021KnowAndTalkAboutTheDifferentFactorsThatSupportTheirOverallHealthAnd",t.eyfs2021FurtherDevelopTheSkillsTheyNeedToManageTheSchoolDaySuccessfully="eyfs2021FurtherDevelopTheSkillsTheyNeedToManageTheSchoolDaySuccessfully",t.eyfs2021EnjoySongsAndRhymes="eyfs2021EnjoySongsAndRhymes",t.eyfs2021JoinInWithSongsAndRhymes="eyfs2021JoinInWithSongsAndRhymes",t.eyfs2021SaySomeOfTheWordsInSongsAndRhymes="eyfs2021SaySomeOfTheWordsInSongsAndRhymes",t.eyfs2021CopyFingerMovementsAndOtherGestures="eyfs2021CopyFingerMovementsAndOtherGestures",t.eyfs2021SingSongsAndSayRhymesIndependently="eyfs2021SingSongsAndSayRhymesIndependently",t.eyfs2021EnjoySharingBooksWithAnAdult="eyfs2021EnjoySharingBooksWithAnAdult",t.eyfs2021PayAttentionAndRespondToThePicturesOrTheWords="eyfs2021PayAttentionAndRespondToThePicturesOrTheWords",t.eyfs2021HaveFavouriteBooksAndSeekThemOut="eyfs2021HaveFavouriteBooksAndSeekThemOut",t.eyfs2021RepeatWordsAndPhrasesFromFamiliarStories="eyfs2021RepeatWordsAndPhrasesFromFamiliarStories",t.eyfs2021AskQuestionsAboutTheBook="eyfs2021AskQuestionsAboutTheBook",t.eyfs2021DevelopPlayAroundFavouriteStoriesUsingProps="eyfs2021DevelopPlayAroundFavouriteStoriesUsingProps",t.eyfs2021NoticeSomePrint="eyfs2021NoticeSomePrint",t.eyfs2021EnjoyDrawingFreely="eyfs2021EnjoyDrawingFreely",t.eyfs2021AddSomeMarksToTheirDrawings="eyfs2021AddSomeMarksToTheirDrawings",t.eyfs2021MakeMarksOnTheirPictureToStandForTheirName="eyfs2021MakeMarksOnTheirPictureToStandForTheirName",t.eyfs2021UnderstandTheFiveKeyConceptsAboutPrint="eyfs2021UnderstandTheFiveKeyConceptsAboutPrint",t.eyfs2021DevelopTheirPhonologicalAwareness="eyfs2021DevelopTheirPhonologicalAwareness",t.eyfs2021EngageInExtendedConversationsAboutStories="eyfs2021EngageInExtendedConversationsAboutStories",t.eyfs2021UseSomeOfTheirPrintAndLetterKnowledgeInTheirEarlyWriting="eyfs2021UseSomeOfTheirPrintAndLetterKnowledgeInTheirEarlyWriting",t.eyfs2021WriteSomeOrAllOfTheirName="eyfs2021WriteSomeOrAllOfTheirName",t.eyfs2021WriteSomeLettersAccurately="eyfs2021WriteSomeLettersAccurately",t.eyfs2021ReadIndividualLettersBySayingTheSoundsForThem="eyfs2021ReadIndividualLettersBySayingTheSoundsForThem",t.eyfs2021BlendSoundsIntoWords="eyfs2021BlendSoundsIntoWords",t.eyfs2021ReadSomeLetterGroupsThatEachRepresentOneSoundAndSaySoundsForThem="eyfs2021ReadSomeLetterGroupsThatEachRepresentOneSoundAndSaySoundsForThem",t.eyfs2021ReadAFewCommonExceptionWordsMatchedToTheSchoolsPhonicProgramme="eyfs2021ReadAFewCommonExceptionWordsMatchedToTheSchoolsPhonicProgramme",t.eyfs2021ReadSimplePhrasesAndSentencesMadeUpOfWordsWithKnownLettersoundCorres="eyfs2021ReadSimplePhrasesAndSentencesMadeUpOfWordsWithKnownLettersoundCorres",t.eyfs2021RereadTheseBooksToBuildUpTheirConfidenceInWordReading="eyfs2021RereadTheseBooksToBuildUpTheirConfidenceInWordReading",t.eyfs2021FormLowercaseAndCapitalLettersCorrectly="eyfs2021FormLowercaseAndCapitalLettersCorrectly",t.eyfs2021SpellWordsByIdentifyingTheSoundsAndThenWritingTheSoundWithLetters="eyfs2021SpellWordsByIdentifyingTheSoundsAndThenWritingTheSoundWithLetters",t.eyfs2021WriteShortSentencesWithWordsWithKnownSoundletterCorrespondencesUsingA="eyfs2021WriteShortSentencesWithWordsWithKnownSoundletterCorrespondencesUsingA",t.eyfs2021RereadWhatTheyHaveWrittenToCheckThatItMakesSense="eyfs2021RereadWhatTheyHaveWrittenToCheckThatItMakesSense",t.eyfs2021CombineObjectsLikeStackingBlocksAndCups="eyfs2021CombineObjectsLikeStackingBlocksAndCups",t.eyfs2021TakePartInFingerRhymesWithNumbers="eyfs2021TakePartInFingerRhymesWithNumbers",t.eyfs2021ReactToChangesOfAmountInAGroupOfUpToThreeItems="eyfs2021ReactToChangesOfAmountInAGroupOfUpToThreeItems",t.eyfs2021CompareAmounts="eyfs2021CompareAmounts",t.eyfs2021DevelopCountinglikeBehaviour="eyfs2021DevelopCountinglikeBehaviour",t.eyfs2021CountInEverydayContexts="eyfs2021CountInEverydayContexts",t.eyfs2021ClimbAndSqueezeThemselvesIntoDifferentTypesOfSpaces="eyfs2021ClimbAndSqueezeThemselvesIntoDifferentTypesOfSpaces",t.eyfs2021BuildWithARangeOfResources="eyfs2021BuildWithARangeOfResources",t.eyfs2021CompleteInsetPuzzles="eyfs2021CompleteInsetPuzzles",t.eyfs2021CompareSizes="eyfs2021CompareSizes",t.eyfs2021NoticePatternsAndArrangeThingsInPatterns="eyfs2021NoticePatternsAndArrangeThingsInPatterns",t.eyfs2021DevelopFastRecognitionOfUpToObjects="eyfs2021DevelopFastRecognitionOfUpToObjects",t.eyfs2021ReciteNumbersPast="eyfs2021ReciteNumbersPast",t.eyfs2021SayOneNumberForEachItemInOrder="eyfs2021SayOneNumberForEachItemInOrder",t.eyfs2021KnowThatTheLastNumberReachedWhenCountingASmallSetOfObjectsTellsYou="eyfs2021KnowThatTheLastNumberReachedWhenCountingASmallSetOfObjectsTellsYou",t.eyfs2021ShowFingerNumbersUpTo="eyfs2021ShowFingerNumbersUpTo",t.eyfs2021LinkNumeralsAndAmounts="eyfs2021LinkNumeralsAndAmounts",t.eyfs2021ExperimentWithTheirOwnSymbolsAndMarksAsWellAsNumerals="eyfs2021ExperimentWithTheirOwnSymbolsAndMarksAsWellAsNumerals",t.eyfs2021SolveRealWorldMathematicalProblemsWithNumbersUpTo="eyfs2021SolveRealWorldMathematicalProblemsWithNumbersUpTo",t.eyfs2021CompareQuantitiesUsingLanguage="eyfs2021CompareQuantitiesUsingLanguage",t.eyfs2021TalkAboutAndExploreDAndDShapesForExample="eyfs2021TalkAboutAndExploreDAndDShapesForExample",t.eyfs2021UnderstandPositionThroughWordsAloneForExample="eyfs2021UnderstandPositionThroughWordsAloneForExample",t.eyfs2021DescribeAFamiliarRoute="eyfs2021DescribeAFamiliarRoute",t.eyfs2021DiscussRoutesAndLocations="eyfs2021DiscussRoutesAndLocations",t.eyfs2021MakeComparisonsBetweenObjectsRelatingToSize="eyfs2021MakeComparisonsBetweenObjectsRelatingToSize",t.eyfs2021SelectShapesAppropriately="eyfs2021SelectShapesAppropriately",t.eyfs2021CombineShapesToMakeNewOnesAnArch="eyfs2021CombineShapesToMakeNewOnesAnArch",t.eyfs2021TalkAboutAndIdentifyThePatternsAroundThem="eyfs2021TalkAboutAndIdentifyThePatternsAroundThem",t.eyfs2021ExtendAndCreateABABPatternsStick="eyfs2021ExtendAndCreateABABPatternsStick",t.eyfs2021NoticeAndCorrectAnErrorInARepeatingPattern="eyfs2021NoticeAndCorrectAnErrorInARepeatingPattern",t.eyfs2021BeginToDescribeASequenceOfEvents="eyfs2021BeginToDescribeASequenceOfEvents",t.eyfs2021CountObjects="eyfs2021CountObjects",t.eyfs2021Subitise="eyfs2021Subitise",t.eyfs2021LinkTheNumberSymbolNumeralWithItsCardinalNumberValue="eyfs2021LinkTheNumberSymbolNumeralWithItsCardinalNumberValue",t.eyfs2021CountBeyondTen="eyfs2021CountBeyondTen",t.eyfs2021CompareNumbers="eyfs2021CompareNumbers",t.eyfs2021UnderstandTheOneMoreThanoneLessThanRelationshipBetweenConsecutiveNumbe="eyfs2021UnderstandTheOneMoreThanoneLessThanRelationshipBetweenConsecutiveNumbe",t.eyfs2021ExploreTheCompositionOfNumbersTo="eyfs2021ExploreTheCompositionOfNumbersTo",t.eyfs2021AutomaticallyRecallNumberBondsForNumbersAndSomeTo="eyfs2021AutomaticallyRecallNumberBondsForNumbersAndSomeTo",t.eyfs2021SelectRotateAndManipulateShapesInOrderToDevelopSpatialReasoningSkills="eyfs2021SelectRotateAndManipulateShapesInOrderToDevelopSpatialReasoningSkills",t.eyfs2021ComposeAndDecomposeShapesSoThatChildrenRecogniseAShapeCanHaveOtherS="eyfs2021ComposeAndDecomposeShapesSoThatChildrenRecogniseAShapeCanHaveOtherS",t.eyfs2021ContinueCopyAndCreateRepeatingPatterns="eyfs2021ContinueCopyAndCreateRepeatingPatterns",t.eyfs2021CompareLength="eyfs2021CompareLength",t.eyfs2021RepeatActionsThatHaveAnEffect="eyfs2021RepeatActionsThatHaveAnEffect",t.eyfs2021ExploreMaterialsWithDifferentProperties="eyfs2021ExploreMaterialsWithDifferentProperties",t.eyfs2021ExploreNaturalMaterials="eyfs2021ExploreNaturalMaterials",t.eyfs2021ExploreAndRespondToDifferentNaturalPhenomenaInTheirSettingAndOnTrips="eyfs2021ExploreAndRespondToDifferentNaturalPhenomenaInTheirSettingAndOnTrips",t.eyfs2021MakeConnectionsBetweenTheFeaturesOfTheirFamilyAndOtherFamilies="eyfs2021MakeConnectionsBetweenTheFeaturesOfTheirFamilyAndOtherFamilies",t.eyfs2021NoticeDifferencesBetweenPeople="eyfs2021NoticeDifferencesBetweenPeople",t.eyfs2021UseAllTheirSensesInHandsonExplorationOfNaturalMaterials="eyfs2021UseAllTheirSensesInHandsonExplorationOfNaturalMaterials",t.eyfs2021ExploreCollectionsOfMaterialsWithSimilarAndorDifferentProperties="eyfs2021ExploreCollectionsOfMaterialsWithSimilarAndorDifferentProperties",t.eyfs2021TalkAboutWhatTheySee="eyfs2021TalkAboutWhatTheySee",t.eyfs2021BeginToMakeSenseOfTheirOwnLifestoryAndFamilysHistory="eyfs2021BeginToMakeSenseOfTheirOwnLifestoryAndFamilysHistory",t.eyfs2021ShowInterestInDifferentOccupations="eyfs2021ShowInterestInDifferentOccupations",t.eyfs2021ExploreHowThingsWork="eyfs2021ExploreHowThingsWork",t.eyfs2021PlantSeedsAndCareForGrowingPlants="eyfs2021PlantSeedsAndCareForGrowingPlants",t.eyfs2021UnderstandTheKeyFeaturesOfTheLifeCycleOfAPlantAndAnAnimal="eyfs2021UnderstandTheKeyFeaturesOfTheLifeCycleOfAPlantAndAnAnimal",t.eyfs2021BeginToUnderstandTheNeedToRespectAndCareForTheNaturalEnvironmentAnd="eyfs2021BeginToUnderstandTheNeedToRespectAndCareForTheNaturalEnvironmentAnd",t.eyfs2021ExploreAndTalkAboutDifferentForcesTheyCanFeel="eyfs2021ExploreAndTalkAboutDifferentForcesTheyCanFeel",t.eyfs2021TalkAboutTheDifferencesBetweenMaterialsAndChangesTheyNotice="eyfs2021TalkAboutTheDifferencesBetweenMaterialsAndChangesTheyNotice",t.eyfs2021ContinueDevelopingPositiveAttitudesAboutTheDifferencesBetweenPeople="eyfs2021ContinueDevelopingPositiveAttitudesAboutTheDifferencesBetweenPeople",t.eyfs2021KnowThatThereAreDifferentCountriesInTheWorldAndTalkAboutTheDifferen="eyfs2021KnowThatThereAreDifferentCountriesInTheWorldAndTalkAboutTheDifferen",t.eyfs2021TalkAboutMembersOfTheirImmediateFamilyAndCommunity="eyfs2021TalkAboutMembersOfTheirImmediateFamilyAndCommunity",t.eyfs2021NameAndDescribePeopleWhoAreFamiliarToThem="eyfs2021NameAndDescribePeopleWhoAreFamiliarToThem",t.eyfs2021CommentOnImagesOfFamiliarSituationsInThePast="eyfs2021CommentOnImagesOfFamiliarSituationsInThePast",t.eyfs2021CompareAndContrastCharactersFromStories="eyfs2021CompareAndContrastCharactersFromStories",t.eyfs2021DrawInformationFromASimpleMap="eyfs2021DrawInformationFromASimpleMap",t.eyfs2021UnderstandThatSomePlacesAreSpecialToMembersOfTheirCommunity="eyfs2021UnderstandThatSomePlacesAreSpecialToMembersOfTheirCommunity",t.eyfs2021RecogniseThatPeopleHaveDifferentBeliefsAndCelebrateSpecialTimesInDiff="eyfs2021RecogniseThatPeopleHaveDifferentBeliefsAndCelebrateSpecialTimesInDiff",t.eyfs2021RecogniseSomeSimilaritiesAndDifferencesBetweenLifeInThisCountryAndLif="eyfs2021RecogniseSomeSimilaritiesAndDifferencesBetweenLifeInThisCountryAndLif",t.eyfs2021ExploreTheNaturalWorldAroundThem="eyfs2021ExploreTheNaturalWorldAroundThem",t.eyfs2021DescribeWhatTheySee="eyfs2021DescribeWhatTheySee",t.eyfs2021RecogniseSomeEnvironmentsThatAreDifferentToTheOneInWhichTheyLive="eyfs2021RecogniseSomeEnvironmentsThatAreDifferentToTheOneInWhichTheyLive",t.eyfs2021UnderstandTheEffectOfChangingSeasonsOnTheNaturalWorldAroundThem="eyfs2021UnderstandTheEffectOfChangingSeasonsOnTheNaturalWorldAroundThem",t.eyfs2021ShowAttentionToSoundsAndMusic="eyfs2021ShowAttentionToSoundsAndMusic",t.eyfs2021RespondEmotionallyAndPhysicallyToMusicWhenItChanges="eyfs2021RespondEmotionallyAndPhysicallyToMusicWhenItChanges",t.eyfs2021MoveAndDanceToMusic="eyfs2021MoveAndDanceToMusic",t.eyfs2021AnticipatePhrasesAndActionsInRhymesAndSongs="eyfs2021AnticipatePhrasesAndActionsInRhymesAndSongs",t.eyfs2021ExploreTheirVoicesAndEnjoyMakingSounds="eyfs2021ExploreTheirVoicesAndEnjoyMakingSounds",t.eyfs2021JoinInWithSongsAndRhymes2="eyfs2021JoinInWithSongsAndRhymes2",t.eyfs2021MakeRhythmicalAndRepetitiveSounds="eyfs2021MakeRhythmicalAndRepetitiveSounds",t.eyfs2021ExploreARangeOfSoundmakersAndInstrumentsAndPlayThemInDifferentWays="eyfs2021ExploreARangeOfSoundmakersAndInstrumentsAndPlayThemInDifferentWays",t.eyfs2021NoticePatternsWithStrongContrastsAndBeAttractedByPatternsResemblingTh="eyfs2021NoticePatternsWithStrongContrastsAndBeAttractedByPatternsResemblingTh",t.eyfs2021StartToMakeMarksIntentionally="eyfs2021StartToMakeMarksIntentionally",t.eyfs2021ExplorePaint="eyfs2021ExplorePaint",t.eyfs2021ExpressIdeasAndFeelingsThroughMakingMarks="eyfs2021ExpressIdeasAndFeelingsThroughMakingMarks",t.eyfs2021EnjoyAndTakePartInActionSongs="eyfs2021EnjoyAndTakePartInActionSongs",t.eyfs2021StartToDevelopPretendPlay="eyfs2021StartToDevelopPretendPlay",t.eyfs2021ExploreDifferentMaterials="eyfs2021ExploreDifferentMaterials",t.eyfs2021UseTheirImaginationAsTheyConsiderWhatTheyCanDoWithDifferentMaterials="eyfs2021UseTheirImaginationAsTheyConsiderWhatTheyCanDoWithDifferentMaterials",t.eyfs2021MakeSimpleModelsWhichExpressTheirIdeas="eyfs2021MakeSimpleModelsWhichExpressTheirIdeas",t.eyfs2021TakePartInSimplePretendPlay="eyfs2021TakePartInSimplePretendPlay",t.eyfs2021BeginToDevelopComplexStoriesUsingSmallWorldEquipmentLikeAnimalSets="eyfs2021BeginToDevelopComplexStoriesUsingSmallWorldEquipmentLikeAnimalSets",t.eyfs2021MakeImaginativeAndComplexSmallWorldsWithBlocksAndConstructionKits="eyfs2021MakeImaginativeAndComplexSmallWorldsWithBlocksAndConstructionKits",t.eyfs2021ExploreDifferentMaterialsFreely="eyfs2021ExploreDifferentMaterialsFreely",t.eyfs2021DevelopTheirOwnIdeasAndThenDecideWhichMaterialsToUseToExpressThem="eyfs2021DevelopTheirOwnIdeasAndThenDecideWhichMaterialsToUseToExpressThem",t.eyfs2021JoinDifferentMaterialsAndExploreDifferentTextures="eyfs2021JoinDifferentMaterialsAndExploreDifferentTextures",t.eyfs2021CreateClosedShapesWithContinuousLines="eyfs2021CreateClosedShapesWithContinuousLines",t.eyfs2021DrawWithIncreasingComplexityAndDetail="eyfs2021DrawWithIncreasingComplexityAndDetail",t.eyfs2021UseDrawingToRepresentIdeasLikeMovementOrLoudNoises="eyfs2021UseDrawingToRepresentIdeasLikeMovementOrLoudNoises",t.eyfs2021ShowDifferentEmotionsInTheirDrawingsAndPaintings="eyfs2021ShowDifferentEmotionsInTheirDrawingsAndPaintings",t.eyfs2021ExploreColourAndColourmixing="eyfs2021ExploreColourAndColourmixing",t.eyfs2021ListenWithIncreasedAttentionToSounds="eyfs2021ListenWithIncreasedAttentionToSounds",t.eyfs2021RespondToWhatTheyHaveHeard="eyfs2021RespondToWhatTheyHaveHeard",t.eyfs2021RememberAndSingEntireSongs="eyfs2021RememberAndSingEntireSongs",t.eyfs2021SingThePitchOfAToneSungByAnotherPersonPitchMatch="eyfs2021SingThePitchOfAToneSungByAnotherPersonPitchMatch",t.eyfs2021SingTheMelodicShapeMovingMelody="eyfs2021SingTheMelodicShapeMovingMelody",t.eyfs2021CreateTheirOwnSongs="eyfs2021CreateTheirOwnSongs",t.eyfs2021PlayInstrumentsWithIncreasingControlToExpressTheirFeelingsAndIdeas="eyfs2021PlayInstrumentsWithIncreasingControlToExpressTheirFeelingsAndIdeas",t.eyfs2021ExploreUseAndRefineAVarietyOfArtisticEffectsToExpressTheirIdeasAnd="eyfs2021ExploreUseAndRefineAVarietyOfArtisticEffectsToExpressTheirIdeasAnd",t.eyfs2021ReturnToAndBuildOnTheirPreviousLearning="eyfs2021ReturnToAndBuildOnTheirPreviousLearning",t.eyfs2021CreateCollaboratively="eyfs2021CreateCollaboratively",t.eyfs2021ListenAttentively="eyfs2021ListenAttentively",t.eyfs2021WatchAndTalkAboutDanceAndPerformanceArt="eyfs2021WatchAndTalkAboutDanceAndPerformanceArt",t.eyfs2021SingInAGroupOrOnTheirOwn="eyfs2021SingInAGroupOrOnTheirOwn",t.eyfs2021DevelopStorylinesInTheirPretendPlay="eyfs2021DevelopStorylinesInTheirPretendPlay",t.eyfs2021ExploreAndEngageInMusicMakingAndDance="eyfs2021ExploreAndEngageInMusicMakingAndDance",t.coel2021RealiseThatTheirActionsHaveAnEffectOnTheWorld="coel2021RealiseThatTheirActionsHaveAnEffectOnTheWorld",t.coel2021PlanAndThinkAheadAboutHowTheyWillExploreOrPlayWithObjects="coel2021PlanAndThinkAheadAboutHowTheyWillExploreOrPlayWithObjects",t.coel2021GuideTheirOwnThinkingAndActionsByReferringToVisualAidsOrByTalkingT="coel2021GuideTheirOwnThinkingAndActionsByReferringToVisualAidsOrByTalkingT",t.coel2021MakeIndependentChoices="coel2021MakeIndependentChoices",t.coel2021BringTheirOwnInterestsAndFascinationsIntoEarlyYearsSettings="coel2021BringTheirOwnInterestsAndFascinationsIntoEarlyYearsSettings",t.coel2021RespondToNewExperiencesThatYouBringToTheirAttention="coel2021RespondToNewExperiencesThatYouBringToTheirAttention",t.coel2021ParticipateInRoutines="coel2021ParticipateInRoutines",t.coel2021BeginToPredictSequencesBecauseTheyKnowRoutines="coel2021BeginToPredictSequencesBecauseTheyKnowRoutines",t.coel2021ShowGoaldirectedBehaviour="coel2021ShowGoaldirectedBehaviour",t.coel2021BeginToCorrectTheirMistakesThemselves="coel2021BeginToCorrectTheirMistakesThemselves",t.coel2021KeepOnTryingWhenThingsAreDifficult="coel2021KeepOnTryingWhenThingsAreDifficult",t.coel2021LearningToTakePartInSimplePretendPlay="coel2021LearningToTakePartInSimplePretendPlay",t.coel2021LearningToSortMaterials="coel2021LearningToSortMaterials",t.coel2021ReviewTheirProgressAsTheyTryToAchieveAGoal="coel2021ReviewTheirProgressAsTheyTryToAchieveAGoal",t.coel2021LearningToSolveRealProblems="coel2021LearningToSolveRealProblems",t.coel2021UsePretendPlayToThinkBeyondTheHereAndNowAndToUnderstandAnotherPers="coel2021UsePretendPlayToThinkBeyondTheHereAndNowAndToUnderstandAnotherPers",t.coel2021KnowMoreSoFeelConfidentAboutComingUpWithTheirOwnIdeas="coel2021KnowMoreSoFeelConfidentAboutComingUpWithTheirOwnIdeas",t.coel2021MakeMoreLinksBetweenTheirIdeas="coel2021MakeMoreLinksBetweenTheirIdeas",t.coel2021ConcentrateOnAchievingSomethingThatsImportantToThem="coel2021ConcentrateOnAchievingSomethingThatsImportantToThem"}(ta||(ta={})),ta))(),Ya=(()=>(function(t){t.listeningAndAttention="listeningAndAttention",t.understanding="understanding",t.speaking="speaking",t.movingAndHandling="movingAndHandling",t.healthAndSelfCare="healthAndSelfCare",t.makingRelationships="makingRelationships",t.selfConfidenceAndSelfAwareness="selfConfidenceAndSelfAwareness",t.managingFeelingsAndBehaviour="managingFeelingsAndBehaviour",t.reading="reading",t.writing="writing",t.numbers="numbers",t.shapeSpaceAndMeasure="shapeSpaceAndMeasure",t.peopleAndCommunities="peopleAndCommunities",t.theWorld="theWorld",t.technology="technology",t.exploringMediaAndMaterials="exploringMediaAndMaterials",t.beingImaginative="beingImaginative"}(Ya||(Ya={})),Ya))(),ul=(()=>(function(t){t.age_00_To_11="age_00_To_11",t.age_08_To_20="age_08_To_20",t.age_16_To_26="age_16_To_26",t.age_22_To_36="age_22_To_36",t.age_30_To_50="age_30_To_50",t.age_40_To_60="age_40_To_60",t.birthToThreeYears="birthToThreeYears",t.threeToFourYears="threeToFourYears",t.fourToFiveYears="fourToFiveYears"}(ul||(ul={})),ul))(),Ga=(()=>(function(t){t.communicationAndLanguage="communicationAndLanguage",t.physicalDevelopment="physicalDevelopment",t.psed="psed",t.literacy="literacy",t.mathematics="mathematics",t.understandingTheWorld="understandingTheWorld",t.expressiveArtsAndDesign="expressiveArtsAndDesign"}(Ga||(Ga={})),Ga))(),Ds=(()=>(function(t){t.twoYearCheck="twoYearCheck",t.eyfsProfile="eyfsProfile",t.sendSupportPlan="sendSupportPlan",t.twoYearCheck2021="twoYearCheck2021",t.progressCheck2021="progressCheck2021",t.eyfsProfile2021="eyfsProfile2021"}(Ds||(Ds={})),Ds))(),hl=(()=>(function(t){t.baselineObservation="baselineObservation",t.adultLedActivity="adultLedActivity",t.childInitiated="childInitiated",t.homeObservation="homeObservation",t.carerHomeObservation="carerHomeObservation",t.eyfs2021BaselineObservation="eyfs2021BaselineObservation"}(hl||(hl={})),hl))(),ao=(()=>(function(t){t.complete="complete",t.draft="draft",t.awaitingApproval="awaitingApproval",t.rejected="rejected"}(ao||(ao={})),ao))(),js=(()=>(function(t){t.notStarted="notStarted",t.emerging="emerging",t.developing="developing",t.secure="secure"}(js||(js={})),js))(),ks=(()=>(function(t){t.male="male",t.female="female"}(ks||(ks={})),ks))(),pl=(()=>(function(t){t.progress="progress",t.learningJourney="learningJourney",t.tracker="tracker",t.nextSteps="nextSteps",t.statementGaps="statementGaps",t.coel="coel",t.wellbeingAndInvolvement="wellbeingAndInvolvement",t.statementGaps2021="statementGaps2021",t.progress2021="progress2021"}(pl||(pl={})),pl))(),_a=(()=>(function(t){t.playingAndExploring="playingAndExploring",t.creatingAndThinkingCritically="creatingAndThinkingCritically",t.activeLearning="activeLearning"}(_a||(_a={})),_a))(),Uo=(()=>(function(t){t.choosingWaysToDoThings="choosingWaysToDoThings",t.makingLinks="makingLinks",t.havingTheirOwnIdeas="havingTheirOwnIdeas",t.enjoyingAchievingWhatTheySetOutToDo="enjoyingAchievingWhatTheySetOutToDo",t.keepingTrying="keepingTrying",t.beingInvolvedAndConcentrating="beingInvolvedAndConcentrating",t.beingWillingToHaveAGo="beingWillingToHaveAGo",t.playingWithWhatTheyKnow="playingWithWhatTheyKnow",t.findingOutAndExploring="findingOutAndExploring"}(Uo||(Uo={})),Uo))(),Zo=(()=>(function(t){t.registered="registered",t.left="left",t.deleted="deleted"}(Zo||(Zo={})),Zo))(),va=(()=>(function(t){t.governmentExemption="governmentExemption",t.childHadBeenAbroad="childHadBeenAbroad",t.childHadLongAbsence="childHadLongAbsence",t.otherReason="otherReason"}(va||(va={})),va))(),Yo=(()=>(function(t){t.completed="completed",t.draft="draft",t.awaitingApproval="awaitingApproval",t.rejected="rejected"}(Yo||(Yo={})),Yo))(),hs=(()=>(function(t){t.none="none",t.emerging="emerging",t.expected="expected",t.exceeding="exceeding"}(hs||(hs={})),hs))(),ya=(()=>(function(t){t.listeningAttentionUnderstanding="listeningAttentionUnderstanding",t.speaking="speaking",t.selfRegulation="selfRegulation",t.managingSelf="managingSelf",t.buildingRelationships="buildingRelationships",t.grossMotorSkills="grossMotorSkills",t.fineMotorSkills="fineMotorSkills",t.comprehension="comprehension",t.wordReading="wordReading",t.writing="writing",t.numbers="numbers",t.numericalPatterns="numericalPatterns",t.pastPresent="pastPresent",t.peopleCultureCommunities="peopleCultureCommunities",t.theNaturalWorld="theNaturalWorld",t.creatingWithMaterials="creatingWithMaterials",t.beingImaginativeExpressive="beingImaginativeExpressive"}(ya||(ya={})),ya))(),Va=(()=>(function(t){t.user="user",t.carer="carer"}(Va||(Va={})),Va))(),Wa=(()=>(function(t){t.sent="sent",t.sendingFailed="sendingFailed",t.sentByProvider="sentByProvider",t.bounced="bounced",t.complaint="complaint",t.delivered="delivered",t.delayed="delayed",t.opened="opened",t.linkClicked="linkClicked",t.rejected="rejected",t.invalidEmailAddress="invalidEmailAddress"}(Wa||(Wa={})),Wa))(),Ca=(()=>(function(t){t.unexecuted="unexecuted",t.cancelled="cancelled",t.failedToExecute="failedToExecute"}(Ca||(Ca={})),Ca))(),Co=(()=>(function(t){t.childrenSection="childrenSection",t.familiesSection="familiesSection",t.financeSection="financeSection",t.staffSection="staffSection",t.calendarSection="calendarSection",t.settingsSection="settingsSection",t.communicateSection="communicateSection",t.reportsSection="reportsSection",t.reportTypeGeneral="reportTypeGeneral",t.reportTypeChildren="reportTypeChildren",t.reportTypeRoom="reportTypeRoom",t.reportTypeFinance="reportTypeFinance",t.reportTypeEnquiry="reportTypeEnquiry",t.reportTypeStaff="reportTypeStaff",t.reportTypeAgressoExport="reportTypeAgressoExport",t.reportTypeMailMerge="reportTypeMailMerge",t.dayshare="dayshare",t.footsteps="footsteps",t.editStartDate="editStartDate",t.accountsSection="accountsSection",t.staffSalary="staffSalary",t.portalStaffCommunication="portalStaffCommunication",t.portalEmailAudit="portalEmailAudit",t.messagingAccess="messagingAccess",t.fileStorage="fileStorage",t.daysharePushNotifications="daysharePushNotifications",t.approveAccidents="approveAccidents",t.deleteAccidents="deleteAccidents"}(Co||(Co={})),Co))(),za=(()=>(function(t){t.specialEducationalNeedsAndDisabilities="specialEducationalNeedsAndDisabilities",t.englishAsAnAdditionalLanguage="englishAsAnAdditionalLanguage",t.giftedAndTalented="giftedAndTalented",t.lookedAfterChild="lookedAfterChild",t.carersInArmedForces="carersInArmedForces",t.gypsyRomanyTravellerFamily="gypsyRomanyTravellerFamily",t.minorityEthnicGroup="minorityEthnicGroup",t.receivesEarlyYearsPupilPremium="receivesEarlyYearsPupilPremium",t.receivesFreeSchoolMeals="receivesFreeSchoolMeals",t.requiresOneToOneCare="requiresOneToOneCare"}(za||(za={})),za))(),Hs=(()=>(function(t){t.current="current",t.longTermSick="longTermSick",t.maternityLeave="maternityLeave",t.left="left"}(Hs||(Hs={})),Hs))(),os=(()=>(function(t){t[t.childrenSection=1]="childrenSection",t[t.familiesSection=2]="familiesSection",t[t.financeSection=3]="financeSection",t[t.staffSection=4]="staffSection",t[t.calendarSection=5]="calendarSection",t[t.settingsSection=6]="settingsSection",t[t.communicateSection=7]="communicateSection",t[t.reportsSection=8]="reportsSection",t[t.reportTypeGeneral=9]="reportTypeGeneral",t[t.reportTypeChildren=10]="reportTypeChildren",t[t.reportTypeRoom=11]="reportTypeRoom",t[t.reportTypeFinance=12]="reportTypeFinance",t[t.reportTypeEnquiry=13]="reportTypeEnquiry",t[t.reportTypeStaff=14]="reportTypeStaff",t[t.reportTypeAgressoExport=15]="reportTypeAgressoExport",t[t.reportTypeMailMerge=16]="reportTypeMailMerge",t[t.dayshare=17]="dayshare",t[t.footsteps=18]="footsteps",t[t.editStartDate=19]="editStartDate",t[t.accountsSection=20]="accountsSection",t[t.staffSalary=21]="staffSalary",t[t.portalStaffCommunication=22]="portalStaffCommunication",t[t.portalEmailAudit=23]="portalEmailAudit",t[t.messagingAccess=24]="messagingAccess",t[t.fileStorage=25]="fileStorage",t[t.daysharePushNotifications=26]="daysharePushNotifications",t[t.approveAccidents=27]="approveAccidents",t[t.deleteAccidents=28]="deleteAccidents"}(os||(os={})),os))(),Ys=(()=>(function(t){t[t.authentication=0]="authentication",t[t.authenticationModifications=1]="authenticationModifications",t[t.internalProcesses=2]="internalProcesses",t[t.general=3]="general"}(Ys||(Ys={})),Ys))(),Gs=(()=>(function(t){t[t.perInjection=0]="perInjection",t[t.perThreadScope=1]="perThreadScope",t[t.singleton=2]="singleton"}(Gs||(Gs={})),Gs))(),ba=(()=>(function(t){t[t.none=0]="none",t[t.link=1]="link"}(ba||(ba={})),ba))(),na=(()=>(function(t){t[t.fixedSession=1]="fixedSession",t[t.kitchenDesignSession=2]="kitchenDesignSession",t[t.sENReservation=3]="sENReservation",t[t.birthdayParty=4]="birthdayParty",t[t.schoolVisit=5]="schoolVisit",t[t.otherReason=6]="otherReason"}(na||(na={})),na))(),$a=(()=>(function(t){t[t.none=0]="none",t[t.email=1]="email",t[t.dailyActivity=2]="dailyActivity",t[t.assessmentReport=3]="assessmentReport",t[t.developmentReport=4]="developmentReport",t[t.learningJourney=5]="learningJourney",t[t.profiles=6]="profiles",t[t.learningJourneyReport=7]="learningJourneyReport",t[t.trackerReport=8]="trackerReport",t[t.abacusFeePlanner=9]="abacusFeePlanner",t[t.communicate=10]="communicate",t[t.mailMerge=11]="mailMerge",t[t.accountStatement=12]="accountStatement",t[t.invoices=13]="invoices"}($a||($a={})),$a))(),wa=(()=>(function(t){t[t.highestSecure=1]="highestSecure",t[t.highestCurrent=2]="highestCurrent",t[t.manual=3]="manual"}(wa||(wa={})),wa))(),es=(()=>(function(t){t[t.governmentExemption=1]="governmentExemption",t[t.childHadBeenAbroad=2]="childHadBeenAbroad",t[t.childHadLongAbsence=3]="childHadLongAbsence",t[t.otherReason=4]="otherReason"}(es||(es={})),es))(),Es=(()=>(function(t){t[t.resellerClub=1]="resellerClub",t[t.zendesk=2]="zendesk",t[t.crechePager=3]="crechePager"}(Es||(Es={})),Es))(),Ta=(()=>(function(t){t[t.none=0]="none",t[t.allergy=1]="allergy",t[t.medicalCondition=2]="medicalCondition",t[t.sen=4]="sen"}(Ta||(Ta={})),Ta))(),qa=(()=>(function(t){t[t.knownNameInsteadOfFirstName=1]="knownNameInsteadOfFirstName",t[t.firstNameInsteadOfKnownName=2]="firstNameInsteadOfKnownName"}(qa||(qa={})),qa))(),po=(()=>(function(t){t[t.orderByKnownName=1]="orderByKnownName",t[t.orderByLastName=2]="orderByLastName",t[t.orderByFirstName=3]="orderByFirstName"}(po||(po={})),po))(),Ma=(()=>(function(t){t[t.default=0]="default",t[t.primary=1]="primary",t[t.success=2]="success",t[t.info=3]="info",t[t.warning=4]="warning",t[t.danger=5]="danger"}(Ma||(Ma={})),Ma))(),Sa=(()=>(function(t){t[t.none=0]="none",t[t.create=1]="create",t[t.read=2]="read",t[t.update=4]="update",t[t.delete=8]="delete"}(Sa||(Sa={})),Sa))(),ia=(()=>(function(t){t[t.none=0]="none",t[t.individual=1]="individual",t[t.business=2]="business",t[t.group=3]="group",t[t.global=4]="global"}(ia||(ia={})),ia))(),Ps=(()=>(function(t){t[t.errorNotTyped=0]="errorNotTyped",t[t.userDoesNotExist=1]="userDoesNotExist",t[t.userDoesNotHaveApiAccess=2]="userDoesNotHaveApiAccess",t[t.userIsForbidden=3]="userIsForbidden",t[t.oldEmailAddressNotTheSame=4]="oldEmailAddressNotTheSame",t[t.oldPasswordNotTheSame=5]="oldPasswordNotTheSame",t[t.userAlreadyExists=6]="userAlreadyExists",t[t.userExistsAgainstDifferentBusiness=7]="userExistsAgainstDifferentBusiness",t[t.resetTokenNotValid=8]="resetTokenNotValid",t[t.userIsAlreadyInACorporation=9]="userIsAlreadyInACorporation",t[t.userNotLoggedIn=10]="userNotLoggedIn",t[t.passwordDoesNotMatchHistoricalRequirements=11]="passwordDoesNotMatchHistoricalRequirements",t[t.userIsAlreadyAssignedToCarePlan=12]="userIsAlreadyAssignedToCarePlan",t[t.apiKeyInvalid=100]="apiKeyInvalid",t[t.authTokenDoesNotExist=101]="authTokenDoesNotExist",t[t.authTokenAlreadyLogged=102]="authTokenAlreadyLogged",t[t.authApplicationDoesNotExist=103]="authApplicationDoesNotExist",t[t.userDoesNotHaveBusinessCreatorRole=200]="userDoesNotHaveBusinessCreatorRole",t[t.permissionDoesNotExist=201]="permissionDoesNotExist",t[t.businessDoesNotExist=300]="businessDoesNotExist",t[t.businessIsNotActive=301]="businessIsNotActive",t[t.businessAlreadyExists=302]="businessAlreadyExists",t[t.businessAlreadyExistsIsAlreadyInACorporation=303]="businessAlreadyExistsIsAlreadyInACorporation",t[t.businessIsInWrongCorporationForUser=304]="businessIsInWrongCorporationForUser",t[t.customFormDoesNotExist=400]="customFormDoesNotExist",t[t.domainDoesNotExist=450]="domainDoesNotExist",t[t.fieldIsRequired=500]="fieldIsRequired",t[t.emailAddressInvalid=501]="emailAddressInvalid",t[t.integrationTypeInvalid=502]="integrationTypeInvalid",t[t.systemPreferenceInvalid=503]="systemPreferenceInvalid",t[t.recurrenceTypeInvalid=504]="recurrenceTypeInvalid",t[t.actionTypeInvalid=505]="actionTypeInvalid",t[t.notificationTypeInvalid=506]="notificationTypeInvalid",t[t.distributionTypeInvalid=507]="distributionTypeInvalid",t[t.colourTypeInvalid=508]="colourTypeInvalid",t[t.tokenAlreadyLogged=550]="tokenAlreadyLogged",t[t.messageNotSuccessfullyValidated=551]="messageNotSuccessfullyValidated",t[t.notificationDoesNotExist=600]="notificationDoesNotExist",t[t.diaryEventTypeDoesNotExistAgainstBusiness=625]="diaryEventTypeDoesNotExistAgainstBusiness",t[t.diaryEventTypeDoesNotExist=626]="diaryEventTypeDoesNotExist",t[t.whenToAndTotalInSeriesNotSet=627]="whenToAndTotalInSeriesNotSet",t[t.diaryEventDoesNotExist=628]="diaryEventDoesNotExist",t[t.diaryEventSeriesDoesNotExist=629]="diaryEventSeriesDoesNotExist",t[t.whenToBeforeWhenFrom=630]="whenToBeforeWhenFrom",t[t.systemAlertDoesNotExist=675]="systemAlertDoesNotExist",t[t.systemMessageDoesNotExist=676]="systemMessageDoesNotExist",t[t.userPreferenceDoesNotExist=700]="userPreferenceDoesNotExist",t[t.parentaStaffUserDoesNotExist=725]="parentaStaffUserDoesNotExist",t[t.parentaStaffUserAlreadyExists=726]="parentaStaffUserAlreadyExists",t[t.parentaStaffUserIntegrationDoesNotExist=727]="parentaStaffUserIntegrationDoesNotExist",t[t.carerDoesNotExist=750]="carerDoesNotExist",t[t.systemTourDoesNotExist=775]="systemTourDoesNotExist",t[t.corporationDoesNotExist=800]="corporationDoesNotExist",t[t.childDoesNotExist=850]="childDoesNotExist",t[t.featureDoesNotExist=875]="featureDoesNotExist",t[t.featureAlreadyExists=876]="featureAlreadyExists",t[t.trainingCourseDoesNotExist=890]="trainingCourseDoesNotExist",t[t.staffTrainingDoesNotExist=900]="staffTrainingDoesNotExist",t[t.userRatioDoesNotExist=911]="userRatioDoesNotExist",t[t.reservationDoesNotExist=925]="reservationDoesNotExist",t[t.whenCollectedBeforeWhenStart=926]="whenCollectedBeforeWhenStart",t[t.periodDoesNotExist=950]="periodDoesNotExist",t[t.emergencySuspensionDoesNotExist=975]="emergencySuspensionDoesNotExist",t[t.whenEndedBeforeWhenStarted=976]="whenEndedBeforeWhenStarted",t[t.roleGroupPermissionDoesntExist=1e3]="roleGroupPermissionDoesntExist",t[t.roleGroupDoesNotExist=1001]="roleGroupDoesNotExist",t[t.secretQuestionDoesNotExist=1025]="secretQuestionDoesNotExist",t[t.userSecretAnswerDoesNotExist=1030]="userSecretAnswerDoesNotExist",t[t.allergyDoesNotExist=1035]="allergyDoesNotExist",t[t.corporationDoesNotMatchForAllergyAndChild=1045]="corporationDoesNotMatchForAllergyAndChild",t[t.childAllergyDoesNotExist=1046]="childAllergyDoesNotExist",t[t.medicalConditionDoesNotExist=1055]="medicalConditionDoesNotExist",t[t.corporationDoesNotMatchForMedicalConditionAndChild=1065]="corporationDoesNotMatchForMedicalConditionAndChild",t[t.childMedicalConditionDoesNotExist=1066]="childMedicalConditionDoesNotExist",t[t.corporationPreferenceDoesNotExist=1075]="corporationPreferenceDoesNotExist",t[t.corporationPreferenceAlreadyExists=1076]="corporationPreferenceAlreadyExists",t[t.carePlanDoesNotExist=1080]="carePlanDoesNotExist",t[t.staffTrainingAlreadyAssignedToCarePlan=1081]="staffTrainingAlreadyAssignedToCarePlan",t[t.businessPreferenceDoesNotExist=1085]="businessPreferenceDoesNotExist",t[t.businessPreferenceAlreadyExists=1086]="businessPreferenceAlreadyExists",t[t.corporationDoesNotMatch=1091]="corporationDoesNotMatch",t[t.relationshipDoesNotExist=1100]="relationshipDoesNotExist",t[t.businessHoursDoesNotExist=1120]="businessHoursDoesNotExist",t[t.businessHolidayDoesNotExist=1130]="businessHolidayDoesNotExist",t[t.relationshipAlreadyExistsForCarerAndChild=1140]="relationshipAlreadyExistsForCarerAndChild",t[t.userTwoFactorCodeIncorrect=1141]="userTwoFactorCodeIncorrect",t[t.userOrIpLocked=1142]="userOrIpLocked",t[t.noQuestionDetails=4e3]="noQuestionDetails"}(Ps||(Ps={})),Ps))(),Ja=(()=>(function(t){t[t.showEyfsAreaOnly=1]="showEyfsAreaOnly",t[t.showEyfsAspectsOnly=2]="showEyfsAspectsOnly",t[t.showBothEyfsAreasAndAspects=3]="showBothEyfsAreasAndAspects"}(Ja||(Ja={})),Ja))(),Ka=(()=>(function(t){t[t.male=1]="male",t[t.female=2]="female"}(Ka||(Ka={})),Ka))(),Qa=(()=>(function(t){t[t.holiday=1]="holiday",t[t.closure=2]="closure"}(Qa||(Qa={})),Qa))(),$o=(()=>(function(t){t[t.pending=1]="pending",t[t.accepted=2]="accepted"}($o||($o={})),$o))(),Os=(()=>(function(t){t[t.newestToOldest=1]="newestToOldest",t[t.oldestToNewest=2]="oldestToNewest"}(Os||(Os={})),Os))(),ra=(()=>(function(t){t[t.dayshare=1]="dayshare",t[t.footsteps=2]="footsteps",t[t.nurseryDayshare=4]="nurseryDayshare",t[t.nurseryFootsteps=8]="nurseryFootsteps",t[t.abacus=16]="abacus",t[t.footsteps2=32]="footsteps2",t[t.nurseryFootsteps2=64]="nurseryFootsteps2"}(ra||(ra={})),ra))(),ms=(()=>(function(t){t[t.printed=0]="printed",t[t.delivered=1]="delivered",t[t.dropped=2]="dropped",t[t.bounced=3]="bounced",t[t.complained=4]="complained",t[t.unsubscribed=5]="unsubscribed"}(ms||(ms={})),ms))(),Xa=(()=>(function(t){t[t.none=0]="none",t[t.supportCase=1]="supportCase",t[t.customerSatisfactionSurvey=2]="customerSatisfactionSurvey",t[t.developmentRequest=3]="developmentRequest",t[t.systemMessage=4]="systemMessage",t[t.newObservation=5]="newObservation",t[t.newObservationComment=6]="newObservationComment",t[t.observationRejection=7]="observationRejection",t[t.assessmentRejection=8]="assessmentRejection"}(Xa||(Xa={})),Xa))(),xa=(()=>(function(t){t[t.unknown=0]="unknown",t[t.user=1]="user",t[t.carer=2]="carer"}(xa||(xa={})),xa))(),oa=(()=>(function(t){t[t.nursery=1]="nursery",t[t.head=2]="head",t[t.creche=3]="creche"}(oa||(oa={})),oa))(),Vs=(()=>(function(t){t[t.dayshare=1]="dayshare",t[t.footsteps=2]="footsteps",t[t.breathe=3]="breathe"}(Vs||(Vs={})),Vs))(),Da=(()=>(function(t){t[t.none=0]="none",t[t.abacus=1]="abacus",t[t.dayshare=2]="dayshare",t[t.footsteps=4]="footsteps",t[t.portal=8]="portal",t[t.groupReporting=16]="groupReporting",t[t.parentPortal=32]="parentPortal",t[t.feePlanner=64]="feePlanner",t[t.creche=128]="creche",t[t.footsteps2=256]="footsteps2"}(Da||(Da={})),Da))(),ts=(()=>(function(t){t[t.finance=1]="finance",t[t.customerExperience=2]="customerExperience",t[t.developer=3]="developer"}(ts||(ts={})),ts))(),fs=(()=>(function(t){t[t.dashboardRead=1]="dashboardRead",t[t.userProfileRead=2]="userProfileRead",t[t.userProfileUpdate=3]="userProfileUpdate",t[t.dashboardMessagesRead=4]="dashboardMessagesRead",t[t.dashboardMessagesDelete=5]="dashboardMessagesDelete",t[t.staffManagementUpdate=6]="staffManagementUpdate",t[t.signupChildrenCreate=7]="signupChildrenCreate",t[t.bookinChildrenCreate=8]="bookinChildrenCreate",t[t.childDetailsBasicCreate=9]="childDetailsBasicCreate",t[t.childDetailsBasicRead=10]="childDetailsBasicRead",t[t.childDetailsBasicUpdate=11]="childDetailsBasicUpdate",t[t.childDetailsAdvancedCreate=12]="childDetailsAdvancedCreate",t[t.childDetailsAdvancedRead=13]="childDetailsAdvancedRead",t[t.childDetailsAdvancedUpdate=14]="childDetailsAdvancedUpdate",t[t.childDetailsAdvancedDelete=15]="childDetailsAdvancedDelete",t[t.advanceBookingCreate=16]="advanceBookingCreate",t[t.advanceBookingRead=17]="advanceBookingRead",t[t.advanceBookingUpdate=18]="advanceBookingUpdate",t[t.advanceBookingDelete=19]="advanceBookingDelete",t[t.forcedLogoutUpdate=20]="forcedLogoutUpdate",t[t.managementDashboardRead=21]="managementDashboardRead",t[t.systemGhostRead=22]="systemGhostRead",t[t.diaryRead=23]="diaryRead",t[t.diaryAdvanceBookingCreate=24]="diaryAdvanceBookingCreate",t[t.diaryAdvanceBookingRead=25]="diaryAdvanceBookingRead",t[t.diaryAdvanceBookingUpdate=26]="diaryAdvanceBookingUpdate",t[t.diaryAdvanceBookingDelete=27]="diaryAdvanceBookingDelete",t[t.reportsRead=28]="reportsRead",t[t.scheduleReportsCreate=29]="scheduleReportsCreate",t[t.scheduleReportsRead=30]="scheduleReportsRead",t[t.scheduleReportsUpdate=31]="scheduleReportsUpdate",t[t.scheduleReportsDelete=32]="scheduleReportsDelete",t[t.messagesCreate=33]="messagesCreate",t[t.messagesRead=34]="messagesRead",t[t.userManagementRead=35]="userManagementRead",t[t.userAccountCreate=36]="userAccountCreate",t[t.userAccountRead=37]="userAccountRead",t[t.userAccountUpdate=38]="userAccountUpdate",t[t.userAccountDelete=39]="userAccountDelete",t[t.roleGroupCreate=40]="roleGroupCreate",t[t.roleGroupRead=41]="roleGroupRead",t[t.roleGroupUpdate=42]="roleGroupUpdate",t[t.roleGroupDelete=43]="roleGroupDelete",t[t.settingsRead=44]="settingsRead",t[t.customisationBrandingRead=45]="customisationBrandingRead",t[t.customisationBrandingUpdate=46]="customisationBrandingUpdate",t[t.crecheRatioCreate=47]="crecheRatioCreate",t[t.crecheRatioRead=48]="crecheRatioRead",t[t.crecheRatioUpdate=49]="crecheRatioUpdate",t[t.crecheRatioDelete=50]="crecheRatioDelete",t[t.crecheSettingRead=51]="crecheSettingRead",t[t.crecheSettingUpdate=52]="crecheSettingUpdate",t[t.crecheOpenCloseTimeRead=53]="crecheOpenCloseTimeRead",t[t.crecheOpenCloseTimeUpdate=54]="crecheOpenCloseTimeUpdate",t[t.crecheHolidayCreate=55]="crecheHolidayCreate",t[t.crecheHolidayRead=56]="crecheHolidayRead",t[t.crecheHolidayUpdate=57]="crecheHolidayUpdate",t[t.crecheHolidayDelete=58]="crecheHolidayDelete",t[t.crecheClosureCreate=59]="crecheClosureCreate",t[t.crecheClosureRead=60]="crecheClosureRead",t[t.crecheClosureUpdate=61]="crecheClosureUpdate",t[t.crecheClosureDelete=62]="crecheClosureDelete",t[t.pagerSettingRead=63]="pagerSettingRead",t[t.pagerSettingUpdate=64]="pagerSettingUpdate",t[t.receiptSettingRead=65]="receiptSettingRead",t[t.receiptSettingUpdate=66]="receiptSettingUpdate",t[t.systemSecurityRead=67]="systemSecurityRead",t[t.systemSecurityUpdate=68]="systemSecurityUpdate",t[t.supportDeskCreate=69]="supportDeskCreate",t[t.supportDeskRead=70]="supportDeskRead",t[t.supportDeskUpdate=71]="supportDeskUpdate",t[t.supportDeskDelete=72]="supportDeskDelete",t[t.canApprove=200]="canApprove",t[t.canPublish=201]="canPublish",t[t.requiresApproval=202]="requiresApproval"}(fs||(fs={})),fs))(),gs=(()=>(function(t){t[t.unknown=0]="unknown",t[t.abacusR9=1]="abacusR9",t[t.abacusR11=2]="abacusR11",t[t.dayshare=3]="dayshare",t[t.footsteps=4]="footsteps"}(gs||(gs={})),gs))(),Ws=(()=>(function(t){t[t.pointScoringMethod=1]="pointScoringMethod",t[t.highestRatioMethod=2]="highestRatioMethod"}(Ws||(Ws={})),Ws))(),ml=(()=>(function(t){t[t.daily=1]="daily",t[t.weekly=2]="weekly",t[t.monthly=3]="monthly",t[t.yearly=4]="yearly"}(ml||(ml={})),ml))(),fl=(()=>(function(t){t[t.mild=1]="mild",t[t.moderate=2]="moderate",t[t.severe=3]="severe",t[t.unknown=4]="unknown"}(fl||(fl={})),fl))(),ka=(()=>(function(t){t[t.asc=1]="asc",t[t.desc=2]="desc"}(ka||(ka={})),ka))(),sa=(()=>(function(t){t[t.carerName=1]="carerName",t[t.childName=2]="childName",t[t.gender=3]="gender",t[t.dateOfBirth=4]="dateOfBirth",t[t.registeredBusinessName=5]="registeredBusinessName"}(sa||(sa={})),sa))(),Is=(()=>(function(t){t[t.childrenColour=3]="childrenColour",t[t.observationViewing=4]="observationViewing",t[t.businessName=5]="businessName",t[t.passwordResetAfterDays=14]="passwordResetAfterDays",t[t.passwordExpiryWarningBeforeDays=15]="passwordExpiryWarningBeforeDays",t[t.passwordHistoryToKeep=16]="passwordHistoryToKeep",t[t.showEyfsEarlyLearningGoal=22]="showEyfsEarlyLearningGoal",t[t.showEyfsTextBoxes=23]="showEyfsTextBoxes",t[t.showEyfsSpecificAreas=26]="showEyfsSpecificAreas",t[t.setAgebandByHighestSecure=27]="setAgebandByHighestSecure",t[t.setAgebandByHighestVisited=28]="setAgebandByHighestVisited",t[t.setAgebandManually=29]="setAgebandManually",t[t.showChildNameType=30]="showChildNameType",t[t.childrenOrderBy=31]="childrenOrderBy",t[t.emergingColor=32]="emergingColor",t[t.developingColor=33]="developingColor",t[t.secureColor=34]="secureColor",t[t.showBrandingOnExportedReportsAndAssessments=35]="showBrandingOnExportedReportsAndAssessments",t[t.showObservationCoel=36]="showObservationCoel",t[t.showObservationLeuvenScales=37]="showObservationLeuvenScales",t[t.suggestNextSteps=38]="suggestNextSteps",t[t.enableSessionReminder=39]="enableSessionReminder",t[t.sessionReminderDuration=40]="sessionReminderDuration",t[t.checkStaffRotasInAbacusWhenPlanningActivities=41]="checkStaffRotasInAbacusWhenPlanningActivities",t[t.showEyfsLearningJourneyReport=42]="showEyfsLearningJourneyReport",t[t.showNextStepsLearningJourneyReport=43]="showNextStepsLearningJourneyReport",t[t.learningJourneyReportOrderBy=44]="learningJourneyReportOrderBy",t[t.showAssessmentEyfsCoel=45]="showAssessmentEyfsCoel",t[t.showAssessment2YearCoel=46]="showAssessment2YearCoel",t[t.enableArticleApproval=47]="enableArticleApproval",t[t.updateNewsfeedAutomatically=48]="updateNewsfeedAutomatically",t[t.updateNewsfeedEveryday=49]="updateNewsfeedEveryday",t[t.updateNewsfeedManually=50]="updateNewsfeedManually",t[t.neverUpdateNewsfeed=51]="neverUpdateNewsfeed",t[t.newsfeedAllowCommenting=52]="newsfeedAllowCommenting",t[t.newsfeedReceiveNotification=53]="newsfeedReceiveNotification",t[t.trackTwoYearFunded=54]="trackTwoYearFunded",t[t.trackThreeToFourYearFunded=55]="trackThreeToFourYearFunded",t[t.trackSummerBorn=56]="trackSummerBorn",t[t.summerBornStartDay=57]="summerBornStartDay",t[t.summerBornStartMonth=58]="summerBornStartMonth",t[t.summerBornEndDay=59]="summerBornEndDay",t[t.summerBornEndMonth=60]="summerBornEndMonth",t[t.trackAutumnBorn=61]="trackAutumnBorn",t[t.autumnBornStartDay=62]="autumnBornStartDay",t[t.autumnBornStartMonth=63]="autumnBornStartMonth",t[t.autumnBornEndDay=64]="autumnBornEndDay",t[t.autumnBornEndMonth=65]="autumnBornEndMonth",t[t.trackSpringBorn=66]="trackSpringBorn",t[t.springBornStartDay=67]="springBornStartDay",t[t.springBornStartMonth=68]="springBornStartMonth",t[t.springBornEndDay=69]="springBornEndDay",t[t.springBornEndMonth=70]="springBornEndMonth",t[t.trackReceivesEypp=71]="trackReceivesEypp",t[t.trackLookedAfterChild=72]="trackLookedAfterChild",t[t.trackCarerInArmedForces=73]="trackCarerInArmedForces",t[t.trackGypsyOrRomany=74]="trackGypsyOrRomany",t[t.trackMinority=75]="trackMinority",t[t.trackSpecialEducationNeeded=76]="trackSpecialEducationNeeded",t[t.englishAsAdditionalLanguage=77]="englishAsAdditionalLanguage",t[t.trackGiftedAndTalented=78]="trackGiftedAndTalented",t[t.trackReceivesFreeMeals=79]="trackReceivesFreeMeals",t[t.disableAllPushNotifications=80]="disableAllPushNotifications"}(Is||(Is={})),Is))(),Fs=(()=>(function(t){t[t.welcome=0]="welcome"}(Fs||(Fs={})),Fs))(),ar=(()=>(function(t){t[t.none=0]="none",t[t.zendesk=1]="zendesk",t[t.calendarICS=2]="calendarICS"}(ar||(ar={})),ar))(),x=(()=>(function(t){t[t.none=0]="none",t[t.user=1]="user"}(x||(x={})),x))(),U=(()=>(function(t){t[t.dashboardLayout=1]="dashboardLayout",t[t.diarySettings=2]="diarySettings",t[t.assessmentChildAgebandSelection=3]="assessmentChildAgebandSelection",t[t.assessmentIncludeNextStep=4]="assessmentIncludeNextStep",t[t.assessmentChildIsExempt=5]="assessmentChildIsExempt",t[t.assessmentRememberOptions=6]="assessmentRememberOptions",t[t.assessmentExemptionReason=7]="assessmentExemptionReason",t[t.assessmentCustomExemption=8]="assessmentCustomExemption",t[t.hideEyfsSortingBanner=9]="hideEyfsSortingBanner"}(U||(U={})),U))(),ye=(()=>(function(t){t[t.iPV4=0]="iPV4",t[t.iPV6=1]="iPV6",t[t.cNAME=2]="cNAME",t[t.mX=3]="mX",t[t.tXT=4]="tXT",t[t.sRV=5]="sRV"}(ye||(ye={})),ye))(),Fe=(()=>(function(t){t[t.user=1]="user",t[t.parentaStaffUser=2]="parentaStaffUser",t[t.carer=3]="carer"}(Fe||(Fe={})),Fe))(),ht=(()=>(function(t){t[t.none=0]="none",t[t.tokenIsNotReadable=1]="tokenIsNotReadable",t[t.signingKeyIsNotKnown=2]="signingKeyIsNotKnown",t[t.signatureIsNotValid=3]="signatureIsNotValid",t[t.tokenHasExpired=4]="tokenHasExpired",t[t.issuerDoesNotMatch=5]="issuerDoesNotMatch",t[t.audienceDoesNotMatch=6]="audienceDoesNotMatch",t[t.tokenUseIsNotId=7]="tokenUseIsNotId",t[t.emailClaimIsMissing=8]="emailClaimIsMissing",t[t.validationIsNotConfigured=9]="validationIsNotConfigured",t[t.emailIsNotVerified=10]="emailIsNotVerified",t[t.signingKeysCouldNotBeRead=11]="signingKeysCouldNotBeRead"}(ht||(ht={})),ht))(),qt=Object.freeze({__proto__:null,get UserPermission(){return os},get LogCategory(){return Ys},get ContainerScope(){return Gs},get ActionType(){return ba},get AdvanceBookingReason(){return na},get Areas(){return $a},get AssessmentChildAgeBandSelectionOptions(){return wa},get AssessmentExemptionReason(){return es},get BusinessIntegrationType(){return Es},get CarePlanType(){return Ta},get ChildNameType(){return qa},get ChildrenOrder(){return po},get ColourType(){return Ma},get CrudPermission(){return Sa},get DistributionType(){return ia},get ErrorCodes(){return Ps},get EyfsTextBoxes(){return Ja},get Gender(){return Ka},get HolidayType(){return Qa},get HomeObservationInviteStatus(){return $o},get LearningJourneyReportOrder(){return Os},get LegacyLoginPermission(){return ra},get MailEvents(){return ms},get NotificationType(){return Xa},get NotificationUserType(){return xa},get OfficeType(){return oa},get ParentaStaffUserIntegrationType(){return Vs},get ParentaSystem(){return Da},get ParentaStaffRole(){return ts},get PermissionType(){return fs},get Products(){return gs},get RatioCalculationMethod(){return Ws},get RecurrenceType(){return ml},get Severity(){return fl},get SortDirection(){return ka},get SortOrder(){return sa},get SystemPreference(){return Is},get SystemTour(){return Fs},get UserIntegrationType(){return ar},get UserIntegrationUserType(){return x},get UserPreferenceType(){return U},get ZoneType(){return ye},get AuthApplicationType(){return Fe},get CognitoIdTokenFailure(){return ht}})},7258:(X,N,p)=>{"use strict";p.d(N,{Z:()=>Gi});var b,k,e=9e15,o=1e9,u="0123456789abcdef",d="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",c="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",g={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-e,maxE:e,crypto:!1},A=!0,I="[DecimalError] ",H=I+"Invalid argument: ",z=I+"Precision limit exceeded",O=I+"crypto unavailable",Z="[object Decimal]",q=Math.floor,te=Math.pow,V=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,ne=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,ue=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,ee=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Q=1e7,nt=d.length-1,He=c.length-1,de={toStringTag:Z};function Ce(ae){var Pe,W,Me,Y=ae.length-1,ce="",$e=ae[0];if(Y>0){for(ce+=$e,Pe=1;PeW)throw Error(H+ae)}function ot(ae,Pe,W,Me){var Y,ce,$e,_t;for(ce=ae[0];ce>=10;ce/=10)--Pe;return--Pe<0?(Pe+=7,Y=0):(Y=Math.ceil((Pe+1)/7),Pe%=7),ce=te(10,7-Pe),_t=ae[Y]%ce|0,null==Me?Pe<3?(0==Pe?_t=_t/100|0:1==Pe&&(_t=_t/10|0),$e=W<4&&99999==_t||W>3&&49999==_t||5e4==_t||0==_t):$e=(W<4&&_t+1==ce||W>3&&_t+1==ce/2)&&(ae[Y+1]/ce/100|0)==te(10,Pe-2)-1||(_t==ce/2||0==_t)&&0==(ae[Y+1]/ce/100|0):Pe<4?(0==Pe?_t=_t/1e3|0:1==Pe?_t=_t/100|0:2==Pe&&(_t=_t/10|0),$e=(Me||W<4)&&9999==_t||!Me&&W>3&&4999==_t):$e=((Me||W<4)&&_t+1==ce||!Me&&W>3&&_t+1==ce/2)&&(ae[Y+1]/ce/1e3|0)==te(10,Pe-3)-1,$e}function Ke(ae,Pe,W){for(var Me,ce,Y=[0],$e=0,_t=ae.length;$e<_t;){for(ce=Y.length;ce--;)Y[ce]*=Pe;for(Y[0]+=u.indexOf(ae.charAt($e++)),Me=0;MeW-1&&(void 0===Y[Me+1]&&(Y[Me+1]=0),Y[Me+1]+=Y[Me]/W|0,Y[Me]%=W)}return Y.reverse()}de.absoluteValue=de.abs=function(){var ae=new this.constructor(this);return ae.s<0&&(ae.s=1),Tt(ae)},de.ceil=function(){return Tt(new this.constructor(this),this.e+1,2)},de.clampedTo=de.clamp=function(ae,Pe){var Y=this.constructor;if(ae=new Y(ae),Pe=new Y(Pe),!ae.s||!Pe.s)return new Y(NaN);if(ae.gt(Pe))throw Error(H+Pe);return this.cmp(ae)<0?ae:this.cmp(Pe)>0?Pe:new Y(this)},de.comparedTo=de.cmp=function(ae){var Pe,W,Me,Y,ce=this,$e=ce.d,_t=(ae=new ce.constructor(ae)).d,Ge=ce.s,qe=ae.s;if(!$e||!_t)return Ge&&qe?Ge!==qe?Ge:$e===_t?0:!$e^Ge<0?1:-1:NaN;if(!$e[0]||!_t[0])return $e[0]?Ge:_t[0]?-qe:0;if(Ge!==qe)return Ge;if(ce.e!==ae.e)return ce.e>ae.e^Ge<0?1:-1;for(Pe=0,W=(Me=$e.length)<(Y=_t.length)?Me:Y;Pe_t[Pe]^Ge<0?1:-1;return Me===Y?0:Me>Y^Ge<0?1:-1},de.cosine=de.cos=function(){var ae,Pe,W=this,Me=W.constructor;return W.d?W.d[0]?(Pe=Me.rounding,Me.precision=(ae=Me.precision)+Math.max(W.e,W.sd())+7,Me.rounding=1,W=function xt(ae,Pe){var W,Me,Y;if(Pe.isZero())return Pe;(Me=Pe.d.length)<32?Y=(1/tn(4,W=Math.ceil(Me/3))).toString():(W=16,Y="2.3283064365386962890625e-10"),ae.precision+=W,Pe=Ft(ae,1,Pe.times(Y),new ae(1));for(var ce=W;ce--;){var $e=Pe.times(Pe);Pe=$e.times($e).minus($e).times(8).plus(1)}return ae.precision-=W,Pe}(Me,un(Me,W)),Me.precision=ae,Me.rounding=Pe,Tt(2==k||3==k?W.neg():W,ae,Pe,!0)):new Me(1):new Me(NaN)},de.cubeRoot=de.cbrt=function(){var ae,Pe,W,Me,Y,ce,$e,_t,Ge,qe,R=this,be=R.constructor;if(!R.isFinite()||R.isZero())return new be(R);for(A=!1,(ce=R.s*te(R.s*R,1/3))&&Math.abs(ce)!=1/0?Me=new be(ce.toString()):(W=Ce(R.d),(ce=((ae=R.e)-W.length+1)%3)&&(W+=1==ce||-2==ce?"0":"00"),ce=te(W,1/3),ae=q((ae+1)/3)-(ae%3==(ae<0?-1:2)),(Me=new be(W=ce==1/0?"5e"+ae:(W=ce.toExponential()).slice(0,W.indexOf("e")+1)+ae)).s=R.s),$e=(ae=be.precision)+3;;)if(qe=(Ge=(_t=Me).times(_t).times(_t)).plus(R),Me=Be(qe.plus(R).times(_t),qe.plus(Ge),$e+2,1),Ce(_t.d).slice(0,$e)===(W=Ce(Me.d)).slice(0,$e)){if("9999"!=(W=W.slice($e-3,$e+1))&&(Y||"4999"!=W)){(!+W||!+W.slice(1)&&"5"==W.charAt(0))&&(Tt(Me,ae+1,1),Pe=!Me.times(Me).times(Me).eq(R));break}if(!Y&&(Tt(_t,ae+1,0),_t.times(_t).times(_t).eq(R))){Me=_t;break}$e+=4,Y=1}return A=!0,Tt(Me,ae,be.rounding,Pe)},de.decimalPlaces=de.dp=function(){var ae,Pe=this.d,W=NaN;if(Pe){if(W=7*((ae=Pe.length-1)-q(this.e/7)),ae=Pe[ae])for(;ae%10==0;ae/=10)W--;W<0&&(W=0)}return W},de.dividedBy=de.div=function(ae){return Be(this,new this.constructor(ae))},de.dividedToIntegerBy=de.divToInt=function(ae){var W=this.constructor;return Tt(Be(this,new W(ae),0,1,1),W.precision,W.rounding)},de.equals=de.eq=function(ae){return 0===this.cmp(ae)},de.floor=function(){return Tt(new this.constructor(this),this.e+1,3)},de.greaterThan=de.gt=function(ae){return this.cmp(ae)>0},de.greaterThanOrEqualTo=de.gte=function(ae){var Pe=this.cmp(ae);return 1==Pe||0===Pe},de.hyperbolicCosine=de.cosh=function(){var ae,Pe,W,Me,Y,ce=this,$e=ce.constructor,_t=new $e(1);if(!ce.isFinite())return new $e(ce.s?1/0:NaN);if(ce.isZero())return _t;Me=$e.rounding,$e.precision=(W=$e.precision)+Math.max(ce.e,ce.sd())+4,$e.rounding=1,(Y=ce.d.length)<32?Pe=(1/tn(4,ae=Math.ceil(Y/3))).toString():(ae=16,Pe="2.3283064365386962890625e-10"),ce=Ft($e,1,ce.times(Pe),new $e(1),!0);for(var Ge,qe=ae,R=new $e(8);qe--;)Ge=ce.times(ce),ce=_t.minus(Ge.times(R.minus(Ge.times(R))));return Tt(ce,$e.precision=W,$e.rounding=Me,!0)},de.hyperbolicSine=de.sinh=function(){var ae,Pe,W,Me,Y=this,ce=Y.constructor;if(!Y.isFinite()||Y.isZero())return new ce(Y);if(W=ce.rounding,ce.precision=(Pe=ce.precision)+Math.max(Y.e,Y.sd())+4,ce.rounding=1,(Me=Y.d.length)<3)Y=Ft(ce,2,Y,Y,!0);else{ae=1.4*Math.sqrt(Me),Y=Ft(ce,2,Y=Y.times(1/tn(5,ae=ae>16?16:0|ae)),Y,!0);for(var $e,_t=new ce(5),Ge=new ce(16),qe=new ce(20);ae--;)$e=Y.times(Y),Y=Y.times(_t.plus($e.times(Ge.times($e).plus(qe))))}return ce.precision=Pe,ce.rounding=W,Tt(Y,Pe,W,!0)},de.hyperbolicTangent=de.tanh=function(){var ae,Pe,W=this,Me=W.constructor;return W.isFinite()?W.isZero()?new Me(W):(Pe=Me.rounding,Me.precision=(ae=Me.precision)+7,Me.rounding=1,Be(W.sinh(),W.cosh(),Me.precision=ae,Me.rounding=Pe)):new Me(W.s)},de.inverseCosine=de.acos=function(){var ae,Pe=this,W=Pe.constructor,Me=Pe.abs().cmp(1),Y=W.precision,ce=W.rounding;return-1!==Me?0===Me?Pe.isNeg()?nn(W,Y,ce):new W(0):new W(NaN):Pe.isZero()?nn(W,Y+4,ce).times(.5):(W.precision=Y+6,W.rounding=1,Pe=Pe.asin(),ae=nn(W,Y+4,ce).times(.5),W.precision=Y,W.rounding=ce,ae.minus(Pe))},de.inverseHyperbolicCosine=de.acosh=function(){var ae,Pe,W=this,Me=W.constructor;return W.lte(1)?new Me(W.eq(1)?0:NaN):W.isFinite()?(Pe=Me.rounding,Me.precision=(ae=Me.precision)+Math.max(Math.abs(W.e),W.sd())+4,Me.rounding=1,A=!1,W=W.times(W).minus(1).sqrt().plus(W),A=!0,Me.precision=ae,Me.rounding=Pe,W.ln()):new Me(W)},de.inverseHyperbolicSine=de.asinh=function(){var ae,Pe,W=this,Me=W.constructor;return!W.isFinite()||W.isZero()?new Me(W):(Pe=Me.rounding,Me.precision=(ae=Me.precision)+2*Math.max(Math.abs(W.e),W.sd())+6,Me.rounding=1,A=!1,W=W.times(W).plus(1).sqrt().plus(W),A=!0,Me.precision=ae,Me.rounding=Pe,W.ln())},de.inverseHyperbolicTangent=de.atanh=function(){var ae,Pe,W,Me,Y=this,ce=Y.constructor;return Y.isFinite()?Y.e>=0?new ce(Y.abs().eq(1)?Y.s/0:Y.isZero()?Y:NaN):(ae=ce.precision,Pe=ce.rounding,Me=Y.sd(),Math.max(Me,ae)<2*-Y.e-1?Tt(new ce(Y),ae,Pe,!0):(ce.precision=W=Me-Y.e,Y=Be(Y.plus(1),new ce(1).minus(Y),W+ae,1),ce.precision=ae+4,ce.rounding=1,Y=Y.ln(),ce.precision=ae,ce.rounding=Pe,Y.times(.5))):new ce(NaN)},de.inverseSine=de.asin=function(){var ae,Pe,W,Me,Y=this,ce=Y.constructor;return Y.isZero()?new ce(Y):(Pe=Y.abs().cmp(1),W=ce.precision,Me=ce.rounding,-1!==Pe?0===Pe?((ae=nn(ce,W+4,Me).times(.5)).s=Y.s,ae):new ce(NaN):(ce.precision=W+6,ce.rounding=1,Y=Y.div(new ce(1).minus(Y.times(Y)).sqrt().plus(1)).atan(),ce.precision=W,ce.rounding=Me,Y.times(2)))},de.inverseTangent=de.atan=function(){var ae,Pe,W,Me,Y,ce,$e,_t,Ge,qe=this,R=qe.constructor,be=R.precision,Ye=R.rounding;if(qe.isFinite()){if(qe.isZero())return new R(qe);if(qe.abs().eq(1)&&be+4<=He)return($e=nn(R,be+4,Ye).times(.25)).s=qe.s,$e}else{if(!qe.s)return new R(NaN);if(be+4<=He)return($e=nn(R,be+4,Ye).times(.5)).s=qe.s,$e}for(R.precision=_t=be+10,R.rounding=1,ae=W=Math.min(28,_t/7+2|0);ae;--ae)qe=qe.div(qe.times(qe).plus(1).sqrt().plus(1));for(A=!1,Pe=Math.ceil(_t/7),Me=1,Ge=qe.times(qe),$e=new R(qe),Y=qe;-1!==ae;)if(Y=Y.times(Ge),ce=$e.minus(Y.div(Me+=2)),Y=Y.times(Ge),void 0!==($e=ce.plus(Y.div(Me+=2))).d[Pe])for(ae=Pe;$e.d[ae]===ce.d[ae]&&ae--;);return W&&($e=$e.times(2<this.d.length-2},de.isNaN=function(){return!this.s},de.isNegative=de.isNeg=function(){return this.s<0},de.isPositive=de.isPos=function(){return this.s>0},de.isZero=function(){return!!this.d&&0===this.d[0]},de.lessThan=de.lt=function(ae){return this.cmp(ae)<0},de.lessThanOrEqualTo=de.lte=function(ae){return this.cmp(ae)<1},de.logarithm=de.log=function(ae){var Pe,W,Me,Y,ce,$e,_t,Ge,qe=this,R=qe.constructor,be=R.precision,Ye=R.rounding;if(null==ae)ae=new R(10),Pe=!0;else{if(W=(ae=new R(ae)).d,ae.s<0||!W||!W[0]||ae.eq(1))return new R(NaN);Pe=ae.eq(10)}if(W=qe.d,qe.s<0||!W||!W[0]||qe.eq(1))return new R(W&&!W[0]?-1/0:1!=qe.s?NaN:W?0:1/0);if(Pe)if(W.length>1)ce=!0;else{for(Y=W[0];Y%10==0;)Y/=10;ce=1!==Y}if(A=!1,$e=dt(qe,_t=be+5),Me=Pe?Xt(R,_t+10):dt(ae,_t),ot((Ge=Be($e,Me,_t,1)).d,Y=be,Ye))do{if($e=dt(qe,_t+=10),Me=Pe?Xt(R,_t+10):dt(ae,_t),Ge=Be($e,Me,_t,1),!ce){+Ce(Ge.d).slice(Y+1,Y+15)+1==1e14&&(Ge=Tt(Ge,be+1,0));break}}while(ot(Ge.d,Y+=10,Ye));return A=!0,Tt(Ge,be,Ye)},de.minus=de.sub=function(ae){var Pe,W,Me,Y,ce,$e,_t,Ge,qe,R,be,Ye,Ct=this,_n=Ct.constructor;if(ae=new _n(ae),!Ct.d||!ae.d)return Ct.s&&ae.s?Ct.d?ae.s=-ae.s:ae=new _n(ae.d||Ct.s!==ae.s?Ct:NaN):ae=new _n(NaN),ae;if(Ct.s!=ae.s)return ae.s=-ae.s,Ct.plus(ae);if(Ye=ae.d,_t=_n.precision,Ge=_n.rounding,!(qe=Ct.d)[0]||!Ye[0]){if(Ye[0])ae.s=-ae.s;else{if(!qe[0])return new _n(3===Ge?-0:0);ae=new _n(Ct)}return A?Tt(ae,_t,Ge):ae}if(W=q(ae.e/7),R=q(Ct.e/7),qe=qe.slice(),ce=R-W){for((be=ce<0)?(Pe=qe,ce=-ce,$e=Ye.length):(Pe=Ye,W=R,$e=qe.length),ce>(Me=Math.max(Math.ceil(_t/7),$e)+2)&&(ce=Me,Pe.length=1),Pe.reverse(),Me=ce;Me--;)Pe.push(0);Pe.reverse()}else{for((be=(Me=qe.length)<($e=Ye.length))&&($e=Me),Me=0;Me<$e;Me++)if(qe[Me]!=Ye[Me]){be=qe[Me]0;--Me)qe[$e++]=0;for(Me=Ye.length;Me>ce;){if(qe[--Me]($e=(ce=Math.ceil(_t/7))>$e?ce+1:$e+1)&&(Y=$e,W.length=1),W.reverse();Y--;)W.push(0);W.reverse()}for(($e=qe.length)-(Y=R.length)<0&&(Y=$e,W=R,R=qe,qe=W),Pe=0;Y;)Pe=(qe[--Y]=qe[Y]+R[Y]+Pe)/Q|0,qe[Y]%=Q;for(Pe&&(qe.unshift(Pe),++Me),$e=qe.length;0==qe[--$e];)qe.pop();return ae.d=qe,ae.e=Sn(qe,Me),A?Tt(ae,_t,Ge):ae},de.precision=de.sd=function(ae){var Pe,W=this;if(void 0!==ae&&ae!==!!ae&&1!==ae&&0!==ae)throw Error(H+ae);return W.d?(Pe=mn(W.d),ae&&W.e+1>Pe&&(Pe=W.e+1)):Pe=NaN,Pe},de.round=function(){var Pe=this.constructor;return Tt(new Pe(this),this.e+1,Pe.rounding)},de.sine=de.sin=function(){var ae,Pe,W=this,Me=W.constructor;return W.isFinite()?W.isZero()?new Me(W):(Pe=Me.rounding,Me.precision=(ae=Me.precision)+Math.max(W.e,W.sd())+7,Me.rounding=1,W=function pt(ae,Pe){var W,Me=Pe.d.length;if(Me<3)return Pe.isZero()?Pe:Ft(ae,2,Pe,Pe);W=1.4*Math.sqrt(Me),Pe=Ft(ae,2,Pe=Pe.times(1/tn(5,W=W>16?16:0|W)),Pe);for(var Y,ce=new ae(5),$e=new ae(16),_t=new ae(20);W--;)Y=Pe.times(Pe),Pe=Pe.times(ce.plus(Y.times($e.times(Y).minus(_t))));return Pe}(Me,un(Me,W)),Me.precision=ae,Me.rounding=Pe,Tt(k>2?W.neg():W,ae,Pe,!0)):new Me(NaN)},de.squareRoot=de.sqrt=function(){var ae,Pe,W,Me,Y,ce,$e=this,_t=$e.d,Ge=$e.e,qe=$e.s,R=$e.constructor;if(1!==qe||!_t||!_t[0])return new R(!qe||qe<0&&(!_t||_t[0])?NaN:_t?$e:1/0);for(A=!1,0==(qe=Math.sqrt(+$e))||qe==1/0?(((Pe=Ce(_t)).length+Ge)%2==0&&(Pe+="0"),qe=Math.sqrt(Pe),Ge=q((Ge+1)/2)-(Ge<0||Ge%2),Me=new R(Pe=qe==1/0?"5e"+Ge:(Pe=qe.toExponential()).slice(0,Pe.indexOf("e")+1)+Ge)):Me=new R(qe.toString()),W=(Ge=R.precision)+3;;)if(Me=(ce=Me).plus(Be($e,ce,W+2,1)).times(.5),Ce(ce.d).slice(0,W)===(Pe=Ce(Me.d)).slice(0,W)){if("9999"!=(Pe=Pe.slice(W-3,W+1))&&(Y||"4999"!=Pe)){(!+Pe||!+Pe.slice(1)&&"5"==Pe.charAt(0))&&(Tt(Me,Ge+1,1),ae=!Me.times(Me).eq($e));break}if(!Y&&(Tt(ce,Ge+1,0),ce.times(ce).eq($e))){Me=ce;break}W+=4,Y=1}return A=!0,Tt(Me,Ge,R.rounding,ae)},de.tangent=de.tan=function(){var ae,Pe,W=this,Me=W.constructor;return W.isFinite()?W.isZero()?new Me(W):(Pe=Me.rounding,Me.precision=(ae=Me.precision)+10,Me.rounding=1,(W=W.sin()).s=1,W=Be(W,new Me(1).minus(W.times(W)).sqrt(),ae+10,0),Me.precision=ae,Me.rounding=Pe,Tt(2==k||4==k?W.neg():W,ae,Pe,!0)):new Me(NaN)},de.times=de.mul=function(ae){var Pe,W,Me,Y,ce,$e,_t,Ge,qe,R=this,be=R.constructor,Ye=R.d,Ct=(ae=new be(ae)).d;if(ae.s*=R.s,!(Ye&&Ye[0]&&Ct&&Ct[0]))return new be(!ae.s||Ye&&!Ye[0]&&!Ct||Ct&&!Ct[0]&&!Ye?NaN:Ye&&Ct?0*ae.s:ae.s/0);for(W=q(R.e/7)+q(ae.e/7),(Ge=Ye.length)<(qe=Ct.length)&&(ce=Ye,Ye=Ct,Ct=ce,$e=Ge,Ge=qe,qe=$e),ce=[],Me=$e=Ge+qe;Me--;)ce.push(0);for(Me=qe;--Me>=0;){for(Pe=0,Y=Ge+Me;Y>Me;)_t=ce[Y]+Ct[Me]*Ye[Y-Me-1]+Pe,ce[Y--]=_t%Q|0,Pe=_t/Q|0;ce[Y]=(ce[Y]+Pe)%Q|0}for(;!ce[--$e];)ce.pop();return Pe?++W:ce.shift(),ae.d=ce,ae.e=Sn(ce,W),A?Tt(ae,be.precision,be.rounding):ae},de.toBinary=function(ae,Pe){return Wn(this,2,ae,Pe)},de.toDecimalPlaces=de.toDP=function(ae,Pe){var W=this,Me=W.constructor;return W=new Me(W),void 0===ae?W:(Ze(ae,0,o),void 0===Pe?Pe=Me.rounding:Ze(Pe,0,8),Tt(W,ae+W.e+1,Pe))},de.toExponential=function(ae,Pe){var W,Me=this,Y=Me.constructor;return void 0===ae?W=Zt(Me,!0):(Ze(ae,0,o),void 0===Pe?Pe=Y.rounding:Ze(Pe,0,8),W=Zt(Me=Tt(new Y(Me),ae+1,Pe),!0,ae+1)),Me.isNeg()&&!Me.isZero()?"-"+W:W},de.toFixed=function(ae,Pe){var W,Me,Y=this,ce=Y.constructor;return void 0===ae?W=Zt(Y):(Ze(ae,0,o),void 0===Pe?Pe=ce.rounding:Ze(Pe,0,8),W=Zt(Me=Tt(new ce(Y),ae+Y.e+1,Pe),!1,ae+Me.e+1)),Y.isNeg()&&!Y.isZero()?"-"+W:W},de.toFraction=function(ae){var Pe,W,Me,Y,ce,$e,_t,Ge,qe,R,be,Ye,Ct=this,_n=Ct.d,wn=Ct.constructor;if(!_n)return new wn(Ct);if(qe=W=new wn(1),Me=Ge=new wn(0),ce=(Pe=new wn(Me)).e=mn(_n)-Ct.e-1,Pe.d[0]=te(10,($e=ce%7)<0?7+$e:$e),null==ae)ae=ce>0?Pe:qe;else{if(!(_t=new wn(ae)).isInt()||_t.lt(qe))throw Error(H+_t);ae=_t.gt(Pe)?ce>0?Pe:qe:_t}for(A=!1,_t=new wn(Ce(_n)),R=wn.precision,wn.precision=ce=7*_n.length*2;be=Be(_t,Pe,0,1,1),1!=(Y=W.plus(be.times(Me))).cmp(ae);)W=Me,Me=Y,qe=Ge.plus(be.times(Y=qe)),Ge=Y,Pe=_t.minus(be.times(Y=Pe)),_t=Y;return Y=Be(ae.minus(W),Me,0,1,1),Ge=Ge.plus(Y.times(qe)),W=W.plus(Y.times(Me)),Ge.s=qe.s=Ct.s,Ye=Be(qe,Me,ce,1).minus(Ct).abs().cmp(Be(Ge,W,ce,1).minus(Ct).abs())<1?[qe,Me]:[Ge,W],wn.precision=R,A=!0,Ye},de.toHexadecimal=de.toHex=function(ae,Pe){return Wn(this,16,ae,Pe)},de.toNearest=function(ae,Pe){var W=this,Me=W.constructor;if(W=new Me(W),null==ae){if(!W.d)return W;ae=new Me(1),Pe=Me.rounding}else{if(ae=new Me(ae),void 0===Pe?Pe=Me.rounding:Ze(Pe,0,8),!W.d)return ae.s?W:ae;if(!ae.d)return ae.s&&(ae.s=W.s),ae}return ae.d[0]?(A=!1,W=Be(W,ae,0,Pe,1).times(ae),A=!0,Tt(W)):(ae.s=W.s,W=ae),W},de.toNumber=function(){return+this},de.toOctal=function(ae,Pe){return Wn(this,8,ae,Pe)},de.toPower=de.pow=function(ae){var Pe,W,Me,Y,ce,$e,_t=this,Ge=_t.constructor,qe=+(ae=new Ge(ae));if(!(_t.d&&ae.d&&_t.d[0]&&ae.d[0]))return new Ge(te(+_t,qe));if((_t=new Ge(_t)).eq(1))return _t;if(Me=Ge.precision,ce=Ge.rounding,ae.eq(1))return Tt(_t,Me,ce);if((Pe=q(ae.e/7))>=ae.d.length-1&&(W=qe<0?-qe:qe)<=9007199254740991)return Y=et(Ge,_t,W,Me),ae.s<0?new Ge(1).div(Y):Tt(Y,Me,ce);if(($e=_t.s)<0){if(PeGe.maxE+1||Pe0?$e/0:0):(A=!1,Ge.rounding=_t.s=1,W=Math.min(12,(Pe+"").length),(Y=bt(ae.times(dt(_t,Me+W)),Me)).d&&ot((Y=Tt(Y,Me+5,1)).d,Me,ce)&&+Ce((Y=Tt(bt(ae.times(dt(_t,(Pe=Me+10)+W)),Pe),Pe+5,1)).d).slice(Me+1,Me+15)+1==1e14&&(Y=Tt(Y,Me+1,0)),Y.s=$e,A=!0,Ge.rounding=ce,Tt(Y,Me,ce))},de.toPrecision=function(ae,Pe){var W,Me=this,Y=Me.constructor;return void 0===ae?W=Zt(Me,Me.e<=Y.toExpNeg||Me.e>=Y.toExpPos):(Ze(ae,1,o),void 0===Pe?Pe=Y.rounding:Ze(Pe,0,8),W=Zt(Me=Tt(new Y(Me),ae,Pe),ae<=Me.e||Me.e<=Y.toExpNeg,ae)),Me.isNeg()&&!Me.isZero()?"-"+W:W},de.toSignificantDigits=de.toSD=function(ae,Pe){var Me=this.constructor;return void 0===ae?(ae=Me.precision,Pe=Me.rounding):(Ze(ae,1,o),void 0===Pe?Pe=Me.rounding:Ze(Pe,0,8)),Tt(new Me(this),ae,Pe)},de.toString=function(){var ae=this,Pe=ae.constructor,W=Zt(ae,ae.e<=Pe.toExpNeg||ae.e>=Pe.toExpPos);return ae.isNeg()&&!ae.isZero()?"-"+W:W},de.truncated=de.trunc=function(){return Tt(new this.constructor(this),this.e+1,1)},de.valueOf=de.toJSON=function(){var ae=this,Pe=ae.constructor,W=Zt(ae,ae.e<=Pe.toExpNeg||ae.e>=Pe.toExpPos);return ae.isNeg()?"-"+W:W};var Be=function(){function ae(Me,Y,ce){var $e,_t=0,Ge=Me.length;for(Me=Me.slice();Ge--;)Me[Ge]=($e=Me[Ge]*Y+_t)%ce|0,_t=$e/ce|0;return _t&&Me.unshift(_t),Me}function Pe(Me,Y,ce,$e){var _t,Ge;if(ce!=$e)Ge=ce>$e?1:-1;else for(_t=Ge=0;_tY[_t]?1:-1;break}return Ge}function W(Me,Y,ce,$e){for(var _t=0;ce--;)Me[ce]-=_t,Me[ce]=(_t=Me[ce]1;)Me.shift()}return function(Me,Y,ce,$e,_t,Ge){var qe,R,be,Ye,Ct,_n,wn,pi,xi,Ri,mi,di,Ki,hr,rr,Ai,Ei,Tr,Pi,qi,Pr=Me.constructor,Dr=Me.s==Y.s?1:-1,Ji=Me.d,fi=Y.d;if(!(Ji&&Ji[0]&&fi&&fi[0]))return new Pr(Me.s&&Y.s&&(Ji?!fi||Ji[0]!=fi[0]:fi)?Ji&&0==Ji[0]||!fi?0*Dr:Dr/0:NaN);for(Ge?(Ct=1,R=Me.e-Y.e):(Ge=Q,R=q(Me.e/(Ct=7))-q(Y.e/Ct)),Pi=fi.length,Ei=Ji.length,Ri=(xi=new Pr(Dr)).d=[],be=0;fi[be]==(Ji[be]||0);be++);if(fi[be]>(Ji[be]||0)&&R--,null==ce?(hr=ce=Pr.precision,$e=Pr.rounding):hr=_t?ce+(Me.e-Y.e)+1:ce,hr<0)Ri.push(1),_n=!0;else{if(hr=hr/Ct+2|0,be=0,1==Pi){for(Ye=0,fi=fi[0],hr++;(be1&&(fi=ae(fi,Ye,Ge),Ji=ae(Ji,Ye,Ge),Pi=fi.length,Ei=Ji.length),Ai=Pi,di=(mi=Ji.slice(0,Pi)).length;di=Ge/2&&++Tr;do{Ye=0,(qe=Pe(fi,mi,Pi,di))<0?(Ki=mi[0],Pi!=di&&(Ki=Ki*Ge+(mi[1]||0)),(Ye=Ki/Tr|0)>1?(Ye>=Ge&&(Ye=Ge-1),1==(qe=Pe(wn=ae(fi,Ye,Ge),mi,pi=wn.length,di=mi.length))&&(Ye--,W(wn,Pi=10;Ye/=10)be++;xi.e=be+R*Ct-1,Tt(xi,_t?ce+xi.e+1:ce,$e,_n)}return xi}}();function Tt(ae,Pe,W,Me){var Y,ce,$e,_t,Ge,qe,R,be,Ye,Ct=ae.constructor;e:if(null!=Pe){if(!(be=ae.d))return ae;for(Y=1,_t=be[0];_t>=10;_t/=10)Y++;if((ce=Pe-Y)<0)ce+=7,Ge=(R=be[Ye=0])/te(10,Y-($e=Pe)-1)%10|0;else if((Ye=Math.ceil((ce+1)/7))>=(_t=be.length)){if(!Me)break e;for(;_t++<=Ye;)be.push(0);R=Ge=0,Y=1,$e=(ce%=7)-7+1}else{for(R=_t=be[Ye],Y=1;_t>=10;_t/=10)Y++;Ge=($e=(ce%=7)-7+Y)<0?0:R/te(10,Y-$e-1)%10|0}if(Me=Me||Pe<0||void 0!==be[Ye+1]||($e<0?R:R%te(10,Y-$e-1)),qe=W<4?(Ge||Me)&&(0==W||W==(ae.s<0?3:2)):Ge>5||5==Ge&&(4==W||Me||6==W&&(ce>0?$e>0?R/te(10,Y-$e):0:be[Ye-1])%10&1||W==(ae.s<0?8:7)),Pe<1||!be[0])return be.length=0,qe?(be[0]=te(10,(7-(Pe-=ae.e+1)%7)%7),ae.e=-Pe||0):be[0]=ae.e=0,ae;if(0==ce?(be.length=Ye,_t=1,Ye--):(be.length=Ye+1,_t=te(10,7-ce),be[Ye]=$e>0?(R/te(10,Y-$e)%te(10,$e)|0)*_t:0),qe)for(;;){if(0==Ye){for(ce=1,$e=be[0];$e>=10;$e/=10)ce++;for($e=be[0]+=_t,_t=1;$e>=10;$e/=10)_t++;ce!=_t&&(ae.e++,be[0]==Q&&(be[0]=1));break}if(be[Ye]+=_t,be[Ye]!=Q)break;be[Ye--]=0,_t=1}for(ce=be.length;0===be[--ce];)be.pop()}return A&&(ae.e>Ct.maxE?(ae.d=null,ae.e=NaN):ae.e0?ce=ce.charAt(0)+"."+ce.slice(1)+Jt(Me):$e>1&&(ce=ce.charAt(0)+"."+ce.slice(1)),ce=ce+(ae.e<0?"e":"e+")+ae.e):Y<0?(ce="0."+Jt(-Y-1)+ce,W&&(Me=W-$e)>0&&(ce+=Jt(Me))):Y>=$e?(ce+=Jt(Y+1-$e),W&&(Me=W-Y-1)>0&&(ce=ce+"."+Jt(Me))):((Me=Y+1)<$e&&(ce=ce.slice(0,Me)+"."+ce.slice(Me)),W&&(Me=W-$e)>0&&(Y+1===$e&&(ce+="."),ce+=Jt(Me))),ce}function Sn(ae,Pe){var W=ae[0];for(Pe*=7;W>=10;W/=10)Pe++;return Pe}function Xt(ae,Pe,W){if(Pe>nt)throw A=!0,W&&(ae.precision=W),Error(z);return Tt(new ae(d),Pe,1,!0)}function nn(ae,Pe,W){if(Pe>He)throw Error(z);return Tt(new ae(c),Pe,W,!0)}function mn(ae){var Pe=ae.length-1,W=7*Pe+1;if(Pe=ae[Pe]){for(;Pe%10==0;Pe/=10)W--;for(Pe=ae[0];Pe>=10;Pe/=10)W++}return W}function Jt(ae){for(var Pe="";ae--;)Pe+="0";return Pe}function et(ae,Pe,W,Me){var Y,ce=new ae(1),$e=Math.ceil(Me/7+4);for(A=!1;;){if(W%2&&Pn((ce=ce.times(Pe)).d,$e)&&(Y=!0),0===(W=q(W/2))){W=ce.d.length-1,Y&&0===ce.d[W]&&++ce.d[W];break}Pn((Pe=Pe.times(Pe)).d,$e)}return A=!0,ce}function Pt(ae){return 1&ae.d[ae.d.length-1]}function Ot(ae,Pe,W){for(var Me,Y=new ae(Pe[0]),ce=0;++ce17)return new Ye(ae.d?ae.d[0]?ae.s<0?0:1/0:1:ae.s?ae.s<0?0:ae:NaN);for(null==Pe?(A=!1,Ge=_n):Ge=Pe,_t=new Ye(.03125);ae.e>-2;)ae=ae.times(_t),be+=5;for(Ge+=Me=Math.log(te(2,be))/Math.LN10*2+5|0,W=ce=$e=new Ye(1),Ye.precision=Ge;;){if(ce=Tt(ce.times(ae),Ge,1),W=W.times(++R),Ce((_t=$e.plus(Be(ce,W,Ge,1))).d).slice(0,Ge)===Ce($e.d).slice(0,Ge)){for(Y=be;Y--;)$e=Tt($e.times($e),Ge,1);if(null!=Pe)return Ye.precision=_n,$e;if(!(qe<3&&ot($e.d,Ge-Me,Ct,qe)))return Tt($e,Ye.precision=_n,Ct,A=!0);Ye.precision=Ge+=10,W=ce=_t=new Ye(1),R=0,qe++}$e=_t}}function dt(ae,Pe){var W,Me,Y,ce,$e,_t,Ge,qe,R,be,Ye,Ct=1,wn=ae,pi=wn.d,xi=wn.constructor,Ri=xi.rounding,mi=xi.precision;if(wn.s<0||!pi||!pi[0]||!wn.e&&1==pi[0]&&1==pi.length)return new xi(pi&&!pi[0]?-1/0:1!=wn.s?NaN:pi?0:wn);if(null==Pe?(A=!1,R=mi):R=Pe,xi.precision=R+=10,Me=(W=Ce(pi)).charAt(0),!(Math.abs(ce=wn.e)<15e14))return qe=Xt(xi,R+2,mi).times(ce+""),wn=dt(new xi(Me+"."+W.slice(1)),R-10).plus(qe),xi.precision=mi,null==Pe?Tt(wn,mi,Ri,A=!0):wn;for(;Me<7&&1!=Me||1==Me&&W.charAt(1)>3;)Me=(W=Ce((wn=wn.times(ae)).d)).charAt(0),Ct++;for(ce=wn.e,Me>1?(wn=new xi("0."+W),ce++):wn=new xi(Me+"."+W.slice(1)),be=wn,Ge=$e=wn=Be(wn.minus(1),wn.plus(1),R,1),Ye=Tt(wn.times(wn),R,1),Y=3;;){if($e=Tt($e.times(Ye),R,1),Ce((qe=Ge.plus(Be($e,new xi(Y),R,1))).d).slice(0,R)===Ce(Ge.d).slice(0,R)){if(Ge=Ge.times(2),0!==ce&&(Ge=Ge.plus(Xt(xi,R+2,mi).times(ce+""))),Ge=Be(Ge,new xi(Ct),R,1),null!=Pe)return xi.precision=mi,Ge;if(!ot(Ge.d,R-10,Ri,_t))return Tt(Ge,xi.precision=mi,Ri,A=!0);xi.precision=R+=10,qe=$e=wn=Be(be.minus(1),be.plus(1),R,1),Ye=Tt(wn.times(wn),R,1),Y=_t=1}Ge=qe,Y+=2}}function ut(ae){return String(ae.s*ae.s/0)}function Je(ae,Pe){var W,Me,Y;for((W=Pe.indexOf("."))>-1&&(Pe=Pe.replace(".","")),(Me=Pe.search(/e/i))>0?(W<0&&(W=Me),W+=+Pe.slice(Me+1),Pe=Pe.substring(0,Me)):W<0&&(W=Pe.length),Me=0;48===Pe.charCodeAt(Me);Me++);for(Y=Pe.length;48===Pe.charCodeAt(Y-1);--Y);if(Pe=Pe.slice(Me,Y)){if(Y-=Me,ae.e=W=W-Me-1,ae.d=[],Me=(W+1)%7,W<0&&(Me+=7),Meae.constructor.maxE?(ae.d=null,ae.e=NaN):ae.e=0&&(R=R.replace(".",""),(Ye=new Ct(1)).e=R.length-$e,Ye.d=Ke(Zt(Ye),10,Y),Ye.e=Ye.d.length),ce=Ge=(be=Ke(R,10,Y)).length;0==be[--Ge];)be.pop();if(be[0]){if($e<0?ce--:((ae=new Ct(ae)).d=be,ae.e=ce,be=(ae=Be(ae,Ye,W,Me,0,Y)).d,ce=ae.e,qe=b),$e=be[W],_t=Y/2,qe=qe||void 0!==be[W+1],qe=Me<4?(void 0!==$e||qe)&&(0===Me||Me===(ae.s<0?3:2)):$e>_t||$e===_t&&(4===Me||qe||6===Me&&1&be[W-1]||Me===(ae.s<0?8:7)),be.length=W,qe)for(;++be[--W]>Y-1;)be[W]=0,W||(++ce,be.unshift(1));for(Ge=be.length;!be[Ge-1];--Ge);for($e=0,R="";$e1)if(16==Pe||8==Pe){for($e=16==Pe?4:3,--Ge;Ge%$e;Ge++)R+="0";for(Ge=(be=Ke(R,Y,Pe)).length;!be[Ge-1];--Ge);for($e=1,R="1.";$eGe)for(ce-=Ge;ce--;)R+="0";else cePe)return ae.length=Pe,!0}function kn(ae){return new this(ae).abs()}function Kt(ae){return new this(ae).acos()}function rt(ae){return new this(ae).acosh()}function G(ae,Pe){return new this(ae).plus(Pe)}function _e(ae){return new this(ae).asin()}function he(ae){return new this(ae).asinh()}function De(ae){return new this(ae).atan()}function Ve(ae){return new this(ae).atanh()}function Mt(ae,Pe){ae=new this(ae),Pe=new this(Pe);var W,Me=this.precision,Y=this.rounding,ce=Me+4;return ae.s&&Pe.s?ae.d||Pe.d?!Pe.d||ae.isZero()?(W=Pe.s<0?nn(this,Me,Y):new this(0)).s=ae.s:!ae.d||Pe.isZero()?(W=nn(this,ce,1).times(.5)).s=ae.s:Pe.s<0?(this.precision=ce,this.rounding=1,W=this.atan(Be(ae,Pe,ce,1)),Pe=nn(this,ce,1),this.precision=Me,this.rounding=Y,W=ae.s<0?W.minus(Pe):W.plus(Pe)):W=this.atan(Be(ae,Pe,ce,1)):(W=nn(this,ce,1).times(Pe.s>0?.25:.75)).s=ae.s:W=new this(NaN),W}function Dt(ae){return new this(ae).cbrt()}function Et(ae){return Tt(ae=new this(ae),ae.e+1,2)}function sn(ae,Pe,W){return new this(ae).clamp(Pe,W)}function Ln(ae){if(!ae||"object"!=typeof ae)throw Error(I+"Object expected");var Pe,W,Me,Y=!0===ae.defaults,ce=["precision",1,o,"rounding",0,8,"toExpNeg",-e,0,"toExpPos",0,e,"maxE",0,e,"minE",-e,0,"modulo",0,9];for(Pe=0;Pe=ce[Pe+1]&&Me<=ce[Pe+2]))throw Error(H+W+": "+Me);this[W]=Me}if(W="crypto",Y&&(this[W]=g[W]),void 0!==(Me=ae[W])){if(!0!==Me&&!1!==Me&&0!==Me&&1!==Me)throw Error(H+W+": "+Me);if(Me){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(O);this[W]=!0}else this[W]=!1}return this}function Nn(ae){return new this(ae).cos()}function In(ae){return new this(ae).cosh()}function Hn(ae,Pe){return new this(ae).div(Pe)}function Jn(ae){return new this(ae).exp()}function Tn(ae){return Tt(ae=new this(ae),ae.e+1,3)}function ri(){var ae,Pe,W=new this(0);for(A=!1,ae=0;ae=429e7?Pe[ce]=crypto.getRandomValues(new Uint32Array(1))[0]:_t[ce++]=Y%1e7;else{if(!crypto.randomBytes)throw Error(O);for(Pe=crypto.randomBytes(Me*=4);ce=214e7?crypto.randomBytes(4).copy(Pe,ce):(_t.push(Y%1e7),ce+=4);ce=Me/4}else for(;ce=10;Y/=10)Me++;Me<7&&(W-=7-Me)}return $e.e=W,$e.d=_t,$e}function Cn(ae){return Tt(ae=new this(ae),ae.e+1,this.rounding)}function ct(ae){return(ae=new this(ae)).d?ae.d[0]?ae.s:0*ae.s:ae.s||NaN}function ve(ae){return new this(ae).sin()}function Re(ae){return new this(ae).sinh()}function it(ae){return new this(ae).sqrt()}function Lt(ae,Pe){return new this(ae).sub(Pe)}function an(){var ae=0,Pe=arguments,W=new this(Pe[ae]);for(A=!1;W.s&&++aeY.maxE?(qe.e=NaN,qe.d=null):ce.e=10;_t/=10)$e++;return void(A?$e>Y.maxE?(qe.e=NaN,qe.d=null):$e-1){if(Pe=Pe.replace(/(\d)_(?=\d)/g,"$1"),ee.test(Pe))return Je(ae,Pe)}else if("Infinity"===Pe||"NaN"===Pe)return+Pe||(ae.s=NaN),ae.e=NaN,ae.d=null,ae;if(ne.test(Pe))W=16,Pe=Pe.toLowerCase();else if(V.test(Pe))W=2;else{if(!ue.test(Pe))throw Error(H+Pe);W=8}for((ce=Pe.search(/p/i))>0?(Ge=+Pe.slice(ce+1),Pe=Pe.substring(2,ce)):Pe=Pe.slice(2),ce=Pe.indexOf("."),Me=ae.constructor,($e=ce>=0)&&(ce=(_t=(Pe=Pe.replace(".","")).length)-ce,Y=et(Me,new Me(W),ce,2*ce)),ce=R=(qe=Ke(Pe,W,Q)).length-1;0===qe[ce];--ce)qe.pop();return ce<0?new Me(0*ae.s):(ae.e=Sn(qe,R),ae.d=qe,A=!1,$e&&(ae=Be(ae,Y,4*_t)),Ge&&(ae=ae.times(Math.abs(Ge)<54?te(2,Ge):Li.pow(2,Ge))),A=!0,ae)}(qe,ce)}if(Y.prototype=de,Y.ROUND_UP=0,Y.ROUND_DOWN=1,Y.ROUND_CEIL=2,Y.ROUND_FLOOR=3,Y.ROUND_HALF_UP=4,Y.ROUND_HALF_DOWN=5,Y.ROUND_HALF_EVEN=6,Y.ROUND_HALF_CEIL=7,Y.ROUND_HALF_FLOOR=8,Y.EUCLID=9,Y.config=Y.set=Ln,Y.clone=Gn,Y.isDecimal=zn,Y.abs=kn,Y.acos=Kt,Y.acosh=rt,Y.add=G,Y.asin=_e,Y.asinh=he,Y.atan=De,Y.atanh=Ve,Y.atan2=Mt,Y.cbrt=Dt,Y.ceil=Et,Y.clamp=sn,Y.cos=Nn,Y.cosh=In,Y.div=Hn,Y.exp=Jn,Y.floor=Tn,Y.hypot=ri,Y.ln=$t,Y.log=xe,Y.log10=j,Y.log2=Se,Y.max=Ie,Y.min=vt,Y.mod=Vt,Y.mul=Fn,Y.pow=ti,Y.random=Qt,Y.round=Cn,Y.sign=ct,Y.sin=ve,Y.sinh=Re,Y.sqrt=it,Y.sub=Lt,Y.sum=an,Y.tan=Un,Y.tanh=Yn,Y.trunc=Oi,void 0===ae&&(ae={}),ae&&!0!==ae.defaults)for(Me=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],Pe=0;Pe{"use strict";p.d(N,{N:()=>u});var e=p(5e3),o=p(9808);let u=(()=>{class d{constructor(g,b){this.document=g,this.platformId=b,this.documentIsAccessible=(0,o.NF)(this.platformId)}static getCookieRegExp(g){const b=g.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+b+"|;\\s*"+b+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(g){try{return decodeURIComponent(g)}catch(b){return g}}check(g){return!!this.documentIsAccessible&&(g=encodeURIComponent(g),d.getCookieRegExp(g).test(this.document.cookie))}get(g){if(this.documentIsAccessible&&this.check(g)){g=encodeURIComponent(g);const k=d.getCookieRegExp(g).exec(this.document.cookie);return k[1]?d.safeDecodeURIComponent(k[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const g={},b=this.document;return b.cookie&&""!==b.cookie&&b.cookie.split(";").forEach(k=>{const[A,I]=k.split("=");g[d.safeDecodeURIComponent(A.replace(/^ /,""))]=d.safeDecodeURIComponent(I)}),g}set(g,b,k,A,I,H,z){if(!this.documentIsAccessible)return;if("number"==typeof k||k instanceof Date||A||I||H||z)return void this.set(g,b,{expires:k,path:A,domain:I,secure:H,sameSite:z||"Lax"});let O=encodeURIComponent(g)+"="+encodeURIComponent(b)+";";const Z=k||{};Z.expires&&(O+="number"==typeof Z.expires?"expires="+new Date((new Date).getTime()+1e3*Z.expires*60*60*24).toUTCString()+";":"expires="+Z.expires.toUTCString()+";"),Z.path&&(O+="path="+Z.path+";"),Z.domain&&(O+="domain="+Z.domain+";"),!1===Z.secure&&"None"===Z.sameSite&&(Z.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${g} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),Z.secure&&(O+="secure;"),Z.sameSite||(Z.sameSite="Lax"),O+="sameSite="+Z.sameSite+";",this.document.cookie=O}delete(g,b,k,A,I="Lax"){if(!this.documentIsAccessible)return;const H=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(g,"",{expires:H,path:b,domain:k,secure:A,sameSite:I})}deleteAll(g,b,k,A="Lax"){if(!this.documentIsAccessible)return;const I=this.getAll();for(const H in I)I.hasOwnProperty(H)&&this.delete(H,g,b,k,A)}}return d.\u0275fac=function(g){return new(g||d)(e.LFG(o.K0),e.LFG(e.Lbi))},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})()},5441:(X,N,p)=>{"use strict";p.d(N,{Mc:()=>$t,p9:()=>ri,ym:()=>pt});var e=p(5e3),o=p(9808),u=p(4707),d=p(9646),c=p(8306),g=p(7579),b=p(4521),k=p(8746),A=p(655);const I=function(xe,Se,j){return{"background-color":xe,color:Se,"border-color":j}},H=["*"],z=["stepHolder"],O=["stepContainer"];function Z(xe,Se){if(1&xe&&e._UZ(0,"joyride-arrow",17),2&xe){const j=e.oxw();e.Udp("top",j.arrowTopPosition,"px")("left",j.arrowLeftPosition,"px"),e.Q6J("position",j.arrowPosition)}}function q(xe,Se){1&xe&&e.GkF(0)}function te(xe,Se){if(1&xe&&(e._uU(0),e.ALo(1,"async")),2&xe){const j=e.oxw();e.hij(" ",e.lcZ(1,1,j.text)," ")}}function V(xe,Se){1&xe&&e.GkF(0)}function ne(xe,Se){if(1&xe&&(e.TgZ(0,"div",20),e._uU(1),e.qZA()),2&xe){const j=e.oxw(2);e.xp6(1),e.Oqu(j.counter)}}function ue(xe,Se){if(1&xe&&(e.TgZ(0,"div",18),e.YNc(1,V,1,0,"ng-container",9),e.YNc(2,ne,2,1,"ng-template",null,19,e.W1O),e.qZA()),2&xe){const j=e.MAs(3),Ie=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",Ie.customCounter?Ie.customCounter:j)("ngTemplateOutletContext",Ie.counterData)}}function ee(xe,Se){1&xe&&e.GkF(0)}function Q(xe,Se){if(1&xe&&(e.TgZ(0,"joyride-button",24),e._uU(1),e.ALo(2,"async"),e.qZA()),2&xe){const j=e.oxw(2);e.Q6J("color",j.themeColor),e.xp6(1),e.Oqu(e.lcZ(2,2,j.prevText))}}function se(xe,Se){if(1&xe){const j=e.EpF();e.TgZ(0,"div",21),e.NdJ("click",function(){return e.CHM(j),e.oxw().prev()}),e.YNc(1,ee,1,0,"ng-container",22),e.YNc(2,Q,3,4,"ng-template",null,23,e.W1O),e.qZA()}if(2&xe){const j=e.MAs(3),Ie=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",Ie.customPrevButton?Ie.customPrevButton:j)}}function je(xe,Se){1&xe&&e.GkF(0)}function nt(xe,Se){if(1&xe&&(e.TgZ(0,"joyride-button",27),e._uU(1),e.ALo(2,"async"),e.qZA()),2&xe){const j=e.oxw(2);e.Q6J("color",j.themeColor),e.xp6(1),e.Oqu(e.lcZ(2,2,j.nextText))}}function He(xe,Se){if(1&xe){const j=e.EpF();e.TgZ(0,"div",25),e.NdJ("click",function(){return e.CHM(j),e.oxw().next()}),e.YNc(1,je,1,0,"ng-container",22),e.YNc(2,nt,3,4,"ng-template",null,26,e.W1O),e.qZA()}if(2&xe){const j=e.MAs(3),Ie=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",Ie.customNextButton?Ie.customNextButton:j)}}function de(xe,Se){1&xe&&e.GkF(0)}function Ce(xe,Se){if(1&xe&&(e.TgZ(0,"joyride-button",30),e._uU(1),e.ALo(2,"async"),e.qZA()),2&xe){const j=e.oxw(2);e.Q6J("color",j.themeColor),e.xp6(1),e.Oqu(e.lcZ(2,2,j.doneText))}}function Ze(xe,Se){if(1&xe){const j=e.EpF();e.TgZ(0,"div",28),e.NdJ("click",function(){return e.CHM(j),e.oxw().close()}),e.YNc(1,de,1,0,"ng-container",22),e.YNc(2,Ce,3,4,"ng-template",null,29,e.W1O),e.qZA()}if(2&xe){const j=e.MAs(3),Ie=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",Ie.customDoneButton?Ie.customDoneButton:j)}}class ot{constructor(){this.title=new u.t,this.text=new u.t}}class Ke extends Error{constructor(Se){super(Se),Object.setPrototypeOf(this,Ke.prototype)}}class xt extends Error{constructor(Se){super(Se),Object.setPrototypeOf(this,xt.prototype)}}class Be extends Error{constructor(Se){super(Se),Object.setPrototypeOf(this,Be.prototype)}}const nn={prev:(0,d.of)("prev"),next:(0,d.of)("next"),done:(0,d.of)("done"),close:(0,d.of)(null)};let mn=(()=>{class xe{constructor(){this.themeColor="#3b5560",this.stepDefaultPosition="bottom",this.logsEnabled=!1,this.showCounter=!0,this.showPrevButton=!0,this.stepsOrder=[]}setOptions(j){this.stepsOrder=j.steps,this.stepDefaultPosition=j.stepDefaultPosition?j.stepDefaultPosition:this.stepDefaultPosition,this.logsEnabled=void 0!==j.logsEnabled?j.logsEnabled:this.logsEnabled,this.showCounter=void 0!==j.showCounter?j.showCounter:this.showCounter,this.showPrevButton=void 0!==j.showPrevButton?j.showPrevButton:this.showPrevButton,this.themeColor=j.themeColor?j.themeColor:this.themeColor,this.firstStep=j.startWith,this.waitingTime=void 0!==j.waitingTime?j.waitingTime:1,this.setCustomText(void 0!==j.customTexts?j.customTexts:nn)}getBackdropColor(){return this.hexToRgb(this.themeColor)}getThemeColor(){return this.themeColor}getStepDefaultPosition(){return this.stepDefaultPosition}getStepsOrder(){return this.stepsOrder}getFirstStep(){return this.firstStep}getWaitingTime(){return this.waitingTime}areLogsEnabled(){return this.logsEnabled}isCounterVisible(){return this.showCounter}isPrevButtonVisible(){return this.showPrevButton}getCustomTexts(){return this.customTexts}setCustomText(j){let Ie,vt,Vt,Fn;Ie=j.prev?j.prev:nn.prev,vt=j.next?j.next:nn.next,Vt=j.done?j.done:nn.done,Fn=j.close?j.close:nn.close,this.customTexts={prev:this.toObservable(Ie),next:this.toObservable(vt),done:this.toObservable(Vt),close:this.toObservable(Fn)}}toObservable(j){return j instanceof c.y?j:(0,d.of)(j)}hexToRgb(j){j=j.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(Vt,Fn,ti,Qt)=>Fn+Fn+ti+ti+Qt+Qt);const vt=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(j);return vt?`${parseInt(vt[1],16)}, ${parseInt(vt[2],16)}, ${parseInt(vt[3],16)}`:null}}return xe.\u0275fac=function(j){return new(j||xe)},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac}),xe})();const Jt="ngx-joyride:::";let et=(()=>{class xe{constructor(j){this.optionService=j}debug(j,Ie=""){this.optionService.areLogsEnabled()&&console.debug(Jt+j,Ie)}info(j,Ie=""){this.optionService.areLogsEnabled()&&console.info(Jt+j,Ie)}warn(j,Ie=""){this.optionService.areLogsEnabled()&&console.warn(Jt+j,Ie)}error(j,Ie=""){this.optionService.areLogsEnabled()&&console.error(Jt+j,Ie)}}return xe.\u0275fac=function(j){return new(j||xe)(e.LFG(mn))},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac}),xe})();var bt=(()=>{return(xe=bt||(bt={})).NEXT="NEXT",xe.PREV="PREV",bt;var xe})();let dt=(()=>{class xe{constructor(j,Ie){this.stepOptions=j,this.logger=Ie,this.tempSteps=[],this.currentStepIndex=-2,this.stepHasBeenModified=new g.x}getFirstStepIndex(){const j=this.stepOptions.getFirstStep();let vt=this.stepOptions.getStepsOrder().indexOf(j);return vt<0&&(vt=0,void 0!==j&&this.logger.warn(`The step ${j} does not exist. Check in your step list if it's present.`)),vt}init(){this.logger.info("Initializing the steps array."),this.steps=[],this.currentStepIndex=this.getFirstStepIndex()-1,this.stepOptions.getStepsOrder().forEach(Ie=>this.steps.push({id:Ie,step:null}))}addStep(j){if(this.tempSteps.filter(vt=>vt.name===j.name).length>0){let vt=this.tempSteps.findIndex(Vt=>Vt.name===j.name);this.tempSteps[vt]=j}else this.logger.info(`Adding step ${j.name} to the steps list.`),this.tempSteps.push(j)}get(j){if(j===bt.NEXT?this.currentStepIndex++:this.currentStepIndex--,this.currentStepIndex<0||this.currentStepIndex>=this.steps.length)throw new Be("The first or last step of the tour cannot be found!");const Ie=this.getStepName(this.steps[this.currentStepIndex].id),vt=this.tempSteps.findIndex(Fn=>Fn.name===Ie);let Vt=this.tempSteps[vt];return this.steps[this.currentStepIndex].step=Vt,null==Vt&&this.logger.warn(`Step ${this.steps[this.currentStepIndex].id} not found in the DOM. Check if it's hidden by *ngIf directive.`),Vt}getStepRoute(j){let Ie;return Ie=j===bt.NEXT?this.steps[this.currentStepIndex+1]?this.steps[this.currentStepIndex+1].id:null:this.steps[this.currentStepIndex-1]?this.steps[this.currentStepIndex-1].id:null,Ie&&Ie.includes("@")?Ie.split("@")[1]:""}updatePosition(j,Ie){let vt=this.getStepIndex(j);this.steps[vt].step?(this.steps[vt].step.position=Ie,this.stepHasBeenModified.next(this.steps[vt].step)):this.logger.warn(`Trying to modify the position of ${j} to ${Ie}. Step not found!Is this step located in a different route?`)}getStepNumber(j){return this.getStepIndex(j)+1}getStepsCount(){return this.stepOptions.getStepsOrder().length}getStepIndex(j){const Ie=this.steps.map(vt=>vt.id.includes("@")?vt.id.split("@")[0]:vt.id).findIndex(vt=>j===vt);if(-1===Ie)throw new Ke(`The step with name: ${j} does not exist in the step list.`);return Ie}getStepName(j){return j&&j.includes("@")?j.split("@")[0]:j}}return xe.\u0275fac=function(j){return new(j||xe)(e.LFG(mn),e.LFG(et))},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac}),xe})(),ut=(()=>{class xe{constructor(j){this.platformId=j,this.fakeDocument={body:{},documentElement:{}},this.fakeWindow={document:this.fakeDocument,navigator:{}}}getNativeWindow(){return(0,o.NF)(this.platformId)?window:this.fakeWindow}getNativeDocument(){return(0,o.NF)(this.platformId)?document:this.fakeDocument}}return xe.\u0275fac=function(j){return new(j||xe)(e.LFG(e.Lbi))},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac}),xe})(),Je=(()=>{class xe{setPrevButton(j){this._prevButton=j}getPrevButton(){return this._prevButton}setNextButton(j){this._nextButton=j}getNextButton(){return this._nextButton}setDoneButton(j){this._doneButton=j}getDoneButton(){return this._doneButton}setCounter(j){this._counter=j}getCounter(){return this._counter}}return xe.\u0275fac=function(j){return new(j||xe)},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac}),xe})();const kt="NO_POSITION";let pt=(()=>{class xe{constructor(j,Ie,vt,Vt,Fn,ti){this.joyrideStepsContainer=j,this.viewContainerRef=Ie,this.domService=vt,this.router=Vt,this.templateService=Fn,this.platformId=ti,this.stepPosition=kt,this.prev=new e.vpe,this.next=new e.vpe,this.done=new e.vpe,this.subscriptions=[],this.windowRef=this.domService.getNativeWindow(),this.step=new ot}ngAfterViewInit(){if((0,o.NF)(this.platformId)){if(this.prevTemplate&&this.templateService.setPrevButton(this.prevTemplate),this.nextTemplate&&this.templateService.setNextButton(this.nextTemplate),this.doneTemplate&&this.templateService.setDoneButton(this.doneTemplate),this.counterTemplate&&this.templateService.setCounter(this.counterTemplate),this.step.position=this.stepPosition,this.step.targetViewContainer=this.viewContainerRef,this.setAsyncFields(this.step),this.step.stepContent=this.stepContent,this.step.stepContentParams=this.stepContentParams,this.step.nextClicked=this.next,this.step.prevCliked=this.prev,this.step.tourDone=this.done,!this.name)throw new Ke("All the steps should have the 'joyrideStep' property set with a custom name.");this.step.name=this.name,this.step.route="/"===this.router.url.substr(0,1)?this.router.url.substr(1):this.router.url,this.step.transformCssStyle=this.windowRef.getComputedStyle(this.viewContainerRef.element.nativeElement).transform,this.step.isElementOrAncestorFixed=this.isElementFixed(this.viewContainerRef.element)||this.isAncestorsFixed(this.viewContainerRef.element.nativeElement.parentElement),this.joyrideStepsContainer.addStep(this.step)}}ngOnChanges(j){(j.title||j.text)&&this.setAsyncFields(this.step)}isElementFixed(j){return"fixed"===this.windowRef.getComputedStyle(j.nativeElement).position}setAsyncFields(j){this.title instanceof c.y?this.subscriptions.push(this.title.subscribe(Ie=>{j.title.next(Ie)})):j.title.next(this.title),this.text instanceof c.y?this.subscriptions.push(this.text.subscribe(Ie=>{j.text.next(Ie)})):j.text.next(this.text)}isAncestorsFixed(j){if(!j||!j.parentElement)return!1;let Ie="fixed"===this.windowRef.getComputedStyle(j.parentElement).position;return"BODY"===j.nodeName?Ie:!!Ie||this.isAncestorsFixed(j.parentElement)}ngOnDestroy(){this.subscriptions.forEach(j=>{j.unsubscribe()})}}return xe.\u0275fac=function(j){return new(j||xe)(e.Y36(dt),e.Y36(e.s_b),e.Y36(ut),e.Y36(b.F0),e.Y36(Je),e.Y36(e.Lbi))},xe.\u0275dir=e.lG2({type:xe,selectors:[["joyrideStep"],["","joyrideStep",""]],inputs:{name:["joyrideStep","name"],nextStep:"nextStep",title:"title",text:"text",stepPosition:"stepPosition",stepContent:"stepContent",stepContentParams:"stepContentParams",prevTemplate:"prevTemplate",nextTemplate:"nextTemplate",doneTemplate:"doneTemplate",counterTemplate:"counterTemplate"},outputs:{prev:"prev",next:"next",done:"done"},features:[e.TTD]}),xe})();class Ft{}let tn=(()=>{class xe{constructor(j,Ie){if(this.DOMService=j,(0,o.NF)(Ie)){this.setDocumentHeight();var vt=j.getNativeDocument();vt&&!vt.elementsFromPoint&&(vt.elementsFromPoint=this.elementsFromPoint.bind(this))}}getElementFixedTop(j){return j.nativeElement.getBoundingClientRect().top}getElementFixedLeft(j){return j.nativeElement.getBoundingClientRect().left}getElementAbsoluteTop(j){const Ie=this.getScrollOffsets();return j.nativeElement.getBoundingClientRect().top+Ie.y}getElementAbsoluteLeft(j){const Ie=this.getScrollOffsets();return j.nativeElement.getBoundingClientRect().left+Ie.x}setDocumentHeight(){this.documentHeight=this.calculateDocumentHeight()}getDocumentHeight(){return this.documentHeight}isParentScrollable(j){return this.getFirstScrollableParent(j.nativeElement)!==this.DOMService.getNativeDocument().body}isElementBeyondOthers(j,Ie,vt){const Vt=Ie?this.getElementFixedLeft(j):this.getElementAbsoluteLeft(j),Fn=Ie?this.getElementFixedTop(j):this.getElementAbsoluteTop(j),ti=Vt+j.nativeElement.getBoundingClientRect().width-1,Qt=Fn+j.nativeElement.getBoundingClientRect().height-1,Cn=this.DOMService.getNativeDocument().elementsFromPoint(Vt,Fn),ct=this.DOMService.getNativeDocument().elementsFromPoint(ti,Qt);return 0===Cn.length&&0===ct.length?1:this.getFirstElementWithoutKeyword(Cn,vt)!==j.nativeElement||this.getFirstElementWithoutKeyword(ct,vt)!==j.nativeElement?2:3}scrollIntoView(j,Ie){const vt=this.getFirstScrollableParent(j.nativeElement),Vt=Ie?this.getElementFixedTop(j):this.getElementAbsoluteTop(j);vt!==this.DOMService.getNativeDocument().body?vt.scrollTo?vt.scrollTo(0,Vt-150):vt.scrollTop=Vt-150:this.DOMService.getNativeWindow().scrollTo(0,Vt-150)}scrollToTheTop(j){const Ie=this.getFirstScrollableParent(j.nativeElement);Ie!==this.DOMService.getNativeDocument().body?Ie.scrollTo?Ie.scrollTo(0,0):Ie.scrollTop=0:this.DOMService.getNativeWindow().scrollTo(0,0)}scrollToTheBottom(j){const Ie=this.getFirstScrollableParent(j.nativeElement);Ie!==this.DOMService.getNativeDocument().body?Ie.scrollTo?Ie.scrollTo(0,this.DOMService.getNativeDocument().body.scrollHeight):Ie.scrollTop=Ie.scrollHeight-Ie.clientHeight:this.DOMService.getNativeWindow().scrollTo(0,this.DOMService.getNativeDocument().body.scrollHeight)}getFirstScrollableParent(j){const Ie=/(auto|scroll|overlay)/,vt=(ti,Qt)=>this.DOMService.getNativeWindow().getComputedStyle(ti,null).getPropertyValue(Qt),Fn=ti=>ti&&ti!==this.DOMService.getNativeDocument().body?(ti=>Ie.test(vt(ti,"overflow")+vt(ti,"overflow-y")+vt(ti,"overflow-x")))(ti)?ti:Fn(ti.parentNode):this.DOMService.getNativeDocument().body;return Fn(j)}calculateDocumentHeight(){const j=this.DOMService.getNativeDocument();return Math.max(j.body.scrollHeight,j.documentElement.scrollHeight,j.body.offsetHeight,j.documentElement.offsetHeight,j.body.clientHeight,j.documentElement.clientHeight)}getScrollOffsets(){const j=this.DOMService.getNativeWindow(),Ie=this.DOMService.getNativeDocument();return null!=j.pageXOffset?{x:j.pageXOffset,y:j.pageYOffset}:"CSS1Compat"==Ie.compatMode?{x:Ie.documentElement.scrollLeft,y:Ie.documentElement.scrollTop}:{x:Ie.body.scrollLeft,y:Ie.body.scrollTop}}elementsFromPoint(j,Ie){var vt=[],Vt=void 0;do{const Fn=this.DOMService.getNativeDocument().elementFromPoint(j,Ie);Fn&&Vt!==Fn?(vt.push(Vt=Fn),Vt.style.pointerEvents="none"):Vt=!1}while(Vt);return vt.forEach(function(Fn){return Fn.style.pointerEvents="all"}),vt}getFirstElementWithoutKeyword(j,Ie){for(;j[0]&&j[0].classList.toString().includes(Ie);)j.shift();return j[0]}}return xe.\u0275fac=function(j){return new(j||xe)(e.LFG(ut),e.LFG(e.Lbi))},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac}),xe})(),un=(()=>{class xe{constructor(j,Ie,vt){this.documentService=j,this.optionsService=Ie,this.rendererFactory=vt,this.lastXScroll=0,this.lastYScroll=0,this.setRenderer()}setRenderer(){this.renderer=this.rendererFactory.createRenderer(null,null)}draw(j){this.elementRef=j.targetViewContainer,this.targetAbsoluteTop=this.getTargetTotalTop(j),this.targetAbsoluteLeft=this.getTargetTotalLeft(j),this.currentBackdropContainer=this.renderer.createElement("div"),this.renderer.addClass(this.currentBackdropContainer,"backdrop-container"),this.renderer.setStyle(this.currentBackdropContainer,"position","fixed"),this.renderer.setStyle(this.currentBackdropContainer,"top","0px"),this.renderer.setStyle(this.currentBackdropContainer,"left","0px"),this.renderer.setStyle(this.currentBackdropContainer,"width","100%"),this.renderer.setStyle(this.currentBackdropContainer,"height","100%"),this.renderer.setStyle(this.currentBackdropContainer,"z-index","1000"),this.renderer.setAttribute(this.currentBackdropContainer,"id","backdrop-"+j.name),this.backdropContent=this.renderer.createElement("div"),this.renderer.addClass(this.backdropContent,"backdrop-content"),this.renderer.setStyle(this.backdropContent,"position","relative"),this.renderer.setStyle(this.backdropContent,"height","100%"),this.renderer.setStyle(this.backdropContent,"display","flex"),this.renderer.setStyle(this.backdropContent,"flex-direction","column"),this.renderer.appendChild(this.currentBackdropContainer,this.backdropContent),this.backdropTop=this.renderer.createElement("div"),this.renderer.addClass(this.backdropTop,"joyride-backdrop"),this.renderer.addClass(this.backdropTop,"backdrop-top"),this.renderer.setStyle(this.backdropTop,"width","100%"),this.renderer.setStyle(this.backdropTop,"height",this.targetAbsoluteTop-this.lastYScroll+"px"),this.renderer.setStyle(this.backdropTop,"flex-shrink","0"),this.renderer.setStyle(this.backdropTop,"background-color",`rgba(${this.optionsService.getBackdropColor()}, 0.7)`),this.renderer.appendChild(this.backdropContent,this.backdropTop),this.backdropMiddleContainer=this.renderer.createElement("div"),this.renderer.addClass(this.backdropMiddleContainer,"backdrop-middle-container"),this.renderer.setStyle(this.backdropMiddleContainer,"height",this.elementRef.element.nativeElement.offsetHeight+"px"),this.renderer.setStyle(this.backdropMiddleContainer,"width","100%"),this.renderer.setStyle(this.backdropMiddleContainer,"flex-shrink","0"),this.renderer.appendChild(this.backdropContent,this.backdropMiddleContainer),this.backdropMiddleContent=this.renderer.createElement("div"),this.renderer.addClass(this.backdropMiddleContent,"backdrop-middle-content"),this.renderer.setStyle(this.backdropMiddleContent,"display","flex"),this.renderer.setStyle(this.backdropMiddleContent,"width","100%"),this.renderer.setStyle(this.backdropMiddleContent,"height","100%"),this.renderer.appendChild(this.backdropMiddleContainer,this.backdropMiddleContent),this.leftBackdrop=this.renderer.createElement("div"),this.renderer.addClass(this.leftBackdrop,"joyride-backdrop"),this.renderer.addClass(this.leftBackdrop,"backdrop-left"),this.renderer.setStyle(this.leftBackdrop,"flex-shrink","0"),this.renderer.setStyle(this.leftBackdrop,"width",this.targetAbsoluteLeft-this.lastXScroll+"px"),this.renderer.setStyle(this.leftBackdrop,"background-color",`rgba(${this.optionsService.getBackdropColor()}, 0.7)`),this.renderer.appendChild(this.backdropMiddleContent,this.leftBackdrop),this.targetBackdrop=this.renderer.createElement("div"),this.renderer.addClass(this.targetBackdrop,"backdrop-target"),this.renderer.setStyle(this.targetBackdrop,"flex-shrink","0"),this.renderer.setStyle(this.targetBackdrop,"width",this.elementRef.element.nativeElement.offsetWidth+"px"),this.renderer.appendChild(this.backdropMiddleContent,this.targetBackdrop),this.rightBackdrop=this.renderer.createElement("div"),this.renderer.addClass(this.rightBackdrop,"joyride-backdrop"),this.renderer.addClass(this.rightBackdrop,"backdrop-right"),this.renderer.setStyle(this.rightBackdrop,"width","100%"),this.renderer.setStyle(this.rightBackdrop,"background-color",`rgba(${this.optionsService.getBackdropColor()}, 0.7)`),this.renderer.appendChild(this.backdropMiddleContent,this.rightBackdrop),this.backdropBottom=this.renderer.createElement("div"),this.renderer.addClass(this.backdropBottom,"joyride-backdrop"),this.renderer.addClass(this.backdropBottom,"backdrop-bottom"),this.renderer.setStyle(this.backdropBottom,"width","100%"),this.renderer.setStyle(this.backdropBottom,"height","100%"),this.renderer.setStyle(this.backdropBottom,"background-color",`rgba(${this.optionsService.getBackdropColor()}, 0.7)`),this.renderer.appendChild(this.backdropContent,this.backdropBottom),this.removeLastBackdrop(),this.drawCurrentBackdrop(),this.lastBackdropContainer=this.currentBackdropContainer}remove(){this.removeLastBackdrop()}redrawTarget(j){this.targetAbsoluteLeft=this.getTargetTotalLeft(j),this.targetAbsoluteTop=this.getTargetTotalTop(j),this.handleVerticalScroll(j),this.handleHorizontalScroll(j)}getTargetTotalTop(j){let Ie=j.targetViewContainer;return j.isElementOrAncestorFixed?this.documentService.getElementFixedTop(Ie.element):this.documentService.getElementAbsoluteTop(Ie.element)}getTargetTotalLeft(j){let Ie=j.targetViewContainer;return j.isElementOrAncestorFixed?this.documentService.getElementFixedLeft(Ie.element):this.documentService.getElementAbsoluteLeft(Ie.element)}redraw(j,Ie){this.lastYScroll!==Ie.scrollY&&(this.lastYScroll=Ie.scrollY,this.elementRef&&this.handleVerticalScroll(j)),this.lastXScroll!==Ie.scrollX&&(this.lastXScroll=Ie.scrollX,this.elementRef&&this.handleHorizontalScroll(j))}handleHorizontalScroll(j){let Ie=j.isElementOrAncestorFixed?this.targetAbsoluteLeft:this.targetAbsoluteLeft-this.lastXScroll;Ie>=0?(this.renderer.setStyle(this.leftBackdrop,"width",Ie+"px"),this.renderer.setStyle(this.targetBackdrop,"width",this.elementRef.element.nativeElement.offsetWidth+"px")):this.handleTargetPartialWidth(Ie)}handleTargetPartialWidth(j){this.renderer.setStyle(this.leftBackdrop,"width","0px");let Ie=this.elementRef.element.nativeElement.offsetWidth+j;this.renderer.setStyle(this.targetBackdrop,"width",Ie>=0?Ie+"px":"0px")}handleVerticalScroll(j){let Ie=j.isElementOrAncestorFixed?this.targetAbsoluteTop:this.targetAbsoluteTop-this.lastYScroll;Ie>=0?(this.renderer.setStyle(this.backdropTop,"height",Ie+"px"),this.renderer.setStyle(this.backdropMiddleContainer,"height",this.elementRef.element.nativeElement.offsetHeight+"px")):this.handleTargetPartialHeight(Ie)}handleTargetPartialHeight(j){this.renderer.setStyle(this.backdropTop,"height","0px");let Ie=this.elementRef.element.nativeElement.offsetHeight+j;this.renderer.setStyle(this.backdropMiddleContainer,"height",Ie>=0?Ie+"px":"0px")}removeLastBackdrop(){this.lastBackdropContainer&&(this.renderer.removeChild(document.body,this.lastBackdropContainer),this.lastBackdropContainer=void 0)}drawCurrentBackdrop(){this.renderer.appendChild(document.body,this.currentBackdropContainer)}}return xe.\u0275fac=function(j){return new(j||xe)(e.LFG(tn),e.LFG(mn),e.LFG(e.FYo))},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac}),xe})(),Pn=(()=>{class xe{constructor(j,Ie){this.rendererFactory=j,this.DOMService=Ie,this.scrollEvent=new g.x,this.resizeEvent=new g.x,this.renderer=j.createRenderer(null,null)}startListeningScrollEvents(){this.scrollUnlisten=this.renderer.listen("document","scroll",j=>{this.scrollEvent.next({scrollX:this.DOMService.getNativeWindow().pageXOffset,scrollY:this.DOMService.getNativeWindow().pageYOffset})})}startListeningResizeEvents(){this.resizeUnlisten=this.renderer.listen("window","resize",j=>{this.resizeEvent.next(j)})}stopListeningScrollEvents(){this.scrollUnlisten()}stopListeningResizeEvents(){this.resizeUnlisten()}}return xe.\u0275fac=function(j){return new(j||xe)(e.LFG(e.FYo),e.LFG(ut))},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac}),xe})(),kn=(()=>{class xe{constructor(){this.position="top"}}return xe.\u0275fac=function(j){return new(j||xe)},xe.\u0275cmp=e.Xpm({type:xe,selectors:[["joyride-arrow"]],inputs:{position:"position"},decls:1,vars:8,template:function(j,Ie){1&j&&e._UZ(0,"div"),2&j&&e.ekj("joyride-arrow__top","top"==Ie.position)("joyride-arrow__bottom","bottom"==Ie.position)("joyride-arrow__left","left"==Ie.position)("joyride-arrow__right","right"==Ie.position)},styles:[".joyride-arrow__top{border-left:11px solid transparent;border-right:11px solid transparent;border-bottom:11px solid #ffffff}.joyride-arrow__bottom{border-left:11px solid transparent;border-right:11px solid transparent;border-top:11px solid #ffffff}.joyride-arrow__right{border-left:11px solid #ffffff;border-bottom:11px solid transparent;border-top:11px solid transparent}.joyride-arrow__left{border-right:11px solid #ffffff;border-top:11px solid transparent;border-bottom:11px solid transparent}\n"],encapsulation:2}),xe})(),Kt=(()=>{class xe{}return xe.\u0275fac=function(j){return new(j||xe)},xe.\u0275cmp=e.Xpm({type:xe,selectors:[["joy-close-button"]],decls:3,vars:0,consts:[["viewBox","0 0 25 25","xmlns","http://www.w3.org/2000/svg"],["x1","1","y1","24","x2","24","y2","1","stroke","black","stroke-width","3"],["x1","1","y1","1","x2","24","y2","24","stroke","black","stroke-width","3"]],template:function(j,Ie){1&j&&(e.O4$(),e.TgZ(0,"svg",0),e._UZ(1,"line",1)(2,"line",2),e.qZA())},encapsulation:2}),xe})(),rt=(()=>{class xe{constructor(){this.clicked=new e.vpe}onClick(){this.clicked.emit()}}return xe.\u0275fac=function(j){return new(j||xe)},xe.\u0275cmp=e.Xpm({type:xe,selectors:[["joyride-button"]],inputs:{color:"color"},outputs:{clicked:"clicked"},ngContentSelectors:H,decls:2,vars:5,consts:[[1,"joyride-button",3,"ngStyle","mouseleave","mouseover","click"]],template:function(j,Ie){1&j&&(e.F$t(),e.TgZ(0,"button",0),e.NdJ("mouseleave",function(){return Ie.hover=!1})("mouseover",function(){return Ie.hover=!0})("click",function(){return Ie.onClick()}),e.Hsn(1),e.qZA()),2&j&&e.Q6J("ngStyle",e.kEZ(1,I,Ie.hover?"#fff":Ie.color,Ie.hover?Ie.color:"#fff",Ie.hover?Ie.color:"transparent"))},directives:[o.PC],styles:[".joyride-button[_ngcontent-%COMP%]{text-transform:uppercase;border:2px solid transparent;outline:none;padding:6px 12px;font-size:12px;font-weight:700;color:#fff;background-color:#3b5560;cursor:pointer}.joyride-button[_ngcontent-%COMP%]:hover{color:#3b5560;border:2px solid #3b5560;background-color:#fff}"]}),xe})();const G=200;var Ln=(()=>{return(xe=Ln||(Ln={}))[xe.RIGHT_ARROW=39]="RIGHT_ARROW",xe[xe.LEFT_ARROW=37]="LEFT_ARROW",xe[xe.ESCAPE_KEY=27]="ESCAPE_KEY",Ln;var xe})();let Nn=(()=>{class xe{constructor(j,Ie,vt,Vt,Fn,ti,Qt,Cn){this.injector=j,this.stepsContainerService=Ie,this.eventListenerService=vt,this.documentService=Vt,this.renderer=Fn,this.logger=ti,this.optionsService=Qt,this.templateService=Cn,this.stepWidth=G,this.stepHeight=200,this.showArrow=!0,this.arrowSize=Jn,this.subscriptions=[]}ngOnInit(){this.joyrideStepService=this.injector.get(Tn),this.documentHeight=this.documentService.getDocumentHeight(),this.subscriptions.push(this.subscribeToResizeEvents()),this.title=this.step.title.asObservable(),this.text=this.step.text.asObservable(),this.setCustomTemplates(),this.setCustomTexts(),this.counter=this.getCounter(),this.isCounterVisible=this.optionsService.isCounterVisible(),this.isPrevButtonVisible=this.optionsService.isPrevButtonVisible(),this.themeColor=this.optionsService.getThemeColor(),this.text&&this.text.subscribe(j=>this.checkRedraw(j)),this.title&&this.title.subscribe(j=>this.checkRedraw(j))}ngAfterViewInit(){if(this.isCustomized())this.renderer.setStyle(this.stepContainer.nativeElement,"max-width","90vw"),this.updateStepDimensions();else{this.renderer.setStyle(this.stepContainer.nativeElement,"max-width","400px");let j=this.getDimensionsByAspectRatio(this.stepContainer.nativeElement.clientWidth,this.stepContainer.nativeElement.clientHeight,1.212);j=this.adjustDimensions(j.width,j.height),this.stepWidth=j.width,this.stepHeight=j.height,this.renderer.setStyle(this.stepContainer.nativeElement,"width",this.stepWidth+"px"),this.renderer.setStyle(this.stepContainer.nativeElement,"height",this.stepHeight+"px")}this.drawStep()}checkRedraw(j){null!=j&&setTimeout(()=>{this.redrawStep()},2)}isCustomized(){return this.step.stepContent||this.templateService.getCounter()||this.templateService.getPrevButton()||this.templateService.getNextButton()||this.templateService.getDoneButton()}setCustomTexts(){const j=this.optionsService.getCustomTexts();this.prevText=j.prev,this.nextText=j.next,this.doneText=j.done}drawStep(){let j=this.step.isElementOrAncestorFixed?"fixed":"absolute";this.renderer.setStyle(this.stepHolder.nativeElement,"position",j),this.renderer.setStyle(this.stepHolder.nativeElement,"transform",this.step.transformCssStyle),this.targetWidth=this.step.targetViewContainer.element.nativeElement.getBoundingClientRect().width,this.targetHeight=this.step.targetViewContainer.element.nativeElement.getBoundingClientRect().height,this.targetAbsoluteLeft="fixed"===j?this.documentService.getElementFixedLeft(this.step.targetViewContainer.element):this.documentService.getElementAbsoluteLeft(this.step.targetViewContainer.element),this.targetAbsoluteTop="fixed"===j?this.documentService.getElementFixedTop(this.step.targetViewContainer.element):this.documentService.getElementAbsoluteTop(this.step.targetViewContainer.element),this.setStepStyle()}getCounter(){let j=this.stepsContainerService.getStepNumber(this.step.name),Ie=this.stepsContainerService.getStepsCount();return this.counterData={step:j,total:Ie},j+"/"+Ie}setCustomTemplates(){this.customContent=this.step.stepContent,this.ctx=this.step.stepContentParams,this.customPrevButton=this.templateService.getPrevButton(),this.customNextButton=this.templateService.getNextButton(),this.customDoneButton=this.templateService.getDoneButton(),this.customCounter=this.templateService.getCounter()}keyEvent(j){console.log(j),j.keyCode===Ln.RIGHT_ARROW?this.isLastStep()?this.close():this.next():j.keyCode===Ln.LEFT_ARROW?this.prev():j.keyCode===Ln.ESCAPE_KEY&&this.close()}prev(){this.joyrideStepService.prev()}next(){this.joyrideStepService.next()}close(){this.joyrideStepService.close()}isFirstStep(){return 1===this.stepsContainerService.getStepNumber(this.step.name)}isLastStep(){return this.stepsContainerService.getStepNumber(this.step.name)===this.stepsContainerService.getStepsCount()}setStepStyle(){switch(this.step.position){case"top":this.setStyleTop();break;case"bottom":default:this.setStyleBottom();break;case"right":this.setStyleRight();break;case"left":this.setStyleLeft();break;case"center":this.setStyleCenter()}}setStyleTop(){this.stepsContainerService.updatePosition(this.step.name,"top"),this.topPosition=this.targetAbsoluteTop-Hn-this.stepHeight,this.stepAbsoluteTop=this.targetAbsoluteTop-Hn-this.stepHeight,this.arrowTopPosition=this.stepHeight,this.leftPosition=this.targetWidth/2-this.stepWidth/2+this.targetAbsoluteLeft,this.stepAbsoluteLeft=this.targetWidth/2-this.stepWidth/2+this.targetAbsoluteLeft,this.arrowLeftPosition=this.stepWidth/2-this.arrowSize,this.adjustLeftPosition(),this.adjustRightPosition(),this.arrowPosition="bottom",this.autofixTopPosition()}setStyleRight(){this.stepsContainerService.updatePosition(this.step.name,"right"),this.topPosition=this.targetAbsoluteTop+this.targetHeight/2-this.stepHeight/2,this.stepAbsoluteTop=this.targetAbsoluteTop+this.targetHeight/2-this.stepHeight/2,this.arrowTopPosition=this.stepHeight/2-this.arrowSize,this.leftPosition=this.targetAbsoluteLeft+this.targetWidth+Hn,this.stepAbsoluteLeft=this.targetAbsoluteLeft+this.targetWidth+Hn,this.arrowLeftPosition=-this.arrowSize,this.adjustTopPosition(),this.adjustBottomPosition(),this.arrowPosition="left",this.autofixRightPosition()}setStyleBottom(){this.stepsContainerService.updatePosition(this.step.name,"bottom"),this.topPosition=this.targetAbsoluteTop+this.targetHeight+Hn,this.stepAbsoluteTop=this.targetAbsoluteTop+this.targetHeight+Hn,this.arrowTopPosition=-this.arrowSize,this.arrowLeftPosition=this.stepWidth/2-this.arrowSize,this.leftPosition=this.targetWidth/2-this.stepWidth/2+this.targetAbsoluteLeft,this.stepAbsoluteLeft=this.targetWidth/2-this.stepWidth/2+this.targetAbsoluteLeft,this.adjustLeftPosition(),this.adjustRightPosition(),this.arrowPosition="top",this.autofixBottomPosition()}setStyleLeft(){this.stepsContainerService.updatePosition(this.step.name,"left"),this.topPosition=this.targetAbsoluteTop+this.targetHeight/2-this.stepHeight/2,this.stepAbsoluteTop=this.targetAbsoluteTop+this.targetHeight/2-this.stepHeight/2,this.arrowTopPosition=this.stepHeight/2-this.arrowSize,this.leftPosition=this.targetAbsoluteLeft-this.stepWidth-Hn,this.stepAbsoluteLeft=this.targetAbsoluteLeft-this.stepWidth-Hn,this.arrowLeftPosition=this.stepWidth,this.adjustTopPosition(),this.adjustBottomPosition(),this.arrowPosition="right",this.autofixLeftPosition()}setStyleCenter(){this.renderer.setStyle(this.stepHolder.nativeElement,"position","fixed"),this.renderer.setStyle(this.stepHolder.nativeElement,"top","50%"),this.renderer.setStyle(this.stepHolder.nativeElement,"left","50%"),this.updateStepDimensions(),this.renderer.setStyle(this.stepHolder.nativeElement,"transform",`translate(-${this.stepWidth/2}px, -${this.stepHeight/2}px)`),this.showArrow=!1}adjustLeftPosition(){this.leftPosition<0&&(this.arrowLeftPosition=this.arrowLeftPosition+this.leftPosition-2,this.leftPosition=2)}adjustRightPosition(){let j=document.body.clientWidth;if(this.stepAbsoluteLeft+this.stepWidth>j){let Ie=this.leftPosition-(this.stepAbsoluteLeft+this.stepWidth+5-j),vt=Ie-this.leftPosition;this.leftPosition=Ie,this.arrowLeftPosition=this.arrowLeftPosition-vt}}adjustTopPosition(){this.stepAbsoluteTop<0&&(this.arrowTopPosition=this.arrowTopPosition+this.topPosition-2,this.topPosition=2)}adjustBottomPosition(){if(this.stepAbsoluteTop+this.stepHeight>this.documentHeight){let j=this.topPosition-(this.stepAbsoluteTop+this.stepHeight+5-this.documentHeight),Ie=j-this.topPosition;this.topPosition=j,this.arrowTopPosition=this.arrowTopPosition-Ie}}autofixTopPosition(){this.positionAlreadyFixed?this.logger.warn("No step positions found for this step. The step will be centered."):this.targetAbsoluteTop-this.stepHeight-this.arrowSize<0&&(this.positionAlreadyFixed=!0,this.setStyleRight())}autofixRightPosition(){this.targetAbsoluteLeft+this.targetWidth+this.stepWidth+this.arrowSize>document.body.clientWidth&&this.setStyleBottom()}autofixBottomPosition(){this.targetAbsoluteTop+this.stepHeight+this.arrowSize+this.targetHeight>this.documentHeight&&this.setStyleLeft()}autofixLeftPosition(){this.targetAbsoluteLeft-this.stepWidth-this.arrowSize<0&&this.setStyleTop()}subscribeToResizeEvents(){return this.eventListenerService.resizeEvent.subscribe(()=>{this.redrawStep()})}redrawStep(){this.updateStepDimensions(),this.drawStep()}getDimensionsByAspectRatio(j,Ie,vt){let Vt=(j+Ie)/(1+vt);return{width:Vt*vt,height:Vt}}adjustDimensions(j,Ie){let Vt=j,Fn=Ie;return j>400?(Vt=400,Fn=j*Ie/Vt):j{j.unsubscribe()})}}return xe.\u0275fac=function(j){return new(j||xe)(e.Y36(e.zs3),e.Y36(dt),e.Y36(Pn),e.Y36(tn),e.Y36(e.Qsj),e.Y36(et),e.Y36(mn),e.Y36(Je))},xe.\u0275cmp=e.Xpm({type:xe,selectors:[["joyride-step"]],viewQuery:function(j,Ie){if(1&j&&(e.Gf(z,7),e.Gf(O,7)),2&j){let vt;e.iGM(vt=e.CRH())&&(Ie.stepHolder=vt.first),e.iGM(vt=e.CRH())&&(Ie.stepContainer=vt.first)}},hostBindings:function(j,Ie){1&j&&e.NdJ("keyup",function(Vt){return Ie.keyEvent(Vt)},!1,e.Jf7)},inputs:{step:"step"},decls:21,vars:17,consts:[[1,"joyride-step__holder",3,"id"],["stepHolder",""],["class","joyride-step__arrow",3,"position","top","left",4,"ngIf"],[1,"joyride-step__container"],["stepContainer",""],[1,"joyride-step__close",3,"click"],[1,"joyride-step__header"],[1,"joyride-step__title"],[1,"joyride-step__body"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultContent",""],[1,"joyride-step__footer"],["class","joyride-step__counter-container",4,"ngIf"],[1,"joyride-step__buttons-container"],["class","joyride-step__prev-container joyride-step__button",3,"click",4,"ngIf"],["class","joyride-step__next-container joyride-step__button",3,"click",4,"ngIf","ngIfElse"],["doneButton",""],[1,"joyride-step__arrow",3,"position"],[1,"joyride-step__counter-container"],["defaultCounter",""],[1,"joyride-step__counter"],[1,"joyride-step__prev-container","joyride-step__button",3,"click"],[4,"ngTemplateOutlet"],["defaultPrevButton",""],[1,"joyride-step__prev-button",3,"color"],[1,"joyride-step__next-container","joyride-step__button",3,"click"],["defaulNextButton",""],[3,"color"],[1,"joyride-step__done-container","joyride-step__button",3,"click"],["defaultDoneButton",""],[1,"joyride-step__done-button",3,"color"]],template:function(j,Ie){if(1&j&&(e.TgZ(0,"div",0,1),e.YNc(2,Z,1,5,"joyride-arrow",2),e.TgZ(3,"div",3,4)(5,"joy-close-button",5),e.NdJ("click",function(){return Ie.close()}),e.qZA(),e.TgZ(6,"div",6)(7,"div",7),e._uU(8),e.ALo(9,"async"),e.qZA()(),e.TgZ(10,"div",8),e.YNc(11,q,1,0,"ng-container",9),e.YNc(12,te,2,3,"ng-template",null,10,e.W1O),e.qZA(),e.TgZ(14,"div",11),e.YNc(15,ue,4,2,"div",12),e.TgZ(16,"div",13),e.YNc(17,se,4,1,"div",14),e.YNc(18,He,4,1,"div",15),e.YNc(19,Ze,4,1,"ng-template",null,16,e.W1O),e.qZA()()()()),2&j){const vt=e.MAs(13),Vt=e.MAs(20);e.Udp("top",Ie.topPosition,"px")("left",Ie.leftPosition,"px"),e.Q6J("id","joyride-step-"+Ie.step.name),e.xp6(2),e.Q6J("ngIf",Ie.showArrow),e.xp6(5),e.Udp("color",Ie.themeColor),e.xp6(1),e.Oqu(e.lcZ(9,15,Ie.title)),e.xp6(3),e.Q6J("ngTemplateOutlet",Ie.customContent?Ie.customContent:vt)("ngTemplateOutletContext",Ie.ctx),e.xp6(4),e.Q6J("ngIf",Ie.isCounterVisible),e.xp6(2),e.Q6J("ngIf",Ie.isPrevButtonVisible&&!Ie.isFirstStep()),e.xp6(1),e.Q6J("ngIf",!Ie.isLastStep())("ngIfElse",Vt)}},directives:[kn,Kt,rt,o.O5,o.tP],pipes:[o.Ov],styles:[".joyride-step__holder{position:absolute;font-family:Arial,Helvetica,sans-serif;font-size:16px;z-index:1001}.joyride-step__arrow{position:absolute;left:40px;z-index:1002}.joyride-step__container{box-sizing:border-box;position:relative;color:#000;background-color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:10px;box-shadow:0 0 30px 1px #000}.joyride-step__header{display:flex;align-items:center;padding:8px}.joyride-step__title{font-weight:700;font-size:20px}.joyride-step__close{position:absolute;right:10px;top:10px;width:14px;height:14px;cursor:pointer}.joyride-step__body{text-align:left;padding:10px 8px}.joyride-step__footer{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-left:8px}.joyride-step__buttons-container{display:flex;flex-direction:row}.joyride-step__button:first-child{margin-right:2.5px}.joyride-step__button:last-child{margin-left:2.5px}.joyride-step__counter{font-weight:700;font-size:14px}.joyride-step__counter-container{margin-right:10px}\n"],encapsulation:2}),xe})(),In=(()=>{class xe{constructor(j,Ie,vt){this.componentFactoryResolver=j,this.appRef=Ie,this.injector=vt,this.refMap={}}draw(j){const Ie=this.componentFactoryResolver.resolveComponentFactory(Nn).create(this.injector);this.appRef.attachView(Ie.hostView),document.body.appendChild(Ie.hostView.rootNodes[0]);const Vt=Ie.instance;Vt.step=j,Ie.changeDetectorRef.detectChanges(),j.stepInstance=Vt,this.refMap[j.name]=Ie}remove(j){this.appRef.detachView(this.refMap[j.name].hostView),this.refMap[j.name].destroy()}}return xe.\u0275fac=function(j){return new(j||xe)(e.LFG(e._Vd),e.LFG(e.z2F),e.LFG(e.zs3))},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac}),xe})();const Hn=15,Jn=10;let Tn=(()=>{class xe{constructor(j,Ie,vt,Vt,Fn,ti,Qt,Cn,ct){this.backDropService=j,this.eventListener=Ie,this.stepsContainerService=vt,this.documentService=Vt,this.DOMService=Fn,this.stepDrawerService=ti,this.optionsService=Qt,this.router=Cn,this.logger=ct,this.winTopPosition=0,this.winBottomPosition=0,this.stepsObserver=new u.t,this.initViewportPositions(),this.subscribeToScrollEvents(),this.subscribeToResizeEvents()}initViewportPositions(){this.winTopPosition=0,this.winBottomPosition=this.DOMService.getNativeWindow().innerHeight-20}subscribeToScrollEvents(){this.eventListener.startListeningScrollEvents(),this.eventListener.scrollEvent.subscribe(j=>{this.winTopPosition=j.scrollY,this.winBottomPosition=this.winTopPosition+this.DOMService.getNativeWindow().innerHeight-20,this.currentStep&&this.backDropService.redraw(this.currentStep,j)})}subscribeToResizeEvents(){this.eventListener.resizeEvent.subscribe(()=>{this.currentStep&&this.backDropService.redrawTarget(this.currentStep)})}drawStep(j){j.position=j.position===kt?this.optionsService.getStepDefaultPosition():j.position,this.stepDrawerService.draw(j)}startTour(){return this.stepsObserver=new u.t,this.stepsContainerService.init(),this.documentService.setDocumentHeight(),this.tryShowStep(bt.NEXT),this.eventListener.startListeningResizeEvents(),this.subscribeToStepsUpdates(),this.stepsObserver.asObservable()}close(){this.removeCurrentStep(),this.notifyTourIsFinished(),this.DOMService.getNativeWindow().scrollTo(0,0),this.eventListener.stopListeningResizeEvents(),this.backDropService.remove()}prev(){this.removeCurrentStep(),this.currentStep.prevCliked.emit(),this.tryShowStep(bt.PREV)}next(){this.removeCurrentStep(),this.currentStep.nextClicked.emit(),this.tryShowStep(bt.NEXT)}navigateToStepPage(j){return(0,A.mG)(this,void 0,void 0,function*(){let Ie=this.stepsContainerService.getStepRoute(j);if(Ie)return yield this.router.navigate([Ie])})}subscribeToStepsUpdates(){this.stepsContainerService.stepHasBeenModified.subscribe(j=>{this.currentStep&&this.currentStep.name===j.name&&(this.currentStep=j)})}tryShowStep(j){return(0,A.mG)(this,void 0,void 0,function*(){yield this.navigateToStepPage(j);const Ie=this.optionsService.getWaitingTime();Ie>100&&this.backDropService.remove(),setTimeout(()=>{try{this.showStep(j)}catch(vt){if(vt instanceof xt)this.tryShowStep(j);else{if(!(vt instanceof Be))throw new Error(vt);this.logger.error("Forcing the tour closure: First or Last step not found in the DOM."),this.close()}}},Ie)})}showStep(j){if(this.currentStep=this.stepsContainerService.get(j),null==this.currentStep)throw new xt("");this.notifyStepClicked(j),this.scrollIfElementBeyondOtherElements(),this.backDropService.draw(this.currentStep),this.drawStep(this.currentStep),this.scrollIfStepAndTargetAreNotVisible()}notifyStepClicked(j){let Ie={number:this.stepsContainerService.getStepNumber(this.currentStep.name),name:this.currentStep.name,route:this.currentStep.route,actionType:j};this.stepsObserver.next(Ie)}notifyTourIsFinished(){this.currentStep&&this.currentStep.tourDone.emit(),this.stepsObserver.complete()}removeCurrentStep(){this.currentStep&&this.stepDrawerService.remove(this.currentStep)}scrollIfStepAndTargetAreNotVisible(){this.scrollWhenTargetOrStepAreHiddenBottom(),this.scrollWhenTargetOrStepAreHiddenTop()}scrollWhenTargetOrStepAreHiddenBottom(){let j=this.getMaxTargetAndStepBottomPosition();j>this.winBottomPosition&&this.DOMService.getNativeWindow().scrollBy(0,j-this.winBottomPosition)}scrollWhenTargetOrStepAreHiddenTop(){let j=this.getMaxTargetAndStepTopPosition();j{class xe{constructor(j,Ie,vt){this.platformId=j,this.stepService=Ie,this.optionsService=vt,this.tourInProgress=!1}startTour(j){return(0,o.NF)(this.platformId)?(this.tourInProgress||(this.tourInProgress=!0,j&&this.optionsService.setOptions(j),this.tour$=this.stepService.startTour().pipe((0,k.x)(()=>this.tourInProgress=!1)),this.tour$.subscribe()),this.tour$):(0,d.of)(new Ft)}closeTour(){this.isTourInProgress()&&this.stepService.close()}isTourInProgress(){return this.tourInProgress}}return xe.\u0275fac=function(j){return new(j||xe)(e.LFG(e.Lbi),e.LFG(Tn),e.LFG(mn))},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac}),xe})();const zn=b.Bz.forChild([]);let $t=(()=>{class xe{static forRoot(){return{ngModule:xe,providers:[ri,Tn,dt,un,Pn,tn,mn,In,ut,et,Je]}}static forChild(){return{ngModule:xe,providers:[]}}}return xe.\u0275fac=function(j){return new(j||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({imports:[[o.ez,zn]]}),xe})()},2210:(X,N,p)=>{"use strict";p.d(N,{Ev:()=>Ce,Yj:()=>Ze,Z5:()=>nt,oW:()=>ot,QL:()=>je,Vs:()=>Q});var e=p(9808),o=p(5e3),u=p(4521),d=p(655),c=p(7579),g=p(6451),b=p(4968),k=p(4986),A=p(2805),H=p(4004),z=p(9300),O=p(590),Z=p(1005),q=p(4482),te=p(5032),V=p(5403),ne=p(8421);const ee=["*"];var Q=(()=>{return(Ke=Q||(Q={}))[Ke.OFF=0]="OFF",Ke[Ke.ON=1]="ON",Ke[Ke.PAUSED=2]="PAUSED",Q;var Ke})(),se=(()=>{return(Ke=se||(se={}))[Ke.Forwards=0]="Forwards",Ke[Ke.Backwards=1]="Backwards",se;var Ke})();let je=(()=>{class Ke{constructor(Be,Tt){this.router=Be,this.rendererFactory=Tt,this.stepShow$=new c.x,this.stepHide$=new c.x,this.initialize$=new c.x,this.start$=new c.x,this.end$=new c.x,this.pause$=new c.x,this.resume$=new c.x,this.anchorRegister$=new c.x,this.anchorUnregister$=new c.x,this.events$=(0,g.T)(this.stepShow$.pipe((0,H.U)(Zt=>({name:"stepShow",value:Zt}))),this.stepHide$.pipe((0,H.U)(Zt=>({name:"stepHide",value:Zt}))),this.initialize$.pipe((0,H.U)(Zt=>({name:"initialize",value:Zt}))),this.start$.pipe((0,H.U)(Zt=>({name:"start",value:Zt}))),this.end$.pipe((0,H.U)(Zt=>({name:"end",value:Zt}))),this.pause$.pipe((0,H.U)(Zt=>({name:"pause",value:Zt}))),this.resume$.pipe((0,H.U)(Zt=>({name:"resume",value:Zt}))),this.anchorRegister$.pipe((0,H.U)(Zt=>({name:"anchorRegister",value:Zt}))),this.anchorUnregister$.pipe((0,H.U)(Zt=>({name:"anchorUnregister",value:Zt})))),this.steps=[],this.anchors={},this.status=Q.OFF,this.isHotKeysEnabled=!0,this.direction=se.Forwards,this.renderer=Tt.createRenderer(null,null)}initialize(Be,Tt){Be&&Be.length>0&&(this.status=Q.OFF,this.steps=Be.map(Zt=>Object.assign({},Tt,Zt)),this.initialize$.next(this.steps))}disableHotkeys(){this.isHotKeysEnabled=!1}enableHotkeys(){this.isHotKeysEnabled=!0}start(){this.startAt(0)}startAt(Be){this.status=Q.ON,this.goToStep(this.loadStep(Be)),this.start$.next(),this.router.events.pipe((0,z.h)(Tt=>Tt instanceof u.OD),(0,O.P)()).subscribe(()=>{this.currentStep&&this.currentStep.hasOwnProperty("route")&&this.hideStep(this.currentStep)})}end(){this.status=Q.OFF,this.hideStep(this.currentStep),this.currentStep=void 0,this.removeLastAnchorClickListener(),this.end$.next()}pause(){this.status=Q.PAUSED,this.hideStep(this.currentStep),this.pause$.next()}resume(){this.status=Q.ON,this.showStep(this.currentStep),this.resume$.next()}toggle(Be){Be?this.currentStep?this.pause():this.resume():this.currentStep?this.end():this.start()}next(){this.direction=se.Forwards,this.hasNext(this.currentStep)&&this.goToStep(this.loadStep(this.currentStep.nextStep||this.steps.indexOf(this.currentStep)+1))}hasNext(Be){return Be?void 0!==Be.nextStep||this.steps.indexOf(Be)0&&!this.isPrevOptionalAnchorMising(Be):(console.warn("Can't get previous step. No currentStep."),!1)}isPrevOptionalAnchorMising(Be){for(let Zt=this.steps.indexOf(Be)-1;Zt>-1;Zt--){const Sn=this.steps[Zt];if(!Sn.isOptional||this.anchors[Sn.anchorId])return!1}return!0}goto(Be){this.goToStep(this.loadStep(Be))}register(Be,Tt){if(Be){if(this.anchors[Be])throw new Error("anchorId "+Be+" already registered!");this.anchors[Be]=Tt,this.anchorRegister$.next(Be)}}unregister(Be){!Be||(delete this.anchors[Be],this.anchorUnregister$.next(Be))}getStatus(){return this.status}isHotkeysEnabled(){return this.isHotKeysEnabled}goToStep(Be){if(!Be)return console.warn("Can't go to non-existent step"),void this.end();this.currentStep&&this.hideStep(this.currentStep),this.removeLastAnchorClickListener(),this.listenToOnAnchorClick(Be),null!=Be.route?this.navigateToRouteAndSetStep(Be):this.setCurrentStepAsync(Be)}removeLastAnchorClickListener(){this.unListenNextOnAnchorClickFn&&(this.unListenNextOnAnchorClickFn(),this.unListenNextOnAnchorClickFn=void 0)}listenToOnAnchorClick(Be){Be.goToNextOnAnchorClick&&(this.unListenNextOnAnchorClickFn=this.renderer.listen(this.anchors[Be.anchorId].element.nativeElement,"click",()=>this.next()))}navigateToRouteAndSetStep(Be){return(0,d.mG)(this,void 0,void 0,function*(){const Tt="string"==typeof Be.route?Be.route:this.router.createUrlTree(Be.route);this.router.isActive(Tt,{paths:"exact",matrixParams:"exact",queryParams:"subset",fragment:"ignored"})?this.setCurrentStepAsync(Be):(yield this.router.navigateByUrl(Tt))?this.setCurrentStepAsync(Be,Be.delayAfterNavigation):(console.warn("Navigation to route failed: ",Be.route),this.end())})}loadStep(Be){return"number"==typeof Be?this.steps[Be]:this.steps.find(Tt=>Tt.stepId===Be)}setCurrentStep(Be){this.currentStep=Be,this.showStep(this.currentStep),this.router.events.pipe((0,z.h)(Tt=>Tt instanceof u.OD),(0,O.P)()).subscribe(()=>{this.currentStep&&this.currentStep.hasOwnProperty("route")&&this.hideStep(this.currentStep)})}setCurrentStepAsync(Be,Tt=0){setTimeout(()=>this.setCurrentStep(Be),Tt)}showStep(Be){const Tt=this.anchors[Be&&Be.anchorId];if(!Tt)return Be.isAsync?void this.anchorRegister$.pipe((0,z.h)(Zt=>Zt===Be.anchorId),(0,O.P)(),(0,Z.g)(0)).subscribe(()=>this.showStep(Be)):Be.isOptional?void(this.direction===se.Forwards?this.next():this.prev()):(console.warn("Can't attach to unregistered anchor with id "+Be.anchorId),void this.end());Tt.showTourStep(Be),this.stepShow$.next(Be)}hideStep(Be){const Tt=this.anchors[Be&&Be.anchorId];!Tt||(Tt.hideTourStep(),this.stepHide$.next(Be))}}return Ke.\u0275fac=function(Be){return new(Be||Ke)(o.LFG(u.F0),o.LFG(o.FYo))},Ke.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})(),nt=(()=>{class Ke{constructor(Be){this.tourService=Be}onEscapeKey(){this.tourService.getStatus()===Q.ON&&this.tourService.isHotkeysEnabled()&&this.tourService.end()}onArrowRightKey(){this.tourService.getStatus()===Q.ON&&this.tourService.hasNext(this.tourService.currentStep)&&this.tourService.isHotkeysEnabled()&&this.tourService.next()}onArrowLeftKey(){this.tourService.getStatus()===Q.ON&&this.tourService.hasPrev(this.tourService.currentStep)&&this.tourService.isHotkeysEnabled()&&this.tourService.prev()}}return Ke.\u0275fac=function(Be){return new(Be||Ke)(o.Y36(je))},Ke.\u0275cmp=o.Xpm({type:Ke,selectors:[["tour-hotkey-listener"]],hostBindings:function(Be,Tt){1&Be&&o.NdJ("keydown.Escape",function(){return Tt.onEscapeKey()},!1,o.Jf7)("keydown.ArrowRight",function(){return Tt.onArrowRightKey()},!1,o.Jf7)("keydown.ArrowLeft",function(){return Tt.onArrowLeftKey()},!1,o.Jf7)},ngContentSelectors:ee,decls:1,vars:0,template:function(Be,Tt){1&Be&&(o.F$t(),o.Hsn(0))},encapsulation:2}),Ke})();var He=(()=>{return(Ke=He||(He={}))[Ke.Top=0]="Top",Ke[Ke.Bottom=1]="Bottom",Ke[Ke.All=2]="All",He;var Ke})();function de(Ke,xt=He.All){const Be=window.innerWidth,Tt=window.innerHeight,Zt=Ke.getBoundingClientRect(),Sn=Zt.left>=0&&Zt.right<=Be,Xt=Zt.top>=0,nn=Zt.bottom<=Tt;return xt===He.Top?Xt&&Sn:xt===He.Bottom?nn&&Sn:Xt&&nn&&Sn}class Ce{static ensureVisible(xt){de(xt,He.Bottom)?de(xt,He.Top)||xt.scrollIntoView(!0):xt.scrollIntoView(!1)}}let Ze=(()=>{class Ke{constructor(Be){this.renderer=Be.createRenderer(null,null)}show(Be,Tt=!0){this.isScrollingEnabled=Tt,this.targetHtmlElement=Be.nativeElement,this.backdropElements||(this.createBackdrop(),this.subscribeToWindowResizeEvent())}createBackdrop(){var Be,Tt;const Zt=this.targetHtmlElement.getBoundingClientRect(),Sn=document.documentElement.getBoundingClientRect(),Xt=null!==(Be=window.scrollX)&&void 0!==Be?Be:window.pageXOffset,nn=null!==(Tt=window.scrollY)&&void 0!==Tt?Tt:window.pageYOffset;this.backdropElements||(this.backdropElements=this.createBackdropElements());const Ot=[{width:Zt.left+Xt,height:Sn.height,top:0,left:0},{width:Zt.width,height:Zt.top+nn,top:0,left:Zt.left+Xt},{width:Zt.width,height:Sn.height-(Zt.bottom+nn),top:Zt.bottom+nn,left:Zt.left+Xt},{width:Sn.width-(Zt.right+Xt),height:Sn.height,top:0,left:Zt.right+Xt}];for(let bt=0;bt{let Tt=!1,Zt=null,Sn=null;const Xt=()=>{if(null==Sn||Sn.unsubscribe(),Sn=null,Tt){Tt=!1;const nn=Zt;Zt=null,Be.next(nn)}};xt.subscribe(new V.Q(Be,nn=>{null==Sn||Sn.unsubscribe(),Tt=!0,Zt=nn,Sn=new V.Q(Be,Xt,te.Z),(0,ne.Xf)(Ke(nn)).subscribe(Sn)},()=>{Xt(),Be.complete()},void 0,()=>{Zt=Sn=null}))})}(()=>function I(Ke=0,xt=k.z){return Ke<0&&(Ke=0),(0,A.H)(Ke,Ke,xt)}(10))).subscribe(()=>{this.createBackdrop(),Ce.ensureVisible(this.targetHtmlElement)})}close(){this.backdropElements&&(this.removeBackdropElement(),this.windowResizeSubscription$.unsubscribe())}removeBackdropElement(){this.backdropElements.forEach(Be=>this.renderer.removeChild(document.body,Be)),this.backdropElements=void 0}applyStyles(Be,Tt){for(const Zt of Object.keys(Be))this.renderer.setStyle(Tt,Zt,Be[Zt])}createBackdropStyles(Be){return{position:this.isScrollingEnabled?"absolute":"fixed",width:`${Be.width}px`,height:`${Be.height}px`,top:`${Be.top}px`,left:`${Be.left}px`,backgroundColor:"rgba(0, 0, 0, 0.7)",zIndex:"101"}}createBackdropElement(){const Be=this.renderer.createElement("div");return this.renderer.addClass(Be,"ngx-ui-tour_backdrop"),this.renderer.appendChild(document.body,Be),Be}createBackdropElements(){return Array.from({length:4}).map(()=>this.createBackdropElement())}}return Ke.\u0275fac=function(Be){return new(Be||Ke)(o.LFG(o.FYo))},Ke.\u0275prov=o.Yz7({token:Ke,factory:Ke.\u0275fac}),Ke})(),ot=(()=>{class Ke{static forRoot(){return{ngModule:Ke,providers:[je,Ze]}}}return Ke.\u0275fac=function(Be){return new(Be||Ke)},Ke.\u0275mod=o.oAB({type:Ke}),Ke.\u0275inj=o.cJS({imports:[[e.ez,u.Bz]]}),Ke})()},6418:(X,N,p)=>{"use strict";p.d(N,{JA:()=>Pt,jo:()=>bt,QL:()=>nn,R5:()=>Ot});var e=p(5e3),o=p(2210),u=p(2181),d=p(9776),c=p(9808),g=p(7703),b=p(6360),k=p(508);const A=["*",[["mat-card-footer"]]],I=["*","mat-card-footer"];let q=(()=>{class dt{}return dt.\u0275fac=function(Je){return new(Je||dt)},dt.\u0275dir=e.lG2({type:dt,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),dt})(),te=(()=>{class dt{}return dt.\u0275fac=function(Je){return new(Je||dt)},dt.\u0275dir=e.lG2({type:dt,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),dt})(),ne=(()=>{class dt{constructor(){this.align="start"}}return dt.\u0275fac=function(Je){return new(Je||dt)},dt.\u0275dir=e.lG2({type:dt,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(Je,kt){2&Je&&e.ekj("mat-card-actions-align-end","end"===kt.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),dt})(),de=(()=>{class dt{constructor(Je){this._animationMode=Je}}return dt.\u0275fac=function(Je){return new(Je||dt)(e.Y36(b.Qb,8))},dt.\u0275cmp=e.Xpm({type:dt,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(Je,kt){2&Je&&e.ekj("_mat-animation-noopable","NoopAnimations"===kt._animationMode)},exportAs:["matCard"],ngContentSelectors:I,decls:2,vars:0,template:function(Je,kt){1&Je&&(e.F$t(A),e.Hsn(0),e.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),dt})(),ot=(()=>{class dt{}return dt.\u0275fac=function(Je){return new(Je||dt)},dt.\u0275mod=e.oAB({type:dt}),dt.\u0275inj=e.cJS({imports:[[k.BQ],k.BQ]}),dt})();var Ke=p(5245),xt=p(590);function Be(dt,ut){1&dt&&e.GkF(0)}function Tt(dt,ut){if(1&dt){const Je=e.EpF();e.TgZ(0,"button",11),e.NdJ("click",function(){return e.CHM(Je),e.oxw(2).tourService.next()}),e._uU(1),e.TgZ(2,"mat-icon"),e._uU(3,"chevron_right"),e.qZA()()}if(2&dt){const Je=e.oxw().step;e.xp6(1),e.hij(" ",null==Je?null:Je.nextBtnTitle," ")}}function Zt(dt,ut){if(1&dt){const Je=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(){return e.CHM(Je),e.oxw(2).tourService.end()}),e._uU(1),e.qZA()}if(2&dt){const Je=e.oxw().step;e.xp6(1),e.hij(" ",null==Je?null:Je.endBtnTitle," ")}}function Sn(dt,ut){if(1&dt){const Je=e.EpF();e.TgZ(0,"mat-card",3),e.NdJ("click",function(pt){return pt.stopPropagation()}),e.TgZ(1,"mat-card-title")(2,"div",4),e._uU(3),e.qZA(),e.TgZ(4,"button",5),e.NdJ("click",function(){return e.CHM(Je),e.oxw().tourService.end()}),e.TgZ(5,"mat-icon"),e._uU(6,"close"),e.qZA()()(),e._UZ(7,"mat-card-content",6),e.TgZ(8,"mat-card-actions",7)(9,"button",8),e.NdJ("click",function(){return e.CHM(Je),e.oxw().tourService.prev()}),e.TgZ(10,"mat-icon"),e._uU(11,"chevron_left"),e.qZA(),e._uU(12),e.qZA(),e.YNc(13,Tt,4,1,"button",9),e.YNc(14,Zt,2,1,"button",10),e.qZA()()}if(2&dt){const Je=ut.step,kt=e.oxw();e.xp6(3),e.Oqu(null==Je?null:Je.title),e.xp6(4),e.Q6J("innerHTML",null==Je?null:Je.content,e.oJD),e.xp6(2),e.Q6J("disabled",!kt.tourService.hasPrev(Je)),e.xp6(3),e.hij(" ",null==Je?null:Je.prevBtnTitle," "),e.xp6(1),e.Q6J("ngIf",kt.tourService.hasNext(Je)&&!Je.goToNextOnAnchorClick),e.xp6(1),e.Q6J("ngIf",!kt.tourService.hasNext(Je))}}const Xt=function(dt){return{step:dt}};let nn=(()=>{class dt extends o.QL{}return dt.\u0275fac=function(){let ut;return function(kt){return(ut||(ut=e.n5z(dt)))(kt||dt)}}(),dt.\u0275prov=e.Yz7({token:dt,factory:dt.\u0275fac}),dt})();function mn(dt,ut){return()=>{const kt=dt.scrollStrategies;return ut.currentStep.disablePageScrolling?kt.block():kt.reposition()}}let Jt=(()=>{class dt{constructor(){this.menu=new u.VK(void 0,void 0,{xPosition:"after",yPosition:"below",overlapTrigger:!0,backdropClass:""})}}return dt.\u0275fac=function(Je){return new(Je||dt)},dt.\u0275cmp=e.Xpm({type:dt,selectors:[["tour-anchor-opener"]],viewQuery:function(Je,kt){if(1&Je&&e.Gf(u.p6,5),2&Je){let pt;e.iGM(pt=e.CRH())&&(kt.trigger=pt.first)}},inputs:{menu:"menu"},features:[e._Bn([{provide:u.CP,useFactory:mn,deps:[d.aV,nn]}])],decls:2,vars:2,consts:[[3,"matMenuTriggerFor","matMenuTriggerRestoreFocus"],["trigger","matMenuTrigger"]],template:function(Je,kt){1&Je&&e._UZ(0,"span",0,1),2&Je&&e.Q6J("matMenuTriggerFor",kt.menu)("matMenuTriggerRestoreFocus",!1)},directives:[u.p6],styles:["[_nghost-%COMP%]{display:none}"]}),dt})(),et=(()=>{class dt{}return dt.\u0275fac=function(Je){return new(Je||dt)},dt.\u0275prov=e.Yz7({token:dt,factory:dt.\u0275fac}),dt})(),Pt=(()=>{class dt{constructor(Je,kt,pt,Ft,tn,un,Wn){this.componentFactoryResolver=Je,this.injector=kt,this.viewContainer=pt,this.element=Ft,this.tourService=tn,this.tourStepTemplate=un,this.tourBackdrop=Wn,this.opener=this.viewContainer.createComponent(this.componentFactoryResolver.resolveComponentFactory(Jt)).instance}ngOnInit(){this.tourService.register(this.tourAnchor,this)}ngOnDestroy(){this.tourService.unregister(this.tourAnchor)}showTourStep(Je){var kt,pt;const Ft=this.element.nativeElement;this.isActive=!0,this.tourStepTemplate.templateComponent.step=Je,Je.disableScrollToAnchor||o.Ev.ensureVisible(Ft);const tn=this.opener.trigger;tn._element=this.element;const un=this.tourStepTemplate.templateComponent.tourStep;tn.menu=un,un.xPosition=(null===(kt=Je.placement)||void 0===kt?void 0:kt.xPosition)||"after",un.yPosition=(null===(pt=Je.placement)||void 0===pt?void 0:pt.yPosition)||"below",un.hasBackdrop=!!Je.closeOnOutsideClick,tn.ngAfterContentInit(),tn.openMenu(),Je.enableBackdrop?this.tourBackdrop.show(this.element,!Je.disablePageScrolling):this.tourBackdrop.close(),Je.prevBtnTitle=Je.prevBtnTitle||"Prev",Je.nextBtnTitle=Je.nextBtnTitle||"Next",Je.endBtnTitle=Je.endBtnTitle||"End",this.menuCloseSubscription&&this.menuCloseSubscription.unsubscribe(),this.menuCloseSubscription=tn.menuClosed.pipe((0,xt.P)()).subscribe(()=>{this.tourService.getStatus()!==o.Vs.OFF&&this.tourService.end(),this.tourBackdrop.close()})}hideTourStep(){this.isActive=!1,this.menuCloseSubscription&&this.menuCloseSubscription.unsubscribe(),this.opener.trigger.closeMenu(),this.tourService.getStatus()===o.Vs.OFF&&this.tourBackdrop.close()}}return dt.\u0275fac=function(Je){return new(Je||dt)(e.Y36(e._Vd),e.Y36(e.zs3),e.Y36(e.s_b),e.Y36(e.SBq),e.Y36(nn),e.Y36(et),e.Y36(o.Yj))},dt.\u0275dir=e.lG2({type:dt,selectors:[["","tourAnchor",""]],hostVars:2,hostBindings:function(Je,kt){2&Je&&e.ekj("touranchor--is-active",kt.isActive)},inputs:{tourAnchor:"tourAnchor"}}),dt})(),Ot=(()=>{class dt extends o.Z5{constructor(Je,kt){super(kt),this.tourStepTemplateService=Je,this.tourService=kt,this.step={}}ngAfterViewInit(){this.tourStepTemplateService.templateComponent=this}}return dt.\u0275fac=function(Je){return new(Je||dt)(e.Y36(et),e.Y36(nn))},dt.\u0275cmp=e.Xpm({type:dt,selectors:[["tour-step-template"]],contentQueries:function(Je,kt,pt){if(1&Je&&e.Suo(pt,e.Rgc,5),2&Je){let Ft;e.iGM(Ft=e.CRH())&&(kt.stepTemplateContent=Ft.first)}},viewQuery:function(Je,kt){if(1&Je&&e.Gf(u.VK,5),2&Je){let pt;e.iGM(pt=e.CRH())&&(kt.tourStep=pt.first)}},inputs:{stepTemplate:"stepTemplate"},features:[e.qOj],decls:4,vars:5,consts:[[1,"tour-step",3,"overlapTrigger"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["defaultTemplate",""],[3,"click"],[1,"title-text"],["mat-button","","mat-icon-button","",1,"close",3,"click"],[3,"innerHTML"],["align","end"],["mat-button","",1,"prev",3,"disabled","click"],["mat-button","","class","next",3,"click",4,"ngIf"],["mat-button","",3,"click",4,"ngIf"],["mat-button","",1,"next",3,"click"],["mat-button","",3,"click"]],template:function(Je,kt){if(1&Je&&(e.TgZ(0,"mat-menu",0),e.YNc(1,Be,1,0,"ng-container",1),e.qZA(),e.YNc(2,Sn,15,6,"ng-template",null,2,e.W1O)),2&Je){const pt=e.MAs(3);e.Q6J("overlapTrigger",!1),e.xp6(1),e.Q6J("ngTemplateOutlet",kt.stepTemplate||kt.stepTemplateContent||pt)("ngTemplateOutletContext",e.VKq(3,Xt,kt.step))}},directives:[u.VK,de,g.lW,Ke.Hw,c.tP,te,q,ne,c.O5],styles:[".tour-step .mat-menu-content{padding:0!important}mat-card[_ngcontent-%COMP%]{min-width:200px}mat-card-actions[_ngcontent-%COMP%]{justify-content:space-between}mat-card-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0}mat-card-actions[_ngcontent-%COMP%] button.prev[_ngcontent-%COMP%]{padding-left:4px}mat-card-actions[_ngcontent-%COMP%] button.next[_ngcontent-%COMP%]{padding-right:4px}mat-card-title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}mat-card-title[_ngcontent-%COMP%] .title-text[_ngcontent-%COMP%]{line-height:24px;font-size:22px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}mat-card-title[_ngcontent-%COMP%] button.close[_ngcontent-%COMP%]{margin:-8px -8px -8px 0}"]}),dt})(),bt=(()=>{class dt{static forRoot(){return{ngModule:dt,providers:[et,o.Yj,o.QL,nn]}}}return dt.\u0275fac=function(Je){return new(Je||dt)},dt.\u0275mod=e.oAB({type:dt}),dt.\u0275inj=e.cJS({imports:[[c.ez,o.oW,u.Tx,ot,g.ot,Ke.Ps],o.oW]}),dt})()},5861:(X,N,p)=>{"use strict";function e(u,d,c,g,b,k,A){try{var I=u[k](A),H=I.value}catch(z){return void c(z)}I.done?d(H):Promise.resolve(H).then(g,b)}function o(u){return function(){var d=this,c=arguments;return new Promise(function(g,b){var k=u.apply(d,c);function A(H){e(k,g,b,A,I,"next",H)}function I(H){e(k,g,b,A,I,"throw",H)}A(void 0)})}}p.d(N,{Z:()=>o})}},X=>{X(X.s=4877)}]);